------------------------------------------------------------------------ r14110 | vlefevre | 2020-09-10 09:30:19 +0000 (Thu, 10 Sep 2020) | 1 line Changed paths: M /trunk/TODO M /trunk/src/const_euler.c M /trunk/src/erandom.c M /trunk/src/exceptions.c M /trunk/src/gamma_inc.c M /trunk/src/jn.c M /trunk/src/nrandom.c M /trunk/src/vasprintf.c M /trunk/src/yn.c M /trunk/tests/Makefile.am M /trunk/tests/tsprintf.c M /trunk/tools/coverage M /trunk/tools/mbench/Makefile Updated URLs. ------------------------------------------------------------------------ r14109 | vlefevre | 2020-09-10 08:51:43 +0000 (Thu, 10 Sep 2020) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Updated a URL (http → https). ------------------------------------------------------------------------ r14108 | vlefevre | 2020-09-10 08:49:51 +0000 (Thu, 10 Sep 2020) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated URLs. ------------------------------------------------------------------------ r14107 | vlefevre | 2020-09-10 08:45:40 +0000 (Thu, 10 Sep 2020) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Updated a URL (http → https). ------------------------------------------------------------------------ r14106 | vlefevre | 2020-09-10 08:43:38 +0000 (Thu, 10 Sep 2020) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Updated a URL concerning the "Intel® C++ Compiler 9.0 for Linux Release Notes" (the URL was not archived). ------------------------------------------------------------------------ r14104 | vlefevre | 2020-09-10 08:17:24 +0000 (Thu, 10 Sep 2020) | 1 line Changed paths: M /trunk/src/pow_si.c M /trunk/src/strtofr.c Updated a freebsd.org URL (bug tracker). ------------------------------------------------------------------------ r14103 | vlefevre | 2020-08-21 13:31:33 +0000 (Fri, 21 Aug 2020) | 5 lines Changed paths: M /trunk/src/atan.c M /trunk/src/const_euler.c M /trunk/src/eint.c M /trunk/src/erandom.c M /trunk/src/fpif.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/nrandom.c M /trunk/src/random_deviate.c M /trunk/src/random_deviate.h M /trunk/src/rndna.c M /trunk/src/set_sj.c M /trunk/src/set_str.c M /trunk/src/set_uj.c M /trunk/src/sin_cos.c M /trunk/src/strtofr.c M /trunk/src/vasprintf.c M /trunk/src/zeta.c M /trunk/tests/tcmp2.c M /trunk/tests/tdiv.c M /trunk/tests/teq.c M /trunk/tests/terandom_chisq.c M /trunk/tests/tfmma.c M /trunk/tests/tfmod.c M /trunk/tests/tfprintf.c M /trunk/tests/tgamma.c M /trunk/tests/tnrandom_chisq.c M /trunk/tests/tprintf.c M /trunk/tests/trint.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsqr.c M /trunk/tests/tsum.c [src,tests] Consistency: in prototypes, changed const mpfr_t to mpfr_srcptr mpfr_t to mpfr_ptr (except for mpfr_t *), as this is equivalent (the array is converted to a pointer) and the mpfr_srcptr/mpfr_ptr form is the usual one. ------------------------------------------------------------------------ r14102 | vlefevre | 2020-08-20 08:41:06 +0000 (Thu, 20 Aug 2020) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about "string + integer" expressions. ------------------------------------------------------------------------ r14100 | vlefevre | 2020-08-20 08:03:05 +0000 (Thu, 20 Aug 2020) | 3 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Replaced another occurrence of the code triggering the warning "adding 'int' to a string does not append to the string [-Wstring-plus-int]" with Clang (at least with 3.5 and above). ------------------------------------------------------------------------ r14099 | zimmerma | 2020-08-20 06:45:10 +0000 (Thu, 20 Aug 2020) | 7 lines Changed paths: M /trunk/tests/tsprintf.c fixed a compiler warning found by Clang 10.0.1 on armv8-a (Samsung S8 aarch64-unknown-linux-android): tsprintf.c:1613:27: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] strcat (buf, ",0" + (j % 3 != 0)); ~~~~~^~~~~~~~~~~~~~ ------------------------------------------------------------------------ r14098 | zimmerma | 2020-08-20 06:43:08 +0000 (Thu, 20 Aug 2020) | 10 lines Changed paths: M /trunk/tests/tgeneric.c fixed a compiler warning found by Clang 10.0.1 on armv8-a (Samsung S8 aarch64-unknown-linux-android): ./tgeneric.c:208:40: warning: implicit conversion from 'mp_limb_t' (aka 'unsigned long') to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-int-float-conversion] (double) randlimb () / MPFR_LIMB_MAX; ~ ^~~~~~~~~~~~~ ../src/mpfr-impl.h:1277:28: note: expanded from macro 'MPFR_LIMB_MAX' #define MPFR_LIMB_MAX ((mp_limb_t) -1) ^~~~~~~~~~~~~~ ------------------------------------------------------------------------ r14097 | vlefevre | 2020-08-09 21:57:33 +0000 (Sun, 09 Aug 2020) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r14096 | vlefevre | 2020-08-09 21:55:51 +0000 (Sun, 09 Aug 2020) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] In the paragraph about cases that are hard to round, also mention potentially exact cases. ------------------------------------------------------------------------ r14093 | vlefevre | 2020-07-20 22:00:22 +0000 (Mon, 20 Jul 2020) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a paragraph on the issue with GCC and conversions between binary and decimal types. ------------------------------------------------------------------------ r14092 | vlefevre | 2020-07-20 21:45:20 +0000 (Mon, 20 Jul 2020) | 1 line Changed paths: M /trunk/src/get_d128.c [src/get_d128.c] Updated FIXME comment (after r14087). ------------------------------------------------------------------------ r14088 | vlefevre | 2020-07-20 16:09:32 +0000 (Mon, 20 Jul 2020) | 1 line Changed paths: M /trunk/src/get_d128.c [src/get_d128.c] Removed unused variable due to r14087. ------------------------------------------------------------------------ r14087 | vlefevre | 2020-07-20 15:13:41 +0000 (Mon, 20 Jul 2020) | 10 lines Changed paths: M /trunk/src/get_d128.c [src/get_d128.c] For the special values, avoid double to _Decimal128 conversions, as for such conversions, GCC generates from 2 to 3 MB in the shared library when the decimal encoding is BID, and there will be no fix in GCC: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96173 We now use computations on _Decimal128 constants directly, which could thus be done at compile time. We expect no problems similar to double, as the _Decimal128 implementation should follow the IEEE 754 rules. This commit should avoid a large part of the problem reported at: https://gforge.inria.fr/tracker/?func=detail&atid=619&aid=21849&group_id=136 ------------------------------------------------------------------------ r14083 | vlefevre | 2020-07-15 02:15:05 +0000 (Wed, 15 Jul 2020) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Improved an error message. ------------------------------------------------------------------------ r14082 | vlefevre | 2020-07-13 11:00:57 +0000 (Mon, 13 Jul 2020) | 3 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Simplified the d_trace and ld_trace functions: we do not need a union (with its potentional padding) as there are no aliasing issues with unsigned char. ------------------------------------------------------------------------ r14081 | vlefevre | 2020-07-13 10:54:19 +0000 (Mon, 13 Jul 2020) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Fixed mpfr_out_str usage in error messages (see the change in r12520). ------------------------------------------------------------------------ r14080 | vlefevre | 2020-07-13 10:45:07 +0000 (Mon, 13 Jul 2020) | 1 line Changed paths: M /trunk/tests/tget_ld_2exp.c [tests/tget_ld_2exp.c] Corrected a function call in an error message. ------------------------------------------------------------------------ r14079 | vlefevre | 2020-07-13 09:14:22 +0000 (Mon, 13 Jul 2020) | 2 lines Changed paths: M /trunk/examples/version.c [examples/version.c] "Compiler:" line: detect TCC (__TINYC__ macro). (merged r14078 from tests/tversion.c) ------------------------------------------------------------------------ r14078 | vlefevre | 2020-07-13 09:10:43 +0000 (Mon, 13 Jul 2020) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] "Compiler:" line: detect TCC (__TINYC__ macro). ------------------------------------------------------------------------ r14075 | vlefevre | 2020-07-12 02:34:29 +0000 (Sun, 12 Jul 2020) | 1 line Changed paths: M /trunk/src/get_d128.c [src/get_d128.c] Updated the FIXME. ------------------------------------------------------------------------ r14074 | vlefevre | 2020-07-12 00:36:22 +0000 (Sun, 12 Jul 2020) | 1 line Changed paths: M /trunk/src/get_d128.c [src/get_d128.c] Added a FIXME to work around GCC bug 96173. ------------------------------------------------------------------------ r14062 | vlefevre | 2020-07-10 10:29:34 +0000 (Fri, 10 Jul 2020) | 1 line Changed paths: M /trunk/src/jyn_asympt.c [src/jyn_asympt.c] Added an assertion. ------------------------------------------------------------------------ r14060 | vlefevre | 2020-07-10 09:16:25 +0000 (Fri, 10 Jul 2020) | 4 lines Changed paths: M /trunk/doc/README.dev M /trunk/tests/tjn.c [doc/README.dev] In the MPFR_CHECK_EXPENSIVE description, say that --enable-assert=full should not be used (too expensive, not needed). [tests/tjn.c] Added a related comment for the expensive bug20200703 test (which may take more than 1 hour with --enable-assert=full). ------------------------------------------------------------------------ r14059 | vlefevre | 2020-07-10 07:17:05 +0000 (Fri, 10 Jul 2020) | 1 line Changed paths: M /trunk/tests/tjn.c [tests/tjn.c] Corrected indentation. ------------------------------------------------------------------------ r14058 | zimmerma | 2020-07-03 17:03:33 +0000 (Fri, 03 Jul 2020) | 2 lines Changed paths: M /trunk/tests/tjn.c [tests/tjn.c] added another test ------------------------------------------------------------------------ r14057 | zimmerma | 2020-07-03 16:46:10 +0000 (Fri, 03 Jul 2020) | 2 lines Changed paths: M /trunk/src/jyn_asympt.c [src/jyn_asympt.c] fixed previous commit ------------------------------------------------------------------------ r14056 | zimmerma | 2020-07-03 16:34:34 +0000 (Fri, 03 Jul 2020) | 2 lines Changed paths: M /trunk/src/jyn_asympt.c M /trunk/tests/tjn.c [src/jyn_asympt.c] partly solved the slowness of jn(733333,733333) ------------------------------------------------------------------------ r14055 | vlefevre | 2020-07-03 12:55:52 +0000 (Fri, 03 Jul 2020) | 1 line Changed paths: M /trunk/src/jyn_asympt.c [src/jyn_asympt.c] Replaced some MPFR_EXP by MPFR_GET_EXP. ------------------------------------------------------------------------ r14054 | vlefevre | 2020-07-03 12:48:58 +0000 (Fri, 03 Jul 2020) | 1 line Changed paths: M /trunk/src/jyn_asympt.c [src/jyn_asympt.c] Added a log message. ------------------------------------------------------------------------ r14053 | vlefevre | 2020-07-03 12:16:09 +0000 (Fri, 03 Jul 2020) | 3 lines Changed paths: M /trunk/tests/tjn.c [tests/tjn.c] Added testcase for bug reported by Alex Coplan: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96044 mpfr_jn is very slow or doesn't terminate on (733333,733333). ------------------------------------------------------------------------ r14047 | vlefevre | 2020-07-01 13:58:34 +0000 (Wed, 01 Jul 2020) | 2 lines Changed paths: M /trunk/NEWS [NEWS] For MPFR 4.1.0, added an item saying that TLS can safely be (re-)enabled on Sparc. ------------------------------------------------------------------------ r14045 | vlefevre | 2020-06-29 13:53:52 +0000 (Mon, 29 Jun 2020) | 6 lines Changed paths: M /trunk/tests/mpfr-test.h [tests/mpfr-test.h] Avoid a GCC bug on Sparc, at least when using TLS. The MPFR library itself is not affected, only a particular test. Normal code using the MPFR library should not be affected either, as the bug occurs when accessing __gmpfr_flags directly (and the public mpfr.h header file does not provide any macro that accesses an internal variable directly). So a workaround for the tests is the best solution. ------------------------------------------------------------------------ r14040 | vlefevre | 2020-06-18 15:37:11 +0000 (Thu, 18 Jun 2020) | 1 line Changed paths: M /trunk/NEWS [NEWS] Update for the next release. ------------------------------------------------------------------------ r14036 | vlefevre | 2020-06-18 09:17:04 +0000 (Thu, 18 Jun 2020) | 1 line Changed paths: M /trunk/src/mpfr-longlong.h [src/mpfr-longlong.h] Mention applied patch (in r14035). ------------------------------------------------------------------------ r14035 | vlefevre | 2020-06-17 19:09:07 +0000 (Wed, 17 Jun 2020) | 6 lines Changed paths: M /trunk/src/mpfr-longlong.h [src/mpfr-longlong.h] Applied patch on https://gmplib.org/list-archives/gmp-bugs/2020-June/004807.html to fix add_ssaaaa and sub_ddmmss on arm / aarch64 (after a reverse-merge of r14032 and r13997), in order to resolve https://sympa.inria.fr/sympa/arc/mpfr/2020-06/msg00017.html https://sympa.inria.fr/sympa/arc/mpfr/2020-06/msg00059.html ------------------------------------------------------------------------ r14034 | vlefevre | 2020-06-17 17:12:15 +0000 (Wed, 17 Jun 2020) | 4 lines Changed paths: M /trunk/tests/tcmp_ui.c [tests/tcmp_ui.c] Added a comment about a failing test with tcc if one adds tcc support for macros using __builtin_constant_p in mpfr.h by testing __TINYC__. Bug report against tcc: https://savannah.nongnu.org/bugs/?58606 ------------------------------------------------------------------------ r14032 | zimmerma | 2020-06-16 13:22:19 +0000 (Tue, 16 Jun 2020) | 2 lines Changed paths: M /trunk/src/mpfr-longlong.h [src/mpfr-longlong.h] disable buggy sub_ddmmss for aarch64 ------------------------------------------------------------------------ r14031 | vlefevre | 2020-06-15 15:59:50 +0000 (Mon, 15 Jun 2020) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected and detailed the description of mpfr_get_str_ndigits. ------------------------------------------------------------------------ r14030 | vlefevre | 2020-06-15 15:50:51 +0000 (Mon, 15 Jun 2020) | 4 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] Since the mpfr_get_str_ndigits function is in the public API, use MPFR_ASSERTN instead of MPFR_ASSERTD on the condition on the argument b in order to get an assertion failure (by default) if this condition is not satisfied. ------------------------------------------------------------------------ r14029 | zimmerma | 2020-06-15 12:00:33 +0000 (Mon, 15 Jun 2020) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] specify the range of b for mpfr_get_str_ndigits ------------------------------------------------------------------------ r14028 | vlefevre | 2020-06-14 20:56:06 +0000 (Sun, 14 Jun 2020) | 1 line Changed paths: M /trunk/tests/tdigamma.c [tests/tdigamma.c] Increase the number of tests. ------------------------------------------------------------------------ r14027 | zimmerma | 2020-06-14 14:44:55 +0000 (Sun, 14 Jun 2020) | 2 lines Changed paths: M /trunk/src/digamma.c [src/digamma.c] fixed bug found while testing mpfr-4.1.0-rc1 ------------------------------------------------------------------------ r14026 | vlefevre | 2020-06-14 01:45:33 +0000 (Sun, 14 Jun 2020) | 1 line Changed paths: M /trunk/src/digamma.c [src/digamma.c] Added a FIXME. ------------------------------------------------------------------------ r14025 | vlefevre | 2020-06-14 01:39:40 +0000 (Sun, 14 Jun 2020) | 1 line Changed paths: M /trunk/src/digamma.c [src/digamma.c] Replaced mpfr_get_exp by MPFR_GET_EXP. ------------------------------------------------------------------------ r14024 | vlefevre | 2020-06-14 01:21:11 +0000 (Sun, 14 Jun 2020) | 8 lines Changed paths: M /trunk/src/digamma.c [src/digamma.c] * Replaced some MPFR_EXP by MPFR_GET_EXP to check that the MPFR number has an exponent (i.e. it is not a special value). → Assertion failure in tdigamma (on x86_64). Note: this might be the cause of an unexpected loop (infinite loop?) on a Debian 10.4 POWER9 machine: https://sympa.inria.fr/sympa/arc/mpfr/2020-06/msg00025.html * Added an integer overflow check on a precision. ------------------------------------------------------------------------ r14023 | vlefevre | 2020-06-13 23:40:57 +0000 (Sat, 13 Jun 2020) | 7 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] In a test specific to x86 extended precision, in case of incorrect result, detect whether Valgrind is used and one gets the result obtained with Valgrind due to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890215 https://bugs.kde.org/show_bug.cgi?id=421262 (long double behaves as double); in this case, output a message without an error since Valgrind is the only cause of the miscalculation. ------------------------------------------------------------------------ r14022 | vlefevre | 2020-06-13 22:45:46 +0000 (Sat, 13 Jun 2020) | 3 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] bug_20160907 (tests on subnormals): * Replaced an assertion by a test with detailed output. * Corrected a value in a test, which did not match the comment. ------------------------------------------------------------------------ r14021 | vlefevre | 2020-06-13 19:09:09 +0000 (Sat, 13 Jun 2020) | 6 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c M /trunk/tests/tests.c [tests] Skip tabort_defalloc1 and tabort_defalloc2 under Valgrind, as Valgrind complains due to the large allocation size. * mpfr-test.h, tests.c: added tests_run_within_valgrind() function to guess whether the test runs within Valgrind. * tabort_defalloc1.c, tabort_defalloc2.c: skip the test (exit code 77) if this function returns true. ------------------------------------------------------------------------ r14020 | vlefevre | 2020-06-13 14:09:25 +0000 (Sat, 13 Jun 2020) | 6 lines Changed paths: M /trunk/configure.ac [configure.ac] Improvements concerning the default CFLAGS with GCC. * Add -Wc++-compat option to CFLAGS with GCC ≥ 4.1 not in C++ mode. Changes based on Bruno Haible's patch suggested at https://sympa.inria.fr/sympa/arc/mpfr/2020-06/msg00008.html (with some autoconf related fixes). * Output the $CFLAGS value that is eventually used. ------------------------------------------------------------------------ r14018 | vlefevre | 2020-06-13 13:17:53 +0000 (Sat, 13 Jun 2020) | 4 lines Changed paths: M /trunk/configure.ac [configure.ac] No longer add -Wc++-compat to CFLAGS when the compiler is GCC not in C++ mode (reverting the change done in r13406) since this option is not available before GCC 4.1: https://sympa.inria.fr/sympa/arc/mpfr/2020-06/msg00008.html ------------------------------------------------------------------------ r14015 | vlefevre | 2020-06-13 09:30:54 +0000 (Sat, 13 Jun 2020) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] ACM TOMS article: use the preferred DOI URL. ------------------------------------------------------------------------ r14012 | vlefevre | 2020-06-13 01:52:45 +0000 (Sat, 13 Jun 2020) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Updated comment about the bug detected on AIX. ------------------------------------------------------------------------ r14010 | vlefevre | 2020-06-13 01:04:22 +0000 (Sat, 13 Jun 2020) | 2 lines Changed paths: M /trunk/tools/announce-text [tools/announce-text] For release candidates, automatically adapt the flow of the text. ------------------------------------------------------------------------ r14009 | vlefevre | 2020-06-13 00:48:07 +0000 (Sat, 13 Jun 2020) | 1 line Changed paths: M /trunk/NEWS [NEWS] Updated mpfr.org URLs (http → https). ------------------------------------------------------------------------ r14008 | vlefevre | 2020-06-13 00:40:52 +0000 (Sat, 13 Jun 2020) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Better line lengths for release candidates. ------------------------------------------------------------------------ r14005 | vlefevre | 2020-06-12 17:48:29 +0000 (Fri, 12 Jun 2020) | 2 lines Changed paths: M /trunk/README [README] Added URL of the official GNU MPFR website and a note about the future migration, since InriaForge will shut down in December 2020. ------------------------------------------------------------------------ r14004 | vlefevre | 2020-06-12 15:30:51 +0000 (Fri, 12 Jun 2020) | 2 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Removed a useless "#include " (added in r5252, useless since r5253). ------------------------------------------------------------------------ r14003 | vlefevre | 2020-06-12 15:17:53 +0000 (Fri, 12 Jun 2020) | 6 lines Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Fixed a bug (in the test) detected on AIX[*], where an fclose failed due to a previous read failure. At the same time, check that a read failure no longer occurs. Note: the read failure made mpfr_fpif_import fail, but this is a test where it is expected to fail, i.e. we now check that it fails for a good reason. [*] gcc119.fsffrance.org on the GCC Compile farm. ------------------------------------------------------------------------ r13999 | vlefevre | 2020-06-12 12:09:04 +0000 (Fri, 12 Jun 2020) | 1 line Changed paths: M /trunk/tools/update-version [tools/update-version] Improved a message. ------------------------------------------------------------------------ r13997 | vlefevre | 2020-06-12 12:01:37 +0000 (Fri, 12 Jun 2020) | 2 lines Changed paths: M /trunk/src/mpfr-longlong.h [src/mpfr-longlong.h] Corrected a comment from GMP's longlong.h, which makes codespell complain in particular. ------------------------------------------------------------------------ r13995 | vlefevre | 2020-06-12 11:53:38 +0000 (Fri, 12 Jun 2020) | 3 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Improved the __GMP_DECLSPEC test: * No longer exclude "src/mpfr.h". * Avoid false positives in "src/mpfr.h" and "src/mpfr-longlong.h". ------------------------------------------------------------------------ r13993 | vlefevre | 2020-06-12 11:43:42 +0000 (Fri, 12 Jun 2020) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r13992 | vlefevre | 2020-06-12 11:41:27 +0000 (Fri, 12 Jun 2020) | 1 line Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.ac M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/version.c Updated version to 4.2.0-dev. ------------------------------------------------------------------------ r13990 | vlefevre | 2020-06-12 11:39:36 +0000 (Fri, 12 Jun 2020) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC0 svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r13989 | vlefevre | 2020-06-11 21:22:20 +0000 (Thu, 11 Jun 2020) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/total_order.c M /trunk/tests/ttotal_order.c Renamed mpfr_total_order to mpfr_total_order_p for consistency with the other predicates (by convention, the function name should end with _p). ------------------------------------------------------------------------ r13987 | vlefevre | 2020-06-11 15:15:52 +0000 (Thu, 11 Jun 2020) | 1 line Changed paths: M /trunk/NEWS [NEWS] New function mpfr_total_order. Detailed mpfr_get_str_ndigits. ------------------------------------------------------------------------ r13986 | vlefevre | 2020-06-11 15:07:52 +0000 (Thu, 11 Jun 2020) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated "To make a release". ------------------------------------------------------------------------ r13980 | vlefevre | 2020-06-11 13:01:58 +0000 (Thu, 11 Jun 2020) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated "To make a release". ------------------------------------------------------------------------ r13979 | vlefevre | 2020-06-11 12:44:42 +0000 (Thu, 11 Jun 2020) | 1 line Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] Updated -version-info to 7:0:1 for MPFR 4.1.0. ------------------------------------------------------------------------ r13978 | vlefevre | 2020-06-11 12:41:25 +0000 (Thu, 11 Jun 2020) | 1 line Changed paths: M /trunk/NEWS [NEWS] Additional details, in particular binary compatibility. ------------------------------------------------------------------------ r13977 | vlefevre | 2020-06-11 12:05:29 +0000 (Thu, 11 Jun 2020) | 1 line Changed paths: M /trunk/NEWS [NEWS] Some improvements. ------------------------------------------------------------------------ r13976 | zimmerma | 2020-06-11 07:44:42 +0000 (Thu, 11 Jun 2020) | 2 lines Changed paths: M /trunk/doc/mini-gmp [doc/mini-gmp] one more test is skipped now ------------------------------------------------------------------------ r13975 | zimmerma | 2020-06-11 07:44:00 +0000 (Thu, 11 Jun 2020) | 2 lines Changed paths: M /trunk/doc/mini-gmp [doc/mini-gmp] add test results with reduced limb size (int) ------------------------------------------------------------------------ r13974 | vlefevre | 2020-06-11 00:00:45 +0000 (Thu, 11 Jun 2020) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated "To make a release". ------------------------------------------------------------------------ r13973 | vlefevre | 2020-06-10 23:19:17 +0000 (Wed, 10 Jun 2020) | 1 line Changed paths: M /trunk/NEWS [NEWS] Added release name for 4.1.0: "épinards à la crème". ------------------------------------------------------------------------ r13971 | vlefevre | 2020-06-10 21:53:27 +0000 (Wed, 10 Jun 2020) | 1 line Changed paths: M /trunk/doc/mini-gmp [doc/mini-gmp] English usage improvement. ------------------------------------------------------------------------ r13970 | vlefevre | 2020-06-10 21:50:12 +0000 (Wed, 10 Jun 2020) | 15 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/tests/tvalist.c Fixed 2 issues with tests/tvalist.c: 1. When building with mini-gmp (--with-mini-gmp=DIR) without optimizations (-O0), the build of tvalist was failing because the formatted output functions are not supported (this issue wasn't noticed with optimizations due to dead code elimination). Fix: this test is disabled with mini-gmp (not needed anyway). 2. Dead code elimination with optimizations partly broke the goal of this test, i.e. checking that mpfr_vfprintf was available. This dead code was introduced in r7648 "Make sure that fct is used (avoid a warning)." (where fct = mpfr_vfprintf) but was actually not sufficient. Fix: call mpfr_vfprintf unconditionally, but on an empty string in order to avoid output to stdout. In addition to these changes in tests/tvalist.c, src/mpfr-impl.h could be simplified as a consequence. ------------------------------------------------------------------------ r13969 | vlefevre | 2020-06-10 21:26:07 +0000 (Wed, 10 Jun 2020) | 5 lines Changed paths: M /trunk/src/clears.c M /trunk/src/inits.c M /trunk/src/inits2.c M /trunk/tests/tvalist.c Removed '# undef HAVE_STDARG' before '# include "config.h"' when it was used, as it was not always undefined (e.g. in tests/tsprintf.c) and there are no reasons to undefine this macro specifically. Note: this code was introduced in r2665 (2004-02-06), perhaps for the MPFR build inside GMP, which has been dropped a long time ago. ------------------------------------------------------------------------ r13968 | vlefevre | 2020-06-10 21:07:30 +0000 (Wed, 10 Jun 2020) | 1 line Changed paths: M /trunk/tests/tvalist.c [tests/tvalist.c] Updated a comment. ------------------------------------------------------------------------ r13967 | vlefevre | 2020-06-10 21:01:12 +0000 (Wed, 10 Jun 2020) | 2 lines Changed paths: M /trunk/tests/tvalist.c [tests/tvalist.c] Correction when config.h is used (code copied from src/inits.c). ------------------------------------------------------------------------ r13966 | zimmerma | 2020-06-10 14:27:40 +0000 (Wed, 10 Jun 2020) | 2 lines Changed paths: M /trunk/doc/mini-gmp [doc/mini-gmp] review ------------------------------------------------------------------------ r13964 | vlefevre | 2020-06-10 12:48:02 +0000 (Wed, 10 Jun 2020) | 1 line Changed paths: M /trunk/NEWS [NEWS] Typo in option name. ------------------------------------------------------------------------ r13963 | vlefevre | 2020-06-10 10:58:36 +0000 (Wed, 10 Jun 2020) | 5 lines Changed paths: M /trunk/src/mpfr-longlong.h [src/mpfr-longlong.h] * Updated comment about this file and the changes against GMP 6.2.0. * Define __GMP_GNUC_PREREQ if it isn't defined (this is currently not needed since it is defined in gmp.h as used also there, but this is useful in case some future gmp.h version no longer defines it). ------------------------------------------------------------------------ r13962 | vlefevre | 2020-06-10 10:39:09 +0000 (Wed, 10 Jun 2020) | 3 lines Changed paths: M /trunk/src/mpfr-longlong.h [src/mpfr-longlong.h] Update: applied the diff of GMP's longlong.h between GMP 6.1.0 and GMP 6.2.0, after reverting changesets 13251, 11042, 11025, and 10727, as these changes are present in the diff. ------------------------------------------------------------------------ r13961 | vlefevre | 2020-06-10 10:21:51 +0000 (Wed, 10 Jun 2020) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] With mini-gmp, also check the availability of srand48. ------------------------------------------------------------------------ r13960 | vlefevre | 2020-06-10 10:15:52 +0000 (Wed, 10 Jun 2020) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] For gmp_randseed_ui, which uses srand48, use a portable version of the conversion from unsigned long to long. ------------------------------------------------------------------------ r13959 | vlefevre | 2020-06-10 09:37:15 +0000 (Wed, 10 Jun 2020) | 1 line Changed paths: M /trunk/doc/mini-gmp [doc/mini-gmp] Note also that the random functions are not thread-safe. ------------------------------------------------------------------------ r13958 | vlefevre | 2020-06-10 09:21:46 +0000 (Wed, 10 Jun 2020) | 1 line Changed paths: M /trunk/doc/mini-gmp [doc/mini-gmp] Major update. ------------------------------------------------------------------------ r13957 | vlefevre | 2020-06-10 08:40:02 +0000 (Wed, 10 Jun 2020) | 1 line Changed paths: M /trunk/NEWS [NEWS] Removed a FIXME (no problems found). ------------------------------------------------------------------------ r13955 | vlefevre | 2020-06-09 15:53:51 +0000 (Tue, 09 Jun 2020) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Code style: replaced (mp_limb_t) -1 by MPFR_LIMB_MAX. ------------------------------------------------------------------------ r13954 | vlefevre | 2020-06-09 15:46:19 +0000 (Tue, 09 Jun 2020) | 2 lines Changed paths: M /trunk/src/mul_ui.c [src/mul_ui.c] Bug fix: in the code where MPFR_LONG_WITHIN_LIMB is not defined, update the flags (needed for the possible overflow). ------------------------------------------------------------------------ r13953 | vlefevre | 2020-06-09 15:37:58 +0000 (Tue, 09 Jun 2020) | 2 lines Changed paths: M /trunk/tests/tmul_ui.c [tests/tmul_ui.c] Added an overflow check that fails in MPFR_RNDZ with mini-gmp and mp_limb_t < long (e.g. "-DMINI_GMP_LIMB_TYPE=short"). ------------------------------------------------------------------------ r13952 | vlefevre | 2020-06-09 15:15:04 +0000 (Tue, 09 Jun 2020) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] In the MPFR_SUSPICIOUS_OVERFLOW case, output yprec. ------------------------------------------------------------------------ r13951 | vlefevre | 2020-06-09 15:04:19 +0000 (Tue, 09 Jun 2020) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Changed the code that defines MPFR_LONG_WITHIN_LIMB in order to support mini-gmp with -DMINI_GMP_LIMB_TYPE=... ------------------------------------------------------------------------ r13950 | vlefevre | 2020-06-09 13:39:35 +0000 (Tue, 09 Jun 2020) | 8 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Fixed build failure with GMP_NUMB_BITS == 8 due to the use of uint64_t in src/get_ld.c, while was not included: replaced it by "unsigned long long", which does not need a specific header (an exact 64-bit type is not needed, we just need at least a 64-bit width, which unsigned long long is guaranteed to have). Note: unsigned long long may not be available with a pre-C99 compiler, but this is not worse than uint64_t. This limitation is currently OK as GMP_NUMB_BITS == 8 support is just for testing. ------------------------------------------------------------------------ r13949 | vlefevre | 2020-06-09 10:53:21 +0000 (Tue, 09 Jun 2020) | 12 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Make MPFR_CHECK_MP_LIMB_T_VS_LONG and MPFR_CHECK_MP_LIMB_T_VS_INTMAX similar: * Use AC_LINK_IFELSE in MPFR_CHECK_MP_LIMB_T_VS_LONG too: this is safer than AC_COMPILE_IFELSE, as it will detect undefined function-like macros. * Define MPFR_USE_STATIC_ASSERT in MPFR_CHECK_MP_LIMB_T_VS_INTMAX too in order to make sure that a static assertion is used (not the MPFR_ASSERTN fallback). Note: These constitute redundant safeguards because if MPFR_ASSERTN is used, it will be regarded as a function since the macro is not defined in this context, and linking will fail as a consequence. But this redundancy will protect more against MPFR code evolution. ------------------------------------------------------------------------ r13948 | vlefevre | 2020-06-09 09:41:51 +0000 (Tue, 09 Jun 2020) | 16 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed MPFR_CHECK_MP_LIMB_T_VS_LONG macro by forcing MPFR_USE_STATIC_ASSERT to 1 before including mpfr-sassert.h, i.e. by requiring static assertions: because AC_COMPILE_IFELSE is used (i.e. just compiling, no linking), the test could incorrectly succeed when MPFR_USE_STATIC_ASSERT was not defined, i.e. whatever the value of "(mp_limb_t) -1 >= (unsigned long) -1"; indeed, in this case, MPFR_ASSERTN() was used instead of a static assertion, and since the macro was not defined here, MPFR_ASSERTN was regarded as a function (without a prototype), which was fine for compiling (except when the compiler is configured to regard warnings such as missing prototype as errors). In short, one could get "yes" while long was larger than mp_limb_t. Note: In uncommon cases (non-standard compiler...), one can still get "no" while a long fits in mp_limb_t, but this isn't much an issue as the MPFR code should work in such a case. Moreover, src/mpfr-impl.h will also have the chance to set MPFR_LONG_WITHIN_LIMB in practice. ------------------------------------------------------------------------ r13947 | vlefevre | 2020-06-09 00:57:05 +0000 (Tue, 09 Jun 2020) | 28 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/mpfr-sassert.h M /trunk/tune/tuneup.c Removed MPFR_DECL_STATIC_ASSERT macro as it was buggy, unused, rather useless, and it had drawbacks. Details: * In src/mpfr-sassert.h, the default definition of this macro in the MPFR_USE_STATIC_ASSERT case ended with a spurious ";". Since this macro was unused, this wasn't noticeable... except in the configure test for static assertions, which failed in some cases (e.g. with CFLAGS="-std=c99 -pedantic-errors -Wno-error=overlength-strings") for this reason, which had the effect to let MPFR_USE_STATIC_ASSERT undefined, while static assertions were actually working. * Still in src/mpfr-sassert.h, but when MPFR_USE_STATIC_ASSERT is not defined, the MPFR_DECL_STATIC_ASSERT(c) expanded to nothing, which would yield invalid code as MPFR_DECL_STATIC_ASSERT(some_assertion); would yield an extra ";" (about the same issue as above). Given the fact that the portable MPFR_USE_STATIC_ASSERT code does not work with this compiler, it is not clear whether this is fixable in a completely reliable way. * MPFR_DECL_STATIC_ASSERT can be replaced by MPFR_STAT_STATIC_ASSERT after moving it to the statement section of a function, with almost no drawbacks (just a bit readability in some cases?). * When MPFR_USE_STATIC_ASSERT is not defined, MPFR_STAT_STATIC_ASSERT will check the assertion at run time (for free, since the result is known at compile time), while MPFR_DECL_STATIC_ASSERT would not be able to do anything useful. Changes: * acinclude.m4: removed the test of MPFR_DECL_STATIC_ASSERT. * src/mpfr-sassert.h: removed MPFR_DECL_STATIC_ASSERT definitions. * tune/tuneup.c: removed MPFR_DECL_STATIC_ASSERT redefinition. ------------------------------------------------------------------------ r13946 | vlefevre | 2020-06-08 23:55:33 +0000 (Mon, 08 Jun 2020) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] MPFR_CHECK_MP_LIMB_T_VS_LONG: updated comment to say that using MPFR_ASSERTN (as the code tries to do if static assertions are not supported, but currently fails) would be incorrect. ------------------------------------------------------------------------ r13945 | vlefevre | 2020-06-08 13:45:33 +0000 (Mon, 08 Jun 2020) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] In MPFR_CHECK_MP_LIMB_T_VS_INTMAX, do the test only if intmax_t is defined (assuming that it is iff uintmax_t is defined). ------------------------------------------------------------------------ r13944 | vlefevre | 2020-06-08 13:39:32 +0000 (Mon, 08 Jun 2020) | 2 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Also output the results of the detection of "long within limb" and "intmax_t within limb". ------------------------------------------------------------------------ r13942 | vlefevre | 2020-06-04 16:22:38 +0000 (Thu, 04 Jun 2020) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Removed an obsolete FIXME, which is probably wrong. ------------------------------------------------------------------------ r13941 | vlefevre | 2020-06-04 16:17:12 +0000 (Thu, 04 Jun 2020) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Updated a comment, replacing a resolved FIXME. ------------------------------------------------------------------------ r13940 | vlefevre | 2020-06-04 15:53:59 +0000 (Thu, 04 Jun 2020) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] MPFR_CHECK_DBL2INT_BUG test: avoid potentially reserved exit status. ------------------------------------------------------------------------ r13939 | vlefevre | 2020-06-04 14:29:17 +0000 (Thu, 04 Jun 2020) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed r13938: the new MPFR_C_REALFP_FORMAT macro also needs to take the printf length modifier in argument. ------------------------------------------------------------------------ r13938 | vlefevre | 2020-06-04 13:51:32 +0000 (Thu, 04 Jun 2020) | 11 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Improved the code to determine the format of double, resolving the FIXME. The issue was that it used an AC_RUN_IFELSE, so that the format could not be determined when cross-compiling. The code to determine the format of long double did not have such an issue: the object file was analyzed by an awk script. Since a long double can have the same format as a double, this code was already able to recognize a double, in particular. So the change consisted in slightly adapting this code to accept the tested type as an argument ("double" or "long double", the mpfr_cv_… variable name being obtained thanks to AS_VAR_PUSHDEF) and reusing it for the detection of the format of double. ------------------------------------------------------------------------ r13937 | vlefevre | 2020-06-04 13:21:09 +0000 (Thu, 04 Jun 2020) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] MPFR_C_LONG_DOUBLE_FORMAT cleanup: * Removed an unused AH_VERBATIM. * Removed "not available" condition, no longer possible since r13936. ------------------------------------------------------------------------ r13936 | vlefevre | 2020-06-04 12:34:18 +0000 (Thu, 04 Jun 2020) | 6 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fix concerning r13935: also removed code that tested the availability of long double. This code was useless since it was just outputting "not available" if long double was missing, and one would get an error later since MPFR requires long double. But since long double is in ISO C89, it is useless to add a test just to return an error for pre-C89 compilers. ------------------------------------------------------------------------ r13935 | vlefevre | 2020-06-04 12:17:15 +0000 (Thu, 04 Jun 2020) | 4 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac [acinclude.m4] Removed "AC_CHECK_TYPES([long double])", whose only purpose is to define a HAVE_LONG_DOUBLE macro. [configure.ac] Removed HAVE_LONG_DOUBLE from the cleanup: no longer needed with the change in acinclude.m4. ------------------------------------------------------------------------ r13934 | vlefevre | 2020-06-03 13:44:24 +0000 (Wed, 03 Jun 2020) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Minor change in a comment. ------------------------------------------------------------------------ r13933 | vlefevre | 2020-06-03 13:38:17 +0000 (Wed, 03 Jun 2020) | 10 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac Cleanup about the function detection by autoconf. * acinclude.m4: removed the detection of memmove, memset and strtol, which was not used (a macro "HAVE_..." was defined... to be removed in configure.ac!); for AC_CHECK_FUNCS, remove options starting with "-Werror" as they can yield a spurious failure due to the way this test is done (this occurred on memmove and memset with GCC due to builtins, and similar issues could still occur in practice with the remaining functions in the AC_CHECK_FUNCS list). * configure.ac: removed HAVE_STRTOL from the macro cleanup: no longer needed since strtol has been removed from the AC_CHECK_FUNCS list. ------------------------------------------------------------------------ r13932 | vlefevre | 2020-06-03 12:11:13 +0000 (Wed, 03 Jun 2020) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Minor improvement: in the MPFR_CHECK_GMP test, changed the exit status values 1..3 to 81..83 in order to avoid confusion, as low values can typically be returned in case of compile or link error. ------------------------------------------------------------------------ r13931 | vlefevre | 2020-06-02 22:43:08 +0000 (Tue, 02 Jun 2020) | 1 line Changed paths: M /trunk/tests/memory.c [tests/memory.c] Updated a comment. ------------------------------------------------------------------------ r13930 | vlefevre | 2020-06-02 21:35:11 +0000 (Tue, 02 Jun 2020) | 2 lines Changed paths: M /trunk/src/mpfr-longlong.h [src/mpfr-longlong.h] Added code to check that mpfr-longlong.h is not included directly; MPFR_NEED_LONGLONG_H must be defined instead. ------------------------------------------------------------------------ r13929 | vlefevre | 2020-06-02 21:26:51 +0000 (Tue, 02 Jun 2020) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] To complete r13928, one also needs to define MPFR_NEED_INTMAX_H here when mpfr-intmax.h is used. ------------------------------------------------------------------------ r13928 | vlefevre | 2020-06-02 21:21:45 +0000 (Tue, 02 Jun 2020) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-intmax.h [src/{mpfr-impl.h,mpfr-intmax.h}] Added code to check that mpfr-intmax.h is not included directly; MPFR_NEED_INTMAX_H must be defined instead. ------------------------------------------------------------------------ r13923 | vlefevre | 2020-06-01 10:39:52 +0000 (Mon, 01 Jun 2020) | 12 lines Changed paths: M /trunk/src/fits_intmax.c M /trunk/src/fits_uintmax.c M /trunk/src/get_sj.c M /trunk/src/get_str.c M /trunk/src/get_uj.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-intmax.h M /trunk/src/set_sj.c M /trunk/src/set_uj.c M /trunk/src/vasprintf.c M /trunk/tests/memory.c M /trunk/tests/tfits.c M /trunk/tests/tfprintf.c M /trunk/tests/tget_sj.c M /trunk/tests/tprintf.c M /trunk/tests/tset_sj.c M /trunk/tests/tversion.c Bug fixes and cleanup related to "src/mpfr-intmax.h" by introducing a new macro MPFR_NEED_INTMAX_H, which should be defined instead of using: #include "mpfr-intmax.h" Details on the bugs fixed: * The code added in r13916 forgot a #include since this code does a test on ULLONG_MAX. With the cleanup, is already always included by mpfr-impl.h (early enough). * In src/get_str.c and tests/memory.c, a #include "config.h" was missing before #include "mpfr-intmax.h"; this issue would affect platforms where "config.h" is needed and where or does not exist or does not work. ------------------------------------------------------------------------ r13922 | vlefevre | 2020-06-01 00:15:37 +0000 (Mon, 01 Jun 2020) | 3 lines Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] For the non-regression test added in r13907, one also needs to temporarily increase the memory limit, thus require MPFR_CHECK_LARGEMEM too. ------------------------------------------------------------------------ r13920 | vlefevre | 2020-05-26 11:24:25 +0000 (Tue, 26 May 2020) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] If decimal floats are explicitly disabled, do not do the check of the bit-field ordering for _Decimal128. ------------------------------------------------------------------------ r13919 | vlefevre | 2020-05-26 11:12:21 +0000 (Tue, 26 May 2020) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed detection of bit-field ordering for _Decimal128: a compiler error with exit status 1 was mixed up with little endian. ------------------------------------------------------------------------ r13916 | vlefevre | 2020-05-24 17:53:31 +0000 (Sun, 24 May 2020) | 3 lines Changed paths: M /trunk/src/mpfr-intmax.h [src/mpfr-intmax.h] Added support for Silicon Graphics IRIX 6.5 (1998) with native /usr/bin/cc, which knows the long long type but defines ULONGLONG_MAX, etc. instead of ULLONG_MAX, etc. ------------------------------------------------------------------------ r13915 | vlefevre | 2020-05-24 01:35:17 +0000 (Sun, 24 May 2020) | 4 lines Changed paths: M /trunk/tests/tget_ld_2exp.c [tests/tget_ld_2exp.c] Reverted r13914 as we still need to support pre-C99 compilers (and this change was useless). If C99 syntax is needed, there should be a configure test, and the code should be conditional. ------------------------------------------------------------------------ r13914 | zimmerma | 2020-05-23 19:53:25 +0000 (Sat, 23 May 2020) | 2 lines Changed paths: M /trunk/tests/tget_ld_2exp.c [tests/tget_ld_2exp.c] put expected value in hex in bug20180904() ------------------------------------------------------------------------ r13913 | vlefevre | 2020-05-20 01:13:35 +0000 (Wed, 20 May 2020) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": mention MPFR_CHECK_EXPENSIVE. ------------------------------------------------------------------------ r13912 | zimmerma | 2020-05-19 21:19:06 +0000 (Tue, 19 May 2020) | 2 lines Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] added comment about bug fix ------------------------------------------------------------------------ r13911 | zimmerma | 2020-05-19 21:13:36 +0000 (Tue, 19 May 2020) | 3 lines Changed paths: M /trunk/src/bernoulli.c [src/bernoulli.c] improve initial precision in mpfr_bernoulli_internal() (avoid failures for n <= 10000) ------------------------------------------------------------------------ r13910 | zimmerma | 2020-05-19 20:01:02 +0000 (Tue, 19 May 2020) | 2 lines Changed paths: M /trunk/src/bernoulli.c [src/bernoulli.c] fix bug with non-regression test added in r13907 ------------------------------------------------------------------------ r13909 | zimmerma | 2020-05-19 17:59:41 +0000 (Tue, 19 May 2020) | 3 lines Changed paths: M /trunk/src/bernoulli.c [src/bernoulli.c] temporary fix for the bug in mpfr_gamma, something must be wrong in the error analysis of mpfr_bernoulli_internal() ------------------------------------------------------------------------ r13908 | zimmerma | 2020-05-19 16:13:09 +0000 (Tue, 19 May 2020) | 3 lines Changed paths: M /trunk/doc/README.dev M /trunk/tests/tgamma.c [doc/README.dev] added MPFR_CHECK_EXPENSIVE [tests/tgamma.c] use MPFR_CHECK_EXPENSIVE ------------------------------------------------------------------------ r13907 | zimmerma | 2020-05-19 15:06:58 +0000 (Tue, 19 May 2020) | 2 lines Changed paths: M /trunk/tests/tgamma.c added non-regression test for bug reported by Frithjof Blomquist ------------------------------------------------------------------------ r13906 | vlefevre | 2020-05-04 15:25:13 +0000 (Mon, 04 May 2020) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Use of codespell: better workaround to python ugliness. ------------------------------------------------------------------------ r13898 | vlefevre | 2020-04-27 20:12:09 +0000 (Mon, 27 Apr 2020) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Section "Rounding" / even-rounding rule: the odd radices β are actually not concerned since in such radices, β^k is always odd, so that the exponent does not matter. ------------------------------------------------------------------------ r13897 | vlefevre | 2020-04-27 19:59:50 +0000 (Mon, 27 Apr 2020) | 7 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] In Section "Rounding", for MPFR_RNDN, added a note about the even-rounding rule in particular cases: 1-digit precision and odd radices. Note: A short explanation was already in the mpfr_get_str description, which is where the issue could occur at the time the minimum precision of MPFR numbers was 2. Now that the minimum precision is 1, this rule in such special cases is more general. ------------------------------------------------------------------------ r13896 | vlefevre | 2020-04-27 19:27:57 +0000 (Mon, 27 Apr 2020) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] + "than": also in a comment. ------------------------------------------------------------------------ r13895 | vlefevre | 2020-04-27 19:19:53 +0000 (Mon, 27 Apr 2020) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected a typo. Changed "{less,greater} or equal to" to the more common "{less,greater} than or equal to". ------------------------------------------------------------------------ r13893 | vlefevre | 2020-04-26 16:07:20 +0000 (Sun, 26 Apr 2020) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] In the paragraph on mpfr_rnd_t, give a reference to Section "Rounding". ------------------------------------------------------------------------ r13892 | vlefevre | 2020-04-26 15:58:59 +0000 (Sun, 26 Apr 2020) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] s/can not/cannot/ ------------------------------------------------------------------------ r13891 | vlefevre | 2020-04-26 15:57:16 +0000 (Sun, 26 Apr 2020) | 4 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved Section "Rounding" even more: * Added a note about the sign of the result (important for 0). * Described the directed rounding modes (BTW, this notion of "directed rounding modes" was used but never defined). ------------------------------------------------------------------------ r13890 | vlefevre | 2020-04-26 15:13:10 +0000 (Sun, 26 Apr 2020) | 5 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved the description of the rounding modes: * Be more clear that MPFR_RNDN uses the even rounding rule. * In "two representable numbers", add "consecutive". * Be more general than radix 2 (due to conversions to a string). * Consistent typography. ------------------------------------------------------------------------ r13889 | vlefevre | 2020-04-25 15:08:40 +0000 (Sat, 25 Apr 2020) | 5 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] * mpfr_init2: mention mpfr_prec_round; added a note about memory allocation. * mpfr_prec_round: clarification ("new allocation" could be surprising since one needs less memory). ------------------------------------------------------------------------ r13888 | zimmerma | 2020-04-25 14:42:58 +0000 (Sat, 25 Apr 2020) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] document that mpfr_prec_round does no new allocation in case the allocated memory is enough ------------------------------------------------------------------------ r13886 | vlefevre | 2020-04-22 15:27:07 +0000 (Wed, 22 Apr 2020) | 5 lines Changed paths: M /trunk/src/atan.c [src/atan.c] Removing the FIXME: I can't see anything wrong in the MPFR code. This could be a bug in GCC's analyzer (which is currently experimental). And GCC bug 94713 in the analyzer prevents debugging as it makes impossible to track uninitialized values: warnings do not occur the first time an uninitialized value occurs. ------------------------------------------------------------------------ r13885 | vlefevre | 2020-04-22 15:10:28 +0000 (Wed, 22 Apr 2020) | 1 line Changed paths: M /trunk/src/atan.c [src/atan.c] Added an assertion. ------------------------------------------------------------------------ r13884 | vlefevre | 2020-04-22 15:02:31 +0000 (Wed, 22 Apr 2020) | 1 line Changed paths: M /trunk/src/atan.c [src/atan.c] Reduce the number of mpz_get_ui calls with assertions. ------------------------------------------------------------------------ r13883 | vlefevre | 2020-04-22 12:23:39 +0000 (Wed, 22 Apr 2020) | 1 line Changed paths: M /trunk/src/atan.c [src/atan.c] Added a FIXME. ------------------------------------------------------------------------ r13881 | vlefevre | 2020-04-14 11:12:16 +0000 (Tue, 14 Apr 2020) | 5 lines Changed paths: M /trunk/doc/texinfo.tex [doc/texinfo.tex] Update to 2020-02-11.09 with "autoreconf -i -f" under Debian/unstable. Note: The generated mpfr.html and mpfr.info files remain the same. In mpfr.pdf, there are minor changes concerning horizontal spacing in paragraphs with a URL. ------------------------------------------------------------------------ r13879 | vlefevre | 2020-04-11 01:53:36 +0000 (Sat, 11 Apr 2020) | 4 lines Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] Fixed missing "#if _MPFR_IEEE_FLOATS" that became visible with r13878 now that the encoding of decimal floats can be detected at compile time. But by fixing the defined macros manually, this issue could be visible before r13878. ------------------------------------------------------------------------ r13878 | vlefevre | 2020-04-10 11:19:19 +0000 (Fri, 10 Apr 2020) | 11 lines Changed paths: M /trunk/INSTALL M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/README.dev M /trunk/src/get_d64.c M /trunk/src/mpfr-impl.h M /trunk/src/set_d128.c M /trunk/src/set_d64.c M /trunk/tests/tget_set_d128.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tversion.c Reworked decimal support and detection, resolving FIXMEs. * INSTALL, acinclude.m4, configure.ac: --enable-decimal-float can take new values. Change of macro DPD_FORMAT (DPD was assumed in case of cross-compilation, which could be wrong) to 3 new macros: DECIMAL_DPD_FORMAT, DECIMAL_BID_FORMAT, DECIMAL_GENERIC_CODE. * doc/README.dev: documented these 3 new macros. * src/mpfr-impl.h: the detection of the BID encoding can now be done at compile time when GCC defines __DECIMAL_BID_FORMAT__ (as on x86); support of the 3 new macros. * src/{get_d64.c,set_d64.c,set_d128.c}: update. * tests/{tget_set_d64.c,tget_set_d128.c,tversion.c}: update. ------------------------------------------------------------------------ r13877 | vlefevre | 2020-04-08 22:39:35 +0000 (Wed, 08 Apr 2020) | 1 line Changed paths: M /trunk/ChangeLog M /trunk/INSTALL M /trunk/src/get_d128.c M /trunk/src/get_d64.c M /trunk/src/mpfr-sassert.h M /trunk/src/set_d128.c M /trunk/src/set_d64.c M /trunk/tests/tests.c M /trunk/tests/tset_ld.c M /trunk/tests/tsprintf.c Updated URLs of the GCC mailing-list archives. ------------------------------------------------------------------------ r13876 | vlefevre | 2020-04-06 21:06:10 +0000 (Mon, 06 Apr 2020) | 3 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Updated FIXME about AC_FUNC_ALLOCA (in 2019-01, I already noticed a probable bug in the AC_FUNC_ALLOCA description, but forgot about it). ------------------------------------------------------------------------ r13875 | vlefevre | 2020-04-06 14:03:01 +0000 (Mon, 06 Apr 2020) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r13874 | vlefevre | 2020-04-06 14:02:01 +0000 (Mon, 06 Apr 2020) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Formatted output functions: added a comment with the URL of the bug report. ------------------------------------------------------------------------ r13873 | vlefevre | 2020-04-06 13:59:38 +0000 (Mon, 06 Apr 2020) | 3 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi [NEWS,doc/mpfr.texi] Documented the improvement in the formatted output functions (mpfr_printf, etc.) with an empty precision field, about trailing zeros. ------------------------------------------------------------------------ r13868 | vlefevre | 2020-04-03 10:56:49 +0000 (Fri, 03 Apr 2020) | 1 line Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Corrected MPFR_ASSERTD to MPFR_ASSERTN. ------------------------------------------------------------------------ r13867 | vlefevre | 2020-04-03 10:54:16 +0000 (Fri, 03 Apr 2020) | 9 lines Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Reverted r13862 and fixed the test_ubf test: A random precision was too small, so that an input for the test was not computed exactly (I had modified the values of the inputs for better tests, but forgot to change the minimum precision). Also check that the inputs are computed exactly (which is what I often do, but here, I had forgotten), in order to make errors like the above one easier to understand in case the test will have to be modified later. Note: With the incorrect input, the mpfr_sub1 result and flags were actually correct, so that this was only a bug in the test. ------------------------------------------------------------------------ r13866 | zimmerma | 2020-04-03 06:32:52 +0000 (Fri, 03 Apr 2020) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] update CompCert instructions ------------------------------------------------------------------------ r13865 | zimmerma | 2020-04-02 20:35:33 +0000 (Thu, 02 Apr 2020) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] fixed CompCert instructions ------------------------------------------------------------------------ r13864 | vlefevre | 2020-04-02 15:55:35 +0000 (Thu, 02 Apr 2020) | 6 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Reverted r13858: the check_overflow test was already in MPFR 4.0.1 and was succeeding on armv5tejl-unknown-linux-gnueabi, which had mpfr_cv_c_long_double_format='IEEE double, little endian'. The issue should be investigated. Note: MPFR_LDBL_MANT_DIG may be larger than the actual number of bits, but this should not cause a failure in the tests. ------------------------------------------------------------------------ r13863 | vlefevre | 2020-04-02 15:43:04 +0000 (Thu, 02 Apr 2020) | 2 lines Changed paths: M /trunk/tests/tget_ld_2exp.c [tests/tget_ld_2exp.c] Proper fix: the bug20180904 test was designed for the x87 extended precision, so enable it only in this case. ------------------------------------------------------------------------ r13862 | zimmerma | 2020-04-02 14:06:30 +0000 (Thu, 02 Apr 2020) | 2 lines Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] modify test_ubf() to always hit a current failing test ------------------------------------------------------------------------ r13861 | vlefevre | 2020-04-02 13:49:16 +0000 (Thu, 02 Apr 2020) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Fixed the change done in r13853 (about removed macros), making the code simpler and more maintainable at the same time. ------------------------------------------------------------------------ r13860 | zimmerma | 2020-04-02 11:48:28 +0000 (Thu, 02 Apr 2020) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added configuration for CompCert test ------------------------------------------------------------------------ r13859 | vlefevre | 2020-04-02 11:31:51 +0000 (Thu, 02 Apr 2020) | 2 lines Changed paths: M /trunk/src/set_ld.c [src/set_ld.c] Removed obsolete workaround due to LDBL_MAX being buggy on old i386 systems (the tests were not using this workaround). ------------------------------------------------------------------------ r13858 | zimmerma | 2020-04-02 11:12:28 +0000 (Thu, 02 Apr 2020) | 3 lines Changed paths: M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tset_ld.c [tests/tget_ld_2exp.c] fixed for case where long double = double [tests/tset_ld.c] likewise ------------------------------------------------------------------------ r13857 | vlefevre | 2020-04-02 10:58:19 +0000 (Thu, 02 Apr 2020) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Moved MPFR_CONFIGS invocation: MPFR_CONFIGS uses LDFLAGS, thus must be invoked after LDFLAGS has been determined completely. ------------------------------------------------------------------------ r13856 | zimmerma | 2020-04-02 10:32:50 +0000 (Thu, 02 Apr 2020) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] now all tests pass with compcert ------------------------------------------------------------------------ r13855 | zimmerma | 2020-04-02 10:19:13 +0000 (Thu, 02 Apr 2020) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] added missing LDFLAGS for long double test ------------------------------------------------------------------------ r13854 | vlefevre | 2020-04-02 09:56:46 +0000 (Thu, 02 Apr 2020) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added HAVE_ALLOCA description. ------------------------------------------------------------------------ r13853 | vlefevre | 2020-04-02 09:53:55 +0000 (Thu, 02 Apr 2020) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Do not remove the HAVE_ALLOCA macro, which is now used by MPFR to determine the default MPFR_ALLOCA_MAX value. ------------------------------------------------------------------------ r13852 | zimmerma | 2020-04-02 09:51:09 +0000 (Thu, 02 Apr 2020) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] update CompCert instructions ------------------------------------------------------------------------ r13851 | vlefevre | 2020-04-02 09:45:31 +0000 (Thu, 02 Apr 2020) | 2 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output whether MPFR is built with the GMP build, and the MPFR_ALLOCA_MAX value if not. ------------------------------------------------------------------------ r13850 | vlefevre | 2020-04-02 09:24:44 +0000 (Thu, 02 Apr 2020) | 3 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] If HAVE_ALLOCA is not defined, i.e. if alloca() is not available (as detected by the configure script), then set the default MPFR_ALLOCA_MAX value to 0 so that alloca() is not used. ------------------------------------------------------------------------ r13849 | zimmerma | 2020-04-02 06:57:07 +0000 (Thu, 02 Apr 2020) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added instructions for CompCert ------------------------------------------------------------------------ r13848 | vlefevre | 2020-04-02 01:26:46 +0000 (Thu, 02 Apr 2020) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated MPFR_ALLOCA_MAX description. ------------------------------------------------------------------------ r13847 | vlefevre | 2020-04-02 01:04:08 +0000 (Thu, 02 Apr 2020) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] When MPFR_ALLOCA_MAX = 0 (set at configure time), do not reference alloca() since we don't need it. ------------------------------------------------------------------------ r13844 | vlefevre | 2020-03-31 13:11:09 +0000 (Tue, 31 Mar 2020) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] About mpfr_printf with %Re and empty precision field, added a comment with URLs of the discussion and the bug report. ------------------------------------------------------------------------ r13840 | vlefevre | 2020-03-30 19:07:12 +0000 (Mon, 30 Mar 2020) | 1 line Changed paths: M /trunk/src/sub1.c [src/sub1.c] Typo in a comment. ------------------------------------------------------------------------ r13839 | vlefevre | 2020-03-30 14:52:53 +0000 (Mon, 30 Mar 2020) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] Updated message output when the gmp.h vs libgmp test fails: another cause may be that LD_RUN_PATH is not honored (problem seen under OpenBSD 6.6 / gcc302.fsffrance.org). ------------------------------------------------------------------------ r13835 | vlefevre | 2020-03-27 17:36:26 +0000 (Fri, 27 Mar 2020) | 1 line Changed paths: M /trunk/tests/tset_sj.c [tests/tset_sj.c] Forgot a "#ifndef NPRINTF_J" for printf("%jd",...). ------------------------------------------------------------------------ r13834 | vlefevre | 2020-03-27 15:45:17 +0000 (Fri, 27 Mar 2020) | 1 line Changed paths: M /trunk/src/set_uj.c [src/set_uj.c] Fixed underflow detection. ------------------------------------------------------------------------ r13833 | vlefevre | 2020-03-27 15:12:51 +0000 (Fri, 27 Mar 2020) | 2 lines Changed paths: M /trunk/src/set_uj.c [src/set_uj.c] Added early overflow detection to avoid a possible integer overflow. Added a FIXME (incorrect underflow detection). ------------------------------------------------------------------------ r13832 | vlefevre | 2020-03-27 15:05:03 +0000 (Fri, 27 Mar 2020) | 6 lines Changed paths: M /trunk/tests/tset_sj.c [tests/tset_sj.c] Added tests of mpfr_set_sj_2exp and mpfr_set_uj_2exp in precision 3 with integers from -31 to 31 and exponents MPFR_EXP_MIN, MPFR_EMIN_MIN-7 to MPFR_EMIN_MIN, MPFR_EMAX_MAX-7 to MPFR_EMAX_MAX, MPFR_EXP_MAX-7 to MPFR_EXP_MAX (like in tset_si.c, see r13808), but also exponents INTMAX_MIN and INTMAX_MAX. This shows bugs in set_uj.c, to be fixed... ------------------------------------------------------------------------ r13831 | vlefevre | 2020-03-27 14:17:10 +0000 (Fri, 27 Mar 2020) | 1 line Changed paths: M /trunk/src/set_sj.c [src/set_sj.c] Coding style. ------------------------------------------------------------------------ r13830 | vlefevre | 2020-03-27 13:59:05 +0000 (Fri, 27 Mar 2020) | 4 lines Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h [src] Moved the definition of the numberof() macro from mpfr-gmp.h to mpfr-impl.h in order to always use our own. Also make sure that the type is signed, so that the value can be used in arbitrary expressions without the risk of silently switching to unsigned arithmetic. ------------------------------------------------------------------------ r13827 | vlefevre | 2020-03-26 12:58:24 +0000 (Thu, 26 Mar 2020) | 2 lines Changed paths: M /trunk/tests/texpm1.c [tests/texpm1.c] Updated the bad_cases() parameters to increase the proportion of generated bad cases. ------------------------------------------------------------------------ r13826 | vlefevre | 2020-03-26 11:51:33 +0000 (Thu, 26 Mar 2020) | 1 line Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] Forgot a cast for MPFR_EXP_FSPEC argument. ------------------------------------------------------------------------ r13825 | vlefevre | 2020-03-26 10:07:00 +0000 (Thu, 26 Mar 2020) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r13824 | vlefevre | 2020-03-26 10:00:46 +0000 (Thu, 26 Mar 2020) | 1 line Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/dump.c M /trunk/src/mpfr-impl.h Consistency: "a UBF" → "an UBF" since UBF stands for "unbounded float". ------------------------------------------------------------------------ r13823 | vlefevre | 2020-03-26 09:56:45 +0000 (Thu, 26 Mar 2020) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Updated UBF comment about aliasing rules. ------------------------------------------------------------------------ r13822 | vlefevre | 2020-03-26 09:53:55 +0000 (Thu, 26 Mar 2020) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Updated UBF comment about aliasing rules. ------------------------------------------------------------------------ r13821 | vlefevre | 2020-03-26 09:35:25 +0000 (Thu, 26 Mar 2020) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Bug fix (MPFR_ZEXP(x) as used for an assignment could yield undefined behavior on platforms where mpfr_exp_t has trap representations); this is also a general improvement. ------------------------------------------------------------------------ r13818 | vlefevre | 2020-03-26 02:45:48 +0000 (Thu, 26 Mar 2020) | 2 lines Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Avoid the build failure with -Werror=strict-aliasing by replacing x[…] by p[…] (but this doesn't eliminate the problem itself). ------------------------------------------------------------------------ r13816 | vlefevre | 2020-03-26 00:17:17 +0000 (Thu, 26 Mar 2020) | 5 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] UBF: updated comment: this breaks aliasing rules, but there isn't any other acceptable solution. Note: when trying to build MPFR without --enable-assert, with GCC and CFLAGS="-O2 -Werror=strict-aliasing", the compilation of tests/tsub.c currently fails because of that. ------------------------------------------------------------------------ r13815 | vlefevre | 2020-03-25 20:24:23 +0000 (Wed, 25 Mar 2020) | 1 line Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Fixed tests on UBF. ------------------------------------------------------------------------ r13814 | vlefevre | 2020-03-25 20:04:16 +0000 (Wed, 25 Mar 2020) | 2 lines Changed paths: M /trunk/src/sub1.c [src/sub1.c] Fixed underflow handling in case c small (can occur only with UBF). ------------------------------------------------------------------------ r13813 | vlefevre | 2020-03-25 19:40:39 +0000 (Wed, 25 Mar 2020) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Minor correction. ------------------------------------------------------------------------ r13812 | vlefevre | 2020-03-25 19:39:40 +0000 (Wed, 25 Mar 2020) | 2 lines Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Changed a RND_LOOP to RND_LOOP_NO_RNDF as the behavior with RNDF changed after a bug fix. ------------------------------------------------------------------------ r13811 | vlefevre | 2020-03-25 17:52:01 +0000 (Wed, 25 Mar 2020) | 1 line Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Completed tests for UBF (currently fail). ------------------------------------------------------------------------ r13810 | vlefevre | 2020-03-25 17:28:45 +0000 (Wed, 25 Mar 2020) | 1 line Changed paths: M /trunk/src/sub1.c [src/sub1.c] Bug fix for UBF and MPFR_RNDF. ------------------------------------------------------------------------ r13809 | vlefevre | 2020-03-25 17:07:02 +0000 (Wed, 25 Mar 2020) | 3 lines Changed paths: M /trunk/src/set_si_2exp.c M /trunk/src/set_ui_2exp.c [src/set_{si,ui}_2exp.c] Bug fix in MPFR_LONG_WITHIN_LIMB defined case: added early underflow/overflow checking to avoid integer overflow or errors due to special exponent values. ------------------------------------------------------------------------ r13808 | vlefevre | 2020-03-25 16:55:37 +0000 (Wed, 25 Mar 2020) | 5 lines Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] Added tests of mpfr_set_si_2exp and mpfr_set_ui_2exp in precision 3 with integers from -31 to 31 and exponents MPFR_EXP_MIN, MPFR_EMIN_MIN-7 to MPFR_EMIN_MIN, MPFR_EMAX_MAX-7 to MPFR_EMAX_MAX, MPFR_EXP_MAX-7 to MPFR_EXP_MAX, showing bugs in these functions when MPFR_LONG_WITHIN_LIMB is defined. ------------------------------------------------------------------------ r13807 | vlefevre | 2020-03-24 15:41:55 +0000 (Tue, 24 Mar 2020) | 3 lines Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] More tests on UBF. The results are not checked yet, but running the tests with UBsan could allow one to trigger bugs (such as the one fixed in r13806). ------------------------------------------------------------------------ r13806 | vlefevre | 2020-03-24 15:32:22 +0000 (Tue, 24 Mar 2020) | 3 lines Changed paths: M /trunk/src/sub1.c [src/sub1.c] If exp_b = MPFR_EXP_MIN, an integer overflow may occur in the "MAX (aq, bq) + 2 <= diff_exp" branch. This is possible only with UBF. Fixed this bug with an early underflow detection in the UBF case. ------------------------------------------------------------------------ r13805 | vlefevre | 2020-03-24 13:47:38 +0000 (Tue, 24 Mar 2020) | 2 lines Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] Added extreme_underflow test: before the r13798 bug fix, this was triggering an integer overflow. ------------------------------------------------------------------------ r13804 | vlefevre | 2020-03-24 12:41:29 +0000 (Tue, 24 Mar 2020) | 1 line Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Corrected a function name. ------------------------------------------------------------------------ r13803 | vlefevre | 2020-03-24 11:27:52 +0000 (Tue, 24 Mar 2020) | 2 lines Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] More tests on UBF, in particular with an exponent change (including subnormal → normal and normal → overflow due to that). ------------------------------------------------------------------------ r13802 | vlefevre | 2020-03-24 01:31:09 +0000 (Tue, 24 Mar 2020) | 1 line Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Tests on UBF: underflow/overflow cases done. ------------------------------------------------------------------------ r13801 | vlefevre | 2020-03-23 16:05:46 +0000 (Mon, 23 Mar 2020) | 1 line Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] More tests on UBF. ------------------------------------------------------------------------ r13800 | vlefevre | 2020-03-23 15:40:48 +0000 (Mon, 23 Mar 2020) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] UBF: reordered macro definitions. ------------------------------------------------------------------------ r13799 | vlefevre | 2020-03-23 15:38:06 +0000 (Mon, 23 Mar 2020) | 3 lines Changed paths: M /trunk/src/add1.c M /trunk/src/mpfr-impl.h M /trunk/src/sub1.c [src] * mpfr-impl.h: define MPFR_UBF_GET_EXP macro. * add1.c, sub1.c: use this macro. ------------------------------------------------------------------------ r13798 | vlefevre | 2020-03-23 15:13:34 +0000 (Mon, 23 Mar 2020) | 2 lines Changed paths: M /trunk/src/sub1.c [src/sub1.c] Detect an underflow case (before the main detection) to avoid a possible integer overflow with UBF. ------------------------------------------------------------------------ r13797 | vlefevre | 2020-03-23 13:19:56 +0000 (Mon, 23 Mar 2020) | 1 line Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Added comments. ------------------------------------------------------------------------ r13796 | vlefevre | 2020-03-23 13:13:10 +0000 (Mon, 23 Mar 2020) | 1 line Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] First tests on UBF. ------------------------------------------------------------------------ r13795 | vlefevre | 2020-03-23 11:09:53 +0000 (Mon, 23 Mar 2020) | 1 line Changed paths: M /trunk/src/agm.c [src/agm.c] Avoid a potential integer overflow with huge precisions. ------------------------------------------------------------------------ r13794 | vlefevre | 2020-03-16 10:57:40 +0000 (Mon, 16 Mar 2020) | 2 lines Changed paths: M /trunk/src/root.c [src/root.c] Removed useless cast in a comparison, as both operands are non-negative. ------------------------------------------------------------------------ r13793 | vlefevre | 2020-03-16 10:53:56 +0000 (Mon, 16 Mar 2020) | 8 lines Changed paths: M /trunk/src/rem1.c [src/rem1.c] * Portability fix: when mpfr_exp_t <= long (which is the default), an addition was done in unsigned integer arithmetic instead of signed integer arithmetic, with a conversion back to a signed type, i.e. with potentially implementation-defined behavior. There could also be an integer overflow on huge-precision values if mp_bitcnt_t > unsigned long. * Updated a comment. ------------------------------------------------------------------------ r13792 | vlefevre | 2020-03-16 10:44:24 +0000 (Mon, 16 Mar 2020) | 8 lines Changed paths: M /trunk/src/pow.c [src/pow.c] * Portability fix: when mpfr_exp_t <= long (which is the default), an addition with a negative result was done in unsigned integer arithmetic instead of signed integer arithmetic, with a conversion back to a signed type, i.e. with implementation-defined behavior. There could also be an integer overflow on huge-precision values if mp_bitcnt_t > unsigned long. * Updated comments. ------------------------------------------------------------------------ r13791 | vlefevre | 2020-03-16 10:34:26 +0000 (Mon, 16 Mar 2020) | 1 line Changed paths: M /trunk/src/cos.c [src/cos.c] Updated a comment. ------------------------------------------------------------------------ r13790 | vlefevre | 2020-03-16 10:22:20 +0000 (Mon, 16 Mar 2020) | 1 line Changed paths: M /trunk/src/cos.c [src/cos.c] Updated a comment. ------------------------------------------------------------------------ r13789 | vlefevre | 2020-03-16 10:07:34 +0000 (Mon, 16 Mar 2020) | 1 line Changed paths: M /trunk/src/const_log2.c [src/const_log2.c] Corrected type for the return value of mpz_scan1. ------------------------------------------------------------------------ r13788 | vlefevre | 2020-03-13 17:48:24 +0000 (Fri, 13 Mar 2020) | 5 lines Changed paths: M /trunk/doc/README.dev M /trunk/tests/tests.c [tests/tests.c] Revert a change done in r13783 for function bad_cases(): no longer fail if a generated value does not correspond to a bad case. But fail if the MPFR_CHECK_BADCASES environment variable is defined and too few bad cases are generated (less than 90%). [doc/README.dev] Document MPFR_CHECK_BADCASES. ------------------------------------------------------------------------ r13787 | vlefevre | 2020-03-13 16:40:17 +0000 (Fri, 13 Mar 2020) | 25 lines Changed paths: M /trunk/tests/tatanh.c M /trunk/tests/tests.c M /trunk/tests/tlog1p.c M /trunk/tests/trec_sqrt.c [tests] Update to test the ternary value in test5rm() when possible, and support the exact cases. * tests.c: - test5rm(): modified the prototype again and the behavior. Now, either only one test is done and the ternary value is not checked, or the test is done in the 5 rounding modes and the ternary value is checked. - data_check(): corresponding update; updated description. - bad_cases(): test the exact cases too. * tatanh.c: for the bad_cases() call, reduce emax to avoid errors in the generation of bad cases due to the rounding of tanh(y) to 1, which does not correspond to a bad case for atanh, but to an exact case. * tlog1p.c: for the bad_cases() call, reduce emax to avoid errors in the generation of bad cases due to the rounding of expm1(y) to -1, which does not correspond to a bad case for log1p, but to an exact case. * trec_sqrt.c: corrected the bad_cases() call to avoid negative numbers. Note: the following tests GMP_CHECK_RANDOMIZE=5 ./tacos GMP_CHECK_RANDOMIZE=6 ./tatan GMP_CHECK_RANDOMIZE=4 ./tcos currently fail, but because of a change in r13783 (see associated log for the reason). To be fixed later. ------------------------------------------------------------------------ r13786 | vlefevre | 2020-03-13 10:29:46 +0000 (Fri, 13 Mar 2020) | 5 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Modified the prototype of test5rm() to support a parameter "exact". Therefore the parameter "test_one" is now a boolean (the value 2 is no longer supported, as redundant with "exact"), and about data_check() with rnd = '*', the loop is now done in test5rm(), i.e. test5rm() is called with test_one being false. ------------------------------------------------------------------------ r13785 | vlefevre | 2020-03-12 17:33:07 +0000 (Thu, 12 Mar 2020) | 2 lines Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] For bad_cases(), use the same pos and psup parameters as in troot.c for "rootn[2]", allowing inexact cases. ------------------------------------------------------------------------ r13784 | vlefevre | 2020-03-12 17:21:40 +0000 (Thu, 12 Mar 2020) | 2 lines Changed paths: M /trunk/tests/tcbrt.c [tests/tcbrt.c] For bad_cases(), use the same pos and psup parameters as in troot.c for "rootn[3]", allowing inexact cases. ------------------------------------------------------------------------ r13783 | vlefevre | 2020-03-12 17:17:56 +0000 (Thu, 12 Mar 2020) | 19 lines Changed paths: M /trunk/tests/tests.c M /trunk/tests/troot.c [tests] * tests.c, function bad_cases(): updated/added debug messages; assume that the parameters are chosen in such a way that this test always generates hard-to-round cases (including exact cases), i.e. exit with an error if one does not get a bad case, otherwise this can leave unexpected failures unnoticed (either due to a bug in the MPFR library or due to poorly chosen parameters such as in troot.c until now). Note: ideally, this would require a proof, but it is better to get (unlikely) spurious failures with a non-default GMP_CHECK_RANDOMIZE value than missing important tests. * troot.c, bad_cases() invocation: - corrected the pos parameter: when n is even, it is useless to generate a negative number as the function is not defined (the inverse function generates a positive number, and the mismatch now yields a failure due to the change in bad_cases); when n is odd, generate as many negative numbers as positive ones. - for n ≤ 5, reduce the psup parameter in order to also generate inexact cases, instead of always exact cases. ------------------------------------------------------------------------ r13782 | vlefevre | 2020-03-12 16:17:38 +0000 (Thu, 12 Mar 2020) | 3 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Added a TODO for bad_cases, as the exact cases are not tested yet. As a consequence, the bad_cases test added in tcbrt.c r13776 is not really useful yet, as the cbrt bad cases are only exact cases. ------------------------------------------------------------------------ r13781 | vlefevre | 2020-03-12 15:48:34 +0000 (Thu, 12 Mar 2020) | 9 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] * test5rm: removed additional useless tests added in r6037 in the case test_one true and rnd = MPFR_RNDZ or MPFR_RNDA, since the description was a bit incorrect and this was used only by - data/digamma, where this yielded only duplicate tests (mode *); - data/li2, where mode z is used on a few tests and could be replaced by mode Z (i.e. test_one false) if need be; updated description and added details. * data_check: corrected/updated description. ------------------------------------------------------------------------ r13780 | vlefevre | 2020-03-12 13:05:16 +0000 (Thu, 12 Mar 2020) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Minor change in an initialization. ------------------------------------------------------------------------ r13779 | vlefevre | 2020-03-12 00:57:34 +0000 (Thu, 12 Mar 2020) | 1 line Changed paths: M /trunk/tests/tget_set_d128.c M /trunk/tests/tget_set_d64.c [tests/tget_set_{d64,d128}.c] Added a FIXME and improved a message. ------------------------------------------------------------------------ r13778 | vlefevre | 2020-03-12 00:44:26 +0000 (Thu, 12 Mar 2020) | 4 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Added a FIXME: in case of cross-compiling, the guess "DPD" can be wrong, e.g. for the build with MinGW under Linux. One does not get a failure just because of other issues in the code, forcing the portable implementation of the decimal functions. ------------------------------------------------------------------------ r13776 | vlefevre | 2020-03-11 15:22:13 +0000 (Wed, 11 Mar 2020) | 1 line Changed paths: M /trunk/tests/tcbrt.c Added bad_cases tests for mpfr_cbrt. ------------------------------------------------------------------------ r13775 | vlefevre | 2020-03-11 15:12:09 +0000 (Wed, 11 Mar 2020) | 4 lines Changed paths: M /trunk/src/cbrt.c [src/cbrt.c] Improved the algorithm in the case the precision of the input is larger than 3n, where n is the precision of the output, + 1 if the rounding mode is MPFR_RNDN: instead of truncating the output, call mpz_root on the truncated input. ------------------------------------------------------------------------ r13774 | vlefevre | 2020-03-11 13:29:03 +0000 (Wed, 11 Mar 2020) | 1 line Changed paths: M /trunk/tests/tcbrt.c [tests/tcbrt.c] Test the ternary value on other exact cases. ------------------------------------------------------------------------ r13773 | vlefevre | 2020-03-11 13:23:28 +0000 (Wed, 11 Mar 2020) | 1 line Changed paths: M /trunk/tests/tcbrt.c [tests/tcbrt.c] Test the ternary value on special cases. ------------------------------------------------------------------------ r13772 | vlefevre | 2020-03-11 10:36:43 +0000 (Wed, 11 Mar 2020) | 5 lines Changed paths: M /trunk/src/cbrt.c [src/cbrt.c] Description of the algorithm: improvement; corrected the end, which was incorrect and did not match the code (the comment was introduced in r2057 and was already incorrect in the round-down case; then the round-to-nearest case was improved in r2070, but the comment was not updated). ------------------------------------------------------------------------ r13771 | vlefevre | 2020-03-11 10:18:02 +0000 (Wed, 11 Mar 2020) | 1 line Changed paths: M /trunk/src/cbrt.c [src/cbrt.c] Description of the algorithm: correction; added a TODO. ------------------------------------------------------------------------ r13769 | vlefevre | 2020-03-10 16:43:17 +0000 (Tue, 10 Mar 2020) | 3 lines Changed paths: M /trunk/src/cbrt.c [src/cbrt.c] Description of the algorithm: corrected indentation; renamed variable r to t in order to avoid confusion with the code (where r has a different meaning). ------------------------------------------------------------------------ r13768 | vlefevre | 2020-03-10 16:35:08 +0000 (Tue, 10 Mar 2020) | 1 line Changed paths: M /trunk/src/cbrt.c [src/cbrt.c] Clarified a comment. ------------------------------------------------------------------------ r13767 | vlefevre | 2020-03-10 16:12:46 +0000 (Tue, 10 Mar 2020) | 2 lines Changed paths: M /trunk/src/cbrt.c [src/cbrt.c] Resolved the second FIXME and simplified the code (basically by removing duplicate code). ------------------------------------------------------------------------ r13766 | vlefevre | 2020-03-10 15:38:20 +0000 (Tue, 10 Mar 2020) | 4 lines Changed paths: M /trunk/src/cbrt.c [src/cbrt.c] Description of the algorithm: * Since there was no upper bound on s, let's remove the upper bound on m (this now matches the code). * Replaced the FIXME by one due to the lack of upper bound on s. ------------------------------------------------------------------------ r13765 | vlefevre | 2020-03-10 15:20:11 +0000 (Tue, 10 Mar 2020) | 2 lines Changed paths: M /trunk/src/cbrt.c [src/cbrt.c] Added another FIXME as the code does not match the algorithm described in a comment. ------------------------------------------------------------------------ r13764 | vlefevre | 2020-03-10 15:07:10 +0000 (Tue, 10 Mar 2020) | 2 lines Changed paths: M /trunk/src/cbrt.c [src/cbrt.c] Improved a condition to avoid operations that correspond to a no-op. ------------------------------------------------------------------------ r13763 | vlefevre | 2020-03-10 14:24:45 +0000 (Tue, 10 Mar 2020) | 1 line Changed paths: M /trunk/src/cbrt.c [src/cbrt.c] Added an assertion. ------------------------------------------------------------------------ r13762 | vlefevre | 2020-03-10 14:15:11 +0000 (Tue, 10 Mar 2020) | 2 lines Changed paths: M /trunk/src/cbrt.c [src/cbrt.c] Code cleanup and simplification. Added logging messages and a FIXME about a comment (coming from r2057 with its associated code). ------------------------------------------------------------------------ r13761 | vlefevre | 2020-03-10 13:43:04 +0000 (Tue, 10 Mar 2020) | 2 lines Changed paths: M /trunk/src/cbrt.c [src/cbrt.c] Removed a useless cast on a comparison operand, since both operands are non-negative. ------------------------------------------------------------------------ r13760 | vlefevre | 2020-03-10 13:38:06 +0000 (Tue, 10 Mar 2020) | 1 line Changed paths: M /trunk/src/atan.c [src/atan.c] Added assertions. ------------------------------------------------------------------------ r13759 | vlefevre | 2020-03-10 13:12:09 +0000 (Tue, 10 Mar 2020) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Workaround to Debian bug 953369 in libpython3.8-minimal for the codespell invocation. ------------------------------------------------------------------------ r13758 | vlefevre | 2020-03-09 15:31:45 +0000 (Mon, 09 Mar 2020) | 3 lines Changed paths: M /trunk/src/eint.c [src/eint.c] Bug fix: possible integer overflow with some C implementations (or some _MPFR_PREC_FORMAT / _MPFR_EXP_FORMAT values) due to the use of incorrect integer types. ------------------------------------------------------------------------ r13757 | vlefevre | 2020-03-09 14:41:06 +0000 (Mon, 09 Mar 2020) | 1 line Changed paths: M /trunk/src/eint.c [src/eint.c] Added other logging messages. ------------------------------------------------------------------------ r13756 | vlefevre | 2020-03-09 14:36:19 +0000 (Mon, 09 Mar 2020) | 1 line Changed paths: M /trunk/src/eint.c [src/eint.c] Added some logging messages. ------------------------------------------------------------------------ r13755 | zimmerma | 2020-03-09 09:54:57 +0000 (Mon, 09 Mar 2020) | 2 lines Changed paths: M /trunk/tests/tsin.c [tests/tsin.c] added one test ------------------------------------------------------------------------ r13753 | vlefevre | 2020-03-04 15:14:31 +0000 (Wed, 04 Mar 2020) | 1 line Changed paths: M /trunk/src/sub1.c [src/sub1.c] cancel: also log its value; range checking/tracking. ------------------------------------------------------------------------ r13752 | vlefevre | 2020-03-04 14:38:54 +0000 (Wed, 04 Mar 2020) | 3 lines Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Added a comment giving the range of the value returned in "cancel" and explaining why there is no integer overflow in the computation of this value. ------------------------------------------------------------------------ r13751 | vlefevre | 2020-03-04 14:28:29 +0000 (Wed, 04 Mar 2020) | 1 line Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Comment: some absolute values are not needed (again). ------------------------------------------------------------------------ r13750 | vlefevre | 2020-03-04 14:26:40 +0000 (Wed, 04 Mar 2020) | 1 line Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Minor correction for |EXP(b) - EXP(c)| >= MPFR_EXP_MAX. ------------------------------------------------------------------------ r13749 | vlefevre | 2020-03-04 14:24:49 +0000 (Wed, 04 Mar 2020) | 1 line Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Better explanation when |EXP(b) - EXP(c)| >= MPFR_EXP_MAX. ------------------------------------------------------------------------ r13748 | vlefevre | 2020-03-03 15:09:21 +0000 (Tue, 03 Mar 2020) | 4 lines Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Finished the review of mpfr_cmp2: simplified the code even more; corrected/updated comments (in the case high_dif = 0, one can have dif = 1 if c has entirely been taken into account, so that the comment "dif > 1 here" was incorrect; only dif >= 1 is needed anyway). ------------------------------------------------------------------------ r13747 | vlefevre | 2020-03-03 14:17:32 +0000 (Tue, 03 Mar 2020) | 2 lines Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Changed high_dif to type int since it is manipulated like a boolean. Updated comments. ------------------------------------------------------------------------ r13746 | vlefevre | 2020-03-02 17:02:51 +0000 (Mon, 02 Mar 2020) | 1 line Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Simplified the mpfr_cmp2 code and updated comments. ------------------------------------------------------------------------ r13745 | vlefevre | 2020-03-02 15:55:03 +0000 (Mon, 02 Mar 2020) | 1 line Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Updated comments. ------------------------------------------------------------------------ r13744 | zimmerma | 2020-03-02 10:46:10 +0000 (Mon, 02 Mar 2020) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] added comment ------------------------------------------------------------------------ r13743 | vlefevre | 2020-03-02 10:05:18 +0000 (Mon, 02 Mar 2020) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] _MPFR_PREC_FORMAT and _MPFR_EXP_FORMAT: improved comment. ------------------------------------------------------------------------ r13742 | vlefevre | 2020-03-02 09:59:04 +0000 (Mon, 02 Mar 2020) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] _MPFR_PREC_FORMAT and _MPFR_EXP_FORMAT: added a detailed comment (the previous comment was not obsolete, but misleading). ------------------------------------------------------------------------ r13741 | zimmerma | 2020-03-02 09:19:31 +0000 (Mon, 02 Mar 2020) | 3 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] removed obsolete comment (_MPFR_PREC_FORMAT=3 is the default under Linux x86_64) ------------------------------------------------------------------------ r13740 | zimmerma | 2020-03-01 18:07:02 +0000 (Sun, 01 Mar 2020) | 2 lines Changed paths: M /trunk/src/rem1.c M /trunk/src/sin.c [src/sin.c] increase initial precision even more ------------------------------------------------------------------------ r13739 | vlefevre | 2020-03-01 00:22:52 +0000 (Sun, 01 Mar 2020) | 1 line Changed paths: M /trunk/tests/tpow.c [tests/tpow.c] Replaced mpfr_cmp by !mpfr_equal_p for NaN detection. ------------------------------------------------------------------------ r13738 | vlefevre | 2020-03-01 00:19:05 +0000 (Sun, 01 Mar 2020) | 1 line Changed paths: M /trunk/tests/tsin.c [tests/tsin.c] Replaced obsolete function mpfr_mul_2exp by mpfr_mul_2ui. ------------------------------------------------------------------------ r13737 | zimmerma | 2020-02-29 13:07:12 +0000 (Sat, 29 Feb 2020) | 2 lines Changed paths: M /trunk/src/sin.c [src/sin.c] increase initial precision when x is large ------------------------------------------------------------------------ r13736 | zimmerma | 2020-02-29 11:04:14 +0000 (Sat, 29 Feb 2020) | 10 lines Changed paths: M /trunk/src/rem1.c [src/rem1.c] workaround for efficiency bug in mpz_powm_ui, which was making argument reduction in mpfr_sin for huge x very slow. Before: $ ./mfv5 -p113 -e16384 -d-2 mpfr_sin mpfr_sin: 3289620 / 3576511.59 / 6841956 After this commit: mpfr_sin: 166868 / 182661.01 / 343224 ------------------------------------------------------------------------ r13735 | zimmerma | 2020-02-29 10:55:26 +0000 (Sat, 29 Feb 2020) | 2 lines Changed paths: M /trunk/tests/tpow.c [tests/tpow.c] added one test ------------------------------------------------------------------------ r13734 | zimmerma | 2020-02-29 09:25:06 +0000 (Sat, 29 Feb 2020) | 4 lines Changed paths: M /trunk/tools/mbench/mfv5.cc added value -2 for option -d to generate random number with exponent exactly e. Example: $ mfv5 -p113 -e16384 -d-2 -v mpfr_sin ------------------------------------------------------------------------ r13733 | zimmerma | 2020-02-28 15:29:10 +0000 (Fri, 28 Feb 2020) | 2 lines Changed paths: M /trunk/tests/tpow.c [tests/tpow.c] added a test ------------------------------------------------------------------------ r13732 | zimmerma | 2020-02-28 15:20:42 +0000 (Fri, 28 Feb 2020) | 2 lines Changed paths: M /trunk/tests/tsin.c [tests/tsin.c] fixed and completed check_binary128() ------------------------------------------------------------------------ r13731 | vlefevre | 2020-02-28 15:07:26 +0000 (Fri, 28 Feb 2020) | 1 line Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Started to review mpfr_cmp2. Minor changes. ------------------------------------------------------------------------ r13730 | vlefevre | 2020-02-28 13:19:58 +0000 (Fri, 28 Feb 2020) | 1 line Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Detailed a comment concerning UBF. ------------------------------------------------------------------------ r13727 | vlefevre | 2020-02-27 13:35:30 +0000 (Thu, 27 Feb 2020) | 2 lines Changed paths: M /trunk/tests/tsin.c [tests/tsin.c] Cleanup of the latest test (note: mpfr_equal_p is better than mpfr_cmp as it makes the test fail on a NaN result). ------------------------------------------------------------------------ r13726 | zimmerma | 2020-02-27 13:24:12 +0000 (Thu, 27 Feb 2020) | 2 lines Changed paths: M /trunk/tests/tsin.c [tests/tsin.c] added one test with precision 128 ------------------------------------------------------------------------ r13725 | vlefevre | 2020-02-27 10:53:50 +0000 (Thu, 27 Feb 2020) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Updated a comment (underscore version of attribute name). ------------------------------------------------------------------------ r13724 | vlefevre | 2020-02-27 10:45:30 +0000 (Thu, 27 Feb 2020) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect the use of the non-underscore version of the attribute names in mpfr.h (see README.dev). ------------------------------------------------------------------------ r13723 | vlefevre | 2020-02-25 17:26:07 +0000 (Tue, 25 Feb 2020) | 2 lines Changed paths: M /trunk/doc/README.dev M /trunk/src/mpfr.h [src/mpfr.h] Use the underscore version of the attribute names. [doc/README.dev] Added information on this subject. ------------------------------------------------------------------------ r13722 | vlefevre | 2020-02-25 16:17:57 +0000 (Tue, 25 Feb 2020) | 1 line Changed paths: M /trunk/TODO [TODO] Added item on GNU Automake and -I options. ------------------------------------------------------------------------ r13721 | vlefevre | 2020-02-14 09:29:07 +0000 (Fri, 14 Feb 2020) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Removed an incorrect comment before MPFR_TMP_INIT1 (this macro does not allocate anything, and MPFR_TMP_INIT just after can allocate more than 1 limb). ------------------------------------------------------------------------ r13720 | vlefevre | 2020-02-14 09:23:00 +0000 (Fri, 14 Feb 2020) | 1 line Changed paths: M /trunk/TODO [TODO] About the use of MPFR_MANT(x). ------------------------------------------------------------------------ r13719 | vlefevre | 2020-02-13 11:49:50 +0000 (Thu, 13 Feb 2020) | 1 line Changed paths: M /trunk/TODO [TODO] Typo. ------------------------------------------------------------------------ r13718 | vlefevre | 2020-02-12 15:15:56 +0000 (Wed, 12 Feb 2020) | 1 line Changed paths: M /trunk/tests/tcmpabs.c [tests/tcmpabs.c] Added missing tests of mpfr_cmpabs with NaN. ------------------------------------------------------------------------ r13717 | vlefevre | 2020-02-12 15:12:10 +0000 (Wed, 12 Feb 2020) | 5 lines Changed paths: M /trunk/tests/tcmpabs.c [tests/tcmpabs.c] For mpfr_cmpabs: like mpfr_cmpabs_ui, do each test in 4 different contexts, combinations of: * flags all unset or flags all set; * usual exponent range or reduced exponent range. Minor corrections in the old tests. ------------------------------------------------------------------------ r13716 | vlefevre | 2020-02-12 14:59:24 +0000 (Wed, 12 Feb 2020) | 4 lines Changed paths: M /trunk/tests/tcmpabs.c [tests/tcmpabs.c] For mpfr_cmpabs_ui: do each test in 4 different contexts, combinations of: * flags all unset or flags all set; * usual exponent range or reduced exponent range. ------------------------------------------------------------------------ r13715 | zimmerma | 2020-02-12 13:49:46 +0000 (Wed, 12 Feb 2020) | 2 lines Changed paths: M /trunk/tests/tcmpabs.c [tests/tcmpabs.c] added tests for mpfr_cmpabs_ui ------------------------------------------------------------------------ r13714 | vlefevre | 2020-02-12 13:38:47 +0000 (Wed, 12 Feb 2020) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] * MPFR_ALIAS: use the comma operator instead of "do ... while (0)" so that this macro can be used in an expression context. * MPFR_TMP_INIT_ABS, MPFR_TMP_INIT_NEG: use MPFR_ALIAS. ------------------------------------------------------------------------ r13713 | vlefevre | 2020-02-12 13:25:50 +0000 (Wed, 12 Feb 2020) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Added prototype for mpfr_cmpabs_ui. ------------------------------------------------------------------------ r13712 | vlefevre | 2020-02-12 13:10:07 +0000 (Wed, 12 Feb 2020) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added mpfr_cmpabs_ui to Section "Added Functions" (API Compatibility). ------------------------------------------------------------------------ r13711 | vlefevre | 2020-02-12 13:04:50 +0000 (Wed, 12 Feb 2020) | 1 line Changed paths: M /trunk/tests/trint.c [tests/trint.c] Replaced obsolete mpfr_cmp_abs by mpfr_cmpabs. ------------------------------------------------------------------------ r13710 | vlefevre | 2020-02-12 12:57:37 +0000 (Wed, 12 Feb 2020) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Typo from r13708. ------------------------------------------------------------------------ r13709 | zimmerma | 2020-02-12 12:52:50 +0000 (Wed, 12 Feb 2020) | 2 lines Changed paths: M /trunk/NEWS [NEWS] mention new mpfr_cmpabs_ui ------------------------------------------------------------------------ r13708 | zimmerma | 2020-02-12 12:51:55 +0000 (Wed, 12 Feb 2020) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am M /trunk/src/cmpabs.c A /trunk/src/cmpabs_ui.c added new function mpfr_cmpabs_ui ------------------------------------------------------------------------ r13707 | zimmerma | 2020-02-12 12:25:47 +0000 (Wed, 12 Feb 2020) | 2 lines Changed paths: M /trunk/src/Makefile.am D /trunk/src/cmp_abs.c A /trunk/src/cmpabs.c (from /trunk/src/cmp_abs.c:13706) renamed cmp_abs.c to cmpabs.c ------------------------------------------------------------------------ r13706 | vlefevre | 2020-02-12 11:25:53 +0000 (Wed, 12 Feb 2020) | 1 line Changed paths: M /trunk/TODO [TODO] Typo. ------------------------------------------------------------------------ r13705 | vlefevre | 2020-02-12 11:23:59 +0000 (Wed, 12 Feb 2020) | 3 lines Changed paths: M /trunk/TODO [TODO] + Serialization / Deserialization (suggested by Frédéric Pétrot). I've also added an idea of implementation to reuse most of the code and change very little. ------------------------------------------------------------------------ r13704 | vlefevre | 2020-02-12 01:38:57 +0000 (Wed, 12 Feb 2020) | 4 lines Changed paths: M /trunk/src/ubf.c [src/ubf.c] * Optimized mpfr_init_get_zexp() for _MPFR_EXP_FORMAT <= 3 (as in the default configuration). * Updated comments. ------------------------------------------------------------------------ r13703 | vlefevre | 2020-02-12 01:15:34 +0000 (Wed, 12 Feb 2020) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added UBF-related comments. ------------------------------------------------------------------------ r13702 | vlefevre | 2020-02-12 00:37:04 +0000 (Wed, 12 Feb 2020) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added UBF-related comments. ------------------------------------------------------------------------ r13701 | vlefevre | 2020-02-12 00:04:34 +0000 (Wed, 12 Feb 2020) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a comment for UBF and types. ------------------------------------------------------------------------ r13700 | vlefevre | 2020-02-11 14:38:49 +0000 (Tue, 11 Feb 2020) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a comment for INEXPOS. ------------------------------------------------------------------------ r13699 | vlefevre | 2020-02-11 14:36:00 +0000 (Tue, 11 Feb 2020) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] INEXPOS and VSIGN code improvement. ------------------------------------------------------------------------ r13698 | vlefevre | 2020-02-11 14:33:58 +0000 (Tue, 11 Feb 2020) | 1 line Changed paths: M /trunk/src/modf.c M /trunk/src/sinh_cosh.c Removed duplicate macro definitions. ------------------------------------------------------------------------ r13696 | vlefevre | 2020-02-11 11:44:01 +0000 (Tue, 11 Feb 2020) | 1 line Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] Use mpfr_set_str instead of mpfr_set_d. ------------------------------------------------------------------------ r13695 | vlefevre | 2020-02-11 10:06:46 +0000 (Tue, 11 Feb 2020) | 1 line Changed paths: M /trunk/src/sub1.c [src/sub1.c] Got rid of some goto's. Added log messages. ------------------------------------------------------------------------ r13694 | vlefevre | 2020-02-10 15:17:34 +0000 (Mon, 10 Feb 2020) | 3 lines Changed paths: M /trunk/src/sub1.c [src/sub1.c] Bug fix: the underflow case (possible with UBF, e.g. via mpfr_fmma or mpfr_fmms) was not tested in the case c small. Note: this completes r11418 and r12752 for underflow detection. ------------------------------------------------------------------------ r13693 | vlefevre | 2020-02-10 15:05:19 +0000 (Mon, 10 Feb 2020) | 2 lines Changed paths: M /trunk/src/sub1.c [src/sub1.c] Added log messages and checked the UBF cases yielding exp_b == MPFR_EXP_MAX and/or diff_exp == MPFR_EXP_MAX. ------------------------------------------------------------------------ r13692 | vlefevre | 2020-02-08 10:59:39 +0000 (Sat, 08 Feb 2020) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added log messages for MPFR_PREC_ARG ('P' specifier). ------------------------------------------------------------------------ r13690 | vlefevre | 2020-02-08 02:21:15 +0000 (Sat, 08 Feb 2020) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Fixed some tests: the 'P' specifier was missing. ------------------------------------------------------------------------ r13689 | vlefevre | 2020-02-06 10:23:15 +0000 (Thu, 06 Feb 2020) | 6 lines Changed paths: M /trunk/src/fmma.c [src/fmma.c] Reverted the mpfr_check_range from r13688. The exponent range has not been extended by mpfr_fmma_aux, and the result comes from mpfr_add, mpfr_sub, or mpfr_set_1_2, which return results in the current range. If the result of mpfr_fmma_aux is not in the current range, this is due to a bug in one of these functions. Note: mpfr_add and mpfr_sub accept UBF inputs. ------------------------------------------------------------------------ r13688 | zimmerma | 2020-02-06 08:45:25 +0000 (Thu, 06 Feb 2020) | 3 lines Changed paths: M /trunk/src/fmma.c M /trunk/tests/tfmma.c [src/fmma.c] fixed bug (result might be out of exponent range) [tests/tfmma.c] added non-regression test ------------------------------------------------------------------------ r13685 | vlefevre | 2020-02-03 23:37:28 +0000 (Mon, 03 Feb 2020) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r13684 | vlefevre | 2020-02-03 23:36:35 +0000 (Mon, 03 Feb 2020) | 4 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] In the paragraph "MPFR internal data such as flags", no longer mention caches as caches may now also be global when MPFR has been compiled as thread safe (locking is used). Caches have been discussed earlier in the section anyway. ------------------------------------------------------------------------ r13683 | vlefevre | 2020-01-23 10:05:59 +0000 (Thu, 23 Jan 2020) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] URL update. ------------------------------------------------------------------------ r13681 | vlefevre | 2020-01-20 16:02:54 +0000 (Mon, 20 Jan 2020) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r13678 | vlefevre | 2020-01-20 15:36:00 +0000 (Mon, 20 Jan 2020) | 2 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Updated a comment; in particular, replaced the two obsolete gmane.org URLs by lists.gnu.org/archive/html/bug-gnulib ones. ------------------------------------------------------------------------ r13677 | vlefevre | 2020-01-20 15:25:19 +0000 (Mon, 20 Jan 2020) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Removed reference to a gmane.org URL, which no longer exists. ------------------------------------------------------------------------ r13674 | vlefevre | 2020-01-16 13:21:16 +0000 (Thu, 16 Jan 2020) | 1 line Changed paths: M /trunk/src/beta.c M /trunk/tests/ttanh.c [src/beta.c,tests/ttanh.c] towards → toward (for consistency). ------------------------------------------------------------------------ r13671 | vlefevre | 2020-01-10 16:24:30 +0000 (Fri, 10 Jan 2020) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c [tests/{tfprintf.c,tprintf.c}] Updated an error message about MinGW, now output only if MinGW is used. ------------------------------------------------------------------------ r13670 | vlefevre | 2020-01-10 16:17:16 +0000 (Fri, 10 Jan 2020) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Concerning MinGW, added a sentence about the use of the __USE_MINGW_ANSI_STDIO macro, confirming the existing note. ------------------------------------------------------------------------ r13669 | vlefevre | 2020-01-10 16:12:53 +0000 (Fri, 10 Jan 2020) | 1 line Changed paths: M /trunk/TODO [TODO] Removed obsolete item on MinGW and -D__USE_MINGW_ANSI_STDIO. ------------------------------------------------------------------------ r13668 | vlefevre | 2020-01-10 16:11:46 +0000 (Fri, 10 Jan 2020) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Update concerning MinGW and the __USE_MINGW_ANSI_STDIO macro. ------------------------------------------------------------------------ r13667 | vlefevre | 2020-01-10 10:30:58 +0000 (Fri, 10 Jan 2020) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated mpfr_get_str documentation, correcting r13666 (we still need the extra two bytes and to take -@Inf@ into account). ------------------------------------------------------------------------ r13666 | zimmerma | 2020-01-10 09:21:11 +0000 (Fri, 10 Jan 2020) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] fixed out-dated documentation for mpfr_get_str ------------------------------------------------------------------------ r13665 | vlefevre | 2020-01-09 18:01:59 +0000 (Thu, 09 Jan 2020) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] In the latest update, forgot to remove the CC=... ------------------------------------------------------------------------ r13664 | vlefevre | 2020-01-09 17:57:53 +0000 (Thu, 09 Jan 2020) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about the test under Wine. ------------------------------------------------------------------------ r13663 | vlefevre | 2020-01-09 14:37:48 +0000 (Thu, 09 Jan 2020) | 7 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac [acinclude.m4,configure.ac] * Moved the code that tries to determine the format of double from configure.ac to acinclude.m4 in MPFR_CONFIGS (as required), just before the one for long double. * Added a FIXME comment: This code uses AC_RUN_IFELSE, which cannot run the test when cross-compiling; use a test like for long double instead. ------------------------------------------------------------------------ r13662 | vlefevre | 2020-01-09 14:27:27 +0000 (Thu, 09 Jan 2020) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] English usage. ------------------------------------------------------------------------ r13661 | vlefevre | 2020-01-09 14:25:30 +0000 (Thu, 09 Jan 2020) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac [acinclude.m4] Updated messages about the format of "long double". [configure.ac] Ditto for "double". Added missing AC_MSG_RESULT. ------------------------------------------------------------------------ r13658 | vlefevre | 2020-01-09 11:37:25 +0000 (Thu, 09 Jan 2020) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Updated/fixed an output line to match the other ones. ------------------------------------------------------------------------ r13657 | vlefevre | 2020-01-09 10:23:44 +0000 (Thu, 09 Jan 2020) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added tests for %Ra and %Rb on the value 0 with an empty precision field. ------------------------------------------------------------------------ r13656 | vlefevre | 2020-01-09 10:17:04 +0000 (Thu, 09 Jan 2020) | 3 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Fixed output precision bug with decimal output (i.e. e, f and g conversion specifiers) and an empty precision field on the value 0. ------------------------------------------------------------------------ r13655 | vlefevre | 2020-01-09 09:44:00 +0000 (Thu, 09 Jan 2020) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Also added tests with %Rf, %Rg and %#Rg on 0. ------------------------------------------------------------------------ r13654 | vlefevre | 2020-01-09 09:39:45 +0000 (Thu, 09 Jan 2020) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added a test with %Re and an empty precision field on the value 0; it currently fails. ------------------------------------------------------------------------ r13653 | vlefevre | 2020-01-08 18:28:42 +0000 (Wed, 08 Jan 2020) | 1 line Changed paths: M /trunk/tools/ck-copyright-notice [tools/ck-copyright-notice] Added a note about the mpfr.pc.in file. ------------------------------------------------------------------------ r13652 | vlefevre | 2020-01-08 18:11:13 +0000 (Wed, 08 Jan 2020) | 4 lines Changed paths: M /trunk/BUGS M /trunk/INSTALL M /trunk/Makefile.am M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/FAQ.html M /trunk/doc/Makefile.am M /trunk/doc/README.dev M /trunk/doc/check-typography M /trunk/doc/faq.xsl M /trunk/doc/mpfr.texi M /trunk/examples/can_round.c M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/threads.c M /trunk/examples/version.c M /trunk/src/Makefile.am M /trunk/src/abort_prec_max.c M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/add1sp1_extracted.c M /trunk/src/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/amd/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/asin.c M /trunk/src/asinh.c M /trunk/src/atan.c M /trunk/src/atan2.c M /trunk/src/atanh.c M /trunk/src/bernoulli.c M /trunk/src/beta.c M /trunk/src/buildopt.c M /trunk/src/cache.c M /trunk/src/cbrt.c M /trunk/src/check.c M /trunk/src/clear.c M /trunk/src/clears.c M /trunk/src/cmp.c M /trunk/src/cmp2.c M /trunk/src/cmp_abs.c M /trunk/src/cmp_d.c M /trunk/src/cmp_ld.c M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c M /trunk/src/comparisons.c M /trunk/src/const_catalan.c M /trunk/src/const_euler.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/constant.c M /trunk/src/copysign.c M /trunk/src/cos.c M /trunk/src/cosh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/digamma.c M /trunk/src/dim.c M /trunk/src/div.c M /trunk/src/div_2exp.c M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/div_d.c M /trunk/src/div_ui.c M /trunk/src/dot.c M /trunk/src/dump.c M /trunk/src/eint.c M /trunk/src/eq.c M /trunk/src/erandom.c M /trunk/src/erf.c M /trunk/src/erfc.c M /trunk/src/exceptions.c M /trunk/src/exp.c M /trunk/src/exp10.c M /trunk/src/exp2.c M /trunk/src/exp3.c M /trunk/src/exp_2.c M /trunk/src/expm1.c M /trunk/src/extract.c M /trunk/src/factorial.c M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_sint.c M /trunk/src/fits_slong.c M /trunk/src/fits_sshort.c M /trunk/src/fits_u.h M /trunk/src/fits_uint.c M /trunk/src/fits_uintmax.c M /trunk/src/fits_ulong.c M /trunk/src/fits_ushort.c M /trunk/src/fma.c M /trunk/src/fmma.c M /trunk/src/fms.c M /trunk/src/fpif.c M /trunk/src/frac.c M /trunk/src/free_cache.c M /trunk/src/frexp.c M /trunk/src/gamma.c M /trunk/src/gamma_inc.c M /trunk/src/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/generic/coverage/mparam.h M /trunk/src/generic/mparam.h M /trunk/src/get_d.c M /trunk/src/get_d128.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_float128.c M /trunk/src/get_flt.c M /trunk/src/get_ld.c M /trunk/src/get_q.c M /trunk/src/get_si.c M /trunk/src/get_sj.c M /trunk/src/get_str.c M /trunk/src/get_ui.c M /trunk/src/get_uj.c M /trunk/src/get_z.c M /trunk/src/get_z_exp.c M /trunk/src/gmp_op.c M /trunk/src/grandom.c M /trunk/src/hypot.c M /trunk/src/ieee_floats.h M /trunk/src/init.c M /trunk/src/init2.c M /trunk/src/inits.c M /trunk/src/inits2.c M /trunk/src/inp_str.c M /trunk/src/int_ceil_log2.c M /trunk/src/invert_limb.h M /trunk/src/invsqrt_limb.h M /trunk/src/isinf.c M /trunk/src/isinteger.c M /trunk/src/isnan.c M /trunk/src/isnum.c M /trunk/src/isqrt.c M /trunk/src/isregular.c M /trunk/src/iszero.c M /trunk/src/jn.c M /trunk/src/jyn_asympt.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/log_ui.c M /trunk/src/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c M /trunk/src/mips/mparam.h M /trunk/src/modf.c M /trunk/src/mp_clz_tab.c M /trunk/src/mparam_h.in M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr-cvers.h M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-intmax.h M /trunk/src/mpfr-longlong.h M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/src/mpfr-sassert.h M /trunk/src/mpfr-thread.h M /trunk/src/mpfr.h M /trunk/src/mpn_exp.c M /trunk/src/mul.c M /trunk/src/mul_1_extracted.c M /trunk/src/mul_2exp.c M /trunk/src/mul_2si.c M /trunk/src/mul_2ui.c M /trunk/src/mul_d.c M /trunk/src/mul_ui.c M /trunk/src/mulders.c M /trunk/src/nbits_ulong.c M /trunk/src/neg.c M /trunk/src/next.c M /trunk/src/nrandom.c M /trunk/src/odd_p.c M /trunk/src/out_str.c M /trunk/src/pool.c M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_ui.c M /trunk/src/pow_z.c M /trunk/src/powerof2.c M /trunk/src/powerpc64/mparam.h M /trunk/src/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/random_deviate.c M /trunk/src/random_deviate.h M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.c M /trunk/src/rndna.c M /trunk/src/root.c M /trunk/src/round_near_x.c M /trunk/src/round_p.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/scale2.c M /trunk/src/sec.c M /trunk/src/sech.c M /trunk/src/set.c M /trunk/src/set_d.c M /trunk/src/set_d128.c M /trunk/src/set_d64.c M /trunk/src/set_dfl_prec.c M /trunk/src/set_exp.c M /trunk/src/set_f.c M /trunk/src/set_float128.c M /trunk/src/set_flt.c M /trunk/src/set_inf.c M /trunk/src/set_ld.c M /trunk/src/set_nan.c M /trunk/src/set_prc_raw.c M /trunk/src/set_prec.c M /trunk/src/set_q.c M /trunk/src/set_rnd.c M /trunk/src/set_si.c M /trunk/src/set_si_2exp.c M /trunk/src/set_sj.c M /trunk/src/set_str.c M /trunk/src/set_str_raw.c M /trunk/src/set_ui.c M /trunk/src/set_ui_2exp.c M /trunk/src/set_uj.c M /trunk/src/set_z.c M /trunk/src/set_z_exp.c M /trunk/src/set_zero.c M /trunk/src/setmax.c M /trunk/src/setmin.c M /trunk/src/setsign.c M /trunk/src/sgn.c M /trunk/src/si_op.c M /trunk/src/signbit.c M /trunk/src/sin.c M /trunk/src/sin_cos.c M /trunk/src/sinh.c M /trunk/src/sinh_cosh.c M /trunk/src/sparc64/mparam.h M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sqrt_ui.c M /trunk/src/stack_interface.c M /trunk/src/strtofr.c M /trunk/src/sub.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sub1sp1_extracted.c M /trunk/src/sub_d.c M /trunk/src/sub_ui.c M /trunk/src/subnormal.c M /trunk/src/sum.c M /trunk/src/swap.c M /trunk/src/tan.c M /trunk/src/tanh.c M /trunk/src/total_order.c M /trunk/src/ubf.c M /trunk/src/uceil_exp2.c M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c M /trunk/src/ui_div.c M /trunk/src/ui_pow.c M /trunk/src/ui_pow_ui.c M /trunk/src/ui_sub.c M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/src/vasprintf.c M /trunk/src/version.c M /trunk/src/volatile.c M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/mparam.h M /trunk/src/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tests/Makefile.am M /trunk/tests/cmp_str.c M /trunk/tests/data/digamma M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/random2.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c M /trunk/tests/tabort_prec_max.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tai.c M /trunk/tests/talloc-cache.c M /trunk/tests/talloc.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tassert.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbeta.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/tdot.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terandom.c M /trunk/tests/terandom_chisq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfpif.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tfrexp.c M /trunk/tests/tgamma.c M /trunk/tests/tgamma_inc.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_q.c M /trunk/tests/tget_set_d128.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/tgrandom.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tlog_ui.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tnrandom.c M /trunk/tests/tnrandom_chisq.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprec_round.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trandom_deviate.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/trndna.c M /trunk/tests/troot.c M /trunk/tests/trootn_ui.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_float128.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstdint.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttotal_order.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tvalist.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tools/bench/Makefile.am M /trunk/tools/bench/benchtime.h M /trunk/tools/bench/mpfrbench.c M /trunk/tools/check_mparam.c M /trunk/tools/ck-clz_tab M /trunk/tools/ck-copyright-notice M /trunk/tools/ck-mparam M /trunk/tools/ck-news M /trunk/tools/ck-version-info M /trunk/tools/get_patches.sh M /trunk/tune/Makefile.am M /trunk/tune/bidimensional_sample.c M /trunk/tune/speed.c M /trunk/tune/tuneup.c Copyright notice update: added 2020 with perl -pi -e 's/ (\d{4}-)?(2019)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh. Removed 2019 from the example in the doc/README.dev file. ------------------------------------------------------------------------ r13651 | vlefevre | 2020-01-08 17:52:26 +0000 (Wed, 08 Jan 2020) | 2 lines Changed paths: M /trunk/TODO [TODO] + base conversion with the round-trip property using a minimal precision, such as the to_chars functions from the C++ standard. ------------------------------------------------------------------------ r13650 | vlefevre | 2020-01-08 17:33:44 +0000 (Wed, 08 Jan 2020) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r13649 | vlefevre | 2020-01-08 17:21:57 +0000 (Wed, 08 Jan 2020) | 4 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Formatted output: improved the text concerning the empty precision field, i.e. focus on the chosen precision rather than the round-trip property (as the rounding mode is not necessarily to nearest). ------------------------------------------------------------------------ r13648 | vlefevre | 2020-01-08 16:34:16 +0000 (Wed, 08 Jan 2020) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Formatted output with %Re (empty precision field): added a reference to mpfr_get_str_ndigits. ------------------------------------------------------------------------ r13647 | vlefevre | 2020-01-08 16:20:57 +0000 (Wed, 08 Jan 2020) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Simplified the conditions under which trailing zeros are kept (the spec_g variable is no longer needed as a consequence). ------------------------------------------------------------------------ r13646 | vlefevre | 2020-01-08 15:30:46 +0000 (Wed, 08 Jan 2020) | 3 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Re-added tests changed by r13644 and r13645, but with a variable of smaller precision in order to get the same output as before. ------------------------------------------------------------------------ r13645 | vlefevre | 2020-01-08 14:56:56 +0000 (Wed, 08 Jan 2020) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Updated other two tests (in da_DK locale). ------------------------------------------------------------------------ r13644 | zimmerma | 2020-01-08 12:15:52 +0000 (Wed, 08 Jan 2020) | 3 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/vasprintf.c M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c fixed tests for new more precise semantics for mpfr_printf ("%Re", x), and documented it ------------------------------------------------------------------------ r13643 | zimmerma | 2020-01-08 10:43:06 +0000 (Wed, 08 Jan 2020) | 3 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] tentative fix so that mpfr_printf ("%.Re", x) prints a number of decimal digits independent from x ------------------------------------------------------------------------ r13642 | vlefevre | 2019-12-24 03:10:33 +0000 (Tue, 24 Dec 2019) | 1 line Changed paths: M /trunk/INSTALL M /trunk/doc/mpfr.texi [INSTALL,doc/mpfr.texi] Typography. ------------------------------------------------------------------------ r13635 | vlefevre | 2019-10-10 13:56:19 +0000 (Thu, 10 Oct 2019) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Ulp calculus: put the old Rule 8 just after Rule 2, as the old Rule 3 (now Rule 4) uses it directly (proof updated). ------------------------------------------------------------------------ r13634 | vlefevre | 2019-10-10 13:32:57 +0000 (Thu, 10 Oct 2019) | 1 line Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Ulp calculus: simplified the proof of Rule 8. ------------------------------------------------------------------------ r13633 | vlefevre | 2019-10-10 13:18:34 +0000 (Thu, 10 Oct 2019) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Ulp calculus Rule 3: missing absolute values in the proof. ------------------------------------------------------------------------ r13632 | vlefevre | 2019-10-10 13:08:28 +0000 (Thu, 10 Oct 2019) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Actually assume that no underflows nor overflows occur for the whole section "Error calculus". ------------------------------------------------------------------------ r13631 | vlefevre | 2019-10-10 12:59:33 +0000 (Thu, 10 Oct 2019) | 3 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Ulp calculus Rule 6: corrected it (we need to assume no underflows nor overflows) and its proof, and generalized it with absolute values (like in the previous rules). ------------------------------------------------------------------------ r13630 | vlefevre | 2019-10-07 09:17:23 +0000 (Mon, 07 Oct 2019) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Ulp calculus Rule 3: more powerful result and much simpler proof. ------------------------------------------------------------------------ r13629 | vlefevre | 2019-10-07 08:50:52 +0000 (Mon, 07 Oct 2019) | 3 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Section 2 (Error calculus): When n was a precision, replaced it by p as this is the usual notation (see Section 1) and n sometimes had a double meaning. ------------------------------------------------------------------------ r13628 | vlefevre | 2019-10-04 08:52:53 +0000 (Fri, 04 Oct 2019) | 1 line Changed paths: M /trunk/tests/tcmp_ui.c [tests/tcmp_ui.c] Updated comment: this is a bug in Clang 9. ------------------------------------------------------------------------ r13627 | vlefevre | 2019-10-04 08:28:16 +0000 (Fri, 04 Oct 2019) | 2 lines Changed paths: M /trunk/tests/tcmp_ui.c [tests/tcmp_ui.c] Added a comment: failure of a test with the clang-9 1:9-1 Debian package. ------------------------------------------------------------------------ r13626 | vlefevre | 2019-10-01 13:55:09 +0000 (Tue, 01 Oct 2019) | 11 lines Changed paths: M /trunk/acinclude.m4 M /trunk/doc/README.dev M /trunk/tests/tests.c M /trunk/tests/tget_d.c M /trunk/tests/tget_flt.c M /trunk/tests/tset_d.c M /trunk/tests/tsprintf.c Clean-up concerning the tests of subnormals for double and float. * acinclude.m4: renamed variables mpfr_cv_have_denorms_flt to mpfr_cv_have_subnorm_flt mpfr_cv_have_denorms to mpfr_cv_have_subnorm_dbl and improved messages. * acinclude.m4, tests/tget_flt.c: renamed macro HAVE_DENORMS_FLT to HAVE_SUBNORM_FLT * acinclude.m4, tests/{tests.c,tset_d.c,tsprintf.c}: renamed macro HAVE_DENORMS to HAVE_SUBNORM_DBL * doc/README.dev: updated / completed the corresponding documentation. * tests/tget_d.c: renamed function check_denorms to check_subnorm. ------------------------------------------------------------------------ r13625 | vlefevre | 2019-10-01 13:28:37 +0000 (Tue, 01 Oct 2019) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Updated comment about the tests for subnormal numbers. ------------------------------------------------------------------------ r13624 | vlefevre | 2019-10-01 13:23:51 +0000 (Tue, 01 Oct 2019) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Added a comment about the tests for subnormal numbers. ------------------------------------------------------------------------ r13623 | vlefevre | 2019-09-24 11:08:04 +0000 (Tue, 24 Sep 2019) | 1 line Changed paths: M /trunk/doc/Makefile.am [doc/Makefile.am] Added missing texinfo.tex prerequisite. ------------------------------------------------------------------------ r13622 | vlefevre | 2019-09-16 08:33:16 +0000 (Mon, 16 Sep 2019) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tout_str.c M /trunk/tests/tprintf.c [tests] Added FIXME comment in tfprintf.c, tout_str.c and tprintf.c: The output is not tested (thus coverage data are meaningless). ------------------------------------------------------------------------ r13621 | vlefevre | 2019-09-10 12:40:39 +0000 (Tue, 10 Sep 2019) | 1 line Changed paths: M /trunk/src/add1sp.c M /trunk/src/sub1sp.c [src/{add1sp.c,sub1sp.c}] Get rid of useless goto's. ------------------------------------------------------------------------ r13619 | vlefevre | 2019-09-06 15:17:14 +0000 (Fri, 06 Sep 2019) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r13618 | vlefevre | 2019-09-06 12:35:10 +0000 (Fri, 06 Sep 2019) | 1 line Changed paths: M /trunk/src/hypot.c [src/hypot.c] Replaced a TODO by a FIXME. ------------------------------------------------------------------------ r13617 | vlefevre | 2019-09-06 11:17:11 +0000 (Fri, 06 Sep 2019) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/out_str.c M /trunk/tests/tout_str.c The mpfr_out_str function now accepts bases from -2 to -36, in order to follow mpfr_get_str and GMP's mpf_out_str functions. ------------------------------------------------------------------------ r13614 | vlefevre | 2019-09-06 01:00:27 +0000 (Fri, 06 Sep 2019) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Changed an incorrect use of @xref, which must always occur at the beginning of a sentence (use "see @ref{...}" instead). ------------------------------------------------------------------------ r13613 | vlefevre | 2019-09-06 00:56:34 +0000 (Fri, 06 Sep 2019) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] At the end of "Arithmetic Functions", added a sentence referencing the power functions (since x^n is an arithmetic function). ------------------------------------------------------------------------ r13612 | vlefevre | 2019-09-05 16:17:35 +0000 (Thu, 05 Sep 2019) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Removed the useless "Float ..." index entries. ------------------------------------------------------------------------ r13611 | vlefevre | 2019-09-05 16:10:49 +0000 (Thu, 05 Sep 2019) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Moved the mpfr_pow class of functions from "Arithmetic Functions" to "Transcendental Functions". ------------------------------------------------------------------------ r13610 | vlefevre | 2019-09-05 15:40:37 +0000 (Thu, 05 Sep 2019) | 4 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added "Float transcendental functions" to the index for consistency ("transcendental functions" implies floating point, but the user should expect to find it with the other index terms starting with "Float"). ------------------------------------------------------------------------ r13609 | vlefevre | 2019-09-05 15:36:08 +0000 (Thu, 05 Sep 2019) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Renamed "Basic Arithmetic Functions" to just "Arithmetic Functions". ------------------------------------------------------------------------ r13608 | vlefevre | 2019-09-05 14:15:10 +0000 (Thu, 05 Sep 2019) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Transcendental functions: added a sentence to the important note (about cases theoretically very hard to round). ------------------------------------------------------------------------ r13607 | vlefevre | 2019-09-05 13:57:21 +0000 (Thu, 05 Sep 2019) | 4 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Renamed Section "Special Functions" to "Transcendental Functions" (as after changes in r13605 and r13606, it now contains only the transcendental functions), and slightly rewrote its important note. ------------------------------------------------------------------------ r13606 | vlefevre | 2019-09-05 13:44:16 +0000 (Thu, 05 Sep 2019) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Moved mpfr_free_cache, mpfr_free_cache2, mpfr_free_pool and mpfr_mp_memory_cleanup from "Special Functions" to a new section "Memory Handling Functions". ------------------------------------------------------------------------ r13605 | vlefevre | 2019-09-05 13:23:26 +0000 (Thu, 05 Sep 2019) | 7 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] * Moved mpfr_fac_ui, mpfr_fma, mpfr_fms, mpfr_fmma, mpfr_fmms, mpfr_hypot, mpfr_sum and mpfr_dot from "Special Functions" to "Basic Arithmetic Functions" (as these are functions based on +, -, *, / and roots). * Added a FIXME for mpfr_pow: does this function really belong to "Basic Arithmetic Functions"? ------------------------------------------------------------------------ r13604 | vlefevre | 2019-09-05 12:56:52 +0000 (Thu, 05 Sep 2019) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved warning about huge precisions. ------------------------------------------------------------------------ r13603 | vlefevre | 2019-09-05 10:21:34 +0000 (Thu, 05 Sep 2019) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] For the --enable-assert=full test, also test the flags (like what has been done for mpfr_add1sp and mpfr_sub1sp). ------------------------------------------------------------------------ r13602 | vlefevre | 2019-09-05 10:02:14 +0000 (Thu, 05 Sep 2019) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] For the --enable-assert=full test, improved output of ternary value and flags, like in r13582 for mpfr_add1sp. ------------------------------------------------------------------------ r13601 | vlefevre | 2019-09-05 09:58:32 +0000 (Thu, 05 Sep 2019) | 1 line Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Cosmetic change (consistent ordering). ------------------------------------------------------------------------ r13600 | zimmerma | 2019-09-04 15:29:19 +0000 (Wed, 04 Sep 2019) | 3 lines Changed paths: M /trunk/src/sub1sp.c M /trunk/tests/tsub1sp.c [tests/tsub1sp.c] added non-regression test for bug in mpfr_sub1sp2n [src/sub1sp.c] fixed that bug ------------------------------------------------------------------------ r13599 | vlefevre | 2019-09-04 12:38:10 +0000 (Wed, 04 Sep 2019) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed MPFR_C_LONG_DOUBLE_FORMAT macro for MS-Windows. ------------------------------------------------------------------------ r13598 | vlefevre | 2019-09-04 12:23:27 +0000 (Wed, 04 Sep 2019) | 1 line Changed paths: M /trunk/NEWS [NEWS] More details about mpfr_add and mpfr_sub. ------------------------------------------------------------------------ r13597 | zimmerma | 2019-09-04 12:07:07 +0000 (Wed, 04 Sep 2019) | 2 lines Changed paths: M /trunk/NEWS [NEWS] mention that mpfr_sub was also improved for 128 bits ------------------------------------------------------------------------ r13596 | zimmerma | 2019-09-04 11:52:11 +0000 (Wed, 04 Sep 2019) | 2 lines Changed paths: M /trunk/NEWS [NEWS] coverage improved to 98.6% on x86_64 ------------------------------------------------------------------------ r13595 | zimmerma | 2019-09-04 11:35:35 +0000 (Wed, 04 Sep 2019) | 2 lines Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] improve coverage ------------------------------------------------------------------------ r13594 | vlefevre | 2019-09-04 11:33:24 +0000 (Wed, 04 Sep 2019) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed MPFR_C_LONG_DOUBLE_FORMAT macro: the patch had a spurious ";" at the end of conftest.c, which made its compilation fail with -pedantic -Werror (using gcc or clang). ------------------------------------------------------------------------ r13593 | zimmerma | 2019-09-04 11:22:26 +0000 (Wed, 04 Sep 2019) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] rewrote mpfr_sub1sp2n (inspired from mpfr_sub1sp1n) ------------------------------------------------------------------------ r13592 | vlefevre | 2019-09-04 10:59:18 +0000 (Wed, 04 Sep 2019) | 4 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Updated MPFR_C_LONG_DOUBLE_FORMAT to support compilation with GCC's and clang's LTO (-flto). This new test is inspired by the one used by GMP for the double type. Thanks to Paul Mulders for a preliminary version of the patch for MPFR. ------------------------------------------------------------------------ r13590 | zimmerma | 2019-09-03 16:16:53 +0000 (Tue, 03 Sep 2019) | 3 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] added new function mpfr_sub1sp2n for p = 2*GMP_NUMB_BITS (still to be tested) ------------------------------------------------------------------------ r13589 | vlefevre | 2019-09-03 14:39:35 +0000 (Tue, 03 Sep 2019) | 3 lines Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] bug20190903: * Fixed the second test for GMP_NUMB_BITS != 64. * Updated comments. ------------------------------------------------------------------------ r13588 | zimmerma | 2019-09-03 14:02:27 +0000 (Tue, 03 Sep 2019) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] improved comment ------------------------------------------------------------------------ r13587 | vlefevre | 2019-09-03 14:00:33 +0000 (Tue, 03 Sep 2019) | 1 line Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] mpfr_add1sp2n: improved a comment. ------------------------------------------------------------------------ r13586 | vlefevre | 2019-09-03 13:52:48 +0000 (Tue, 03 Sep 2019) | 1 line Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Fixed the bug. ------------------------------------------------------------------------ r13585 | vlefevre | 2019-09-03 13:35:47 +0000 (Tue, 03 Sep 2019) | 1 line Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] bug20190903: do the second test in MPFR_RNDU too. ------------------------------------------------------------------------ r13584 | vlefevre | 2019-09-03 13:31:08 +0000 (Tue, 03 Sep 2019) | 3 lines Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] bug20190903: in the second test, check the mpfr_t value, the ternary value and the flags, in order to get a failure even without "--enable-assert=full". ------------------------------------------------------------------------ r13583 | vlefevre | 2019-09-03 13:11:52 +0000 (Tue, 03 Sep 2019) | 6 lines Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] When testing mpfr_add, use a wrapper mpfr_add_cf that calls mpfr_clear_flags first, so that if --enable-assert=full is used, the flags can be better checked too (and automatically). Now tadd1sp outputs with --enable-assert=full, as wanted: add1 : ternary = -1, flags = inexact (8) add1sp: ternary = 0, flags = none (0) ------------------------------------------------------------------------ r13582 | vlefevre | 2019-09-03 13:02:07 +0000 (Tue, 03 Sep 2019) | 5 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/exceptions.c M /trunk/src/mpfr-impl.h [src] * exceptions.c: define flags_fout if MPFR_WANT_ASSERT >= 2, i.e. with --enable-assert=full (for better flags output in add1sp.c, etc.). * mpfr-impl.h: declare flags_fout if MPFR_WANT_ASSERT >= 2. * add1sp.c: improve output of ternary value and flags. ------------------------------------------------------------------------ r13581 | vlefevre | 2019-09-03 12:40:56 +0000 (Tue, 03 Sep 2019) | 1 line Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] Updated comments of bug20190903. ------------------------------------------------------------------------ r13580 | vlefevre | 2019-09-03 12:37:47 +0000 (Tue, 03 Sep 2019) | 8 lines Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] Added a test that triggers a bug in mpfr_add1sp2n (corresponding to the FIXME), yielding a failure with "--enable-assert=full". Note 1: The computed values are equal (with MPFR_RNDN), but one gets Inexact sp = 0 | Inexact = -1 Flags sp = 10 | Flags = 10 Note 2: The fact that the flags do not match the ternary value in the error message is due to a missing mpfr_clear_flags in the test. ------------------------------------------------------------------------ r13579 | vlefevre | 2019-09-03 12:23:35 +0000 (Tue, 03 Sep 2019) | 6 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] mpfr_add1sp2n: * Code refactoring, eliminating the unnecessary goto's. * In the d >= 2 * GMP_NUMB_BITS case, use a single test for rb and sb. * Improved code consistency. * Added a FIXME about suspicious code. → Find a failing test and fix the code, or explain the code if it is correct. ------------------------------------------------------------------------ r13578 | zimmerma | 2019-09-03 11:51:41 +0000 (Tue, 03 Sep 2019) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] fix for bug20190903 ------------------------------------------------------------------------ r13577 | vlefevre | 2019-09-03 11:28:22 +0000 (Tue, 03 Sep 2019) | 1 line Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Corrected a comment. ------------------------------------------------------------------------ r13576 | vlefevre | 2019-09-03 10:30:10 +0000 (Tue, 03 Sep 2019) | 3 lines Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] More random tests in the special precisions GMP_NUMB_BITS and 2 * GMP_NUMB_BITS (but they don't trigger the bug due to r13574). ------------------------------------------------------------------------ r13575 | vlefevre | 2019-09-03 10:25:41 +0000 (Tue, 03 Sep 2019) | 2 lines Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] Added testcase for bug due to r13574 (found with the other test programs, using --enable-assert=full). ------------------------------------------------------------------------ r13574 | zimmerma | 2019-09-03 09:20:19 +0000 (Tue, 03 Sep 2019) | 2 lines Changed paths: M /trunk/NEWS M /trunk/src/add1sp.c [src/add1sp.c] added mpfr_add1sp2n for 128-bit precision (with 64-bit limb) ------------------------------------------------------------------------ r13573 | zimmerma | 2019-09-02 15:48:13 +0000 (Mon, 02 Sep 2019) | 2 lines Changed paths: M /trunk/src/sub1sp1_extracted.c [src/sub1sp1_extracted.c] replace hard-coded bounds by emin/emax ------------------------------------------------------------------------ r13572 | zimmerma | 2019-09-02 15:10:45 +0000 (Mon, 02 Sep 2019) | 2 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/sub1sp.c A /trunk/src/sub1sp1_extracted.c added sub1sp1_extracted.c (not ready yet) ------------------------------------------------------------------------ r13571 | zimmerma | 2019-08-30 13:26:54 +0000 (Fri, 30 Aug 2019) | 2 lines Changed paths: M /trunk/src/add1sp1_extracted.c M /trunk/src/mul_1_extracted.c added github source for Jianyang Pan formal proof ------------------------------------------------------------------------ r13570 | vlefevre | 2019-08-21 10:22:25 +0000 (Wed, 21 Aug 2019) | 7 lines Changed paths: M /trunk/tests/mpfr-test.h [tests/mpfr-test.h] At the end, with GCC, undef volatile if defined. Explanations: With GCC, a macro "volatile" can be defined to test some special code in mpfr-impl.h (code for compilers that define such a macro), but the volatile keyword is necessary in some tests to avoid some GCC bugs. Thus we need to undef this macro (if defined). We do that at the end, so that mpfr-impl.h (included earlier) is not affected by this undef. ------------------------------------------------------------------------ r13569 | vlefevre | 2019-08-21 08:57:50 +0000 (Wed, 21 Aug 2019) | 5 lines Changed paths: M /trunk/tests/tget_set_d128.c [tests/tget_set_d128.c] Updated a test with a non-canonical encoding: * More meaningful name ("noncanonical" instead of "coverage"). * Output details in case of failure. * Avoid GCC bug 91226: wrong propagation of non-canonical _Decimal64 and _Decimal128 constant (BID only). ------------------------------------------------------------------------ r13568 | vlefevre | 2019-08-20 13:58:15 +0000 (Tue, 20 Aug 2019) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update concerning the "decimal-point character". ------------------------------------------------------------------------ r13567 | vlefevre | 2019-08-20 13:44:16 +0000 (Tue, 20 Aug 2019) | 5 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Changed "decimal point" to "decimal-point character", which is the term used in the ISO C standard. This is better as this character is also used with non-decimal bases: "decimal-point" is just the name of this character (as initially defined for base 10) and does not imply a number written in decimal. ------------------------------------------------------------------------ r13566 | vlefevre | 2019-08-20 13:02:52 +0000 (Tue, 20 Aug 2019) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Compatibility With MPF: added an item on the difference of the output format between mpf_out_str and mpfr_out_str. ------------------------------------------------------------------------ r13565 | vlefevre | 2019-08-20 11:06:03 +0000 (Tue, 20 Aug 2019) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Rewrote and completed the mpfr_out_str description. ------------------------------------------------------------------------ r13564 | vlefevre | 2019-08-20 09:39:53 +0000 (Tue, 20 Aug 2019) | 13 lines Changed paths: M /trunk/src/out_str.c [src/out_str.c] Fixed bug in mpfr_out_str: When the exponent of the converted value is 0, it was not output, contrary to what is described in the MPFR manual. Note that this does not change the value of the printed string, so that this has no effect on applications that just re-read the value (with MPFR or another code). This was regarded as a bug rather than an error in the documentation, thus the output now looks more similar to what printf with %e yields; the GMP function mpf_out_str also outputs the exponent 0. Short discussion: https://sympa.inria.fr/sympa/arc/mpfr/2019-08/msg00012.html Note: The tests still pass, as this function is currently not really tested. ------------------------------------------------------------------------ r13563 | vlefevre | 2019-08-14 17:01:18 +0000 (Wed, 14 Aug 2019) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Update/corrections about MinGW and __USE_MINGW_ANSI_STDIO. ------------------------------------------------------------------------ r13562 | vlefevre | 2019-08-14 15:43:30 +0000 (Wed, 14 Aug 2019) | 2 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] When building with MinGW, output a line about it: MinGW32 / MinGW64, and the __USE_MINGW_ANSI_STDIO definition. ------------------------------------------------------------------------ r13561 | vlefevre | 2019-08-14 15:37:46 +0000 (Wed, 14 Aug 2019) | 1 line Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] Moved a definition under the #if where it is used. ------------------------------------------------------------------------ r13560 | zimmerma | 2019-08-14 07:38:12 +0000 (Wed, 14 Aug 2019) | 2 lines Changed paths: M /trunk/INSTALL improve INSTALL (feedback from sisyphus ) ------------------------------------------------------------------------ r13559 | vlefevre | 2019-08-12 13:39:50 +0000 (Mon, 12 Aug 2019) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a FIXME for mpfr_out_str about the exponent 0. ------------------------------------------------------------------------ r13558 | vlefevre | 2019-08-12 13:32:58 +0000 (Mon, 12 Aug 2019) | 10 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] About mpfr_get_str / mpfr_out_str: * In the mpfr_get_str description, changed argument "b" to "base" for consistency with similar functions (now, only mpfr_get_str_ndigits has b as this looks better in the formula). Also added a link to mpfr_get_str_ndigits. * In the mpfr_out_str description, replaced the ambiguous and even incorrect sentence "enough digits so that op can be read back exactly" (issues with trailing zeros and with the directed rounding modes) by text similar to the one in the mpfr_get_str description (keeping the reference to mpfr_get_str). ------------------------------------------------------------------------ r13557 | vlefevre | 2019-08-12 12:40:32 +0000 (Mon, 12 Aug 2019) | 1 line Changed paths: M /trunk/src/out_str.c [src/out_str.c] Coding style (e is not a boolean). ------------------------------------------------------------------------ r13556 | vlefevre | 2019-08-09 13:52:29 +0000 (Fri, 09 Aug 2019) | 1 line Changed paths: M /trunk/tests/tout_str.c [tests/tout_str.c] Use mpfr_print_rnd_mode in a message. ------------------------------------------------------------------------ r13555 | vlefevre | 2019-08-09 13:49:28 +0000 (Fri, 09 Aug 2019) | 3 lines Changed paths: M /trunk/tests/tout_str.c [tests/tout_str.c] Code simplification: a test from r1888 on a random value was unnecessary (the log message of r1888 did not even correspond to the change). ------------------------------------------------------------------------ r13554 | vlefevre | 2019-08-09 13:37:48 +0000 (Fri, 09 Aug 2019) | 1 line Changed paths: M /trunk/tests/tout_str.c [tests/tout_str.c] GNU coding style. ------------------------------------------------------------------------ r13553 | vlefevre | 2019-08-09 13:34:16 +0000 (Fri, 09 Aug 2019) | 2 lines Changed paths: M /trunk/tests/tout_str.c [tests/tout_str.c] Added missing newline characters in the output after calls to mpfr_out_str. ------------------------------------------------------------------------ r13552 | vlefevre | 2019-08-09 13:29:36 +0000 (Fri, 09 Aug 2019) | 5 lines Changed paths: M /trunk/tests/tout_str.c [tests/tout_str.c] By default, output the results to a file instead of /dev/null (this was already done only if opening /dev/null failed), so that they can be checked later. Fixed 2 issues at the same time: * Do not close stdout (when an argument was provided). * Remove the file at the end. ------------------------------------------------------------------------ r13551 | vlefevre | 2019-08-09 13:11:38 +0000 (Fri, 09 Aug 2019) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] GNU coding style. ------------------------------------------------------------------------ r13550 | vlefevre | 2019-08-09 13:09:57 +0000 (Fri, 09 Aug 2019) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Added a comment about the use of perror. ------------------------------------------------------------------------ r13549 | vlefevre | 2019-08-09 13:06:47 +0000 (Fri, 09 Aug 2019) | 4 lines Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Also check fclose failure when the file has been opened for writing (typically an error in case the buffer cannot be written to the file). Call perror after all fopen/src_fopen/fclose failures to get the reason of the failure. ------------------------------------------------------------------------ r13548 | vlefevre | 2019-08-09 12:45:21 +0000 (Fri, 09 Aug 2019) | 4 lines Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] In case of failure of fopen or src_fopen, write the error message on stderr (as one should do for errors not directly related to the tests, such as memory allocation and I/O errors). Also improved the error messages and made them consistent. ------------------------------------------------------------------------ r13547 | vlefevre | 2019-08-06 12:47:52 +0000 (Tue, 06 Aug 2019) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r13546 | vlefevre | 2019-08-05 13:50:20 +0000 (Mon, 05 Aug 2019) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved consistency with @item. ------------------------------------------------------------------------ r13545 | vlefevre | 2019-08-02 13:17:10 +0000 (Fri, 02 Aug 2019) | 3 lines Changed paths: M /trunk/Makefile.am M /trunk/doc/Makefile.am M /trunk/src/Makefile.am M /trunk/tests/Makefile.am M /trunk/tools/bench/Makefile.am M /trunk/tune/Makefile.am For Makefile.am and each one in SUBDIRS, added the .POSIX target to select the POSIX behavior (since we do not require GNU "make"). See: https://sympa.inria.fr/sympa/arc/mpfr/2019-08/msg00005.html ------------------------------------------------------------------------ r13544 | vlefevre | 2019-08-02 08:22:52 +0000 (Fri, 02 Aug 2019) | 2 lines Changed paths: M /trunk/tools/get_patches.sh [tools/get_patches.sh] Fixed change in r13543 (the contents of PATCHES should still be written as a list of words separated by a space). ------------------------------------------------------------------------ r13543 | vlefevre | 2019-08-02 08:15:24 +0000 (Fri, 02 Aug 2019) | 9 lines Changed paths: M /trunk/src/Makefile.am M /trunk/tools/get_patches.sh Fixed src/get_patches.c generation that was changed in r13542. * src/Makefile.am, tools/get_patches.sh: since get_patches.sh is no longer run from $(top_srcdir), the PATCHES absolute pathname now needs to be passed in argument. * src/Makefile.am: fixed the get_patches.c rule (the automatic variable $< was used with the meaning "first prerequisite" of GNU Make; an "exit 1" was missing, so that a failure did not abort "make" immediately). * tools/get_patches.sh: detect errors with "set -e". ------------------------------------------------------------------------ r13542 | vlefevre | 2019-07-31 15:55:00 +0000 (Wed, 31 Jul 2019) | 7 lines Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] Define get_patches.c as a built source to avoid a non-portable make rule ("/" character in target), causing an error in FreeBSD with its "make" command. This change should be OK as the get_patches.sh script that generates get_patches.c is very simple and portable. As a consequence, put get_patches.c in CLEANFILES. See: https://sympa.inria.fr/sympa/arc/mpfr/2019-07/msg00003.html ------------------------------------------------------------------------ r13541 | vlefevre | 2019-07-31 15:28:01 +0000 (Wed, 31 Jul 2019) | 4 lines Changed paths: M /trunk/Makefile.am [Makefile.am] Fixed dist-hook for ck-mparam, which was run from a read-only directory with "make distcheck" while a temporary file is created in the current directory, yielding a failure (ck-mparam has been run in dist-hook since r12533 on 2018-04-03). ------------------------------------------------------------------------ r13540 | vlefevre | 2019-07-31 15:23:57 +0000 (Wed, 31 Jul 2019) | 4 lines Changed paths: M /trunk/tools/ck-mparam [tools/ck-mparam] Updated comment to warn that the source tree that is checked is the one that contains this script, not the one corresponding to the current working directory (the rule for the other scripts in the tools directory is currently different). ------------------------------------------------------------------------ r13539 | vlefevre | 2019-07-31 15:06:10 +0000 (Wed, 31 Jul 2019) | 5 lines Changed paths: M /trunk/tools/ck-mparam [tools/ck-mparam] This script can now be run from any directory (which must still be writable). This change has been done to be able to run it from the build directory, as if it is run via "make distcheck" and a dist-hook rule, then neither the top-level directory nor the tools directory is writable. ------------------------------------------------------------------------ r13537 | vlefevre | 2019-07-23 10:55:43 +0000 (Tue, 23 Jul 2019) | 2 lines Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] Updated comment (only the x86 and x86_64 targets are affected). ------------------------------------------------------------------------ r13536 | vlefevre | 2019-07-23 06:55:53 +0000 (Tue, 23 Jul 2019) | 1 line Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] Improved a comment. ------------------------------------------------------------------------ r13535 | vlefevre | 2019-07-22 14:08:50 +0000 (Mon, 22 Jul 2019) | 2 lines Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] Avoid GCC bug 91226: wrong propagation of non-canonical _Decimal64 constant. ------------------------------------------------------------------------ r13534 | vlefevre | 2019-07-22 12:57:55 +0000 (Mon, 22 Jul 2019) | 2 lines Changed paths: M /trunk/src/set_d64.c [src/set_d64.c] In decimal64_to_string, log the memory representation of the _Decimal64 argument. ------------------------------------------------------------------------ r13533 | vlefevre | 2019-07-22 12:47:56 +0000 (Mon, 22 Jul 2019) | 3 lines Changed paths: M /trunk/src/set_d64.c [src/set_d64.c] In decimal64_to_string, log the various fields of the _Decimal64 argument whose memory data is regarded as a double (as this is the current implementation of this function). ------------------------------------------------------------------------ r13532 | vlefevre | 2019-07-22 10:36:28 +0000 (Mon, 22 Jul 2019) | 1 line Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] More output details in the noncanonical test. ------------------------------------------------------------------------ r13531 | vlefevre | 2019-07-22 10:29:09 +0000 (Mon, 22 Jul 2019) | 2 lines Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] Improved the noncanonical test, but this does not solve the failure with gcc-snapshot. ------------------------------------------------------------------------ r13530 | vlefevre | 2019-07-22 10:16:00 +0000 (Mon, 22 Jul 2019) | 3 lines Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] More meaningful name of a test with a non-canonical encoding and more details (fails with Debian's gcc-snapshot 10.0.0 20190718, trunk revision 273586). ------------------------------------------------------------------------ r13528 | vlefevre | 2019-07-12 15:58:07 +0000 (Fri, 12 Jul 2019) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": mention -Wsuggest-attribute=... options (but mpfr.h first needs some macros like __MPFR_SENTINEL_ATTR). ------------------------------------------------------------------------ r13527 | vlefevre | 2019-07-12 13:31:46 +0000 (Fri, 12 Jul 2019) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h Renamed MPFR_CONST_ATTR macro to MPFR_CONST_FUNCTION_ATTR in order to be similar to the MPFR_{PURE,HOT,COLD}_FUNCTION_ATTR macro names. ------------------------------------------------------------------------ r13526 | vlefevre | 2019-07-10 09:15:09 +0000 (Wed, 10 Jul 2019) | 5 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update concerning the MPFR manual: * Updated information about the papersize issues (should be fixed, but manual checking is recommended). * Detailed English typography. * Removed mention of the old texinfo bug 33329 (Debian bug 583558). ------------------------------------------------------------------------ r13524 | vlefevre | 2019-07-08 11:08:18 +0000 (Mon, 08 Jul 2019) | 1 line Changed paths: M /trunk/codespell.exclude M /trunk/codespell.ignore [codespell.*] Update for codespell 1.15.0. ------------------------------------------------------------------------ r13522 | vlefevre | 2019-07-08 11:03:43 +0000 (Mon, 08 Jul 2019) | 1 line Changed paths: M /trunk/doc/README.dev M /trunk/src/free_cache.c M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h Fixed spelling mistakes found by codespell 1.15.0. ------------------------------------------------------------------------ r13519 | vlefevre | 2019-07-06 19:55:37 +0000 (Sat, 06 Jul 2019) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Added missing "const" qualifier to "char *" in a test; needed with GCC's "-Wwrite-strings -Werror". ------------------------------------------------------------------------ r13517 | vlefevre | 2019-07-02 12:13:56 +0000 (Tue, 02 Jul 2019) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] MPFR_GROUP_* macros / mpfr_group_t structure: when MPFR_GROUP_STATIC_SIZE is 0 (for testing), use a flexible array member (ISO C99) instead of a zero-length array (GNU extension, forbidden in ISO C). ------------------------------------------------------------------------ r13515 | vlefevre | 2019-07-02 11:06:33 +0000 (Tue, 02 Jul 2019) | 3 lines Changed paths: M /trunk/tests/tdiv.c M /trunk/tests/tfpif.c M /trunk/tests/tmul_2exp.c M /trunk/tests/trandom.c M /trunk/tests/trint.c M /trunk/tests/tsprintf.c M /trunk/tests/tsum.c M /trunk/tests/turandom.c [tests/*.c] Added missing "const" qualifier to "char *" when this involves string literals (detected by using GCC's -Wwrite-strings option, via the default -Wdiscarded-qualifiers warning). ------------------------------------------------------------------------ r13514 | vlefevre | 2019-07-01 15:40:11 +0000 (Mon, 01 Jul 2019) | 4 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac [acinclude.m4,configure.ac] MPFR_C_LONG_DOUBLE_FORMAT: also detect clang's LTO. Note: no longer use $FGREP (see r13513) as its status is unclear on non-POSIX systems (though very probably available when $EGREP is). ------------------------------------------------------------------------ r13513 | vlefevre | 2019-07-01 14:12:10 +0000 (Mon, 01 Jul 2019) | 5 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac [acinclude.m4,configure.ac] For MPFR_C_LONG_DOUBLE_FORMAT, when the format is unknown and it is detected that LTO has been used, output "recognition prevented by LTO". Note: at the same time, since AC_PROG_FGREP was needed, replaced $EGREP by $FGREP when applicable. ------------------------------------------------------------------------ r13512 | vlefevre | 2019-07-01 13:44:51 +0000 (Mon, 01 Jul 2019) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] MPFR_C_LONG_DOUBLE_FORMAT: improved comment and added a warning saying that this does not work with GCC's LTO (gcc -flto ...). ------------------------------------------------------------------------ r13511 | zimmerma | 2019-06-07 12:42:41 +0000 (Fri, 07 Jun 2019) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] simplified code of sub1sp1 for bx = cx ------------------------------------------------------------------------ r13510 | vlefevre | 2019-06-06 12:43:33 +0000 (Thu, 06 Jun 2019) | 3 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] About r13506-13509 and optimization: added a comment about Clang after some tests (without giving details, as in practice, this is more complex... but this is the general idea). ------------------------------------------------------------------------ r13509 | zimmerma | 2019-06-06 12:23:42 +0000 (Thu, 06 Jun 2019) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] fixed typo ------------------------------------------------------------------------ r13508 | vlefevre | 2019-06-06 12:12:11 +0000 (Thu, 06 Jun 2019) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Added reference to GCC PR30315 about a misoptimization on x86/x86_64 (see r13506 and r13507). ------------------------------------------------------------------------ r13507 | vlefevre | 2019-06-06 10:51:57 +0000 (Thu, 06 Jun 2019) | 3 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Completed r13506: added MPFR_ASSERTD to justify the new code and give more information to the compiler; added comments about this optimization issue. ------------------------------------------------------------------------ r13506 | zimmerma | 2019-06-06 10:14:04 +0000 (Thu, 06 Jun 2019) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] small speedup (following discussion with Félix Breton) ------------------------------------------------------------------------ r13498 | vlefevre | 2019-06-01 14:22:53 +0000 (Sat, 01 Jun 2019) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about MPFR_DISABLE_IEEE_FLOATS. ------------------------------------------------------------------------ r13497 | vlefevre | 2019-06-01 13:57:48 +0000 (Sat, 01 Jun 2019) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated MPFR_DISABLE_IEEE_FLOATS description. ------------------------------------------------------------------------ r13496 | vlefevre | 2019-06-01 13:54:08 +0000 (Sat, 01 Jun 2019) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Undefine HAVE_LDOUBLE_IS_DOUBLE & HAVE_LDOUBLE_IEEE_* macros if MPFR_DISABLE_IEEE_FLOATS is defined, as the goal is to test code not relying on IEEE floats. ------------------------------------------------------------------------ r13495 | vlefevre | 2019-05-24 13:17:50 +0000 (Fri, 24 May 2019) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Code simplification with the generic LONGDOUBLE_NAN_ACTION macro (the WANT_LONGDOUBLE_VOLATILE macro is not needed as used only once, thus removed). Improved the related comment. ------------------------------------------------------------------------ r13494 | vlefevre | 2019-05-24 08:33:50 +0000 (Fri, 24 May 2019) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/volatile.c [src] Instead of including in volatile.c (r13493), do that unconditionally in mpfr-impl.h to make sure that macro definitions in this header file are always correct: some definitions depend on various macros from , such as FLT_RADIX and DBL_MANT_DIG. ------------------------------------------------------------------------ r13493 | zimmerma | 2019-05-24 07:35:03 +0000 (Fri, 24 May 2019) | 3 lines Changed paths: M /trunk/src/volatile.c applied patch from #21762 (https://gforge.inria.fr/tracker/?func=detail&atid=619&aid=21762&group_id=136) ------------------------------------------------------------------------ r13492 | vlefevre | 2019-05-15 13:53:23 +0000 (Wed, 15 May 2019) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added another URL on undefined behavior. ------------------------------------------------------------------------ r13488 | vlefevre | 2019-04-30 17:06:09 +0000 (Tue, 30 Apr 2019) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Note that -static-libasan does not work with MPFR. ------------------------------------------------------------------------ r13486 | vlefevre | 2019-04-30 15:13:32 +0000 (Tue, 30 Apr 2019) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about the use of GCC's "-fsanitize=address". ------------------------------------------------------------------------ r13485 | zimmerma | 2019-04-30 13:49:59 +0000 (Tue, 30 Apr 2019) | 3 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] fixed out-of-bound read reported by Thomas Bailleux Note: This bug was introduced in r12066. ------------------------------------------------------------------------ r13484 | vlefevre | 2019-04-29 13:29:12 +0000 (Mon, 29 Apr 2019) | 1 line Changed paths: M /trunk/tools/ck-version-info [tools/ck-version-info] Minor corrections in a comment. ------------------------------------------------------------------------ r13483 | vlefevre | 2019-04-29 13:26:29 +0000 (Mon, 29 Apr 2019) | 3 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about the VERSION file: * Added a paragraph on the meaning of the "-dev" suffix. * Removed a confusing and useless "-dev" in an example. ------------------------------------------------------------------------ r13482 | vlefevre | 2019-04-29 13:17:34 +0000 (Mon, 29 Apr 2019) | 4 lines Changed paths: M /trunk/tools/ck-news [tools/ck-news] Changed the condition of the test for FIXME or TODO: Previously it was disabled only for -dev versions. Now it is enabled only for releases and release candidates. This will allow snapshots, for which the NEWS file may still contain a FIXME or TODO. ------------------------------------------------------------------------ r13481 | vlefevre | 2019-04-29 13:11:11 +0000 (Mon, 29 Apr 2019) | 1 line Changed paths: M /trunk/tools/ck-version-info [tools/ck-version-info] Corrected check. Added explanations in comments. ------------------------------------------------------------------------ r13480 | vlefevre | 2019-04-29 12:44:01 +0000 (Mon, 29 Apr 2019) | 1 line Changed paths: M /trunk/tools/ck-version-info [tools/ck-version-info] Better error message if $vinfo is not defined. ------------------------------------------------------------------------ r13479 | vlefevre | 2019-04-29 12:38:40 +0000 (Mon, 29 Apr 2019) | 1 line Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] Added a comment. ------------------------------------------------------------------------ r13477 | vlefevre | 2019-04-25 12:26:27 +0000 (Thu, 25 Apr 2019) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r13475 | vlefevre | 2019-04-25 10:55:11 +0000 (Thu, 25 Apr 2019) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the list of rounding modes in the description of the mpfr_print_rnd_mode function. Choose the same order as in the "Rounding Modes" section in "MPFR Basics". ------------------------------------------------------------------------ r13474 | vlefevre | 2019-04-25 10:53:38 +0000 (Thu, 25 Apr 2019) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Lists of rounding modes: also check with the "Rounding Modes" section in "MPFR Basics". ------------------------------------------------------------------------ r13473 | vlefevre | 2019-04-25 10:35:45 +0000 (Thu, 25 Apr 2019) | 1 line Changed paths: M /trunk/src/print_rnd_mode.c [src/print_rnd_mode.c] Added a comment to remember to update the manual. ------------------------------------------------------------------------ r13472 | vlefevre | 2019-04-25 10:34:31 +0000 (Thu, 25 Apr 2019) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Check that the lists of rounding modes in src/print_rnd_mode.c and doc/mpfr.texi are identical. ------------------------------------------------------------------------ r13471 | vlefevre | 2019-04-25 10:05:47 +0000 (Thu, 25 Apr 2019) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Added a blank line (grouping of function declarations). ------------------------------------------------------------------------ r13470 | vlefevre | 2019-04-25 10:04:25 +0000 (Thu, 25 Apr 2019) | 1 line Changed paths: M /trunk/TODO M /trunk/src/mpfr.h M /trunk/src/vasprintf.c Added support for GCC's returns_nonnull attribute (with GCC 4.9+). ------------------------------------------------------------------------ r13469 | vlefevre | 2019-04-25 09:31:55 +0000 (Thu, 25 Apr 2019) | 1 line Changed paths: M /trunk/TODO [TODO] Update about GCC's nonnull and returns_nonnull attributes. ------------------------------------------------------------------------ r13467 | vlefevre | 2019-04-16 08:11:02 +0000 (Tue, 16 Apr 2019) | 5 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/vasprintf.c New macro MPFR_FALLTHROUGH to avoid -Wimplicit-fallthrough warnings with GCC 7+. This macro also makes the code more readable by bringing the attention on an unusual fallthrough in a switch case. * src/mpfr-impl.h: define this macro. * src/vasprintf.c: use this macro in a case of fallthrough. ------------------------------------------------------------------------ r13466 | vlefevre | 2019-04-15 12:27:49 +0000 (Mon, 15 Apr 2019) | 8 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tsprintf.c [src/vasprintf.c] Minor bug fix: when an integer is to be read for the field width or precision, regard strings like "17*" as invalid instead of regarding it as "*" (ignoring the integer that precedes, except in case of overflow). In C's printf, such an invalid string yields undefined behavior, but in MPFR, we normally print the invalid format specifier as a literal string in such a case. Bug detected with -Wimplicit-fallthrough from GCC 7+. [tests/tsprintf.c] Added non-regression test. ------------------------------------------------------------------------ r13464 | vlefevre | 2019-04-02 09:36:47 +0000 (Tue, 02 Apr 2019) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Updated --enable-logging description. ------------------------------------------------------------------------ r13463 | vlefevre | 2019-04-02 09:33:07 +0000 (Tue, 02 Apr 2019) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] When logging support is requested, run a test to check that code with nested functions and the 'cleanup' attribute can be compiled, as these features are needed. ------------------------------------------------------------------------ r13462 | vlefevre | 2019-04-02 09:07:39 +0000 (Tue, 02 Apr 2019) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] AC_ARG_ENABLE(float128,...): updated comment and description. ------------------------------------------------------------------------ r13461 | vlefevre | 2019-04-02 08:56:21 +0000 (Tue, 02 Apr 2019) | 5 lines Changed paths: M /trunk/configure.ac [configure.ac] Updated comment for AC_ARG_ENABLE(decimal-float,...). * Removed information about very old GCC versions. * _Decimal128 is considered too, in addition to _Decimal64. * No longer just a GCC extension, but part of ISO/IEC TS 18661. * Added a FIXME for new options about _Decimal64 and _Decimal128. ------------------------------------------------------------------------ r13460 | vlefevre | 2019-04-02 08:43:30 +0000 (Tue, 02 Apr 2019) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Cleanup: moved some AC_ARG_ENABLE's where they should be. ------------------------------------------------------------------------ r13459 | vlefevre | 2019-03-29 16:27:57 +0000 (Fri, 29 Mar 2019) | 8 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] * Corrected FIXME by modifying the assertion. The failure could occur only when mpfr_intmax_t has the same size as int (which is the case when long = int and either intmax_t and long long are not available or intmax_t = long = int), and only when INT_MIN is provided as a field width argument. * Related to that, updated a test to improve optimization. * Added comments. ------------------------------------------------------------------------ r13458 | vlefevre | 2019-03-29 15:20:48 +0000 (Fri, 29 Mar 2019) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added a FIXME: tsprintf yields an assertion failure with sizeof(mpfr_intmax_t) = 4 (which was not tested until now). ------------------------------------------------------------------------ r13457 | vlefevre | 2019-03-29 14:39:22 +0000 (Fri, 29 Mar 2019) | 32 lines Changed paths: M /trunk/acinclude.m4 M /trunk/doc/README.dev M /trunk/src/fits_intmax.c M /trunk/src/fits_uintmax.c M /trunk/src/get_sj.c M /trunk/src/get_uj.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-intmax.h M /trunk/tests/tfits.c M /trunk/tests/tget_sj.c M /trunk/tests/tset_sj.c M /trunk/tests/tstdint.c M /trunk/tests/tversion.c Cleanup / fixes related to intmax_t, mpfr_intmax_t, etc. The issues were: * The build of the tests (make check) could fail with CFLAGS implying "-std=c90 -Werror=format", i.e. if intmax_t was available but the use of the "j" printf length modifier made the compilation fail (its unconditional use was incorrect anyway). * MPFR_INTMAX_MAX had definitions in both mpfr-impl.h & mpfr-intmax.h, with inconsistent usage. Detailed changes: * acinclude.m4: removed the definition of MPFR_PRINTF_MAXLM, which could be incorrect (large numbers were not tested to select its value); in the MPFR_FUNC_GMP_PRINTF_SPEC macro, check sprintf() in addition to gmp_sprintf() as it is now also used in the tests; updated some comments and messages. * src/mpfr-impl.h: removed the MPFR_*INTMAX* definitions; they had been added due to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582698 with -ansi -pedantic-errors, but this issue was fixed in GCC 4.8 (released 6 years ago), so that they are no longer needed. * src/mpfr-intmax.h: completed the definitions; mpfr_intmax_t is now the largest integer type available and fully working (in particular with printf), thus it may be smaller than intmax_t. * doc/README.dev: updated the description of mpfr_intmax_t, etc. * tests/tversion.c: output sizeof(mpfr_intmax_t) too. * Various .c files in src and tests related to (u)intmax_t: use INTMAX_MAX instead of MPFR_INTMAX_MAX, etc. as Debian bug 582698 (mentioned above) no longer occurs and mpfr_intmax_t may be smaller than intmax_t; use the "j" printf length modifier instead of MPFR_PRINTF_MAXLM, and protect it with "#ifndef NPRINTF_J" (only the tests are concerned, so that this is not an issue). ------------------------------------------------------------------------ r13456 | vlefevre | 2019-03-28 17:19:00 +0000 (Thu, 28 Mar 2019) | 2 lines Changed paths: M /trunk/src/urandomb.c [src/urandomb.c] Removed the FIXME: this is a bug in GMP or in Clang's memory sanitizer. ------------------------------------------------------------------------ r13455 | vlefevre | 2019-03-28 16:56:46 +0000 (Thu, 28 Mar 2019) | 2 lines Changed paths: M /trunk/src/urandomb.c [src/urandomb.c] Added a FIXME (use-of-uninitialized-value with Clang's memory sanitizer). ------------------------------------------------------------------------ r13452 | vlefevre | 2019-03-13 12:51:51 +0000 (Wed, 13 Mar 2019) | 1 line Changed paths: M /trunk/src/printf.c [src/printf.c] Removed unused definitions. ------------------------------------------------------------------------ r13451 | vlefevre | 2019-03-01 13:12:20 +0000 (Fri, 01 Mar 2019) | 6 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about coverage: * Mention not to enable optimizations. * Replaced "-fprofile-arcs -ftest-coverage" by "--coverage", as this is what is used by the tools/coverage script (note: this is a synonym when compiling, but also allows the right options to be used when linking, thus might be better in doubt). ------------------------------------------------------------------------ r13446 | vlefevre | 2019-02-04 14:17:56 +0000 (Mon, 04 Feb 2019) | 1 line Changed paths: M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/td_div.c M /trunk/tests/tget_flt.c M /trunk/tests/tset_float128.c [tests] Use MPFR_DBL_* macros when necessary. ------------------------------------------------------------------------ r13445 | vlefevre | 2019-02-04 13:57:49 +0000 (Mon, 04 Feb 2019) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] For consistency, use "[ch]" instead of "{c,h}". ------------------------------------------------------------------------ r13444 | vlefevre | 2019-02-04 13:55:47 +0000 (Mon, 04 Feb 2019) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect use of DBL_* macros instead of MPFR_DBL_* ones. ------------------------------------------------------------------------ r13443 | vlefevre | 2019-02-04 13:47:14 +0000 (Mon, 04 Feb 2019) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Improved message about division by zero. ------------------------------------------------------------------------ r13442 | vlefevre | 2019-02-04 13:39:17 +0000 (Mon, 04 Feb 2019) | 2 lines Changed paths: M /trunk/doc/README.dev M /trunk/tools/mpfrlint [doc/README.dev] Improved description of MPFR_ERRDIVZERO. [tools/mpfrlint] Added a comment about division by zero. ------------------------------------------------------------------------ r13441 | vlefevre | 2019-02-04 13:23:37 +0000 (Mon, 04 Feb 2019) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Check that native FP division by zero is not used. ------------------------------------------------------------------------ r13429 | vlefevre | 2019-01-31 15:09:00 +0000 (Thu, 31 Jan 2019) | 2 lines Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] In check-exported-symbols, replaced grep by $(GREP) as usual and like in check-gmp-symbols. ------------------------------------------------------------------------ r13423 | vlefevre | 2019-01-30 09:49:35 +0000 (Wed, 30 Jan 2019) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Updated comment about default options in CFLAGS for GCC. ------------------------------------------------------------------------ r13421 | vlefevre | 2019-01-30 09:19:01 +0000 (Wed, 30 Jan 2019) | 7 lines Changed paths: M /trunk/INSTALL M /trunk/NEWS M /trunk/configure.ac Update about CC / CFLAGS settings from GMP (__GMP_CC / __GMP_CFLAGS). * configure.ac: remove -pedantic unconditionally; since r7044, it was removed only when logging was enabled, as at that time only logging was using C extensions. * NEWS: added a line about this change. * INSTALL: updated the note about CC / CFLAGS, removing the obsolete reference to GMP 4.3.0 at the same time. ------------------------------------------------------------------------ r13420 | vlefevre | 2019-01-28 01:31:22 +0000 (Mon, 28 Jan 2019) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Corrected subject for Release Candidate > 1. ------------------------------------------------------------------------ r13415 | vlefevre | 2019-01-25 14:31:46 +0000 (Fri, 25 Jan 2019) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r13414 | vlefevre | 2019-01-25 12:58:24 +0000 (Fri, 25 Jan 2019) | 1 line Changed paths: M /trunk/NEWS [NEWS] Update about shared caches. ------------------------------------------------------------------------ r13413 | vlefevre | 2019-01-25 12:55:31 +0000 (Fri, 25 Jan 2019) | 1 line Changed paths: M /trunk/NEWS [NEWS] Added: "Shared caches: cleanup." ------------------------------------------------------------------------ r13412 | vlefevre | 2019-01-25 12:52:54 +0000 (Fri, 25 Jan 2019) | 4 lines Changed paths: M /trunk/src/mpfr-thread.h [src/mpfr-thread.h] Fixed the lock macros: * in case of failure, one must abort, otherwise this would generally be undefined behavior; * added missing "do {} while (0)" (currently not mandatory). ------------------------------------------------------------------------ r13411 | vlefevre | 2019-01-25 12:01:18 +0000 (Fri, 25 Jan 2019) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Updated a comment about MPFR_DECL_INIT_CACHE and the shared cache. ------------------------------------------------------------------------ r13410 | vlefevre | 2019-01-25 11:48:40 +0000 (Fri, 25 Jan 2019) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Avoid a warning with the pthread_rwlock_t test, as it is an error with -Werror. ------------------------------------------------------------------------ r13408 | vlefevre | 2019-01-25 00:52:54 +0000 (Fri, 25 Jan 2019) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed another C++ compatibility issue detected by the -Werror=c++-compat GCC option (it led the "long double" format to be unknown). ------------------------------------------------------------------------ r13407 | vlefevre | 2019-01-24 23:21:20 +0000 (Thu, 24 Jan 2019) | 2 lines Changed paths: M /trunk/tests/trint.c [tests/trint.c] Fixed C++ compatibility issue (arithmetic on enum) detected by the -Werror=c++-compat GCC option. ------------------------------------------------------------------------ r13406 | vlefevre | 2019-01-23 14:11:26 +0000 (Wed, 23 Jan 2019) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] By default (i.e. if CFLAGS is not already set), if the compiler is GCC not in C++ mode, add the -Wc++-compat warning since we expect the code to compile with a C++ compiler. ------------------------------------------------------------------------ r13401 | vlefevre | 2019-01-13 15:38:22 +0000 (Sun, 13 Jan 2019) | 1 line Changed paths: M /trunk/tests/tcheck.c [tests/tcheck.c] Corrected meaningless error message. ------------------------------------------------------------------------ r13397 | vlefevre | 2019-01-13 00:13:15 +0000 (Sun, 13 Jan 2019) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Minor correction for non-tex versions. Thanks to Trevor Spiteri for the bug report. ------------------------------------------------------------------------ r13396 | vlefevre | 2019-01-09 14:12:12 +0000 (Wed, 09 Jan 2019) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac Moved the compatibility test of the configure options even earlier, from acinclude.m4 to configure.ac, just after the code that defines them. Also added an associated AC_MSG_CHECKING message for better clarity. ------------------------------------------------------------------------ r13395 | vlefevre | 2019-01-09 14:01:33 +0000 (Wed, 09 Jan 2019) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Simplified a message. ------------------------------------------------------------------------ r13394 | vlefevre | 2019-01-09 13:58:07 +0000 (Wed, 09 Jan 2019) | 2 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] When the shared cache is enabled, also output the lock method (this information has been lost in r13032). ------------------------------------------------------------------------ r13393 | vlefevre | 2019-01-09 13:51:05 +0000 (Wed, 09 Jan 2019) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] When checking support for POSIX threads (pthread), also check that pthread_rwlock_t is supported, as it is needed by MPFR and conditionally defined in glibc's bits/pthreadtypes.h (via ). ------------------------------------------------------------------------ r13392 | vlefevre | 2019-01-09 12:56:20 +0000 (Wed, 09 Jan 2019) | 20 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac Cleaned up configure code related to threading and the shared cache. * acinclude.m4: - detect incompatibilities between configure options at the beginning of MPFR_CONFIGS, forcing enable_thread_safe to "no" or "yes" when necessary, so that the subsequent code can rely on that; - check ISO C11 thread support and/or POSIX thread support only when necessary; - handle --enable-shared-cache early in MPFR_CONFIGS, because the use of POSIX threads (pthread) may need to change CC, CFLAGS, and LIBS (thus affecting other tests); - test $enable_shared_cache instead of $mpfr_want_shared_cache; - removed the now useless MPFR_CHECK_SHARED_CACHE function. * configure.ac: no longer set the mpfr_want_shared_cache variable, as enable_shared_cache (now used) already has the same usage. Note: currently, ./configure --enable-shared-cache CFLAGS="-std=c99" still succeeds and still makes the compilation fail. This seems to be due to a limitation of AX_PTHREAD, which just tests linking, not compilation. ------------------------------------------------------------------------ r13391 | vlefevre | 2019-01-09 11:38:46 +0000 (Wed, 09 Jan 2019) | 5 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] In MPFR_CHECK_SHARED_CACHE (used when the shared cache was requested), also set CC="$PTHREAD_CC" as documented by ax_pthread (autoconf-archive). This is not guaranteed to work, but according to the ax_pthread.m4 source, in the cases where "$PTHREAD_CC" != "$CC", not setting it will probably not work either. ------------------------------------------------------------------------ r13390 | vlefevre | 2019-01-09 10:20:54 +0000 (Wed, 09 Jan 2019) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a comment about the cache-related types, which depend on the locking methods. ------------------------------------------------------------------------ r13385 | vlefevre | 2019-01-08 13:29:14 +0000 (Tue, 08 Jan 2019) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Updated comment about GCC bug 86554: now fixed in the GCC trunk. ------------------------------------------------------------------------ r13383 | vlefevre | 2019-01-07 16:10:18 +0000 (Mon, 07 Jan 2019) | 2 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Replaced "env -u DISPLAY" by "env DISPLAY=''" as the -u option is not supported by NetBSD. ------------------------------------------------------------------------ r13380 | vlefevre | 2019-01-07 15:17:11 +0000 (Mon, 07 Jan 2019) | 4 lines Changed paths: M /trunk/COPYING M /trunk/COPYING.LESSER Updated files: * COPYING from https://www.gnu.org/licenses/gpl-3.0.txt * COPYING.LESSER from https://www.gnu.org/licenses/lgpl-3.0.txt These are URL updates and cosmetic changes. ------------------------------------------------------------------------ r13378 | vlefevre | 2019-01-07 14:26:23 +0000 (Mon, 07 Jan 2019) | 4 lines Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC0 svn log -rHEAD:0 -v". Note: For r5400, this changes an incorrect update done via r13372 back to the old log message, as the URL in this log message here describes a change in one of the files. ------------------------------------------------------------------------ r13376 | vlefevre | 2019-01-07 14:05:06 +0000 (Mon, 07 Jan 2019) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated some URL's (http → https). ------------------------------------------------------------------------ r13374 | vlefevre | 2019-01-07 13:56:16 +0000 (Mon, 07 Jan 2019) | 1 line Changed paths: M /trunk/doc/texinfo.tex [doc/texinfo.tex] Update to 2018-02-12.17 with "autoreconf -i -f". ------------------------------------------------------------------------ r13372 | vlefevre | 2019-01-07 13:49:57 +0000 (Mon, 07 Jan 2019) | 3 lines Changed paths: M /trunk/BUGS M /trunk/COPYING M /trunk/ChangeLog M /trunk/INSTALL M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/FAQ.html M /trunk/doc/README.dev M /trunk/doc/faq.xsl M /trunk/doc/fdl.texi M /trunk/examples/can_round.c M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/threads.c M /trunk/examples/version.c M /trunk/src/abort_prec_max.c M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/add1sp1_extracted.c M /trunk/src/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/amd/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/asin.c M /trunk/src/asinh.c M /trunk/src/atan.c M /trunk/src/atan2.c M /trunk/src/atanh.c M /trunk/src/bernoulli.c M /trunk/src/beta.c M /trunk/src/buildopt.c M /trunk/src/cache.c M /trunk/src/cbrt.c M /trunk/src/check.c M /trunk/src/clear.c M /trunk/src/clears.c M /trunk/src/cmp.c M /trunk/src/cmp2.c M /trunk/src/cmp_abs.c M /trunk/src/cmp_d.c M /trunk/src/cmp_ld.c M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c M /trunk/src/comparisons.c M /trunk/src/const_catalan.c M /trunk/src/const_euler.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/constant.c M /trunk/src/copysign.c M /trunk/src/cos.c M /trunk/src/cosh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/digamma.c M /trunk/src/dim.c M /trunk/src/div.c M /trunk/src/div_2exp.c M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/div_d.c M /trunk/src/div_ui.c M /trunk/src/dot.c M /trunk/src/dump.c M /trunk/src/eint.c M /trunk/src/eq.c M /trunk/src/erandom.c M /trunk/src/erf.c M /trunk/src/erfc.c M /trunk/src/exceptions.c M /trunk/src/exp.c M /trunk/src/exp10.c M /trunk/src/exp2.c M /trunk/src/exp3.c M /trunk/src/exp_2.c M /trunk/src/expm1.c M /trunk/src/extract.c M /trunk/src/factorial.c M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_sint.c M /trunk/src/fits_slong.c M /trunk/src/fits_sshort.c M /trunk/src/fits_u.h M /trunk/src/fits_uint.c M /trunk/src/fits_uintmax.c M /trunk/src/fits_ulong.c M /trunk/src/fits_ushort.c M /trunk/src/fma.c M /trunk/src/fmma.c M /trunk/src/fms.c M /trunk/src/fpif.c M /trunk/src/frac.c M /trunk/src/free_cache.c M /trunk/src/frexp.c M /trunk/src/gamma.c M /trunk/src/gamma_inc.c M /trunk/src/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/generic/coverage/mparam.h M /trunk/src/generic/mparam.h M /trunk/src/get_d.c M /trunk/src/get_d128.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_float128.c M /trunk/src/get_flt.c M /trunk/src/get_ld.c M /trunk/src/get_q.c M /trunk/src/get_si.c M /trunk/src/get_sj.c M /trunk/src/get_str.c M /trunk/src/get_ui.c M /trunk/src/get_uj.c M /trunk/src/get_z.c M /trunk/src/get_z_exp.c M /trunk/src/gmp_op.c M /trunk/src/grandom.c M /trunk/src/hypot.c M /trunk/src/ieee_floats.h M /trunk/src/init.c M /trunk/src/init2.c M /trunk/src/inits.c M /trunk/src/inits2.c M /trunk/src/inp_str.c M /trunk/src/int_ceil_log2.c M /trunk/src/invert_limb.h M /trunk/src/invsqrt_limb.h M /trunk/src/isinf.c M /trunk/src/isinteger.c M /trunk/src/isnan.c M /trunk/src/isnum.c M /trunk/src/isqrt.c M /trunk/src/isregular.c M /trunk/src/iszero.c M /trunk/src/jn.c M /trunk/src/jyn_asympt.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/log_ui.c M /trunk/src/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c M /trunk/src/mips/mparam.h M /trunk/src/modf.c M /trunk/src/mp_clz_tab.c M /trunk/src/mparam_h.in M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr-cvers.h M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-intmax.h M /trunk/src/mpfr-longlong.h M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/src/mpfr-sassert.h M /trunk/src/mpfr-thread.h M /trunk/src/mpfr.h M /trunk/src/mpn_exp.c M /trunk/src/mul.c M /trunk/src/mul_1_extracted.c M /trunk/src/mul_2exp.c M /trunk/src/mul_2si.c M /trunk/src/mul_2ui.c M /trunk/src/mul_d.c M /trunk/src/mul_ui.c M /trunk/src/mulders.c M /trunk/src/nbits_ulong.c M /trunk/src/neg.c M /trunk/src/next.c M /trunk/src/nrandom.c M /trunk/src/odd_p.c M /trunk/src/out_str.c M /trunk/src/pool.c M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_ui.c M /trunk/src/pow_z.c M /trunk/src/powerof2.c M /trunk/src/powerpc64/mparam.h M /trunk/src/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/random_deviate.c M /trunk/src/random_deviate.h M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.c M /trunk/src/rndna.c M /trunk/src/root.c M /trunk/src/round_near_x.c M /trunk/src/round_p.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/scale2.c M /trunk/src/sec.c M /trunk/src/sech.c M /trunk/src/set.c M /trunk/src/set_d.c M /trunk/src/set_d128.c M /trunk/src/set_d64.c M /trunk/src/set_dfl_prec.c M /trunk/src/set_exp.c M /trunk/src/set_f.c M /trunk/src/set_float128.c M /trunk/src/set_flt.c M /trunk/src/set_inf.c M /trunk/src/set_ld.c M /trunk/src/set_nan.c M /trunk/src/set_prc_raw.c M /trunk/src/set_prec.c M /trunk/src/set_q.c M /trunk/src/set_rnd.c M /trunk/src/set_si.c M /trunk/src/set_si_2exp.c M /trunk/src/set_sj.c M /trunk/src/set_str.c M /trunk/src/set_str_raw.c M /trunk/src/set_ui.c M /trunk/src/set_ui_2exp.c M /trunk/src/set_uj.c M /trunk/src/set_z.c M /trunk/src/set_z_exp.c M /trunk/src/set_zero.c M /trunk/src/setmax.c M /trunk/src/setmin.c M /trunk/src/setsign.c M /trunk/src/sgn.c M /trunk/src/si_op.c M /trunk/src/signbit.c M /trunk/src/sin.c M /trunk/src/sin_cos.c M /trunk/src/sinh.c M /trunk/src/sinh_cosh.c M /trunk/src/sparc64/mparam.h M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sqrt_ui.c M /trunk/src/stack_interface.c M /trunk/src/strtofr.c M /trunk/src/sub.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sub_d.c M /trunk/src/sub_ui.c M /trunk/src/subnormal.c M /trunk/src/sum.c M /trunk/src/swap.c M /trunk/src/tan.c M /trunk/src/tanh.c M /trunk/src/total_order.c M /trunk/src/ubf.c M /trunk/src/uceil_exp2.c M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c M /trunk/src/ui_div.c M /trunk/src/ui_pow.c M /trunk/src/ui_pow_ui.c M /trunk/src/ui_sub.c M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/src/vasprintf.c M /trunk/src/version.c M /trunk/src/volatile.c M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/mparam.h M /trunk/src/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tests/Makefile.am M /trunk/tests/cmp_str.c M /trunk/tests/data/digamma M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/random2.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c M /trunk/tests/tabort_prec_max.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tai.c M /trunk/tests/talloc-cache.c M /trunk/tests/talloc.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tassert.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbeta.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/tdot.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terandom.c M /trunk/tests/terandom_chisq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfpif.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tfrexp.c M /trunk/tests/tgamma.c M /trunk/tests/tgamma_inc.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_q.c M /trunk/tests/tget_set_d128.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/tgrandom.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tlog_ui.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tnrandom.c M /trunk/tests/tnrandom_chisq.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprec_round.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trandom_deviate.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/trndna.c M /trunk/tests/troot.c M /trunk/tests/trootn_ui.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_float128.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstdint.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttotal_order.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tvalist.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tools/bench/benchtime.h M /trunk/tools/bench/mpfrbench.c M /trunk/tools/check_mparam.c M /trunk/tools/get_patches.sh M /trunk/tools/mbench/generate.c M /trunk/tools/mbench/mfv5-arprec.cc M /trunk/tools/mbench/mfv5-cln.cc M /trunk/tools/mbench/mfv5-crlibm.cc M /trunk/tools/mbench/mfv5-libc.cc M /trunk/tools/mbench/mfv5-lidia.cc M /trunk/tools/mbench/mfv5-mpf.cc M /trunk/tools/mbench/mfv5-mpfr.cc M /trunk/tools/mbench/mfv5-ntl.cc M /trunk/tools/mbench/mfv5-pari.cc M /trunk/tools/mbench/mfv5-void.cc M /trunk/tools/mbench/mfv5.cc M /trunk/tools/mbench/mfv5.h M /trunk/tools/mbench/mpfr-gfx.c M /trunk/tools/mbench/mpfr-v4.c M /trunk/tools/mbench/mpfr-v6.c M /trunk/tools/mbench/timp.h M /trunk/tools/timings-mpfr.c M /trunk/tune/bidimensional_sample.c M /trunk/tune/speed.c M /trunk/tune/tuneup.c Updated the www.gnu.org URL's (http → https) on all the files with: perl -pi -e 's,http://www.gnu.org/,https://www.gnu.org/,g' **/*(.) under zsh. ------------------------------------------------------------------------ r13365 | vlefevre | 2019-01-07 01:11:12 +0000 (Mon, 07 Jan 2019) | 3 lines Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Updated comment about GCC bug 86554: the MPFR build is still affected with the latest gcc-snapshot version (20190102-1) when using --with-gmp-build=... together with --enable-assert. ------------------------------------------------------------------------ r13364 | vlefevre | 2019-01-04 13:49:39 +0000 (Fri, 04 Jan 2019) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Added a comment about GCC bug 86554: the MPFR build seems no longer affected by recent gcc-snapshot versions. ------------------------------------------------------------------------ r13361 | vlefevre | 2019-01-01 21:17:19 +0000 (Tue, 01 Jan 2019) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r13359 | vlefevre | 2019-01-01 20:56:06 +0000 (Tue, 01 Jan 2019) | 4 lines Changed paths: M /trunk/BUGS M /trunk/INSTALL M /trunk/Makefile.am M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/FAQ.html M /trunk/doc/Makefile.am M /trunk/doc/README.dev M /trunk/doc/check-typography M /trunk/doc/faq.xsl M /trunk/doc/mpfr.texi M /trunk/examples/can_round.c M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/threads.c M /trunk/examples/version.c M /trunk/src/Makefile.am M /trunk/src/abort_prec_max.c M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/add1sp1_extracted.c M /trunk/src/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/amd/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/asin.c M /trunk/src/asinh.c M /trunk/src/atan.c M /trunk/src/atan2.c M /trunk/src/atanh.c M /trunk/src/bernoulli.c M /trunk/src/beta.c M /trunk/src/buildopt.c M /trunk/src/cache.c M /trunk/src/cbrt.c M /trunk/src/check.c M /trunk/src/clear.c M /trunk/src/clears.c M /trunk/src/cmp.c M /trunk/src/cmp2.c M /trunk/src/cmp_abs.c M /trunk/src/cmp_d.c M /trunk/src/cmp_ld.c M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c M /trunk/src/comparisons.c M /trunk/src/const_catalan.c M /trunk/src/const_euler.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/constant.c M /trunk/src/copysign.c M /trunk/src/cos.c M /trunk/src/cosh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/digamma.c M /trunk/src/dim.c M /trunk/src/div.c M /trunk/src/div_2exp.c M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/div_d.c M /trunk/src/div_ui.c M /trunk/src/dot.c M /trunk/src/dump.c M /trunk/src/eint.c M /trunk/src/eq.c M /trunk/src/erandom.c M /trunk/src/erf.c M /trunk/src/erfc.c M /trunk/src/exceptions.c M /trunk/src/exp.c M /trunk/src/exp10.c M /trunk/src/exp2.c M /trunk/src/exp3.c M /trunk/src/exp_2.c M /trunk/src/expm1.c M /trunk/src/extract.c M /trunk/src/factorial.c M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_sint.c M /trunk/src/fits_slong.c M /trunk/src/fits_sshort.c M /trunk/src/fits_u.h M /trunk/src/fits_uint.c M /trunk/src/fits_uintmax.c M /trunk/src/fits_ulong.c M /trunk/src/fits_ushort.c M /trunk/src/fma.c M /trunk/src/fmma.c M /trunk/src/fms.c M /trunk/src/fpif.c M /trunk/src/frac.c M /trunk/src/free_cache.c M /trunk/src/frexp.c M /trunk/src/gamma.c M /trunk/src/gamma_inc.c M /trunk/src/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/generic/coverage/mparam.h M /trunk/src/generic/mparam.h M /trunk/src/get_d.c M /trunk/src/get_d128.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_float128.c M /trunk/src/get_flt.c M /trunk/src/get_ld.c M /trunk/src/get_q.c M /trunk/src/get_si.c M /trunk/src/get_sj.c M /trunk/src/get_str.c M /trunk/src/get_ui.c M /trunk/src/get_uj.c M /trunk/src/get_z.c M /trunk/src/get_z_exp.c M /trunk/src/gmp_op.c M /trunk/src/grandom.c M /trunk/src/hypot.c M /trunk/src/ieee_floats.h M /trunk/src/init.c M /trunk/src/init2.c M /trunk/src/inits.c M /trunk/src/inits2.c M /trunk/src/inp_str.c M /trunk/src/int_ceil_log2.c M /trunk/src/invert_limb.h M /trunk/src/invsqrt_limb.h M /trunk/src/isinf.c M /trunk/src/isinteger.c M /trunk/src/isnan.c M /trunk/src/isnum.c M /trunk/src/isqrt.c M /trunk/src/isregular.c M /trunk/src/iszero.c M /trunk/src/jn.c M /trunk/src/jyn_asympt.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/log_ui.c M /trunk/src/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c M /trunk/src/mips/mparam.h M /trunk/src/modf.c M /trunk/src/mp_clz_tab.c M /trunk/src/mparam_h.in M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr-cvers.h M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-intmax.h M /trunk/src/mpfr-longlong.h M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/src/mpfr-sassert.h M /trunk/src/mpfr-thread.h M /trunk/src/mpfr.h M /trunk/src/mpn_exp.c M /trunk/src/mul.c M /trunk/src/mul_1_extracted.c M /trunk/src/mul_2exp.c M /trunk/src/mul_2si.c M /trunk/src/mul_2ui.c M /trunk/src/mul_d.c M /trunk/src/mul_ui.c M /trunk/src/mulders.c M /trunk/src/nbits_ulong.c M /trunk/src/neg.c M /trunk/src/next.c M /trunk/src/nrandom.c M /trunk/src/odd_p.c M /trunk/src/out_str.c M /trunk/src/pool.c M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_ui.c M /trunk/src/pow_z.c M /trunk/src/powerof2.c M /trunk/src/powerpc64/mparam.h M /trunk/src/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/random_deviate.c M /trunk/src/random_deviate.h M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.c M /trunk/src/rndna.c M /trunk/src/root.c M /trunk/src/round_near_x.c M /trunk/src/round_p.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/scale2.c M /trunk/src/sec.c M /trunk/src/sech.c M /trunk/src/set.c M /trunk/src/set_d.c M /trunk/src/set_d128.c M /trunk/src/set_d64.c M /trunk/src/set_dfl_prec.c M /trunk/src/set_exp.c M /trunk/src/set_f.c M /trunk/src/set_float128.c M /trunk/src/set_flt.c M /trunk/src/set_inf.c M /trunk/src/set_ld.c M /trunk/src/set_nan.c M /trunk/src/set_prc_raw.c M /trunk/src/set_prec.c M /trunk/src/set_q.c M /trunk/src/set_rnd.c M /trunk/src/set_si.c M /trunk/src/set_si_2exp.c M /trunk/src/set_sj.c M /trunk/src/set_str.c M /trunk/src/set_str_raw.c M /trunk/src/set_ui.c M /trunk/src/set_ui_2exp.c M /trunk/src/set_uj.c M /trunk/src/set_z.c M /trunk/src/set_z_exp.c M /trunk/src/set_zero.c M /trunk/src/setmax.c M /trunk/src/setmin.c M /trunk/src/setsign.c M /trunk/src/sgn.c M /trunk/src/si_op.c M /trunk/src/signbit.c M /trunk/src/sin.c M /trunk/src/sin_cos.c M /trunk/src/sinh.c M /trunk/src/sinh_cosh.c M /trunk/src/sparc64/mparam.h M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sqrt_ui.c M /trunk/src/stack_interface.c M /trunk/src/strtofr.c M /trunk/src/sub.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sub_d.c M /trunk/src/sub_ui.c M /trunk/src/subnormal.c M /trunk/src/sum.c M /trunk/src/swap.c M /trunk/src/tan.c M /trunk/src/tanh.c M /trunk/src/total_order.c M /trunk/src/ubf.c M /trunk/src/uceil_exp2.c M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c M /trunk/src/ui_div.c M /trunk/src/ui_pow.c M /trunk/src/ui_pow_ui.c M /trunk/src/ui_sub.c M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/src/vasprintf.c M /trunk/src/version.c M /trunk/src/volatile.c M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/mparam.h M /trunk/src/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tests/Makefile.am M /trunk/tests/cmp_str.c M /trunk/tests/data/digamma M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/random2.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c M /trunk/tests/tabort_prec_max.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tai.c M /trunk/tests/talloc-cache.c M /trunk/tests/talloc.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tassert.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbeta.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/tdot.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terandom.c M /trunk/tests/terandom_chisq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfpif.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tfrexp.c M /trunk/tests/tgamma.c M /trunk/tests/tgamma_inc.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_q.c M /trunk/tests/tget_set_d128.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/tgrandom.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tlog_ui.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tnrandom.c M /trunk/tests/tnrandom_chisq.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprec_round.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trandom_deviate.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/trndna.c M /trunk/tests/troot.c M /trunk/tests/trootn_ui.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_float128.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstdint.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttotal_order.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tvalist.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tools/bench/Makefile.am M /trunk/tools/bench/benchtime.h M /trunk/tools/bench/mpfrbench.c M /trunk/tools/check_mparam.c M /trunk/tools/ck-clz_tab M /trunk/tools/ck-copyright-notice M /trunk/tools/ck-mparam M /trunk/tools/ck-news M /trunk/tools/ck-version-info M /trunk/tools/get_patches.sh M /trunk/tune/Makefile.am M /trunk/tune/bidimensional_sample.c M /trunk/tune/speed.c M /trunk/tune/tuneup.c Copyright notice update: added 2019 with perl -pi -e 's/ (\d{4}-)?(2018)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh. Removed 2018 from the example in the doc/README.dev file. ------------------------------------------------------------------------ r13356 | vlefevre | 2018-12-31 03:36:15 +0000 (Mon, 31 Dec 2018) | 2 lines Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] Added double_rounding test to trigger errors before the fix in mpfr_set_1_2 (set.c r13347). ------------------------------------------------------------------------ r13355 | vlefevre | 2018-12-31 02:31:17 +0000 (Mon, 31 Dec 2018) | 1 line Changed paths: M /trunk/src/set.c [src/set.c] In mpfr_set_1_2, evaluate MPFR_PREC(s) just once. ------------------------------------------------------------------------ r13354 | vlefevre | 2018-12-31 02:19:23 +0000 (Mon, 31 Dec 2018) | 1 line Changed paths: M /trunk/src/set.c [src/set.c] Clarified the mpfr_set_1_2 description. ------------------------------------------------------------------------ r13353 | vlefevre | 2018-12-31 02:14:55 +0000 (Mon, 31 Dec 2018) | 4 lines Changed paths: M /trunk/src/set.c [src/set.c] For mpfr_set_1_2, corrected the comments and simplified the generic algorithm (there is no need to distinguish the rounding modes, except for the double-rounding test, and this simplification avoids the non-portable inex | inex2). ------------------------------------------------------------------------ r13351 | vlefevre | 2018-12-20 13:49:07 +0000 (Thu, 20 Dec 2018) | 3 lines Changed paths: M /trunk/doc/mini-gmp [doc/mini-gmp] Removed "#define GMP_LIMB_BITS 8": it is not used by mini-gmp.h and yields a failure when building mini-gmp.c (which has its own definition of GMP_LIMB_BITS, equivalent but not identical). ------------------------------------------------------------------------ r13350 | vlefevre | 2018-12-20 13:43:57 +0000 (Thu, 20 Dec 2018) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] Support mini-gmp with reduced limb size, in the case GMP_NUMB_BITS is not defined: guess GMP_NUMB_BITS from the size of mp_limb_t instead of the size of unsigned long. ------------------------------------------------------------------------ r13349 | vlefevre | 2018-12-20 13:29:33 +0000 (Thu, 20 Dec 2018) | 2 lines Changed paths: M /trunk/doc/mini-gmp [doc/mini-gmp] Correction to avoid a "conflicting types for 'mp_limb_t'" error. ------------------------------------------------------------------------ r13348 | zimmerma | 2018-12-14 15:23:15 +0000 (Fri, 14 Dec 2018) | 3 lines Changed paths: M /trunk/doc/mini-gmp [doc/mini-gmp] added note about using mini-gmp (development version) with reduced limb size ------------------------------------------------------------------------ r13347 | zimmerma | 2018-12-14 14:39:48 +0000 (Fri, 14 Dec 2018) | 3 lines Changed paths: M /trunk/src/set.c M /trunk/tests/tset.c [src/set.c] fixed double-rounding bug in mpfr_set_1_2 [tests/tset.c] added corresponding tests ------------------------------------------------------------------------ r13346 | zimmerma | 2018-12-14 13:40:16 +0000 (Fri, 14 Dec 2018) | 2 lines Changed paths: M /trunk/tests/tset.c [tests/tset.c] added a test of test_set_1_2(), which currently fails ------------------------------------------------------------------------ r13345 | zimmerma | 2018-12-14 12:30:08 +0000 (Fri, 14 Dec 2018) | 2 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] disabled tests that don't agree with mpfr_can_round documentation ------------------------------------------------------------------------ r13344 | vlefevre | 2018-12-13 16:28:03 +0000 (Thu, 13 Dec 2018) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Updated a comment about ISO C vs POSIX for snprintf. ------------------------------------------------------------------------ r13343 | vlefevre | 2018-12-13 16:18:49 +0000 (Thu, 13 Dec 2018) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Updated a comment about ISO C vs POSIX for snprintf. ------------------------------------------------------------------------ r13342 | vlefevre | 2018-12-13 09:51:29 +0000 (Thu, 13 Dec 2018) | 1 line Changed paths: M /trunk/TODO [TODO] Added item: new functions mpfr_cmp_uj and mpfr_cmp_sj. ------------------------------------------------------------------------ r13341 | vlefevre | 2018-12-13 09:47:45 +0000 (Thu, 13 Dec 2018) | 1 line Changed paths: M /trunk/TODO [TODO] Removed obsolete "check again coverage" from 2007. ------------------------------------------------------------------------ r13340 | zimmerma | 2018-12-13 09:15:46 +0000 (Thu, 13 Dec 2018) | 2 lines Changed paths: M /trunk/src/sqr.c [src/sqr.c] fixed same issue as in r13338 and r13339 ------------------------------------------------------------------------ r13339 | zimmerma | 2018-12-13 09:01:38 +0000 (Thu, 13 Dec 2018) | 3 lines Changed paths: M /trunk/src/mul.c [src/mul.c] fixed bug in mpfr_mul() when sizeof(mp_limb_t) < sizeof(mpfr_exp_t) (same issue as in r13338) ------------------------------------------------------------------------ r13338 | vlefevre | 2018-12-12 13:00:23 +0000 (Wed, 12 Dec 2018) | 5 lines Changed paths: M /trunk/src/mul.c [src/mul.c] For MPFR_WANT_ASSERT >= 2: minor changes in the code; corrected a comment (even with mp_limb_t >= mpfr_exp_t, there was an issue: the expression b1 - 1 + cc was computed in unsigned arithmetic, then converted to mpfr_exp_t, with an implementation-defined result when -1 was expected, i.e. with b1 = cc = 0). ------------------------------------------------------------------------ r13337 | vlefevre | 2018-12-12 12:30:25 +0000 (Wed, 12 Dec 2018) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Corrected a typo in a comment. ------------------------------------------------------------------------ r13336 | vlefevre | 2018-12-12 12:24:03 +0000 (Wed, 12 Dec 2018) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Fixed error message with MPFR_WANT_ASSERT >= 2. ------------------------------------------------------------------------ r13335 | vlefevre | 2018-12-11 17:51:23 +0000 (Tue, 11 Dec 2018) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] For count_leading_zeros (MPFR_LONG_WITHIN_LIMB not defined), no longer assume GMP_NUMB_BITS <= 32. ------------------------------------------------------------------------ r13334 | vlefevre | 2018-12-11 17:33:53 +0000 (Tue, 11 Dec 2018) | 3 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Fixed count_leading_zeros (avoid undefined behavior on shift counts, which must be nonnegative and smaller than the width of the type of the shifted value). ------------------------------------------------------------------------ r13333 | zimmerma | 2018-12-11 17:01:47 +0000 (Tue, 11 Dec 2018) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] fixed reference routine mpfr_mul3() when sizeof(limb) < sizeof(exp) ------------------------------------------------------------------------ r13332 | zimmerma | 2018-12-11 15:39:46 +0000 (Tue, 11 Dec 2018) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] fixed count_leading_zeros for mini-gmp with 32-bit limb ------------------------------------------------------------------------ r13331 | zimmerma | 2018-12-10 14:08:16 +0000 (Mon, 10 Dec 2018) | 2 lines Changed paths: M /trunk/doc/mini-gmp [doc/mini-gmp] added remark about random functions ------------------------------------------------------------------------ r13329 | zimmerma | 2018-12-10 08:49:56 +0000 (Mon, 10 Dec 2018) | 3 lines Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] fixed test_20151023 (was giving an error with micro-gmp-8 and GMP_CHECK_RANDOMIZE=1544431052619574) ------------------------------------------------------------------------ r13328 | vlefevre | 2018-12-10 00:44:18 +0000 (Mon, 10 Dec 2018) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Added a test for some avoidable use of gmp_printf. ------------------------------------------------------------------------ r13327 | vlefevre | 2018-12-07 17:58:36 +0000 (Fri, 07 Dec 2018) | 4 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tcan_round.c M /trunk/tests/tests.c [tests] * mpfr-test.h, tests.c: added n_trace function to output a mpn. * tcan_round.c: use n_trace instead of gmp_printf ("%NX\n",...), which is not available with mini-gmp. ------------------------------------------------------------------------ r13326 | vlefevre | 2018-12-06 08:13:09 +0000 (Thu, 06 Dec 2018) | 1 line Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Corrected all the error messages for mini-gmp. ------------------------------------------------------------------------ r13325 | vlefevre | 2018-12-06 08:11:06 +0000 (Thu, 06 Dec 2018) | 1 line Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Corrected error message for mini-gmp. ------------------------------------------------------------------------ r13324 | vlefevre | 2018-12-05 20:01:26 +0000 (Wed, 05 Dec 2018) | 1 line Changed paths: M /trunk/tests/tpow_z.c [tests/tpow_z.c] Another fix and minor improvements. ------------------------------------------------------------------------ r13323 | vlefevre | 2018-12-05 19:57:36 +0000 (Wed, 05 Dec 2018) | 2 lines Changed paths: M /trunk/tests/tpow_z.c [tests/tpow_z.c] Fixed a test (midpoint case) that was failing with micro-gmp-8 and GMP_CHECK_RANDOMIZE=1544033327230569. ------------------------------------------------------------------------ r13322 | vlefevre | 2018-12-05 17:43:28 +0000 (Wed, 05 Dec 2018) | 3 lines Changed paths: M /trunk/tests/tpow_z.c [tests/tpow_z.c] Fixed a test for MPFR_RNDF: do not check the ternary value (a failure was occurring with --with-mini-gmp=.../micro-gmp/8 and GMP_CHECK_RANDOMIZE=1544025040809270). ------------------------------------------------------------------------ r13321 | vlefevre | 2018-12-05 17:41:33 +0000 (Wed, 05 Dec 2018) | 1 line Changed paths: M /trunk/tests/tpow_z.c [tests/tpow_z.c] Improved error message. ------------------------------------------------------------------------ r13320 | vlefevre | 2018-12-05 17:39:25 +0000 (Wed, 05 Dec 2018) | 1 line Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] Added missing "void" in function prototype. ------------------------------------------------------------------------ r13319 | vlefevre | 2018-12-05 11:42:02 +0000 (Wed, 05 Dec 2018) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] When building against mini-gmp, check the availability of lrand48, in particular because it is not part of the ISO C standard. ------------------------------------------------------------------------ r13318 | zimmerma | 2018-12-05 09:26:09 +0000 (Wed, 05 Dec 2018) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] put back unconditional assert from r13316 (removed by error) ------------------------------------------------------------------------ r13317 | zimmerma | 2018-12-05 09:23:00 +0000 (Wed, 05 Dec 2018) | 3 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] improved random_limb (the low bits of lrand48 are bad) and fixed gmp_urandomm_ui ------------------------------------------------------------------------ r13316 | vlefevre | 2018-12-05 08:29:54 +0000 (Wed, 05 Dec 2018) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] gmp_urandomm_ui: added a MPFR_ASSERTN unconditionally, as n == 0 is always forbidden. ------------------------------------------------------------------------ r13315 | zimmerma | 2018-12-05 08:03:17 +0000 (Wed, 05 Dec 2018) | 4 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] the static assert introduced in r13313 makes the compilation fail for 8-bit limbs, while the code was valid for n <= 256 in that case ------------------------------------------------------------------------ r13314 | vlefevre | 2018-12-04 18:05:26 +0000 (Tue, 04 Dec 2018) | 1 line Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] Fixed types. ------------------------------------------------------------------------ r13313 | vlefevre | 2018-12-04 17:58:34 +0000 (Tue, 04 Dec 2018) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] Added a static assertion to make sure that the MPFR_ASSERTD added in r13312 is valid. ------------------------------------------------------------------------ r13312 | zimmerma | 2018-12-04 17:00:35 +0000 (Tue, 04 Dec 2018) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] gmp_urandomm_ui did not generate uniform values ------------------------------------------------------------------------ r13311 | vlefevre | 2018-12-03 16:30:10 +0000 (Mon, 03 Dec 2018) | 1 line Changed paths: M /trunk/src/set_d.c [src/set_d.c] Improved comment. ------------------------------------------------------------------------ r13309 | vlefevre | 2018-11-29 01:26:10 +0000 (Thu, 29 Nov 2018) | 1 line Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] About r13308, added references to the bugs. ------------------------------------------------------------------------ r13308 | vlefevre | 2018-11-29 01:24:39 +0000 (Thu, 29 Nov 2018) | 3 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Unset DISPLAY as it is not needed and it can yield error messages when running the tests with LOG_COMPILER=wine (for builds with MinGW). ------------------------------------------------------------------------ r13307 | vlefevre | 2018-11-29 01:05:47 +0000 (Thu, 29 Nov 2018) | 2 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Updated a comment about an output issue with MinGW, with the test run under Wine (which is really the cause of the issue). ------------------------------------------------------------------------ r13306 | vlefevre | 2018-11-28 15:13:12 +0000 (Wed, 28 Nov 2018) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] In case of failure of some particular test, output the probable cause of this failure (GCC bug 86554) with a workaround. ------------------------------------------------------------------------ r13305 | vlefevre | 2018-11-27 17:39:11 +0000 (Tue, 27 Nov 2018) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Updated a comment about a printf issue with MinGW. ------------------------------------------------------------------------ r13304 | vlefevre | 2018-11-27 16:51:17 +0000 (Tue, 27 Nov 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Added a FIXME about the error analysis (info that was part of the FIXME resolved in r13303 and inadvertently dropped). ------------------------------------------------------------------------ r13303 | vlefevre | 2018-11-27 15:15:13 +0000 (Tue, 27 Nov 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Resolved a FIXME; tstrtofr no longer fails due to bug20181127 with 8-bit limbs (micro-gmp/8). ------------------------------------------------------------------------ r13302 | vlefevre | 2018-11-27 15:05:17 +0000 (Tue, 27 Nov 2018) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Added bug20181127 (test found with random_tests), which fails with 8-bit limbs (micro-gmp/8). ------------------------------------------------------------------------ r13299 | vlefevre | 2018-11-27 11:47:39 +0000 (Tue, 27 Nov 2018) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/tests/tstrtofr.c [src/mpfr-impl.h] Added a comment with a warning concerning the meaning of MPFR_EXP_FSPEC. [tests/tstrtofr.c] Fixed a MPFR_EXP_FSPEC related bug in a test for _MPFR_EXP_FORMAT <= 2, e.g. with -D_MPFR_PREC_FORMAT=2. ------------------------------------------------------------------------ r13298 | vlefevre | 2018-11-27 11:30:56 +0000 (Tue, 27 Nov 2018) | 2 lines Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Fixed bad format string for an error message, detected with -D_MPFR_PREC_FORMAT=2 (using -Werror...). ------------------------------------------------------------------------ r13296 | vlefevre | 2018-11-26 13:15:45 +0000 (Mon, 26 Nov 2018) | 2 lines Changed paths: M /trunk/tests/tget_str.c M /trunk/tests/tset_str.c [tests] Moved bug20180908() from tget_str.c to tset_str.c since it tests mpfr_set_str() only. This test was introduced in r13164. ------------------------------------------------------------------------ r13295 | vlefevre | 2018-11-23 10:43:13 +0000 (Fri, 23 Nov 2018) | 1 line Changed paths: M /trunk/TODO [TODO] + More UBF functions. ------------------------------------------------------------------------ r13293 | vlefevre | 2018-11-23 10:33:33 +0000 (Fri, 23 Nov 2018) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r13292 | vlefevre | 2018-11-23 09:32:39 +0000 (Fri, 23 Nov 2018) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Changed some unsigned long to unsigned int. ------------------------------------------------------------------------ r13291 | vlefevre | 2018-11-23 09:22:30 +0000 (Fri, 23 Nov 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Some cleanup in parsed_string_to_mpfr. Avoid a potential integer overflow in very high precision if mp_size_t < mpfr_prec_t. ------------------------------------------------------------------------ r13290 | vlefevre | 2018-11-22 22:20:51 +0000 (Thu, 22 Nov 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Updated FIXME, due to new tests added to tests/tstrtofr.c in r13278-13279,13286-13288. ------------------------------------------------------------------------ r13289 | vlefevre | 2018-11-22 21:58:40 +0000 (Thu, 22 Nov 2018) | 2 lines Changed paths: M /trunk/src/nbits_ulong.c [src/nbits_ulong.c] Added missing initialization from r13269 when MPFR_LONG_WITHIN_LIMB is not defined. ------------------------------------------------------------------------ r13288 | vlefevre | 2018-11-22 21:52:00 +0000 (Thu, 22 Nov 2018) | 5 lines Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Resolved the FIXME and fixed the issue related to the old mpfr_get_str description (see r13283). Note: with the later fix r13289, a test still fails with 8-bit limbs (incorrect exponent, possibly corresponding to the FIXME just before "exp = GMP_NUMB_BITS - count;" in src/strtofr.c). ------------------------------------------------------------------------ r13287 | vlefevre | 2018-11-22 16:29:01 +0000 (Thu, 22 Nov 2018) | 1 line Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Added comments, including a FIXME. ------------------------------------------------------------------------ r13286 | vlefevre | 2018-11-22 16:14:59 +0000 (Thu, 22 Nov 2018) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Resolved the FIXME for the random tests, and increased the number of tests to trigger a failure. ------------------------------------------------------------------------ r13283 | vlefevre | 2018-11-22 15:29:37 +0000 (Thu, 22 Nov 2018) | 3 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/get_str.c MPFR manual: corrected/completed the mpfr_get_str description in order to follow the historical behavior and GMP's mpf_get_str function. (Discussion in the Trier meeting.) ------------------------------------------------------------------------ r13282 | vlefevre | 2018-11-22 15:09:31 +0000 (Thu, 22 Nov 2018) | 1 line Changed paths: M /trunk/src/get_str.c [src/get_str.c] Code style. ------------------------------------------------------------------------ r13281 | vlefevre | 2018-11-22 09:27:09 +0000 (Thu, 22 Nov 2018) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about issues with mixing signed/unsigned types. ------------------------------------------------------------------------ r13280 | vlefevre | 2018-11-22 09:01:58 +0000 (Thu, 22 Nov 2018) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about the disallowed conversions between function pointers and other kinds of pointers (including to void *). ------------------------------------------------------------------------ r13279 | vlefevre | 2018-11-20 16:51:12 +0000 (Tue, 20 Nov 2018) | 4 lines Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Added a FIXME, which explains the current failure. But there is currently an inconsistency in mpfr_get_str, whose digits are not specified: https://sympa.inria.fr/sympa/arc/mpfr/2018-11/msg00021.html ------------------------------------------------------------------------ r13278 | vlefevre | 2018-11-20 16:17:15 +0000 (Tue, 20 Nov 2018) | 1 line Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Added random tests, which currently fail. ------------------------------------------------------------------------ r13276 | vlefevre | 2018-11-19 15:23:59 +0000 (Mon, 19 Nov 2018) | 3 lines Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] mpfr_can_round_raw: improved the code structure about rnd1 and rnd2, making clear that they are not changed several times; avoid the use of cc with 2 different meanings in the same code path. ------------------------------------------------------------------------ r13275 | zimmerma | 2018-11-17 09:47:41 +0000 (Sat, 17 Nov 2018) | 3 lines Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] fixed bug in mpfr_can_round when rnd2=RNDF, rnd1 is a directed rounding, and the input is exact ------------------------------------------------------------------------ r13274 | vlefevre | 2018-11-16 15:06:27 +0000 (Fri, 16 Nov 2018) | 5 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] parsed_string_to_mpfr: updated a FIXME comment. In short, the current tstrtofr.c tests seem to always be hard-to-round cases. The consequence is that some parts of the code are run, but not completely tested, because for these cases, some intermediate results, potentially incorrect, are thrown out due to the next Ziv iteration! ------------------------------------------------------------------------ r13273 | vlefevre | 2018-11-16 14:48:33 +0000 (Fri, 16 Nov 2018) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] parsed_string_to_mpfr: minor changes. ------------------------------------------------------------------------ r13272 | vlefevre | 2018-11-16 14:31:59 +0000 (Fri, 16 Nov 2018) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] parsed_string_to_mpfr: added log messages. ------------------------------------------------------------------------ r13271 | vlefevre | 2018-11-16 13:23:29 +0000 (Fri, 16 Nov 2018) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Minor change to use MPFR_ASSERTD. ------------------------------------------------------------------------ r13270 | vlefevre | 2018-11-16 13:15:57 +0000 (Fri, 16 Nov 2018) | 2 lines Changed paths: M /trunk/src/int_ceil_log2.c M /trunk/src/mpfr-impl.h [src/{int_ceil_log2.c,mpfr-impl.h}] Consistent postcondition for MPFR_INT_CEIL_LOG2 and __gmpfr_int_ceil_log2 (result >= 0). ------------------------------------------------------------------------ r13269 | vlefevre | 2018-11-16 13:13:52 +0000 (Fri, 16 Nov 2018) | 1 line Changed paths: M /trunk/src/nbits_ulong.c [src/nbits_ulong.c] Code refactoring. Added {pre,post}condition. ------------------------------------------------------------------------ r13268 | vlefevre | 2018-11-16 12:50:13 +0000 (Fri, 16 Nov 2018) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] parsed_string_to_mpfr: removed an incorrect cast. ------------------------------------------------------------------------ r13267 | vlefevre | 2018-11-16 12:17:36 +0000 (Fri, 16 Nov 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] parsed_string_to_mpfr: updated a FIXME comment (again, another issue). ------------------------------------------------------------------------ r13266 | vlefevre | 2018-11-16 12:09:24 +0000 (Fri, 16 Nov 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] parsed_string_to_mpfr: updated a FIXME comment (there is another issue to solve first). ------------------------------------------------------------------------ r13265 | vlefevre | 2018-11-16 11:48:20 +0000 (Fri, 16 Nov 2018) | 1 line Changed paths: M /trunk/src/amd/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/generic/coverage/mparam.h M /trunk/src/mips/mparam.h M /trunk/src/powerpc64/mparam.h M /trunk/src/sparc64/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/mparam.h Removed trailing whitespace. ------------------------------------------------------------------------ r13264 | vlefevre | 2018-11-16 10:26:36 +0000 (Fri, 16 Nov 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] parsed_string_to_mpfr: updated a comment (useless code in this function or incomplete tests). ------------------------------------------------------------------------ r13263 | vlefevre | 2018-11-16 10:10:30 +0000 (Fri, 16 Nov 2018) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/rndna.c Avoid GCC's -Wcast-align warnings with 8-bit limbs (a correct alignment is ensured by the code itself, and GCC cannot check just from a cast). ------------------------------------------------------------------------ r13262 | vlefevre | 2018-11-16 08:24:25 +0000 (Fri, 16 Nov 2018) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] parsed_string_to_mpfr: updated comments. ------------------------------------------------------------------------ r13261 | vlefevre | 2018-11-15 17:17:13 +0000 (Thu, 15 Nov 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] parsed_string_to_mpfr: more code review, with minor changes and corrections + a FIXME. ------------------------------------------------------------------------ r13260 | vlefevre | 2018-11-15 11:35:55 +0000 (Thu, 15 Nov 2018) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Typo. ------------------------------------------------------------------------ r13259 | vlefevre | 2018-11-15 10:22:47 +0000 (Thu, 15 Nov 2018) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Fixed an allocation bug for GMP_NUMB_BITS = 8. ------------------------------------------------------------------------ r13258 | vlefevre | 2018-11-15 10:13:22 +0000 (Thu, 15 Nov 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Updated a comment: the issue with mpn_set_str found in 2013-12 (see r8722) was actually an error in the GMP manual. ------------------------------------------------------------------------ r13257 | vlefevre | 2018-11-15 10:02:17 +0000 (Thu, 15 Nov 2018) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] parsed_string_to_mpfr: improved an assertion; comments. ------------------------------------------------------------------------ r13256 | zimmerma | 2018-11-15 09:43:43 +0000 (Thu, 15 Nov 2018) | 2 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] fixed some TODOs, which exposes a bug ------------------------------------------------------------------------ r13255 | vlefevre | 2018-11-15 09:33:02 +0000 (Thu, 15 Nov 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Near the beginning of parsed_string_to_mpfr: corrected comments; added an assertion; minor change of a test. ------------------------------------------------------------------------ r13253 | zimmerma | 2018-11-10 08:25:31 +0000 (Sat, 10 Nov 2018) | 4 lines Changed paths: M /trunk/src/mulders.c M /trunk/tune/tuneup.c [src/mulders.c] fixed issue with --enable-gmp-internals [tune/tuneup.c] likewise (see https://sympa.inria.fr/sympa/arc/mpfr/2018-11/msg00015.html) ------------------------------------------------------------------------ r13251 | zimmerma | 2018-10-18 09:03:52 +0000 (Thu, 18 Oct 2018) | 2 lines Changed paths: M /trunk/src/mpfr-longlong.h [src/mpfr-longlong.h] applied patch from https://sympa.inria.fr/sympa/arc/mpfr/2018-10/msg00010.html ------------------------------------------------------------------------ r13244 | vlefevre | 2018-10-07 10:36:45 +0000 (Sun, 07 Oct 2018) | 1 line Changed paths: M /trunk/codespell.ignore [codespell.ignore] Also ignore "ue" (codespell 1.14). ------------------------------------------------------------------------ r13237 | vlefevre | 2018-10-01 15:36:47 +0000 (Mon, 01 Oct 2018) | 6 lines Changed paths: M /trunk/configure.ac M /trunk/src/Makefile.am [configure.ac,src/Makefile.am] About the --with-mini-gmp support, since there are some advantages with the new code, one will probably not go back. Thus removed the references to the Automake 1.15 bug and to the old code. Also removed the mini_gmp_path=. workaround needed with the old code (even with Automake 1.16), which had been added in r13217. Also slightly improved the setup for mini-gmp. ------------------------------------------------------------------------ r13236 | vlefevre | 2018-10-01 13:54:04 +0000 (Mon, 01 Oct 2018) | 1 line Changed paths: M /trunk/doc/with-mini-gmp.patch [doc/with-mini-gmp.patch] Updated comment. ------------------------------------------------------------------------ r13235 | vlefevre | 2018-10-01 13:51:10 +0000 (Mon, 01 Oct 2018) | 8 lines Changed paths: M /trunk/configure.ac M /trunk/src/Makefile.am [configure.ac,src/Makefile.am] Avoid a "make" failure due to a bug in Automake 1.15 automatic dependency tracking: instead of using mini-gmp directly in an external directory with a $(mini_gmp_path) variable in src/Makefile.am, make the configure script add symbolic links to the mini-gmp sources in the build directory, and use these symbolic links for the MPFR build (as if they were plain files). Tested under various conditions: static and shared; separate source and build directories; changing the mini-gmp version without "make clean". ------------------------------------------------------------------------ r13233 | vlefevre | 2018-09-28 08:17:28 +0000 (Fri, 28 Sep 2018) | 6 lines Changed paths: A /trunk/doc/with-mini-gmp.patch Added doc/with-mini-gmp.patch file (for the developers): Modifications to configure.ac and src/Makefile.am that had been done for --with-mini-gmp support. This is kept for the reference, as changes may be needed as a workaround to a bug fixed in GNU Automake 1.16, and other future changes might break things (to remember what was working at this time). ------------------------------------------------------------------------ r13230 | vlefevre | 2018-09-20 11:12:22 +0000 (Thu, 20 Sep 2018) | 1 line Changed paths: M /trunk/doc/mini-gmp [doc/mini-gmp] Update. ------------------------------------------------------------------------ r13229 | vlefevre | 2018-09-19 12:55:56 +0000 (Wed, 19 Sep 2018) | 3 lines Changed paths: M /trunk/Makefile.am M /trunk/configure.ac [Makefile.am] Distribute the doc/mini-gmp file. [configure.ac] For --with-mini-gmp, say: "(experimental, please read doc/mini-gmp file)" ------------------------------------------------------------------------ r13228 | vlefevre | 2018-09-19 12:47:03 +0000 (Wed, 19 Sep 2018) | 2 lines Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] Added nodist_ for mini-gmp.{c,h} so that these files (not part of MPFR) are not put in the tarballs by "make dist". ------------------------------------------------------------------------ r13227 | vlefevre | 2018-09-19 12:17:20 +0000 (Wed, 19 Sep 2018) | 4 lines Changed paths: M /trunk/NEWS M /trunk/configure.ac M /trunk/doc/mini-gmp Removed --enable-mini-gmp configure option. * NEWS: say that it is replaced by --with-mini-gmp. * configure.ac: --enable-mini-gmp removed. * doc/mini-gmp: update. ------------------------------------------------------------------------ r13226 | vlefevre | 2018-09-19 11:50:17 +0000 (Wed, 19 Sep 2018) | 1 line Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] Missing #else (from r13156). ------------------------------------------------------------------------ r13225 | vlefevre | 2018-09-19 11:36:03 +0000 (Wed, 19 Sep 2018) | 5 lines Changed paths: M /trunk/configure.ac [configure.ac] When using --with-mini-gmp, define GMP_NUMB_BITS if this macro is not already defined in mini-gmp.h (this is done a bit like with --enable-mini-gmp, but the handling in this option is buggy as GMP_NUMB_BITS is defined with AC_DEFINE_UNQUOTED unconditionally, though is most cases the contents of the macros are the same). ------------------------------------------------------------------------ r13224 | vlefevre | 2018-09-19 10:59:02 +0000 (Wed, 19 Sep 2018) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] Do not split "Setup GMP detection". When building MPFR against mini-gmp, do not run any "Setup GMP detection" test (in particular, no longer check gmp.h, as it is useless). ------------------------------------------------------------------------ r13223 | vlefevre | 2018-09-19 10:44:08 +0000 (Wed, 19 Sep 2018) | 4 lines Changed paths: M /trunk/src/mpfr-mini-gmp.h [src/mpfr-mini-gmp.h] Removed incorrect GMP_NUMB_BITS macro definition, and this macro needs to be usable in preprocessor tests, and sizeof and types are not available at this level. GMP_NUMB_BITS must be defined by mini-gmp.h, by the configure script, or by the user. ------------------------------------------------------------------------ r13222 | vlefevre | 2018-09-19 00:21:16 +0000 (Wed, 19 Sep 2018) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Update due to r13221. ------------------------------------------------------------------------ r13221 | vlefevre | 2018-09-18 13:59:54 +0000 (Tue, 18 Sep 2018) | 2 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Run tversion at the beginning of the tests, then show its output and svnversion's output too. ------------------------------------------------------------------------ r13220 | vlefevre | 2018-09-18 08:10:40 +0000 (Tue, 18 Sep 2018) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.h [src/mpfr-mini-gmp.h] Added a FIXME (failure with a mini-gmp that does not define GMP_NUMB_BITS, such as the official one). ------------------------------------------------------------------------ r13219 | vlefevre | 2018-09-18 01:47:06 +0000 (Tue, 18 Sep 2018) | 1 line Changed paths: M /trunk/tests/random2.c [tests/random2.c] Avoid undefined behavior on shift count. ------------------------------------------------------------------------ r13218 | vlefevre | 2018-09-18 01:45:39 +0000 (Tue, 18 Sep 2018) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed MPFR_LIMB_MASK() macro. ------------------------------------------------------------------------ r13217 | vlefevre | 2018-09-18 01:17:52 +0000 (Tue, 18 Sep 2018) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Avoid a configure failure with automatic dependency tracking when --with-mini-gmp is not used (bug in Automake?). ------------------------------------------------------------------------ r13216 | vlefevre | 2018-09-18 00:00:24 +0000 (Tue, 18 Sep 2018) | 1 line Changed paths: M /trunk/NEWS [NEWS] + Mini-gmp support via the --with-mini-gmp configure option. ------------------------------------------------------------------------ r13214 | vlefevre | 2018-09-17 23:55:55 +0000 (Mon, 17 Sep 2018) | 2 lines Changed paths: M /trunk M /trunk/configure.ac M /trunk/doc/mini-gmp M /trunk/src/Makefile.am M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h Merged the with-mini-gmp branch into the trunk: new --with-mini-gmp configure option to build MPFR against mini-gmp (instead of GMP). ------------------------------------------------------------------------ r13211 | vlefevre | 2018-09-17 15:01:51 +0000 (Mon, 17 Sep 2018) | 2 lines Changed paths: M /trunk/src/mul_ui.c [src/mul_ui.c] Better code organization (with the MPFR_RET at the right place). Corrected indentation after #else. ------------------------------------------------------------------------ r13210 | zimmerma | 2018-09-17 14:40:01 +0000 (Mon, 17 Sep 2018) | 3 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mul_ui.c [src/mpfr-mini-gmp.c] added #if 0 ... #endif for mpz_dump (unused) [src/mul_ui.c] fixed compiler warning for limb < long ------------------------------------------------------------------------ r13207 | vlefevre | 2018-09-17 10:08:51 +0000 (Mon, 17 Sep 2018) | 1 line Changed paths: M /trunk/tests/random2.c [tests/random2.c] Fix for 8-bit limb. ------------------------------------------------------------------------ r13205 | vlefevre | 2018-09-17 09:17:18 +0000 (Mon, 17 Sep 2018) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Define only one buffer in test_version(). ------------------------------------------------------------------------ r13204 | vlefevre | 2018-09-17 09:14:21 +0000 (Mon, 17 Sep 2018) | 1 line Changed paths: M /trunk/tests/random2.c [tests/random2.c] Improved code by using MPFR_LIMB_* macros. ------------------------------------------------------------------------ r13203 | vlefevre | 2018-09-17 09:04:58 +0000 (Mon, 17 Sep 2018) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Improved MPFR_LIMB_* macros for mp_limb_t < int (e.g. 16-bit or 8-bit limb), as in such a case, integer promotion transforms mp_limb_t to int. ------------------------------------------------------------------------ r13202 | zimmerma | 2018-09-17 07:56:07 +0000 (Mon, 17 Sep 2018) | 2 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] fixed compiler warning ------------------------------------------------------------------------ r13200 | vlefevre | 2018-09-14 21:46:06 +0000 (Fri, 14 Sep 2018) | 3 lines Changed paths: M /trunk/src/get_si.c [src/get_si.c] Code refactoring/simplification like what has been done for get_ui.c in r13185, fixing also an integer overflow when MPFR_LONG_WITHIN_LIMB is not defined. ------------------------------------------------------------------------ r13199 | vlefevre | 2018-09-14 15:28:12 +0000 (Fri, 14 Sep 2018) | 1 line Changed paths: M /trunk/tests/random2.c [tests/random2.c] Fix for 16-bit limb. ------------------------------------------------------------------------ r13198 | vlefevre | 2018-09-14 15:19:38 +0000 (Fri, 14 Sep 2018) | 1 line Changed paths: M /trunk/src/add1.c [src/add1.c] Fix for 16-bit limb. ------------------------------------------------------------------------ r13197 | vlefevre | 2018-09-14 15:04:09 +0000 (Fri, 14 Sep 2018) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Fixed bug in add_ssaaaa / sub_ddmmss from r13081. ------------------------------------------------------------------------ r13194 | vlefevre | 2018-09-14 13:03:24 +0000 (Fri, 14 Sep 2018) | 1 line Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] Moved a comment in a better place. ------------------------------------------------------------------------ r13191 | vlefevre | 2018-09-14 11:19:31 +0000 (Fri, 14 Sep 2018) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Typo. ------------------------------------------------------------------------ r13189 | vlefevre | 2018-09-14 11:13:50 +0000 (Fri, 14 Sep 2018) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Updated comments about configure options for mini-gmp. ------------------------------------------------------------------------ r13188 | zimmerma | 2018-09-13 16:27:28 +0000 (Thu, 13 Sep 2018) | 2 lines Changed paths: M /trunk/tests/tsin.c [tests/tsin.c] reduce REDUCE_EMAX with mini-gmp ------------------------------------------------------------------------ r13186 | vlefevre | 2018-09-13 13:03:53 +0000 (Thu, 13 Sep 2018) | 1 line Changed paths: M /trunk/src/get_ui.c [src/get_ui.c] Added assertions. ------------------------------------------------------------------------ r13185 | vlefevre | 2018-09-13 13:01:05 +0000 (Thu, 13 Sep 2018) | 1 line Changed paths: M /trunk/src/get_ui.c [src/get_ui.c] Code refactoring/simplification. ------------------------------------------------------------------------ r13184 | vlefevre | 2018-09-13 11:04:50 +0000 (Thu, 13 Sep 2018) | 1 line Changed paths: M /trunk/src/sin_cos.c [src/sin_cos.c] Added assertions protecting against buffer overflow. ------------------------------------------------------------------------ r13183 | zimmerma | 2018-09-13 08:46:01 +0000 (Thu, 13 Sep 2018) | 2 lines Changed paths: M /trunk/src/sin_cos.c [src/sin_cos.c] fix for small limb size ------------------------------------------------------------------------ r13182 | vlefevre | 2018-09-12 14:32:42 +0000 (Wed, 12 Sep 2018) | 3 lines Changed paths: M /trunk/src/mpfr-mini-gmp.h [src/mpfr-mini-gmp.h] Fix: Since gmp_version is not defined in mini-gmp, we must not declare it (otherwise one would get a link failure instead of a compilation failure if gmp_version is used by mistake). ------------------------------------------------------------------------ r13181 | vlefevre | 2018-09-12 14:28:03 +0000 (Wed, 12 Sep 2018) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Improved change in r13179 for mini-gmp. ------------------------------------------------------------------------ r13180 | vlefevre | 2018-09-12 13:39:57 +0000 (Wed, 12 Sep 2018) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] Do not check for CC and CFLAGS in gmp.h if mini-gmp is used, i.e. if --enable-mini-gmp (current option) or --with-mini-gmp (future option) is given. ------------------------------------------------------------------------ r13179 | zimmerma | 2018-09-12 13:32:33 +0000 (Wed, 12 Sep 2018) | 2 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] libgmp is not defined with mini-gmp (issue found with -O0) ------------------------------------------------------------------------ r13178 | vlefevre | 2018-09-12 12:48:50 +0000 (Wed, 12 Sep 2018) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.h [src/mpfr-mini-gmp.h] Removed #include lines as mpfr-mini-gmp.h is included only in mpfr-impl.h, which already does these #include's. ------------------------------------------------------------------------ r13177 | vlefevre | 2018-09-12 12:21:53 +0000 (Wed, 12 Sep 2018) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Check that MPFR_HAVE_GMP_IMPL and MPFR_USE_MINI_GMP are not both defined. ------------------------------------------------------------------------ r13176 | vlefevre | 2018-09-12 12:19:21 +0000 (Wed, 12 Sep 2018) | 3 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] Removed #include "mpfr-mini-gmp.h" as this include is already done in mpfr-impl.h (in both cases, when MPFR_USE_MINI_GMP is defined). ------------------------------------------------------------------------ r13175 | vlefevre | 2018-09-12 12:11:04 +0000 (Wed, 12 Sep 2018) | 2 lines Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] Replaced "if (GMP_NUMB_BITS >= 16)" by a preprocessor test "#if GMP_NUMB_BITS >= 16" like earlier. Use static assertions. ------------------------------------------------------------------------ r13174 | vlefevre | 2018-09-12 10:43:22 +0000 (Wed, 12 Sep 2018) | 1 line Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] Fixed types for 8-bit limb. Removed useless casts. ------------------------------------------------------------------------ r13173 | vlefevre | 2018-09-12 10:26:45 +0000 (Wed, 12 Sep 2018) | 2 lines Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] Fixed a type from r13172 (int was obviously too short and was yielding a segmentation fault). ------------------------------------------------------------------------ r13172 | zimmerma | 2018-09-11 20:59:57 +0000 (Tue, 11 Sep 2018) | 2 lines Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] fixed for 8-bit limb ------------------------------------------------------------------------ r13171 | zimmerma | 2018-09-11 12:01:25 +0000 (Tue, 11 Sep 2018) | 2 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] fixed test for small value of GMP_NUMB_BITS ------------------------------------------------------------------------ r13170 | zimmerma | 2018-09-11 10:45:39 +0000 (Tue, 11 Sep 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] fixed r13168: in case exact=0, mpn_rshift was not done ------------------------------------------------------------------------ r13169 | zimmerma | 2018-09-11 09:37:07 +0000 (Tue, 11 Sep 2018) | 2 lines Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] modified test_sqrt1n() so that it passes with 8-bit limbs ------------------------------------------------------------------------ r13168 | vlefevre | 2018-09-11 09:00:21 +0000 (Tue, 11 Sep 2018) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Replaced "exact &=" by "exact = exact &&" as usual. ------------------------------------------------------------------------ r13167 | zimmerma | 2018-09-11 08:49:53 +0000 (Tue, 11 Sep 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] fix for 8-bit limb ------------------------------------------------------------------------ r13166 | zimmerma | 2018-09-11 07:39:16 +0000 (Tue, 11 Sep 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] added comment ------------------------------------------------------------------------ r13165 | vlefevre | 2018-09-10 23:50:38 +0000 (Mon, 10 Sep 2018) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r13164 | zimmerma | 2018-09-10 19:17:57 +0000 (Mon, 10 Sep 2018) | 3 lines Changed paths: M /trunk/src/strtofr.c M /trunk/tests/tget_str.c [src/strtofr.c] fix from r13163 was incorrect [tests/tget_str.c] added a testcase, and fixed an error message ------------------------------------------------------------------------ r13163 | zimmerma | 2018-09-08 17:00:40 +0000 (Sat, 08 Sep 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] resolved a FIXME ------------------------------------------------------------------------ r13162 | zimmerma | 2018-09-08 14:02:13 +0000 (Sat, 08 Sep 2018) | 2 lines Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] fixed corner_cases() test ------------------------------------------------------------------------ r13161 | zimmerma | 2018-09-08 11:39:54 +0000 (Sat, 08 Sep 2018) | 2 lines Changed paths: M /trunk/src/int_ceil_log2.c [src/int_ceil_log2.c] fixed __gmpfr_int_ceil_log2 for limb < long ------------------------------------------------------------------------ r13160 | zimmerma | 2018-09-07 20:26:15 +0000 (Fri, 07 Sep 2018) | 2 lines Changed paths: M /trunk/tests/random2.c [tests/random2.c] fixed mpfr_random2 for GMP_NUMB_BITS <> 64 ------------------------------------------------------------------------ r13159 | zimmerma | 2018-09-07 19:16:34 +0000 (Fri, 07 Sep 2018) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] fixed another compiler warning ------------------------------------------------------------------------ r13158 | zimmerma | 2018-09-07 19:14:29 +0000 (Fri, 07 Sep 2018) | 2 lines Changed paths: M /trunk/src/get_ui.c [src/get_ui.c] fixed compiler warning ------------------------------------------------------------------------ r13157 | zimmerma | 2018-09-07 17:12:46 +0000 (Fri, 07 Sep 2018) | 2 lines Changed paths: M /trunk/src/rec_sqrt.c M /trunk/src/set_d.c some fixes for 8-bit limb support ------------------------------------------------------------------------ r13156 | zimmerma | 2018-09-07 15:17:37 +0000 (Fri, 07 Sep 2018) | 2 lines Changed paths: M /trunk/src/constant.c M /trunk/src/get_d64.c M /trunk/src/get_ld.c M /trunk/src/get_str.c M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/src/rec_sqrt.c M /trunk/src/set_d.c M /trunk/src/set_d64.c M /trunk/src/set_ld.c adapt to 8-bit limbs (work in progress) ------------------------------------------------------------------------ r13155 | zimmerma | 2018-09-07 11:59:57 +0000 (Fri, 07 Sep 2018) | 2 lines Changed paths: M /trunk/tests/tl2b.c [tests/tl2b.c] extend to 8-bit limb ------------------------------------------------------------------------ r13154 | zimmerma | 2018-09-07 11:49:13 +0000 (Fri, 07 Sep 2018) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] fix for 8-bit limb ------------------------------------------------------------------------ r13153 | vlefevre | 2018-09-07 09:23:57 +0000 (Fri, 07 Sep 2018) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added @tie{} (normal non-breakable space) at various places to avoid unwanted line breaking. ------------------------------------------------------------------------ r13152 | vlefevre | 2018-09-07 08:45:54 +0000 (Fri, 07 Sep 2018) | 4 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] mpfr_rootn_ui, mpfr_root: changed k to n in order to match IEEE 754-2008. Also improved the description of mpfr_rootn_ui, mentioning the P754/D2.41 draft of the next IEEE 754 standard because IEEE 754-2008 is incomplete. ------------------------------------------------------------------------ r13151 | vlefevre | 2018-09-06 10:44:48 +0000 (Thu, 06 Sep 2018) | 1 line Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] !mpfr_equal_p is better than mpfr_cmp. ------------------------------------------------------------------------ r13150 | zimmerma | 2018-09-06 07:56:44 +0000 (Thu, 06 Sep 2018) | 3 lines Changed paths: M /trunk/src/rint.c [src/rint.c] fixed bug with 16-bit limb (found by trint with GMP_CHECK_RANDOMIZE=1536206745598891) ------------------------------------------------------------------------ r13149 | zimmerma | 2018-09-06 07:33:45 +0000 (Thu, 06 Sep 2018) | 2 lines Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] fixed test_20151023() ------------------------------------------------------------------------ r13148 | vlefevre | 2018-09-06 07:15:25 +0000 (Thu, 06 Sep 2018) | 1 line Changed paths: M /trunk/src/get_d64.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-mini-gmp.c M /trunk/src/ui_div.c Removed trailing whitespace. ------------------------------------------------------------------------ r13147 | vlefevre | 2018-09-06 06:46:40 +0000 (Thu, 06 Sep 2018) | 3 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Removed incorrect and useless assertions (manl has exactly 32 bits, thus a shift count of 32 bits is invalid, but also useless). ------------------------------------------------------------------------ r13146 | zimmerma | 2018-09-05 16:17:58 +0000 (Wed, 05 Sep 2018) | 2 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] fixed (hopefully definitively) for 16-bit limb ------------------------------------------------------------------------ r13145 | vlefevre | 2018-09-05 15:53:50 +0000 (Wed, 05 Sep 2018) | 4 lines Changed paths: M /trunk/src/set_d64.c [src/set_d64.c] 2 fixes concerning rp[]: * If GMP_NUMB_BITS >= 64, there is a shift of 32 bits, thus one uses mp_limb_t (> 32 bits) instead of unsigned int. * Otherwise use unsigned long as an unsigned int might be on 16 bits. ------------------------------------------------------------------------ r13144 | vlefevre | 2018-09-05 15:26:46 +0000 (Wed, 05 Sep 2018) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Indentation. ------------------------------------------------------------------------ r13143 | vlefevre | 2018-09-05 15:23:00 +0000 (Wed, 05 Sep 2018) | 1 line Changed paths: M /trunk/src/Makefile.am M /trunk/src/exp_2.c A /trunk/src/nbits_ulong.c [src] Moved mpfr_nbits_ulong to its own file "nbits_ulong.c". ------------------------------------------------------------------------ r13142 | vlefevre | 2018-09-05 15:17:56 +0000 (Wed, 05 Sep 2018) | 1 line Changed paths: M /trunk/src/pow_si.c [src/pow_si.c] MPFR_NEED_LONGLONG_H is still needed. ------------------------------------------------------------------------ r13141 | vlefevre | 2018-09-05 14:56:48 +0000 (Wed, 05 Sep 2018) | 1 line Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] Removed xxx suffix added in r13139 (by mistake?). ------------------------------------------------------------------------ r13140 | zimmerma | 2018-09-05 14:30:57 +0000 (Wed, 05 Sep 2018) | 4 lines Changed paths: M /trunk/src/exp_2.c M /trunk/src/mpfr-impl.h M /trunk/src/pow_si.c [src/exp_2.c] export (internally) nbits_ulong (renamed to mpfr_nbits_ulong) [src/mpfr-impl.h] added prototype for mpfr_nbits_ulong [src/pow_si.c] fixed for 16-bit limb ------------------------------------------------------------------------ r13139 | zimmerma | 2018-09-05 13:18:11 +0000 (Wed, 05 Sep 2018) | 4 lines Changed paths: M /trunk/src/get_d64.c M /trunk/src/set_d64.c M /trunk/tests/tget_set_d64.c [src/get_d64.c] fixed for 16-bit limb [src/set_d64.c] likewise [tests/tget_set_d64.c] improved error message ------------------------------------------------------------------------ r13137 | vlefevre | 2018-09-05 11:52:06 +0000 (Wed, 05 Sep 2018) | 3 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] In the case GMP_NUMB_BITS == 16, cast to unsigned long instead of unsigned int since shift counts can be up to 16 and an int might be on 16 bits only. ------------------------------------------------------------------------ r13136 | zimmerma | 2018-09-05 10:36:30 +0000 (Wed, 05 Sep 2018) | 2 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] when denorm=16, a 32-bit shift on an unsigned int is undefined ------------------------------------------------------------------------ r13135 | zimmerma | 2018-09-05 10:20:36 +0000 (Wed, 05 Sep 2018) | 3 lines Changed paths: M /trunk/src/exp_2.c M /trunk/tests/texp.c [src/exp_2.c] fix for 16-bit limb [tests/texp.c] improve error message ------------------------------------------------------------------------ r13134 | zimmerma | 2018-09-05 08:25:33 +0000 (Wed, 05 Sep 2018) | 3 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c M /trunk/tests/terandom_chisq.c [src/mpfr-mini-gmp.c] fixed gmp_urandomb_ui for 16-bit limb, added mpz_dump [tests/terandom_chisq.c] more details in case of error ------------------------------------------------------------------------ r13133 | zimmerma | 2018-09-05 07:11:49 +0000 (Wed, 05 Sep 2018) | 2 lines Changed paths: M /trunk/src/random_deviate.c [src/random_deviate.c] fixed typo ------------------------------------------------------------------------ r13132 | vlefevre | 2018-09-04 17:29:15 +0000 (Tue, 04 Sep 2018) | 1 line Changed paths: M /trunk/tests/tset_z_exp.c [tests/tset_z_exp.c] Avoid a GCC bug. ------------------------------------------------------------------------ r13131 | vlefevre | 2018-09-04 16:41:18 +0000 (Tue, 04 Sep 2018) | 1 line Changed paths: M /trunk/tests/tset_z_exp.c [tests/tset_z_exp.c] Attempt to fix randexp, but GCC complains. ------------------------------------------------------------------------ r13130 | vlefevre | 2018-09-04 16:06:38 +0000 (Tue, 04 Sep 2018) | 1 line Changed paths: M /trunk/src/mpn_exp.c [src/mpn_exp.c] Avoid useless "while" in nbits_mpfr_exp_t. ------------------------------------------------------------------------ r13129 | zimmerma | 2018-09-04 15:27:36 +0000 (Tue, 04 Sep 2018) | 3 lines Changed paths: M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tset_ld.c [tests/tset_ld.c] give more digits in case of error [tests/tget_ld_2exp.c] added one test (currently fails for 16-bit limb) ------------------------------------------------------------------------ r13128 | zimmerma | 2018-09-04 15:20:19 +0000 (Tue, 04 Sep 2018) | 2 lines Changed paths: M /trunk/src/set_ld.c [src/set_ld.c] partial fix for 16-bit limb (typo + nice bug!) ------------------------------------------------------------------------ r13127 | zimmerma | 2018-09-04 14:50:57 +0000 (Tue, 04 Sep 2018) | 2 lines Changed paths: M /trunk/tests/tset_z_exp.c [tests/tset_z_exp.c] fixed infinite loop in test code for limb < mpfr_exp_t ------------------------------------------------------------------------ r13126 | zimmerma | 2018-09-04 14:33:27 +0000 (Tue, 04 Sep 2018) | 2 lines Changed paths: M /trunk/src/mpn_exp.c [src/mpn_exp.c] adapt to bitsize(mpfr_exp_t) > GMP_NUMB_BITS ------------------------------------------------------------------------ r13125 | vlefevre | 2018-09-04 14:19:31 +0000 (Tue, 04 Sep 2018) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Code simplification. ------------------------------------------------------------------------ r13124 | vlefevre | 2018-09-04 14:14:39 +0000 (Tue, 04 Sep 2018) | 1 line Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] MPFR_LIMB is actually useless now... ------------------------------------------------------------------------ r13123 | vlefevre | 2018-09-04 14:11:39 +0000 (Tue, 04 Sep 2018) | 1 line Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] Code style and potential correction for 16-bit limb. ------------------------------------------------------------------------ r13122 | vlefevre | 2018-09-04 14:06:25 +0000 (Tue, 04 Sep 2018) | 3 lines Changed paths: M /trunk/src/sqrt_ui.c [src/sqrt_ui.c] Moved MPFR_SAVE_EXPO_FREE after mpfr_sqrt because the uu argument may be out of range and there is no guarantee that mpfr_sqrt can handle that. Improved consistency; code refactoring. ------------------------------------------------------------------------ r13121 | zimmerma | 2018-09-04 13:33:35 +0000 (Tue, 04 Sep 2018) | 3 lines Changed paths: M /trunk/src/round_prec.c M /trunk/tests/tcan_round.c [src/round_prec.c] fixed for 16-bit limb [tests/tcan_round.c] improve error message ------------------------------------------------------------------------ r13120 | zimmerma | 2018-09-04 13:33:02 +0000 (Tue, 04 Sep 2018) | 2 lines Changed paths: M /trunk/src/sqrt_ui.c [src/sqrt_ui.c] fixed for 16-bit limb ------------------------------------------------------------------------ r13119 | vlefevre | 2018-09-04 10:44:33 +0000 (Tue, 04 Sep 2018) | 2 lines Changed paths: M /trunk/src/get_si.c [src/get_si.c] Make sure that a left shift is done on an unsigned type (as a left shift on a 0 of signed type was not specified by C90). ------------------------------------------------------------------------ r13118 | zimmerma | 2018-09-04 09:21:29 +0000 (Tue, 04 Sep 2018) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] fix for 16-bit limbs, and added comments ------------------------------------------------------------------------ r13117 | zimmerma | 2018-09-04 09:13:50 +0000 (Tue, 04 Sep 2018) | 2 lines Changed paths: M /trunk/src/rint.c [src/rint.c] fix for 16-bit limb ------------------------------------------------------------------------ r13116 | zimmerma | 2018-09-04 09:12:07 +0000 (Tue, 04 Sep 2018) | 2 lines Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] more detailed error message ------------------------------------------------------------------------ r13115 | zimmerma | 2018-09-04 09:10:34 +0000 (Tue, 04 Sep 2018) | 2 lines Changed paths: M /trunk/src/get_si.c [src/get_si.c] forgot cast when long > limb ------------------------------------------------------------------------ r13114 | zimmerma | 2018-09-04 09:10:11 +0000 (Tue, 04 Sep 2018) | 2 lines Changed paths: M /trunk/src/get_ui.c [src/get_ui.c] forgot cast when long > limb ------------------------------------------------------------------------ r13113 | zimmerma | 2018-09-03 19:35:31 +0000 (Mon, 03 Sep 2018) | 2 lines Changed paths: M /trunk/src/odd_p.c [src/odd_p.c] fix for 16-bit limb ------------------------------------------------------------------------ r13112 | zimmerma | 2018-09-03 19:19:20 +0000 (Mon, 03 Sep 2018) | 2 lines Changed paths: M /trunk/tests/tbeta.c [tests/tbeta.c] exit at the first error ------------------------------------------------------------------------ r13111 | zimmerma | 2018-09-03 15:52:18 +0000 (Mon, 03 Sep 2018) | 3 lines Changed paths: M /trunk/src/get_si.c M /trunk/src/get_ui.c [src/get_si.c] adapt to 16-bit limbs [src/get_ui.c] likewise ------------------------------------------------------------------------ r13110 | zimmerma | 2018-09-03 14:05:11 +0000 (Mon, 03 Sep 2018) | 3 lines Changed paths: M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c [src/cmp_si.c] adapt for reduced exponent range for 16-bit limbs [src/cmp_ui.c] likewise ------------------------------------------------------------------------ r13109 | vlefevre | 2018-09-03 13:32:24 +0000 (Mon, 03 Sep 2018) | 3 lines Changed paths: M /trunk/doc/README.dev M /trunk/tests/mpfr-test.h [tests/mpfr-test.h] If MPFR_TESTS_ABORT is defined, replace exit(1) by abort(), thus with a core dump. [doc/README.dev] Document MPFR_TESTS_ABORT. ------------------------------------------------------------------------ r13108 | zimmerma | 2018-09-03 13:17:45 +0000 (Mon, 03 Sep 2018) | 3 lines Changed paths: M /trunk/src/mul_ui.c M /trunk/tests/tgeneric.c [tests/tgeneric.c] revert 13107 (abort might lose some data in open files) [src/mul_ui.c] fixed for 16-bit limb and reduced exponent range ------------------------------------------------------------------------ r13107 | zimmerma | 2018-09-03 12:38:10 +0000 (Mon, 03 Sep 2018) | 2 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] replace exit(1) by abort() to allow debugging with gdb ------------------------------------------------------------------------ r13106 | zimmerma | 2018-09-03 12:09:07 +0000 (Mon, 03 Sep 2018) | 2 lines Changed paths: M /trunk/src/isinteger.c [src/isinteger.c] fix for 16-bit limb ------------------------------------------------------------------------ r13105 | zimmerma | 2018-09-03 08:35:17 +0000 (Mon, 03 Sep 2018) | 3 lines Changed paths: M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c [src/cmp_si.c] fixed error for 16-bit limb [src/cmp_ui.c] adapted to 16-bit limb ------------------------------------------------------------------------ r13104 | zimmerma | 2018-09-01 08:15:20 +0000 (Sat, 01 Sep 2018) | 2 lines Changed paths: M /trunk/src/cmp_si.c [src/cmp_si.c] adapt for 16-bit limb ------------------------------------------------------------------------ r13103 | zimmerma | 2018-08-31 19:22:05 +0000 (Fri, 31 Aug 2018) | 2 lines Changed paths: M /trunk/src/mul_ui.c [src/mul_ui.c] adapt for 16-bit limb ------------------------------------------------------------------------ r13102 | vlefevre | 2018-08-31 15:43:48 +0000 (Fri, 31 Aug 2018) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] Fixed potential undefined behavior (when mp_limb_t is defined as an unsigned short) with MPFR_LIMB_LSHIFT. ------------------------------------------------------------------------ r13101 | vlefevre | 2018-08-31 15:40:23 +0000 (Fri, 31 Aug 2018) | 4 lines Changed paths: M /trunk/src/add1.c M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Define MPFR_LIMB_LSHIFT(x,c) macro to do a left shift, making sure that the shifted argument is unsigned (needed due to the integer promotion rules when mp_limb_t is defined as an unsigned short). [src/add1.c] Fixed potential undefined behavior with MPFR_LIMB_LSHIFT. ------------------------------------------------------------------------ r13100 | vlefevre | 2018-08-31 15:12:20 +0000 (Fri, 31 Aug 2018) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Corrected a comment and added a warning. ------------------------------------------------------------------------ r13099 | zimmerma | 2018-08-31 14:57:31 +0000 (Fri, 31 Aug 2018) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] fix MPFR_INT_CEIL_LOG2 for 16-bit limb ------------------------------------------------------------------------ r13098 | zimmerma | 2018-08-31 14:47:05 +0000 (Fri, 31 Aug 2018) | 2 lines Changed paths: M /trunk/src/set_si_2exp.c [src/set_si_2exp.c] support 16-bit limbs ------------------------------------------------------------------------ r13097 | vlefevre | 2018-08-31 14:35:07 +0000 (Fri, 31 Aug 2018) | 1 line Changed paths: M /trunk/src/set_ui_2exp.c [src/set_ui_2exp.c] Code formatting. Removed a FIXME (done in r13078). ------------------------------------------------------------------------ r13096 | zimmerma | 2018-08-31 14:32:09 +0000 (Fri, 31 Aug 2018) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] missing cast ------------------------------------------------------------------------ r13095 | zimmerma | 2018-08-31 14:13:52 +0000 (Fri, 31 Aug 2018) | 2 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tadd1sp.c M /trunk/tests/tgeneric.c M /trunk/tests/tmul.c removed TEST_FLAGS stuff ------------------------------------------------------------------------ r13094 | vlefevre | 2018-08-31 12:14:37 +0000 (Fri, 31 Aug 2018) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] More correction about the MPFR_TESTS_TIMEOUT macro. ------------------------------------------------------------------------ r13093 | vlefevre | 2018-08-31 12:09:03 +0000 (Fri, 31 Aug 2018) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Clarification about MPFR_TESTS_TIMEOUT. ------------------------------------------------------------------------ r13092 | vlefevre | 2018-08-31 11:57:08 +0000 (Fri, 31 Aug 2018) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Reverted r13090: this was already mentioned at the right place (do not mix up macros and environment variables). ------------------------------------------------------------------------ r13091 | zimmerma | 2018-08-31 11:54:51 +0000 (Fri, 31 Aug 2018) | 4 lines Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mul.c M /trunk/src/ui_div.c [src/mpfr-gmp.h] added missing udiv_qrnnd for 16-bit limb [src/mul.c] fixed for 16-bit limb [src/ui_div.c] likewise ------------------------------------------------------------------------ r13090 | zimmerma | 2018-08-31 11:37:01 +0000 (Fri, 31 Aug 2018) | 2 lines Changed paths: M /trunk/doc/README.dev [README.dev] mention that MPFR_TESTS_TIMEOUT only works with --enable-tests-timeout ------------------------------------------------------------------------ r13089 | vlefevre | 2018-08-31 11:06:40 +0000 (Fri, 31 Aug 2018) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fix for MS Windows. ------------------------------------------------------------------------ r13088 | vlefevre | 2018-08-31 10:43:50 +0000 (Fri, 31 Aug 2018) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Make sure that MPFR_LONG_WITHIN_LIMB is defined if __GMP_SHORT_LIMB is not defined, as required by the current code. ------------------------------------------------------------------------ r13087 | vlefevre | 2018-08-31 10:22:40 +0000 (Fri, 31 Aug 2018) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Untabified. ------------------------------------------------------------------------ r13086 | zimmerma | 2018-08-31 09:48:01 +0000 (Fri, 31 Aug 2018) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] fixed wrong #ifdef ------------------------------------------------------------------------ r13085 | zimmerma | 2018-08-31 09:39:36 +0000 (Fri, 31 Aug 2018) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] fix for 16-bit limb ------------------------------------------------------------------------ r13084 | zimmerma | 2018-08-31 09:29:16 +0000 (Fri, 31 Aug 2018) | 3 lines Changed paths: M /trunk/src/add1.c M /trunk/tests/tadd.c [src/add1.c] fix for 16-bit limb [tests/tadd.c] more output in case of error ------------------------------------------------------------------------ r13083 | zimmerma | 2018-08-31 08:11:01 +0000 (Fri, 31 Aug 2018) | 2 lines Changed paths: M /trunk/src/add1.c [src/add1.c] fixed compiler warning ------------------------------------------------------------------------ r13082 | zimmerma | 2018-08-31 08:07:00 +0000 (Fri, 31 Aug 2018) | 4 lines Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/sub1sp.c [src/mpfr-gmp.h] removed leftover debug statement [src/mpfr-impl.h] added MPFR_LIMB macro [src/sub1sp.c] fix for 16-bit limb ------------------------------------------------------------------------ r13081 | zimmerma | 2018-08-30 12:07:56 +0000 (Thu, 30 Aug 2018) | 3 lines Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h [src/mpfr-gmp.h] more changes for 16-bit limb [src/mpfr-impl.h] mpfr-longlong.h should not be used for limb < long ------------------------------------------------------------------------ r13080 | zimmerma | 2018-08-30 10:56:29 +0000 (Thu, 30 Aug 2018) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [mpfr-gmp.h] added comment ------------------------------------------------------------------------ r13079 | zimmerma | 2018-08-30 08:21:22 +0000 (Thu, 30 Aug 2018) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c [mpfr-mini-gmp.c] fix for 16-bit limb ------------------------------------------------------------------------ r13078 | zimmerma | 2018-08-30 08:09:21 +0000 (Thu, 30 Aug 2018) | 2 lines Changed paths: M /trunk/src/set_ui_2exp.c [src/set_ui_2exp.c] fix for 16-bit limb ------------------------------------------------------------------------ r13077 | zimmerma | 2018-08-29 15:41:21 +0000 (Wed, 29 Aug 2018) | 2 lines Changed paths: M /trunk/src/round_p.c [src/round_p.c] gmp_fprintf is not defined in mini-gmp ------------------------------------------------------------------------ r13076 | zimmerma | 2018-08-29 15:28:35 +0000 (Wed, 29 Aug 2018) | 2 lines Changed paths: M /trunk/tests/tadd.c [tests/tadd.c] fix for 16-bit limb ------------------------------------------------------------------------ r13075 | zimmerma | 2018-08-29 15:21:38 +0000 (Wed, 29 Aug 2018) | 6 lines Changed paths: M /trunk/src/add1.c [src/add1.c] revert previous commit since it does not remove the warning: add1.c: In function ‘mpfr_add1’: add1.c:407:30: warning: ‘<<’ in boolean context, did you mean ‘<’ ? [-Wint-in-bool-context] if (difs && (cprev << (GMP_NUMB_BITS - difs))) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------------ r13074 | zimmerma | 2018-08-29 15:18:45 +0000 (Wed, 29 Aug 2018) | 2 lines Changed paths: M /trunk/src/add1.c [src/add1.c] fixed compiler warning (with gcc 8.2.0) ------------------------------------------------------------------------ r13073 | vlefevre | 2018-08-29 10:30:11 +0000 (Wed, 29 Aug 2018) | 2 lines Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] Added a comment about a spurious failure with MPFR_RNDF if RND_LOOP_NO_RNDF were not used. ------------------------------------------------------------------------ r13072 | vlefevre | 2018-08-28 21:25:46 +0000 (Tue, 28 Aug 2018) | 1 line Changed paths: M /trunk/tests/tsinh.c [tests/tsinh.c] Fixed test introduced in r13047. ------------------------------------------------------------------------ r13071 | vlefevre | 2018-08-28 21:06:22 +0000 (Tue, 28 Aug 2018) | 4 lines Changed paths: M /trunk/src/add_ui.c M /trunk/src/sub_ui.c M /trunk/src/ui_sub.c [src/{add_ui.c,sub_ui.c,ui_sub.c}] Fixed the bug introduced in r13066 for the cases where MPFR_LONG_WITHIN_LIMB is defined (make sure that a significand allocated in the stack is not freed before the associated mpfr_t object). ------------------------------------------------------------------------ r13070 | vlefevre | 2018-08-28 20:41:10 +0000 (Tue, 28 Aug 2018) | 3 lines Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Extend the exponent range in the case where MPFR_LONG_WITHIN_LIMB is not defined, resolving the FIXME. Note: a test was already there in tdiv_ui via the generic tests. ------------------------------------------------------------------------ r13069 | vlefevre | 2018-08-28 20:32:34 +0000 (Tue, 28 Aug 2018) | 1 line Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] Disabled rnd=MPFR_RNDF in a loop as this now fails. ------------------------------------------------------------------------ r13068 | vlefevre | 2018-08-28 20:29:42 +0000 (Tue, 28 Aug 2018) | 1 line Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] Corrected an error message. ------------------------------------------------------------------------ r13067 | vlefevre | 2018-08-28 20:26:21 +0000 (Tue, 28 Aug 2018) | 4 lines Changed paths: M /trunk/src/div.c M /trunk/src/div_ui.c [src/div.c] Avoid an infinite recursion when MPFR_LONG_WITHIN_LIMB is not defined (mpfr_div calls mpfr_div_ui, which calls mpfr_div). [src/div_ui.c] Made the preprocessor test on MPFR_LONG_WITHIN_LIMB consistent with the ones in the other .c files. ------------------------------------------------------------------------ r13066 | vlefevre | 2018-08-28 20:10:44 +0000 (Tue, 28 Aug 2018) | 3 lines Changed paths: M /trunk/src/add_ui.c M /trunk/src/sub_ui.c M /trunk/src/ui_sub.c [src/{add_ui.c,sub_ui.c,ui_sub.c}] Fixed the cases where MPFR_LONG_WITHIN_LIMB is not defined (regression in the latest changes). Also avoid unused variables. ------------------------------------------------------------------------ r13065 | vlefevre | 2018-08-28 19:44:37 +0000 (Tue, 28 Aug 2018) | 1 line Changed paths: M /trunk/tests/tsubnormal.c Removed trailing whitespace. ------------------------------------------------------------------------ r13064 | vlefevre | 2018-08-28 18:25:05 +0000 (Tue, 28 Aug 2018) | 1 line Changed paths: M /trunk/src/ui_sub.c [src/ui_sub.c] Extend the exponent range early enough. ------------------------------------------------------------------------ r13063 | vlefevre | 2018-08-28 18:23:38 +0000 (Tue, 28 Aug 2018) | 1 line Changed paths: M /trunk/src/add_ui.c [src/add_ui.c] Extend the exponent range early enough. ------------------------------------------------------------------------ r13062 | vlefevre | 2018-08-28 17:39:32 +0000 (Tue, 28 Aug 2018) | 1 line Changed paths: M /trunk/src/sub_ui.c [src/sub_ui.c] Extend the exponent range early enough. ------------------------------------------------------------------------ r13061 | zimmerma | 2018-08-28 14:44:47 +0000 (Tue, 28 Aug 2018) | 2 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] adapt to GMP_NUMB_BITS=16 ------------------------------------------------------------------------ r13060 | vlefevre | 2018-08-28 14:41:23 +0000 (Tue, 28 Aug 2018) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Added a FIXME. ------------------------------------------------------------------------ r13059 | zimmerma | 2018-08-28 14:30:57 +0000 (Tue, 28 Aug 2018) | 2 lines Changed paths: M /trunk/src/set_ld.c [src/set_ld.c] adapt to GMP_NUMB_BITS=16 ------------------------------------------------------------------------ r13058 | zimmerma | 2018-08-28 14:23:10 +0000 (Tue, 28 Aug 2018) | 2 lines Changed paths: M /trunk/src/set_d.c [src/set_d.c] adapt to GMP_NUMB_BITS=16 (not yet tested) ------------------------------------------------------------------------ r13057 | zimmerma | 2018-08-28 14:02:06 +0000 (Tue, 28 Aug 2018) | 2 lines Changed paths: M /trunk/src/exp_2.c [src/exp_2.c] removed a static assertion (duplicate with MPFR_LONG_WITHIN_LIMB) ------------------------------------------------------------------------ r13056 | zimmerma | 2018-08-28 14:01:28 +0000 (Tue, 28 Aug 2018) | 2 lines Changed paths: M /trunk/src/init2.c [src/init2.c] split a static assertion in two ------------------------------------------------------------------------ r13055 | zimmerma | 2018-08-28 14:01:02 +0000 (Tue, 28 Aug 2018) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] allow GMP_NUMB_BITS=16 (experimental, do not use!) ------------------------------------------------------------------------ r13054 | zimmerma | 2018-08-28 14:00:09 +0000 (Tue, 28 Aug 2018) | 2 lines Changed paths: M /trunk/src/set_d.c [src/set_d.c] make it easier to extend to GMP_NUMB_BITS<32 ------------------------------------------------------------------------ r13053 | zimmerma | 2018-08-28 13:48:47 +0000 (Tue, 28 Aug 2018) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] read GMP_NUMB_BITS from mini-gmp.h when available (otherwise assume mp_limb_t == unsigned long) ------------------------------------------------------------------------ r13052 | zimmerma | 2018-08-28 13:28:08 +0000 (Tue, 28 Aug 2018) | 2 lines Changed paths: M /trunk/src/ui_sub.c [src/ui_sub.c] make code work for limb < long ------------------------------------------------------------------------ r13051 | zimmerma | 2018-08-28 13:26:28 +0000 (Tue, 28 Aug 2018) | 2 lines Changed paths: M /trunk/src/sub_ui.c [src/sub_ui.c] make code work for limb < long ------------------------------------------------------------------------ r13050 | zimmerma | 2018-08-28 13:24:07 +0000 (Tue, 28 Aug 2018) | 2 lines Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] make code work for limb < long ------------------------------------------------------------------------ r13049 | zimmerma | 2018-08-28 13:18:16 +0000 (Tue, 28 Aug 2018) | 2 lines Changed paths: M /trunk/src/add_ui.c [src/add_ui.c] make code work for limb < long ------------------------------------------------------------------------ r13048 | zimmerma | 2018-08-28 13:01:48 +0000 (Tue, 28 Aug 2018) | 2 lines Changed paths: M /trunk/doc/mini-gmp [mini-gmp] update ------------------------------------------------------------------------ r13047 | zimmerma | 2018-08-28 12:44:48 +0000 (Tue, 28 Aug 2018) | 2 lines Changed paths: M /trunk/tests/tsinh.c [tests/tsinh.c] improve coverage ------------------------------------------------------------------------ r13046 | zimmerma | 2018-08-28 08:05:06 +0000 (Tue, 28 Aug 2018) | 2 lines Changed paths: M /trunk/tests/tsubnormal.c [tests/tsubnormal.c] improve coverage ------------------------------------------------------------------------ r13045 | vlefevre | 2018-08-27 15:45:32 +0000 (Mon, 27 Aug 2018) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Added a FIXME about cp vs tp. ------------------------------------------------------------------------ r13044 | zimmerma | 2018-08-27 15:18:25 +0000 (Mon, 27 Aug 2018) | 2 lines Changed paths: M /trunk/tests/tmul.c [tests/tmul.c] improve coverage ------------------------------------------------------------------------ r13043 | vlefevre | 2018-08-27 15:03:05 +0000 (Mon, 27 Aug 2018) | 5 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Avoid bad usage of tp in the generic code: * In the case d == 1, two branches were inconsistent: tp not defined at the same level, with one shadowing the other one. * In the case 2 <= d < p, tp was reused with a different meanings; renamed the second one to cp, as this is MPFR_MANT(c). ------------------------------------------------------------------------ r13042 | vlefevre | 2018-08-27 14:41:32 +0000 (Mon, 27 Aug 2018) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Re-added/updated FIXME about the long backward goto's. ------------------------------------------------------------------------ r13041 | vlefevre | 2018-08-27 13:11:02 +0000 (Mon, 27 Aug 2018) | 2 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/mul.c [src/{add1sp.c,mul.c}] Updated the condition to use the formally extracted code and added a corresponding comment. ------------------------------------------------------------------------ r13040 | zimmerma | 2018-08-27 13:06:17 +0000 (Mon, 27 Aug 2018) | 2 lines Changed paths: M /trunk/src/const_log2.c [src/const_log2.c] further improve coverage ------------------------------------------------------------------------ r13039 | vlefevre | 2018-08-27 12:51:11 +0000 (Mon, 27 Aug 2018) | 2 lines Changed paths: M /trunk/src/cache.c [src/cache.c] Improved variable names (→ dprec for the precision of dest and cprec for the precision of the cache) and added/updated comments. ------------------------------------------------------------------------ r13038 | vlefevre | 2018-08-27 12:32:49 +0000 (Mon, 27 Aug 2018) | 2 lines Changed paths: M /trunk/src/cache.c [src/cache.c] Reverted r13036 as what matters is the target precision, which can be very small. ------------------------------------------------------------------------ r13037 | zimmerma | 2018-08-27 12:23:42 +0000 (Mon, 27 Aug 2018) | 5 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/add1sp1_extracted.c M /trunk/src/mul.c M /trunk/src/mul_1_extracted.c [src/add1sp1_extracted.c] replaced extracted code by new for MPFR_PREC_BITS=64 [src/mul_1_extracted.c] likewise [src/add1sp.c] changed condition to use the formally extracted code [src/mul.c] likewise (but code is still not yet activated here) ------------------------------------------------------------------------ r13036 | vlefevre | 2018-08-27 12:20:47 +0000 (Mon, 27 Aug 2018) | 2 lines Changed paths: M /trunk/src/cache.c [src/cache.c] Comment: In practice, the "overflow handler" of MPFR_RNDRAW_GEN should never be called. ------------------------------------------------------------------------ r13035 | zimmerma | 2018-08-27 12:19:51 +0000 (Mon, 27 Aug 2018) | 3 lines Changed paths: M /trunk/src/const_log2.c M /trunk/tests/tconst_log2.c [src/const_log2.c] avoid hard-coded values [tests/tconst_log2.c] improve coverage ------------------------------------------------------------------------ r13034 | vlefevre | 2018-08-27 12:12:48 +0000 (Mon, 27 Aug 2018) | 2 lines Changed paths: M /trunk/src/cache.c [src/cache.c] Replaced a test + mpfr_overflow by a MPFR_ASSERTD since the cached value (in extended exponent range) cannot overflow. ------------------------------------------------------------------------ r13033 | zimmerma | 2018-08-27 11:31:15 +0000 (Mon, 27 Aug 2018) | 3 lines Changed paths: M /trunk/src/const_euler.c M /trunk/tests/tconst_euler.c [src/const_euler.c] better choice of (initial) working precision [tests/tconst_euler.c] added coverage test ------------------------------------------------------------------------ r13032 | vlefevre | 2018-08-27 11:24:10 +0000 (Mon, 27 Aug 2018) | 6 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Update concerning the shared cache, to be consistent with the other mpfr_buildopt_*_p features: * check that mpfr_buildopt_sharedcache_p() and MPFR_WANT_SHARED_CACHE match; * for the output of the value, test mpfr_buildopt_sharedcache_p() instead of the macro. ------------------------------------------------------------------------ r13031 | zimmerma | 2018-08-27 11:11:42 +0000 (Mon, 27 Aug 2018) | 2 lines Changed paths: M /trunk/tests/tconst_catalan.c [tests/tconst_catalan.c] improve coverage ------------------------------------------------------------------------ r13030 | zimmerma | 2018-08-27 09:38:52 +0000 (Mon, 27 Aug 2018) | 2 lines Changed paths: M /trunk/tests/tbuildopt.c [tests/tbuildopt.c] added check of mpfr_buildopt_sharedcache_p() ------------------------------------------------------------------------ r13028 | vlefevre | 2018-08-27 08:57:23 +0000 (Mon, 27 Aug 2018) | 1 line Changed paths: M /trunk/src/sub1sp.c Removed trailing whitespace. ------------------------------------------------------------------------ r13027 | zimmerma | 2018-08-27 08:45:41 +0000 (Mon, 27 Aug 2018) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] fixed even rule for p=1 ------------------------------------------------------------------------ r13026 | vlefevre | 2018-08-27 01:42:20 +0000 (Mon, 27 Aug 2018) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Mention WG14/N2270 (proposed maybe_unused attribute), which could be useful to avoid MPFR_DBGRES. ------------------------------------------------------------------------ r13024 | zimmerma | 2018-08-24 15:44:10 +0000 (Fri, 24 Aug 2018) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] finished simplifying the mpfr_sub1sp code ------------------------------------------------------------------------ r13023 | zimmerma | 2018-08-24 14:53:32 +0000 (Fri, 24 Aug 2018) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] simplified the computation of sbb ------------------------------------------------------------------------ r13022 | zimmerma | 2018-08-24 14:45:06 +0000 (Fri, 24 Aug 2018) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] full rewrite of mpfr_sub1sp (work in progress) ------------------------------------------------------------------------ r13020 | vlefevre | 2018-08-23 14:31:16 +0000 (Thu, 23 Aug 2018) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output "Enable formally proven code" info. ------------------------------------------------------------------------ r13019 | vlefevre | 2018-08-23 14:26:09 +0000 (Thu, 23 Aug 2018) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Describe MPFR_WANT_PROVEN_CODE. ------------------------------------------------------------------------ r13018 | vlefevre | 2018-08-23 14:24:23 +0000 (Thu, 23 Aug 2018) | 3 lines Changed paths: M /trunk/configure.ac M /trunk/src/add1sp.c M /trunk/src/mul.c Renamed WANT_PROVEN_CODE to MPFR_WANT_PROVEN_CODE for consistency with the other WANT macros (and to avoid potential clashes with foreign .h files). ------------------------------------------------------------------------ r13017 | vlefevre | 2018-08-23 11:08:47 +0000 (Thu, 23 Aug 2018) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] For some tests, ignore extracted files (proven code). ------------------------------------------------------------------------ r13016 | zimmerma | 2018-08-23 10:03:52 +0000 (Thu, 23 Aug 2018) | 2 lines Changed paths: M /trunk/AUTHORS M /trunk/doc/mpfr.texi M /trunk/src/mul.c the mpfr_mul_1 extracted code is not proven yet ------------------------------------------------------------------------ r13015 | vlefevre | 2018-08-23 09:57:09 +0000 (Thu, 23 Aug 2018) | 6 lines Changed paths: M /trunk/configure.ac M /trunk/src/add1sp.c M /trunk/src/mul.c For --enable-formally-proven-code, instead of requiring a check of the type sizes in configure, just enable the proven code only if the types have the sizes expected by this code. * configure.ac: removed the FIXME. * src/add1sp.c, src/mul.c: updated the #if test that enables the proven code (add1sp1_extracted.c and mul_1_extracted.c). ------------------------------------------------------------------------ r13014 | vlefevre | 2018-08-23 09:23:21 +0000 (Thu, 23 Aug 2018) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Updated FIXME for --enable-formally-proven-code (many failures with -m32 due to assumptions on type sizes). ------------------------------------------------------------------------ r13013 | vlefevre | 2018-08-23 08:54:16 +0000 (Thu, 23 Aug 2018) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Added a FIXME for --enable-formally-proven-code. ------------------------------------------------------------------------ r13012 | vlefevre | 2018-08-23 08:39:47 +0000 (Thu, 23 Aug 2018) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Updated message for --enable-formally-proven-code. ------------------------------------------------------------------------ r13011 | zimmerma | 2018-08-23 07:31:06 +0000 (Thu, 23 Aug 2018) | 2 lines Changed paths: M /trunk/AUTHORS M /trunk/NEWS M /trunk/configure.ac M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am M /trunk/src/add1sp.c A /trunk/src/add1sp1_extracted.c M /trunk/src/mul.c A /trunk/src/mul_1_extracted.c added configure option --enable-formally-proven-code and corresponding code ------------------------------------------------------------------------ r13009 | vlefevre | 2018-08-22 12:52:28 +0000 (Wed, 22 Aug 2018) | 1 line Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Ulp calculus: swap Rule 4 and Rule 5. ------------------------------------------------------------------------ r13008 | vlefevre | 2018-08-22 12:49:45 +0000 (Wed, 22 Aug 2018) | 1 line Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Ulp calculus Rule 4: make the proof much simpler. ------------------------------------------------------------------------ r13007 | vlefevre | 2018-08-22 12:27:42 +0000 (Wed, 22 Aug 2018) | 1 line Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Error calculus: implicitly assume x ≠ 0 in ulp. ------------------------------------------------------------------------ r13006 | vlefevre | 2018-08-22 09:31:21 +0000 (Wed, 22 Aug 2018) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Updated a FIXME. ------------------------------------------------------------------------ r13005 | vlefevre | 2018-08-22 09:23:04 +0000 (Wed, 22 Aug 2018) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Removed a comment that brings nothing and is not really correct (this is not a "flag"). ------------------------------------------------------------------------ r13004 | zimmerma | 2018-08-22 07:47:38 +0000 (Wed, 22 Aug 2018) | 2 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tadd1sp.c M /trunk/tests/tgeneric.c M /trunk/tests/tmul.c [tests/mpfr-test.h] added macro TEST_FLAGS (debug use only) ------------------------------------------------------------------------ r13003 | vlefevre | 2018-08-22 03:01:16 +0000 (Wed, 22 Aug 2018) | 2 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Portability corrections related to the use of the preprocessor / code robustness. ------------------------------------------------------------------------ r13002 | zimmerma | 2018-08-21 15:36:29 +0000 (Tue, 21 Aug 2018) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] revert mpfr_sub1sp to the version of revision 12241 ------------------------------------------------------------------------ r13001 | zimmerma | 2018-08-21 14:39:43 +0000 (Tue, 21 Aug 2018) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] fixed bug20180813 ------------------------------------------------------------------------ r13000 | zimmerma | 2018-08-21 13:50:13 +0000 (Tue, 21 Aug 2018) | 2 lines Changed paths: M /trunk/tests/tsub1sp.c [tests/tsub1sp.c] improved comment about bug20180813() ------------------------------------------------------------------------ r12998 | vlefevre | 2018-08-21 13:04:44 +0000 (Tue, 21 Aug 2018) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r12997 | zimmerma | 2018-08-21 11:01:14 +0000 (Tue, 21 Aug 2018) | 2 lines Changed paths: M /trunk/tests/tsub1sp.c [tests/tsub1sp.c] added a test for a bug in mpfr_sub1sp (to be fixed) ------------------------------------------------------------------------ r12996 | vlefevre | 2018-08-20 15:33:12 +0000 (Mon, 20 Aug 2018) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Replaced "Section ``Rounding''" by "@ref{Rounding}". ------------------------------------------------------------------------ r12995 | zimmerma | 2018-08-20 14:52:54 +0000 (Mon, 20 Aug 2018) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] renamed Section "Rounding Modes" to "Rounding" ------------------------------------------------------------------------ r12991 | vlefevre | 2018-08-18 10:03:58 +0000 (Sat, 18 Aug 2018) | 5 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/memory.c Avoid a pointer-to-int-cast warning with GCC (e.g. under 32-bit Linux) by casting pointers to uintptr_t before the cast to mpfr_uintmax_t. * acinclude.m4: use AC_TYPE_UINTPTR_T to define uintptr_t if not available. * tests/memory.c: added casts to uintptr_t. ------------------------------------------------------------------------ r12990 | vlefevre | 2018-08-16 14:37:13 +0000 (Thu, 16 Aug 2018) | 1 line Changed paths: M /trunk/src/invert_limb.h M /trunk/src/invsqrt_limb.h Code robustness in macro definitions. ------------------------------------------------------------------------ r12989 | vlefevre | 2018-08-16 14:29:34 +0000 (Thu, 16 Aug 2018) | 2 lines Changed paths: M /trunk/src/sqr.c [src/sqr.c] Changed a variable name to avoid confusion with the function parameter of the same name, which has a different type. ------------------------------------------------------------------------ r12988 | vlefevre | 2018-08-16 14:16:36 +0000 (Thu, 16 Aug 2018) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a cast to mp_bitcnt_t in order to fix potential integer overflow in MPFR_MPZ_SIZEINBASE2. ------------------------------------------------------------------------ r12987 | vlefevre | 2018-08-16 13:54:13 +0000 (Thu, 16 Aug 2018) | 1 line Changed paths: M /trunk/src/round_raw_generic.c [src/round_raw_generic.c] Type consistency. ------------------------------------------------------------------------ r12986 | vlefevre | 2018-08-16 13:52:02 +0000 (Thu, 16 Aug 2018) | 3 lines Changed paths: M /trunk/src/bernoulli.c M /trunk/src/jn.c M /trunk/src/mpfr-impl.h Added MPFR_INC_PREC definition (similar to MPFR_ADD_PREC) and replaced some MPFR_ADD_PREC occurrences by MPFR_INC_PREC. In src/bernoulli.c, replaced += by MPFR_INC_PREC to detect overflow. ------------------------------------------------------------------------ r12985 | vlefevre | 2018-08-11 00:51:13 +0000 (Sat, 11 Aug 2018) | 1 line Changed paths: M /trunk/doc/README.dev M /trunk/tools/build-patch Replaced "TZ=UTC" by "TZ=UTC0" for portability. ------------------------------------------------------------------------ r12984 | vlefevre | 2018-08-06 13:01:51 +0000 (Mon, 06 Aug 2018) | 3 lines Changed paths: M /trunk/src/round_raw_generic.c [src/round_raw_generic.c] Avoid a useless variable. This should also avoid warnings with Windows ICC, reported at: https://sympa.inria.fr/sympa/arc/mpfr/2018-08/msg00002.html ------------------------------------------------------------------------ r12983 | vlefevre | 2018-08-06 12:35:06 +0000 (Mon, 06 Aug 2018) | 3 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Added missing casts for printf (error messages). Bug detected under MS Windows, where size_t > unsigned long. See: https://sympa.inria.fr/sympa/arc/mpfr/2018-08/msg00002.html ------------------------------------------------------------------------ r12982 | vlefevre | 2018-08-06 12:17:55 +0000 (Mon, 06 Aug 2018) | 4 lines Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] Improved the conditions for test_20170105(). In particular, the new preprocessor test can avoid spurious warnings on large shifts (false positives) with MS Windows. See: https://sympa.inria.fr/sympa/arc/mpfr/2018-08/msg00002.html ------------------------------------------------------------------------ r12981 | vlefevre | 2018-08-06 12:00:28 +0000 (Mon, 06 Aug 2018) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] More details about intmax_t, mpfr_intmax_t, etc. ------------------------------------------------------------------------ r12980 | vlefevre | 2018-08-06 10:41:26 +0000 (Mon, 06 Aug 2018) | 4 lines Changed paths: M /trunk/tests/memory.c [tests/memory.c] To print a size_t or a pointer in error messages, cast to mpfr_uintmax_t (largest integer type available) instead of unsigned long, which may be too short (e.g. under MS Windows). See: https://sympa.inria.fr/sympa/arc/mpfr/2018-08/msg00002.html ------------------------------------------------------------------------ r12979 | vlefevre | 2018-08-06 10:29:14 +0000 (Mon, 06 Aug 2018) | 2 lines Changed paths: M /trunk/src/mpfr-intmax.h [src/mpfr-intmax.h] Define MPFR_INTMAX_FSPEC macro: length modifier for printf corresponding to mpfr_intmax_t and mpfr_uintmax_t. ------------------------------------------------------------------------ r12978 | vlefevre | 2018-08-06 02:04:14 +0000 (Mon, 06 Aug 2018) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated/added links about coding standards and C. ------------------------------------------------------------------------ r12977 | vlefevre | 2018-08-05 21:26:21 +0000 (Sun, 05 Aug 2018) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Updated a comment: more details about __GMP_DECLSPEC, in particular those found in GMP's longlong.h file. ------------------------------------------------------------------------ r12976 | vlefevre | 2018-08-05 16:03:33 +0000 (Sun, 05 Aug 2018) | 19 lines Changed paths: M /trunk/src/mpfr-longlong.h [src/mpfr-longlong.h] Replaced __GMP_DECLSPEC by __MPFR_DECLSPEC. Otherwise, with Windows DLL, __GMP_DECLSPEC is replaced by __declspec(dllimport), which is wrong when building MPFR and yields warning LNK4217 such as: eint.obj : warning LNK4217: locally defined symbol mpfr_clz_tab imported in function mpfr_eint due to extern const unsigned char __GMP_DECLSPEC __clz_tab[129]; (note that mpfr_clz_tab is defined with "#define __clz_tab mpfr_clz_tab" only without the GMP build). See: https://sympa.inria.fr/sympa/arc/mpfr/2018-08/msg00000.html https://sympa.inria.fr/sympa/arc/mpfr/2018-08/msg00001.html ------------------------------------------------------------------------ r12975 | vlefevre | 2018-08-05 15:59:29 +0000 (Sun, 05 Aug 2018) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Check that __GMP_DECLSPEC is not used by MPFR. ------------------------------------------------------------------------ r12970 | vlefevre | 2018-07-31 10:58:39 +0000 (Tue, 31 Jul 2018) | 4 lines Changed paths: M /trunk M /trunk/tests/tversion.c [tests/tversion.c] Try to detect missing output from the first printf that occurred once with i586-mingw32msvc-gcc -D__USE_MINGW_ANSI_STDIO and run under Wine. (merged changesets r12968-12969 from the 4.0 branch) ------------------------------------------------------------------------ r12964 | vlefevre | 2018-07-27 16:24:08 +0000 (Fri, 27 Jul 2018) | 4 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/tests/tsprintf.c [acinclude.m4,configure.ac] Check the support of the group flag for native integers, which is a Single UNIX Specification extension. [tests/tsprintf.c] Test the group flag with the P length modifier only when supported, since the implementation relies on this support. ------------------------------------------------------------------------ r12963 | vlefevre | 2018-07-27 14:41:02 +0000 (Fri, 27 Jul 2018) | 8 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tsprintf.c [src/vasprintf.c] Fixed bug with the P length modifier (mpfr_prec_t): a '0' flag was always added when calling gmp_asprintf. This bug wasn't detected under Linux because the case for which it was occurring (left space padding without a precision and without a '0' flag) was not tested. With Wine, tsprintf was failing because of a bug in the stdio library: the '0' flag added by mistake should have been ignored in some test with a precision, but it wasn't. [tests/tsprintf.c] Added a test that made a failure occur under Linux. ------------------------------------------------------------------------ r12962 | vlefevre | 2018-07-27 12:46:39 +0000 (Fri, 27 Jul 2018) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added 2 other tests with the P length modifier. ------------------------------------------------------------------------ r12961 | vlefevre | 2018-07-27 12:37:46 +0000 (Fri, 27 Jul 2018) | 2 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tsprintf.c [src/vasprintf.c] Fixed bug with the P length modifier (mpfr_prec_t). [tests/tsprintf.c] Corrected/added tests with the P length modifier. ------------------------------------------------------------------------ r12960 | vlefevre | 2018-07-26 11:33:54 +0000 (Thu, 26 Jul 2018) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Fixed various overflow and close-to-overflow issues. Those with the P length modifier (mpfr_prec_t) will be fixed later. ------------------------------------------------------------------------ r12959 | vlefevre | 2018-07-26 11:29:36 +0000 (Thu, 26 Jul 2018) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Another failure with the P length modifier. ------------------------------------------------------------------------ r12958 | vlefevre | 2018-07-26 11:06:35 +0000 (Thu, 26 Jul 2018) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added tests with the P length modifier (mpfr_prec_t), yielding mode failures. ------------------------------------------------------------------------ r12957 | vlefevre | 2018-07-26 10:12:47 +0000 (Thu, 26 Jul 2018) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Fixed "store to null pointer" and free of bad pointer in case of error. ------------------------------------------------------------------------ r12956 | vlefevre | 2018-07-26 10:03:13 +0000 (Thu, 26 Jul 2018) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added a test that yields a "store to null pointer", detected by UBsan. ------------------------------------------------------------------------ r12955 | vlefevre | 2018-07-25 14:04:12 +0000 (Wed, 25 Jul 2018) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Bug fix: in case of some errors (via "goto error;"), va_end wasn't called, yielding undefined behavior. ------------------------------------------------------------------------ r12951 | vlefevre | 2018-07-23 08:21:11 +0000 (Mon, 23 Jul 2018) | 1 line Changed paths: M /trunk/tests [tests] Added tget_set_d128 to svn:ignore property. ------------------------------------------------------------------------ r12949 | vlefevre | 2018-07-23 00:54:17 +0000 (Mon, 23 Jul 2018) | 1 line Changed paths: M /trunk/src/erf.c [src/erf.c] More security about tauk. ------------------------------------------------------------------------ r12948 | vlefevre | 2018-07-23 00:09:44 +0000 (Mon, 23 Jul 2018) | 1 line Changed paths: M /trunk/src/erf.c [src/erf.c] Removed a meaningless cast. ------------------------------------------------------------------------ r12947 | zimmerma | 2018-07-22 21:31:59 +0000 (Sun, 22 Jul 2018) | 2 lines Changed paths: M /trunk/src/erf.c [src/erf.c] replaced double's by mpfr_t to fix bug reported by Naoki Shibata ------------------------------------------------------------------------ r12946 | vlefevre | 2018-07-22 20:39:00 +0000 (Sun, 22 Jul 2018) | 5 lines Changed paths: M /trunk/tests/terf.c [tests/terf.c] Added a testcase for bug reported by Naoki Shibata: https://sympa.inria.fr/sympa/arc/mpfr/2018-07/msg00028.html (uceil_log2.c:40: MPFR assertion failed: exp < 1023). Increased the number of generic tests in order to reproduce the bug there too with the default seed. ------------------------------------------------------------------------ r12945 | vlefevre | 2018-07-21 01:13:20 +0000 (Sat, 21 Jul 2018) | 1 line Changed paths: M /trunk/src/subnormal.c [src/subnormal.c] C89 compatibility. ------------------------------------------------------------------------ r12944 | zimmerma | 2018-07-21 00:55:29 +0000 (Sat, 21 Jul 2018) | 2 lines Changed paths: M /trunk/src/subnormal.c M /trunk/tests/tsubnormal.c [src/subnormal.c] experimental support for RNDNA ------------------------------------------------------------------------ r12943 | vlefevre | 2018-07-20 13:09:20 +0000 (Fri, 20 Jul 2018) | 2 lines Changed paths: M /trunk/Makefile.am A /trunk/examples/threads.c Added examples/threads.c (and updated Makefile.am): multithreading test to detect scaling issues with MPFR. ------------------------------------------------------------------------ r12942 | vlefevre | 2018-07-19 09:46:48 +0000 (Thu, 19 Jul 2018) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Updated a FIXME. ------------------------------------------------------------------------ r12941 | vlefevre | 2018-07-19 08:32:21 +0000 (Thu, 19 Jul 2018) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] More FIXME's. ------------------------------------------------------------------------ r12940 | vlefevre | 2018-07-19 07:44:54 +0000 (Thu, 19 Jul 2018) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Reindentation. ------------------------------------------------------------------------ r12939 | vlefevre | 2018-07-19 07:35:06 +0000 (Thu, 19 Jul 2018) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added a FIXME for MPFR_PREC_ARG handling. ------------------------------------------------------------------------ r12937 | vlefevre | 2018-07-18 23:59:09 +0000 (Wed, 18 Jul 2018) | 10 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/README.dev M /trunk/src/buildopt.c M /trunk/src/free_cache.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-thread.h M /trunk/tests/tconst_pi.c M /trunk/tests/tversion.c Shared caches: fix and minor changes. * Fixed detection and use of C11 thread support: the C11 header is , not . * Renamed WANT_SHARED_CACHE to MPFR_WANT_SHARED_CACHE for consistency with the other MPFR_WANT_* macros. * Added MPFR_THREAD_LOCK_METHOD macro, giving the thread locking method as a string (when shared caches are enabled). * doc/README.dev: documented 4 macros for shared caches. * tests/tversion.c: output MPFR_WANT_SHARED_CACHE and MPFR_THREAD_LOCK_METHOD information. ------------------------------------------------------------------------ r12935 | vlefevre | 2018-07-18 23:15:14 +0000 (Wed, 18 Jul 2018) | 3 lines Changed paths: M /trunk/tests/tconst_pi.c [tests/tconst_pi.c] Removed an incorrect assertion, as the #else would be applicable when WANT_SHARED_CACHE is defined but not HAVE_PTHREAD (which may occur when MPFR_HAVE_C11_LOCK is defined). ------------------------------------------------------------------------ r12934 | vlefevre | 2018-07-18 13:33:13 +0000 (Wed, 18 Jul 2018) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Fixed type in partition_number to be consistent with the end of the function. ------------------------------------------------------------------------ r12933 | vlefevre | 2018-07-16 14:17:55 +0000 (Mon, 16 Jul 2018) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added 2 FIXME and removed an incorrect MPFR_ASSERTN (which came from r5236). ------------------------------------------------------------------------ r12932 | vlefevre | 2018-07-16 13:56:39 +0000 (Mon, 16 Jul 2018) | 3 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added other tests to check_length_overflow, which would trigger other bugs in src/vasprintf.c (e.g. when removing the other failing tests). ------------------------------------------------------------------------ r12931 | vlefevre | 2018-07-16 13:33:33 +0000 (Mon, 16 Jul 2018) | 4 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added check_length_overflow to check the behavior of mpfr_snprintf on a large number of output characters (> INT_MAX) with size = 0. This test is actually done only if INT_MAX == 2147483647 and currently fails in such a case. ------------------------------------------------------------------------ r12930 | vlefevre | 2018-07-16 13:22:58 +0000 (Mon, 16 Jul 2018) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Updated comment about overflow on the number of output characters, taking into account the latest ISO C and POSIX standards. ------------------------------------------------------------------------ r12929 | vlefevre | 2018-07-16 12:45:59 +0000 (Mon, 16 Jul 2018) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Updated a comment. ------------------------------------------------------------------------ r12928 | vlefevre | 2018-07-13 14:43:40 +0000 (Fri, 13 Jul 2018) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Simplified mpfr_get_str_wrapper. ------------------------------------------------------------------------ r12927 | vlefevre | 2018-07-13 13:38:08 +0000 (Fri, 13 Jul 2018) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added a log message. ------------------------------------------------------------------------ r12926 | vlefevre | 2018-07-13 13:15:01 +0000 (Fri, 13 Jul 2018) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a FIXME: _Decimal128 code and _MPFR_IEEE_FLOATS (which is about binary IEEE-754 floating point) should be unrelated. ------------------------------------------------------------------------ r12925 | vlefevre | 2018-07-13 12:28:36 +0000 (Fri, 13 Jul 2018) | 8 lines Changed paths: M /trunk/src/get_d64.c [src/get_d64.c] * Added FIXME's for get_decimal64_nan and get_decimal64_inf internal functions: possible issue with _MPFR_IEEE_FLOATS code, which also seems more complex than the generic code. * Simplified get_decimal64_zero internal function to generate a decimal zero directly instead of using the fact that a binary64 zero is also the encoding of a decimal zero (and assuming that double = binary64 with perfect endianness matching). ------------------------------------------------------------------------ r12922 | vlefevre | 2018-07-13 10:28:16 +0000 (Fri, 13 Jul 2018) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Updated message about the _Float128 support, since this is not just about the compiler. ------------------------------------------------------------------------ r12921 | vlefevre | 2018-07-13 10:20:28 +0000 (Fri, 13 Jul 2018) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed the _Float128 / __float128 detection for NetBSD: Optimization made the "undefined reference" error disappear, so that __float128 was misdetected as being supported. ------------------------------------------------------------------------ r12915 | vlefevre | 2018-07-12 14:27:50 +0000 (Thu, 12 Jul 2018) | 5 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] For the _Float128 / __float128 detection, changed AC_COMPILE_IFELSE to AC_LINK_IFELSE since an error may occur only at link time, such as under NetBSD: https://mail-index.netbsd.org/pkgsrc-users/2018/02/02/msg026220.html https://mail-index.netbsd.org/pkgsrc-users/2018/02/05/msg026238.html ------------------------------------------------------------------------ r12913 | vlefevre | 2018-07-12 12:28:58 +0000 (Thu, 12 Jul 2018) | 4 lines Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] Corrected check-exported-symbols to avoid a failure when the default .SHELLFLAGS value is '-ec' (POSIX) instead of '-c' (GNU Make, which is not in POSIX-conforming mode by default). Bug found on FreeBSD 11.1 (Compile Farm @ HouseGordon.com). ------------------------------------------------------------------------ r12912 | vlefevre | 2018-07-11 08:39:58 +0000 (Wed, 11 Jul 2018) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] In buffer_sandwich, simplified the handling of the trailing zero (avoid memset and a useless assignment). ------------------------------------------------------------------------ r12908 | vlefevre | 2018-07-09 14:05:45 +0000 (Mon, 09 Jul 2018) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] More changes to Section "Nomenclature and Types"; in particular, defined regular numbers and exponents. ------------------------------------------------------------------------ r12907 | vlefevre | 2018-07-09 13:39:14 +0000 (Mon, 09 Jul 2018) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] In Section "Nomenclature and Types", removed all the @noindent, whose purpose is unclear (if one needs something special, an itemized list would be better, or possibly @deffn). ------------------------------------------------------------------------ r12906 | vlefevre | 2018-07-09 13:30:02 +0000 (Mon, 09 Jul 2018) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Rewrote the paragraph defining "floating-point number" in Section "Nomenclature and Types", avoiding ambiguities. ------------------------------------------------------------------------ r12903 | vlefevre | 2018-07-06 14:01:06 +0000 (Fri, 06 Jul 2018) | 1 line Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Grrr... again a copy-paste error. Now OK. ------------------------------------------------------------------------ r12902 | vlefevre | 2018-07-06 13:58:49 +0000 (Fri, 06 Jul 2018) | 2 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c [tests/{tprintf.c,tsprintf.c}] Corrected the tests added in r12898, but tprintf still fails. ------------------------------------------------------------------------ r12901 | vlefevre | 2018-07-06 13:53:26 +0000 (Fri, 06 Jul 2018) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Corrected the latest tests. ------------------------------------------------------------------------ r12900 | vlefevre | 2018-07-06 13:51:41 +0000 (Fri, 06 Jul 2018) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added tests (failure on "%09.3Rg" for 1000). ------------------------------------------------------------------------ r12899 | vlefevre | 2018-07-06 13:45:00 +0000 (Fri, 06 Jul 2018) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Corrected comments. ------------------------------------------------------------------------ r12898 | vlefevre | 2018-07-06 13:41:37 +0000 (Fri, 06 Jul 2018) | 1 line Changed paths: M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c [tests/{tprintf.c,tsprintf.c}] Added tests (both programs fail). ------------------------------------------------------------------------ r12896 | vlefevre | 2018-07-06 13:26:15 +0000 (Fri, 06 Jul 2018) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r12895 | vlefevre | 2018-07-06 13:25:43 +0000 (Fri, 06 Jul 2018) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Corrected comments and coding style. ------------------------------------------------------------------------ r12894 | vlefevre | 2018-07-06 13:17:40 +0000 (Fri, 06 Jul 2018) | 8 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Resolve the FIXME. * Renamed ip_trailing_zeros to ip_trailing_digits, since when spec.size == 0, these can be any digits. * Simplified the buffer_sandwich function since it can be called only when spec.size != 0, in which case tz (= ip_trailing_digits) is either 0 or 1 (a trailing zero must be added only when rounding to the next power of ten in the %f case). * Corrected/removed/added comments. ------------------------------------------------------------------------ r12893 | vlefevre | 2018-07-06 11:49:12 +0000 (Fri, 06 Jul 2018) | 2 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c [tests/{tprintf.c,tsprintf.c}] Added tests with powers of ten in all rounding modes and powers of ten + 0.5 in rounding to nearest. ------------------------------------------------------------------------ r12889 | zimmerma | 2018-07-05 07:22:01 +0000 (Thu, 05 Jul 2018) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] typo in Fredrik's name ------------------------------------------------------------------------ r12888 | zimmerma | 2018-07-05 07:19:35 +0000 (Thu, 05 Jul 2018) | 2 lines Changed paths: M /trunk/AUTHORS [AUTHORS] typo in Fredrik's name ------------------------------------------------------------------------ r12887 | vlefevre | 2018-07-04 15:14:21 +0000 (Wed, 04 Jul 2018) | 1 line Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Added a TODO (for the FIXME in src/vasprintf.c). ------------------------------------------------------------------------ r12886 | vlefevre | 2018-07-04 15:04:00 +0000 (Wed, 04 Jul 2018) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Updated the FIXME comment. ------------------------------------------------------------------------ r12885 | vlefevre | 2018-07-04 14:38:04 +0000 (Wed, 04 Jul 2018) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added a FIXME comment about an incorrect comment. ------------------------------------------------------------------------ r12884 | vlefevre | 2018-07-04 14:30:16 +0000 (Wed, 04 Jul 2018) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added log messages in buffer_sandwich. ------------------------------------------------------------------------ r12883 | vlefevre | 2018-07-04 14:20:29 +0000 (Wed, 04 Jul 2018) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added more tests of the form 10^i - 1/2 (like in tprintf.c). ------------------------------------------------------------------------ r12882 | vlefevre | 2018-07-04 14:00:08 +0000 (Wed, 04 Jul 2018) | 1 line Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Added more tests of the form 10^i - 1/2. ------------------------------------------------------------------------ r12881 | vlefevre | 2018-07-04 13:40:12 +0000 (Wed, 04 Jul 2018) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added test_locale() test based on the tprintf.c one. ------------------------------------------------------------------------ r12880 | vlefevre | 2018-07-04 13:36:32 +0000 (Wed, 04 Jul 2018) | 1 line Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Minor correction. ------------------------------------------------------------------------ r12879 | vlefevre | 2018-07-04 13:27:49 +0000 (Wed, 04 Jul 2018) | 1 line Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] More test_locale() cleanup. ------------------------------------------------------------------------ r12878 | vlefevre | 2018-07-04 13:11:01 +0000 (Wed, 04 Jul 2018) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] English usage in a comment. ------------------------------------------------------------------------ r12877 | vlefevre | 2018-07-04 12:57:47 +0000 (Wed, 04 Jul 2018) | 4 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Renamed mpfr_get_str_aux to mpfr_get_str_wrapper in order to avoid a confusion with the mpfr_get_str_aux function from get_str.c (moreover, this is really a wrapper, which is the reverse of an aux function). ------------------------------------------------------------------------ r12876 | vlefevre | 2018-07-04 12:35:45 +0000 (Wed, 04 Jul 2018) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] locale_da_DK() cleanup. ------------------------------------------------------------------------ r12875 | zimmerma | 2018-07-04 12:32:17 +0000 (Wed, 04 Jul 2018) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] partly revert commit 12873 ------------------------------------------------------------------------ r12874 | vlefevre | 2018-07-04 12:20:43 +0000 (Wed, 04 Jul 2018) | 4 lines Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] test_locale() cleanup. * Conditional #include with the other header inclusions. * Completed a #if (to be like in tsprintf.c). * Moved a global variable as local to test_locale(). ------------------------------------------------------------------------ r12873 | zimmerma | 2018-07-04 12:09:44 +0000 (Wed, 04 Jul 2018) | 3 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tprintf.c [src/vasprintf.c] replaced overflow tests by assertions [tests/tprintf.c] improve test coverage ------------------------------------------------------------------------ r12870 | vlefevre | 2018-07-04 08:50:32 +0000 (Wed, 04 Jul 2018) | 3 lines Changed paths: M /trunk/doc/README.dev M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c Added MPFR_CHECK_LOCALES environment variable for the tests (to be used by developers): when set, terminate with an error if locales cannot be tested. ------------------------------------------------------------------------ r12869 | vlefevre | 2018-07-04 01:23:27 +0000 (Wed, 04 Jul 2018) | 19 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Fixed several bugs in buffer_sandwich, which could yield memory corruption with non-default memory allocators and other undefined behavior; check the return value when this function is called. Details: * check integer overflow on the size computations; * computation of q and r without tests; * fixed the case where r > len (e.g. len = 1 and tz = 1); * in the loop, increase the str pointer only when needed, otherwise str could be beyond of the end of the string of the digits, which is undefined behavior. The first consequence of the r > len issue was an incorrect generated string. Moreover, since the generated string was shorter than expected, mpfr_free_str would provide an incorrect buffer size to the "free" function of the current GMP memory allocator. By default, this size is ignored, but it may matter if the memory allocators have been changed with the mp_set_memory_functions GMP function, in which case a possible consequence could be memory corruption. ------------------------------------------------------------------------ r12868 | zimmerma | 2018-07-03 15:34:40 +0000 (Tue, 03 Jul 2018) | 3 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tprintf.c [src/vasprintf.c] added an assertion [tests/tprintf.c] added two tests (one currently fails) ------------------------------------------------------------------------ r12864 | vlefevre | 2018-06-26 18:22:17 +0000 (Tue, 26 Jun 2018) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] C90 compatibility. ------------------------------------------------------------------------ r12863 | zimmerma | 2018-06-26 15:16:17 +0000 (Tue, 26 Jun 2018) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] fixed another test ------------------------------------------------------------------------ r12862 | zimmerma | 2018-06-26 15:15:06 +0000 (Tue, 26 Jun 2018) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] fixed test ------------------------------------------------------------------------ r12861 | zimmerma | 2018-06-26 13:20:49 +0000 (Tue, 26 Jun 2018) | 2 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tprintf.c [src/vasprintf.c] improve coverage ------------------------------------------------------------------------ r12860 | zimmerma | 2018-06-26 11:37:44 +0000 (Tue, 26 Jun 2018) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] improve coverage ------------------------------------------------------------------------ r12859 | zimmerma | 2018-06-26 10:58:03 +0000 (Tue, 26 Jun 2018) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] improve coverage ------------------------------------------------------------------------ r12858 | zimmerma | 2018-06-25 13:42:59 +0000 (Mon, 25 Jun 2018) | 2 lines Changed paths: M /trunk/tests/tgamma_inc.c [tests/tgamma_inc.c] improve coverage ------------------------------------------------------------------------ r12857 | zimmerma | 2018-06-25 10:48:05 +0000 (Mon, 25 Jun 2018) | 2 lines Changed paths: M /trunk/tests/tgamma_inc.c [tests/tgamma_inc.c] added coverage test ------------------------------------------------------------------------ r12856 | zimmerma | 2018-06-25 10:13:29 +0000 (Mon, 25 Jun 2018) | 4 lines Changed paths: M /trunk/src/gamma.c M /trunk/src/gamma_inc.c M /trunk/tests/tgamma_inc.c [src/gamma.c] added comment [src/gamma_inc.c] fixed bug for gamma_inc(-Inf, 0) [tests/tgamma_inc.c] added coverage tests ------------------------------------------------------------------------ r12855 | vlefevre | 2018-06-23 10:40:02 +0000 (Sat, 23 Jun 2018) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Do not do specific CFLAGS settings for MS-Windows ICC. See . ------------------------------------------------------------------------ r12854 | vlefevre | 2018-06-23 06:04:53 +0000 (Sat, 23 Jun 2018) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Spelling in a comment. ------------------------------------------------------------------------ r12853 | vlefevre | 2018-06-23 00:43:45 +0000 (Sat, 23 Jun 2018) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed change in r12847. ------------------------------------------------------------------------ r12852 | vlefevre | 2018-06-23 00:23:10 +0000 (Sat, 23 Jun 2018) | 1 line Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] Improved a test. ------------------------------------------------------------------------ r12851 | vlefevre | 2018-06-23 00:20:00 +0000 (Sat, 23 Jun 2018) | 1 line Changed paths: M /trunk/tests/tget_set_d128.c [tests/tget_set_d128.c] Replaced d != d by DOUBLE_ISNAN (d). ------------------------------------------------------------------------ r12850 | vlefevre | 2018-06-23 00:17:09 +0000 (Sat, 23 Jun 2018) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r12849 | vlefevre | 2018-06-23 00:15:33 +0000 (Sat, 23 Jun 2018) | 3 lines Changed paths: M /trunk/tests/tget_set_d128.c M /trunk/tests/tget_set_d64.c [tests/tget_set_{d64,d128}.c] When MPFR_ERRDIVZERO is defined, disable tests that can trigger a FP exception DIVBYZERO or INVALID (issue detected with -DMPFR_TESTS_FPE_DIV -DMPFR_ERRDIVZERO). ------------------------------------------------------------------------ r12848 | vlefevre | 2018-06-22 21:44:41 +0000 (Fri, 22 Jun 2018) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Improved a comment about union ieee_decimal128. ------------------------------------------------------------------------ r12847 | vlefevre | 2018-06-22 21:41:53 +0000 (Fri, 22 Jun 2018) | 4 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/mpfr-impl.h M /trunk/src/set_d128.c M /trunk/tests/tget_set_d128.c Do not assume that the bit-field ordering for _Decimal128 is necessarily little endian or big endian (this is more than the usual endianness issue). If this cannot be detected, instead of failing or assuming a possibly wrong default, switch to the portable code. ------------------------------------------------------------------------ r12846 | zimmerma | 2018-06-22 15:36:25 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/NEWS M /trunk/TODO M /trunk/doc/mpfr.texi added mpfr_get_decimal128 and mpfr_set_decimal128 to the manual ------------------------------------------------------------------------ r12845 | zimmerma | 2018-06-22 15:04:33 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/tests/tget_set_d128.c [tests/tget_set_d128.c] test some random 16-byte inputs ------------------------------------------------------------------------ r12844 | zimmerma | 2018-06-22 15:00:37 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] test random inputs ------------------------------------------------------------------------ r12843 | zimmerma | 2018-06-22 14:39:39 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/mpfr-impl.h [acinclude.m4] added configure test to determine the encoding of _Decimal128 (little or big endian) ------------------------------------------------------------------------ r12842 | zimmerma | 2018-06-22 14:01:06 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] added standard suffixes ------------------------------------------------------------------------ r12841 | zimmerma | 2018-06-22 13:56:17 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] fixed a test ------------------------------------------------------------------------ r12840 | zimmerma | 2018-06-22 13:13:55 +0000 (Fri, 22 Jun 2018) | 3 lines Changed paths: M /trunk/tests/tget_set_d128.c M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] removed TODO (done), added comment [tests/tget_set_d128.c] removed TODO (done) ------------------------------------------------------------------------ r12839 | zimmerma | 2018-06-22 13:11:53 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/src/set_d64.c [src/set_d64.c] added comment (like for set_d128.c) ------------------------------------------------------------------------ r12838 | zimmerma | 2018-06-22 12:44:16 +0000 (Fri, 22 Jun 2018) | 3 lines Changed paths: M /trunk/src/get_d128.c M /trunk/src/get_d64.c [src/get_d64.c] improve comment [src/get_d128.c] likewise ------------------------------------------------------------------------ r12837 | zimmerma | 2018-06-22 12:38:26 +0000 (Fri, 22 Jun 2018) | 3 lines Changed paths: M /trunk/src/set_d64.c M /trunk/tests/tget_set_d64.c [src/set_d64.c] also deal with non-canonical BID encoding [tests/tget_set_d64.c] added test with non-canonical BID encoding ------------------------------------------------------------------------ r12836 | vlefevre | 2018-06-22 12:19:47 +0000 (Fri, 22 Jun 2018) | 1 line Changed paths: M /trunk/src/get_d128.c [src/get_d128.c] Bug fix (buffer overflow detected by AddressSanitizer). ------------------------------------------------------------------------ r12835 | vlefevre | 2018-06-22 12:10:52 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/src/get_d128.c M /trunk/src/set_d128.c [src] Moved the FIXME comment from set_d128.c to get_d128.c since the bug occurs in mpfr_get_decimal128 according to the AddressSanitizer. ------------------------------------------------------------------------ r12834 | vlefevre | 2018-06-22 12:08:14 +0000 (Fri, 22 Jun 2018) | 1 line Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] Updated FIXME comment. ------------------------------------------------------------------------ r12833 | vlefevre | 2018-06-22 11:52:45 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Replaced a umul_ppmm by umul_hi, and removed an unused variable as a consequence. ------------------------------------------------------------------------ r12832 | vlefevre | 2018-06-22 11:42:30 +0000 (Fri, 22 Jun 2018) | 1 line Changed paths: M /trunk/src/set_d64.c [src/set_d64.c] Code improvement (like r12809 and r12828 in set_d128.c). ------------------------------------------------------------------------ r12831 | vlefevre | 2018-06-22 11:35:36 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/src/set_ld.c [src/set_ld.c] Removed unused variable for HAVE_LDOUBLE_MAYBE_DOUBLE_DOUBLE (PowerPC). ------------------------------------------------------------------------ r12830 | vlefevre | 2018-06-22 11:33:33 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/src/invsqrt_limb.h [src/invsqrt_limb.h] Avoid a "variable ‘_l’ set but not used" warning on some platforms, such as powerpc64le-unknown-linux-gnu. ------------------------------------------------------------------------ r12829 | vlefevre | 2018-06-22 11:28:46 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/src/invert_limb.h [src/invert_limb.h] Avoid a "variable ‘_l’ set but not used" warning on some platforms, such as powerpc64le-unknown-linux-gnu. ------------------------------------------------------------------------ r12828 | vlefevre | 2018-06-22 11:19:27 +0000 (Fri, 22 Jun 2018) | 1 line Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] Avoid "unused variable" warnings on platforms with DPD. ------------------------------------------------------------------------ r12827 | vlefevre | 2018-06-22 11:11:02 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] About union ieee_double_decimal64: removed an incorrect comment and added a TODO. ------------------------------------------------------------------------ r12826 | vlefevre | 2018-06-22 11:08:20 +0000 (Fri, 22 Jun 2018) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/set_d128.c M /trunk/tests/tget_set_d128.c Changed union ieee_double_decimal128 to union ieee_decimal128 since this has nothing to do with double (unlike union ieee_double_decimal64). Also refactored code for this union definition. ------------------------------------------------------------------------ r12825 | vlefevre | 2018-06-22 10:50:47 +0000 (Fri, 22 Jun 2018) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Updated TODO for DPD. ------------------------------------------------------------------------ r12824 | vlefevre | 2018-06-22 10:47:16 +0000 (Fri, 22 Jun 2018) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added TODO for DPD (better structure definition). ------------------------------------------------------------------------ r12823 | vlefevre | 2018-06-22 10:42:20 +0000 (Fri, 22 Jun 2018) | 1 line Changed paths: M /trunk/tests/tget_set_d128.c [tests/tget_set_d128.c] Execute BID code only with BID. ------------------------------------------------------------------------ r12822 | vlefevre | 2018-06-22 10:35:07 +0000 (Fri, 22 Jun 2018) | 1 line Changed paths: M /trunk/tests/tget_set_d128.c [tests/tget_set_d128.c] Simplification and better portability. ------------------------------------------------------------------------ r12821 | zimmerma | 2018-06-22 10:25:16 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/tests/tget_set_d128.c [tests/tget_set_d128.c] added coverage tests for non-canonical BID encodings ------------------------------------------------------------------------ r12820 | zimmerma | 2018-06-22 10:00:40 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] improve last commit ------------------------------------------------------------------------ r12819 | zimmerma | 2018-06-22 09:56:32 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] improved a comment ------------------------------------------------------------------------ r12818 | vlefevre | 2018-06-22 09:26:00 +0000 (Fri, 22 Jun 2018) | 1 line Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] Re-added "while (...)" erroneously removed in r12817. ------------------------------------------------------------------------ r12817 | zimmerma | 2018-06-22 09:14:07 +0000 (Fri, 22 Jun 2018) | 3 lines Changed paths: M /trunk/src/set_d128.c M /trunk/src/set_d64.c [src/set_d64.c] added comment [src/set_d128.c] likewise ------------------------------------------------------------------------ r12816 | zimmerma | 2018-06-22 09:00:47 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] avoid variable conflict for DPD ------------------------------------------------------------------------ r12815 | zimmerma | 2018-06-22 08:54:53 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] implement for DFD encoding ------------------------------------------------------------------------ r12814 | zimmerma | 2018-06-22 08:54:08 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/src/set_d64.c [src/set_d64.c] added comment and space ------------------------------------------------------------------------ r12813 | vlefevre | 2018-06-22 02:25:39 +0000 (Fri, 22 Jun 2018) | 1 line Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] Added a FIXME (stack-buffer-overflow). ------------------------------------------------------------------------ r12812 | vlefevre | 2018-06-22 01:57:01 +0000 (Fri, 22 Jun 2018) | 1 line Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] Corrected r12811. ------------------------------------------------------------------------ r12811 | vlefevre | 2018-06-22 01:09:21 +0000 (Fri, 22 Jun 2018) | 3 lines Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] _MPFR_IEEE_FLOATS code for BID: correctly support the decoded significand >= 10^34 cases (non-canonical encodings), which must be zero. ------------------------------------------------------------------------ r12810 | vlefevre | 2018-06-22 00:49:07 +0000 (Fri, 22 Jun 2018) | 2 lines Changed paths: M /trunk/tests/tget_set_d128.c M /trunk/tests/tget_set_d64.c [tests/{tget_set_d64.c,tget_set_d128.c}] TODO: Also test non-canonical encodings. ------------------------------------------------------------------------ r12809 | vlefevre | 2018-06-22 00:31:33 +0000 (Fri, 22 Jun 2018) | 5 lines Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] * Enable the _MPFR_IEEE_FLOATS code only for GMP_NUMB_BITS == 32 or 64 (as the other values are not supported by this code). * Bug fix for GMP_NUMB_BITS == 32 (→ tget_set_d128 no longer fails). * Added an assertion corresponding to a comment. ------------------------------------------------------------------------ r12808 | vlefevre | 2018-06-22 00:21:38 +0000 (Fri, 22 Jun 2018) | 1 line Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] Fit on 80 columns. ------------------------------------------------------------------------ r12807 | vlefevre | 2018-06-21 21:47:12 +0000 (Thu, 21 Jun 2018) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Updated a title comment (→ Decimal support). ------------------------------------------------------------------------ r12806 | vlefevre | 2018-06-21 21:45:01 +0000 (Thu, 21 Jun 2018) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Corrected a comment. ------------------------------------------------------------------------ r12805 | zimmerma | 2018-06-21 19:26:13 +0000 (Thu, 21 Jun 2018) | 2 lines Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] added comments ------------------------------------------------------------------------ r12804 | zimmerma | 2018-06-21 19:15:09 +0000 (Thu, 21 Jun 2018) | 2 lines Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] remove debug stuff ------------------------------------------------------------------------ r12803 | zimmerma | 2018-06-21 19:13:17 +0000 (Thu, 21 Jun 2018) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] assume little-endian double implies little-endian decimal128 ------------------------------------------------------------------------ r12802 | vlefevre | 2018-06-21 17:59:46 +0000 (Thu, 21 Jun 2018) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] FIXME for _Decimal128. ------------------------------------------------------------------------ r12801 | zimmerma | 2018-06-21 13:41:55 +0000 (Thu, 21 Jun 2018) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/set_d128.c M /trunk/tests/tget_set_d128.c [src/set_d128.c] (partly) implement the _MPFR_IEEE_FLOATS case (BID only so far) [tests/tget_set_d128.c] added more tests ------------------------------------------------------------------------ r12800 | zimmerma | 2018-06-21 13:20:19 +0000 (Thu, 21 Jun 2018) | 2 lines Changed paths: M /trunk/src/set_d64.c [src/set_d64.c] added comments ------------------------------------------------------------------------ r12799 | zimmerma | 2018-06-21 06:31:29 +0000 (Thu, 21 Jun 2018) | 2 lines Changed paths: M /trunk/src/get_d128.c [src/get_d128.c] removed useless comment ------------------------------------------------------------------------ r12798 | zimmerma | 2018-06-20 17:01:09 +0000 (Wed, 20 Jun 2018) | 3 lines Changed paths: M /trunk/src/get_d128.c M /trunk/tests/tget_set_d128.c [src/get_d128.c] avoid using doubles [tests/tget_set_d128.c] improve test coverage ------------------------------------------------------------------------ r12797 | zimmerma | 2018-06-20 14:53:41 +0000 (Wed, 20 Jun 2018) | 2 lines Changed paths: M /trunk/tests/tget_set_d128.c [tests/tget_set_d128.c] improve test coverage ------------------------------------------------------------------------ r12796 | zimmerma | 2018-06-20 14:44:52 +0000 (Wed, 20 Jun 2018) | 2 lines Changed paths: M /trunk/tests/tget_set_d128.c [tests/tget_set_d128.c] improve coverage ------------------------------------------------------------------------ r12795 | zimmerma | 2018-06-20 14:10:04 +0000 (Wed, 20 Jun 2018) | 2 lines Changed paths: M /trunk/src/Makefile.am A /trunk/src/get_d128.c M /trunk/src/mpfr.h M /trunk/tests/tget_set_d128.c added mpfr_get_decimal128 (still experimental) ------------------------------------------------------------------------ r12794 | zimmerma | 2018-06-20 14:08:37 +0000 (Wed, 20 Jun 2018) | 2 lines Changed paths: M /trunk/src/get_d64.c [get_d64.c] added comments and simplified code ------------------------------------------------------------------------ r12792 | vlefevre | 2018-06-20 09:08:16 +0000 (Wed, 20 Jun 2018) | 2 lines Changed paths: M /trunk/tests/tget_set_d128.c M /trunk/tests/tget_set_d64.c [tests/{tget_set_d64.c,tget_set_d128.c}] Tests on powers of 10: test negative numbers too. ------------------------------------------------------------------------ r12791 | vlefevre | 2018-06-19 23:20:12 +0000 (Tue, 19 Jun 2018) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about FP constants and native FP. ------------------------------------------------------------------------ r12790 | vlefevre | 2018-06-19 16:28:21 +0000 (Tue, 19 Jun 2018) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Check that preprocessing directives have no spaces before. ------------------------------------------------------------------------ r12789 | vlefevre | 2018-06-19 16:18:01 +0000 (Tue, 19 Jun 2018) | 1 line Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] Modified a comment. ------------------------------------------------------------------------ r12788 | vlefevre | 2018-06-19 15:12:40 +0000 (Tue, 19 Jun 2018) | 6 lines Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] Avoid double, which is unreliable with GCC in non-standard mode (see GCC bug 323 and the discussion in GCC bug 85957). But the failure in tget_set_d128 probably came from the fact that (_Decimal128) 0.1 is not 1/10 exactly (the double 0.1 has about a 17-digit precision only, while _Decimal128 has more); this test now passes. ------------------------------------------------------------------------ r12787 | vlefevre | 2018-06-19 14:52:37 +0000 (Tue, 19 Jun 2018) | 1 line Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] Simplified code and added assertions. ------------------------------------------------------------------------ r12784 | vlefevre | 2018-06-19 12:53:11 +0000 (Tue, 19 Jun 2018) | 1 line Changed paths: M /trunk/src/set_d64.c [src/set_d64.c] Added a log message (like in set_d128.c). ------------------------------------------------------------------------ r12783 | vlefevre | 2018-06-19 12:47:28 +0000 (Tue, 19 Jun 2018) | 2 lines Changed paths: M /trunk/src/set_d128.c M /trunk/src/set_d64.c [src/{set_d64.c,set_d128.c}] Bug fix: use mpfr_strtofr instead of mpfr_set_str to get the ternary value. ------------------------------------------------------------------------ r12782 | vlefevre | 2018-06-19 12:38:35 +0000 (Tue, 19 Jun 2018) | 3 lines Changed paths: M /trunk/tests/tget_set_d128.c M /trunk/tests/tget_set_d64.c [tests/{tget_set_d64.c,tget_set_d128.c}] Added tests on powers of 10. * tget_set_d64 fails on negative due to a bad ternary value. * tget_set_d128 fails on negative due to bad value, etc. ------------------------------------------------------------------------ r12781 | vlefevre | 2018-06-19 11:47:27 +0000 (Tue, 19 Jun 2018) | 1 line Changed paths: M /trunk/tests/tget_set_d128.c [tests/tget_set_d128.c] Test the flags too. ------------------------------------------------------------------------ r12780 | vlefevre | 2018-06-19 11:43:53 +0000 (Tue, 19 Jun 2018) | 1 line Changed paths: M /trunk/tests/tget_set_d128.c [tests/tget_set_d128.c] Test more values. ------------------------------------------------------------------------ r12779 | vlefevre | 2018-06-19 11:38:05 +0000 (Tue, 19 Jun 2018) | 2 lines Changed paths: M /trunk/tests/tget_set_d128.c [tests/tget_set_d128.c] Converting an integer into _Decimal128 is better than converting a double into _Decimal128. ------------------------------------------------------------------------ r12778 | vlefevre | 2018-06-19 11:33:14 +0000 (Tue, 19 Jun 2018) | 2 lines Changed paths: M /trunk/tests/tget_set_d128.c [tests/tget_set_d128.c] Simplified the test, avoiding a bug in ICC 15 at the same time (1.0D was regarded as 0). ------------------------------------------------------------------------ r12777 | vlefevre | 2018-06-19 11:29:13 +0000 (Tue, 19 Jun 2018) | 1 line Changed paths: M /trunk/tests/tget_set_d128.c [tests/tget_set_d128.c] Fixed indentation. ------------------------------------------------------------------------ r12776 | vlefevre | 2018-06-19 11:17:02 +0000 (Tue, 19 Jun 2018) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Decimal formats: output the encoding type (DPD/BID). ------------------------------------------------------------------------ r12775 | vlefevre | 2018-06-19 11:03:01 +0000 (Tue, 19 Jun 2018) | 2 lines Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] Changed _GMP_IEEE_FLOATS to _MPFR_IEEE_FLOATS as per r10958 (in set_d128.c, currently in a comment due to r12772). ------------------------------------------------------------------------ r12774 | vlefevre | 2018-06-19 10:58:40 +0000 (Tue, 19 Jun 2018) | 1 line Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] Added a log message. ------------------------------------------------------------------------ r12773 | vlefevre | 2018-06-19 10:51:33 +0000 (Tue, 19 Jun 2018) | 1 line Changed paths: M /trunk/tests/tget_set_d128.c [tests/tget_set_d128.c] Added an informative error message. ------------------------------------------------------------------------ r12772 | vlefevre | 2018-06-19 10:05:06 +0000 (Tue, 19 Jun 2018) | 2 lines Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] Disable the _GMP_IEEE_FLOATS code, which is not complete yet and makes the compilation fail. ------------------------------------------------------------------------ r12771 | vlefevre | 2018-06-13 15:31:23 +0000 (Wed, 13 Jun 2018) | 1 line Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] Corrected year in copyright notice. ------------------------------------------------------------------------ r12770 | vlefevre | 2018-06-13 15:30:02 +0000 (Wed, 13 Jun 2018) | 1 line Changed paths: M /trunk/src/set_d128.c [src/set_d128.c] Minor improvements. ------------------------------------------------------------------------ r12769 | zimmerma | 2018-06-13 10:33:51 +0000 (Wed, 13 Jun 2018) | 3 lines Changed paths: M /trunk/tests/tget_set_d128.c M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] added -v option to get verbose output [tests/tget_set_d128.c] likewise ------------------------------------------------------------------------ r12768 | vlefevre | 2018-06-13 10:06:15 +0000 (Wed, 13 Jun 2018) | 1 line Changed paths: M /trunk/TODO [TODO] Missing "r". ------------------------------------------------------------------------ r12767 | zimmerma | 2018-06-13 08:45:56 +0000 (Wed, 13 Jun 2018) | 2 lines Changed paths: M /trunk/TODO [TODO] update for mpfr_set_decimal128 ------------------------------------------------------------------------ r12766 | zimmerma | 2018-06-13 07:10:29 +0000 (Wed, 13 Jun 2018) | 2 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/mpfr.h A /trunk/src/set_d128.c M /trunk/src/set_d64.c M /trunk/tests/Makefile.am A /trunk/tests/tget_set_d128.c added mpfr_set_decimal128 (work in progress, not yet fully tested) ------------------------------------------------------------------------ r12765 | zimmerma | 2018-06-08 16:16:55 +0000 (Fri, 08 Jun 2018) | 2 lines Changed paths: M /trunk/tools/coverage [tools/coverage] added branch coverage ------------------------------------------------------------------------ r12764 | vlefevre | 2018-06-07 12:17:31 +0000 (Thu, 07 Jun 2018) | 3 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Moved some computations on the exponents earlier since they may yield an early overflow or underflow, and computing the division by b^e would be useless in such a case. ------------------------------------------------------------------------ r12763 | vlefevre | 2018-06-07 11:21:46 +0000 (Thu, 07 Jun 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Added a MPFR_ASSERTD and a FIXME on things that don't make much sense in the error analysis (still trying to understand…). ------------------------------------------------------------------------ r12762 | zimmerma | 2018-06-07 09:34:22 +0000 (Thu, 07 Jun 2018) | 2 lines Changed paths: M /trunk/src/const_pi.c [src/const_pi.c] missing reference about Brent-Salamin ------------------------------------------------------------------------ r12761 | zimmerma | 2018-06-07 09:31:41 +0000 (Thu, 07 Jun 2018) | 2 lines Changed paths: M /trunk/doc/algorithms.bib M /trunk/doc/algorithms.tex [doc/algorithms.bib] added reference ------------------------------------------------------------------------ r12759 | zimmerma | 2018-06-05 14:37:16 +0000 (Tue, 05 Jun 2018) | 3 lines Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] improve coverage of the UBF case in mpfr_sub (now coverage of sub.c is 100%) ------------------------------------------------------------------------ r12758 | vlefevre | 2018-06-05 10:35:04 +0000 (Tue, 05 Jun 2018) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Updated TODO from r12755. ------------------------------------------------------------------------ r12757 | zimmerma | 2018-06-05 06:45:12 +0000 (Tue, 05 Jun 2018) | 2 lines Changed paths: M /trunk/src/fmma.c [src/fmma.c] now mpfr_fmms calls mpfr_sub for a better coverage ------------------------------------------------------------------------ r12756 | vlefevre | 2018-06-04 15:06:35 +0000 (Mon, 04 Jun 2018) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Updated TODO from r12755. ------------------------------------------------------------------------ r12755 | vlefevre | 2018-06-04 14:49:50 +0000 (Mon, 04 Jun 2018) | 2 lines Changed paths: M /trunk/src/sum.c [src/sum.c] Added a comment with a TODO about potentially dead code on some platforms. ------------------------------------------------------------------------ r12754 | vlefevre | 2018-06-04 12:18:51 +0000 (Mon, 04 Jun 2018) | 5 lines Changed paths: A /trunk/codespell.exclude M /trunk/codespell.ignore M /trunk/tools/mpfrlint codespell: simplified exceptions. * Added codespell.exclude file. * codespell.ignore: removed some words (particular cases). * tools/mpfrlint: use the codespell.exclude exclude file, and for the doc directory, replaced -S by an explicit list of files. ------------------------------------------------------------------------ r12753 | vlefevre | 2018-06-04 09:27:59 +0000 (Mon, 04 Jun 2018) | 1 line Changed paths: M /trunk/codespell.ignore [codespell.ignore] Also ignore "objext" and "tim" (codespell 1.13). ------------------------------------------------------------------------ r12752 | zimmerma | 2018-06-04 08:00:22 +0000 (Mon, 04 Jun 2018) | 5 lines Changed paths: M /trunk/src/sub1.c M /trunk/tests/tfmma.c [src/sub1.c] fixed a bug and solved a FIXME (underflow for UBFs) Note: this mostly reverts r12319, r12321, and the remaining FIXME from r12327. [tests/tfmma.c] added non-regression tests ------------------------------------------------------------------------ r12751 | vlefevre | 2018-06-02 22:39:37 +0000 (Sat, 02 Jun 2018) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Concerning r12738, the safer code can be avoided with GCC in ISO C mode (__STRICT_ANSI__). ------------------------------------------------------------------------ r12749 | zimmerma | 2018-06-02 18:40:39 +0000 (Sat, 02 Jun 2018) | 2 lines Changed paths: M /trunk/src/invert_limb.h [src/invert_limb.h] fixed two typos reported by Marco Bodrato ------------------------------------------------------------------------ r12748 | vlefevre | 2018-06-02 00:11:28 +0000 (Sat, 02 Jun 2018) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] For GCC, output __STRICT_ANSI__ when defined. ------------------------------------------------------------------------ r12747 | zimmerma | 2018-06-01 12:24:43 +0000 (Fri, 01 Jun 2018) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] fixed/improved comments ------------------------------------------------------------------------ r12746 | zimmerma | 2018-05-31 21:12:05 +0000 (Thu, 31 May 2018) | 2 lines Changed paths: M /trunk/src/invsqrt_limb.h [src/invsqrt_limb.h] fixed typos in comments ------------------------------------------------------------------------ r12745 | vlefevre | 2018-05-31 20:09:45 +0000 (Thu, 31 May 2018) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated a URL. ------------------------------------------------------------------------ r12744 | vlefevre | 2018-05-31 16:04:15 +0000 (Thu, 31 May 2018) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed potential compilation failure with _Decimal64, detected with r12738. ------------------------------------------------------------------------ r12742 | vlefevre | 2018-05-31 14:46:31 +0000 (Thu, 31 May 2018) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r12740 | vlefevre | 2018-05-31 14:37:04 +0000 (Thu, 31 May 2018) | 1 line Changed paths: M /trunk/AUTHORS M /trunk/INSTALL M /trunk/doc/algorithms.tex M /trunk/doc/mpfr.texi M /trunk/examples/sample.c M /trunk/mpfr.pc.in M /trunk/tests/tests.c M /trunk/tools/cfarm.sh M /trunk/tools/update-version Updated mpfr.org URL's to use https (except in ChangeLog and NEWS). ------------------------------------------------------------------------ r12738 | vlefevre | 2018-05-31 00:23:22 +0000 (Thu, 31 May 2018) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] With GCC, select safer code for DOUBLE_ISNAN(x). ------------------------------------------------------------------------ r12734 | vlefevre | 2018-05-30 17:38:44 +0000 (Wed, 30 May 2018) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] http → https (for mpfr.org). ------------------------------------------------------------------------ r12733 | vlefevre | 2018-05-30 15:54:11 +0000 (Wed, 30 May 2018) | 1 line Changed paths: M /trunk/doc/FAQ.html [doc] Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r12732 | vlefevre | 2018-05-30 15:53:47 +0000 (Wed, 30 May 2018) | 4 lines Changed paths: M /trunk/doc/faq.xsl M /trunk/doc/update-faq [doc] Workaround due to the lack of https support in libxml2 and the fact that mpfr.org now uses https with HSTS. * faq.xsl: for the visual.css, use a local URL. * update-faq: download visual.css from mpfr.org first. ------------------------------------------------------------------------ r12731 | vlefevre | 2018-05-30 14:09:36 +0000 (Wed, 30 May 2018) | 1 line Changed paths: M /trunk/doc/update-faq [doc/update-faq] http → https ------------------------------------------------------------------------ r12724 | vlefevre | 2018-05-30 09:27:29 +0000 (Wed, 30 May 2018) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a FIXME about DOUBLE_ISNAN and GCC. ------------------------------------------------------------------------ r12723 | vlefevre | 2018-05-28 16:34:37 +0000 (Mon, 28 May 2018) | 6 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Continued to review the new error analysis and code. Changes: * made the code more SSA-like (avoid a "y += ysize; y -= ysize;"); * clarified comments; * use MPFR_LIMB_MSB; * added a FIXME on the error analysis. ------------------------------------------------------------------------ r12722 | vlefevre | 2018-05-28 13:54:52 +0000 (Mon, 28 May 2018) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added info about shell portability, and in particular about quotes (covering changes in r5659, r6128, r12711 and r12721). ------------------------------------------------------------------------ r12721 | vlefevre | 2018-05-28 13:52:00 +0000 (Mon, 28 May 2018) | 2 lines Changed paths: M /trunk/tools/ck-clz_tab M /trunk/tools/ck-copyright-notice M /trunk/tools/ck-mparam M /trunk/tools/update-version [tools/{ck-clz_tab,ck-copyright-notice,ck-mparam,update-version}] Fixed non-portable quote nesting in backticks. ------------------------------------------------------------------------ r12717 | vlefevre | 2018-05-28 11:05:54 +0000 (Mon, 28 May 2018) | 3 lines Changed paths: M /trunk/examples/can_round.c M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c [examples] Added "mpfr_free_cache ();" at the end of all programs, as this is something that should be done systematically (at least to detect memory leaks with valgrind). ------------------------------------------------------------------------ r12716 | vlefevre | 2018-05-25 15:25:27 +0000 (Fri, 25 May 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Started to review the new error analysis and code (r12705,12706). Minor improvements. ------------------------------------------------------------------------ r12715 | vlefevre | 2018-05-25 14:46:42 +0000 (Fri, 25 May 2018) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mpn_exp.c [src/{mpfr-impl.h,mpn_exp.c}] Changed the return type of mpfr_mpn_exp from long to int for consistency with the mpfr_mpn_exp code and with strtofr.c (which expects an int). ------------------------------------------------------------------------ r12714 | vlefevre | 2018-05-25 14:40:40 +0000 (Fri, 25 May 2018) | 1 line Changed paths: M /trunk/src/mpn_exp.c [src/mpn_exp.c] Code cleanup and protection against integer overflow. ------------------------------------------------------------------------ r12713 | vlefevre | 2018-05-24 14:35:51 +0000 (Thu, 24 May 2018) | 1 line Changed paths: M /trunk/src/hypot.c [src/hypot.c] Do bitwise operations in unsigned arithmetic. ------------------------------------------------------------------------ r12712 | vlefevre | 2018-05-24 14:28:57 +0000 (Thu, 24 May 2018) | 1 line Changed paths: M /trunk/src/hypot.c [src/hypot.c] Added 2 TODO. ------------------------------------------------------------------------ r12711 | vlefevre | 2018-05-23 14:34:10 +0000 (Wed, 23 May 2018) | 3 lines Changed paths: M /trunk/tools/ck-clz_tab M /trunk/tools/ck-copyright-notice [tools/{ck-clz_tab,ck-copyright-notice}] Changed the POSIX $(…) to `…` for Bourne shell compatibility (as under Solaris 10). Note: these scripts are called via dist-hook for "make dist". ------------------------------------------------------------------------ r12710 | vlefevre | 2018-05-22 07:41:58 +0000 (Tue, 22 May 2018) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a comment for UBF. ------------------------------------------------------------------------ r12709 | vlefevre | 2018-05-22 07:32:18 +0000 (Tue, 22 May 2018) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a comment about UBF and alignment requirements. ------------------------------------------------------------------------ r12708 | vlefevre | 2018-05-17 00:42:02 +0000 (Thu, 17 May 2018) | 1 line Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Removed TODO added in r12681, now obsolete. ------------------------------------------------------------------------ r12707 | vlefevre | 2018-05-16 15:17:09 +0000 (Wed, 16 May 2018) | 1 line Changed paths: M /trunk/src/strtofr.c Removed trailing whitespace. ------------------------------------------------------------------------ r12706 | zimmerma | 2018-05-16 14:43:31 +0000 (Wed, 16 May 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] revisit error analysis in the division case (end) ------------------------------------------------------------------------ r12705 | zimmerma | 2018-05-15 16:10:08 +0000 (Tue, 15 May 2018) | 3 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] revisit error analysis in the division case (work in progress, not yet finished) ------------------------------------------------------------------------ r12702 | vlefevre | 2018-05-09 11:21:11 +0000 (Wed, 09 May 2018) | 1 line Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Updated the comment added in r12701. ------------------------------------------------------------------------ r12701 | vlefevre | 2018-05-09 11:16:19 +0000 (Wed, 09 May 2018) | 2 lines Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Added a comment about the bug fixed in r10697: bug20180217 is a non-regression test for this bug. ------------------------------------------------------------------------ r12698 | vlefevre | 2018-05-02 15:14:32 +0000 (Wed, 02 May 2018) | 4 lines Changed paths: M /trunk/tests/tstckintc.c [tests/tstckintc.c] Avoid false warnings with -Wcast-align=strict from GCC 8.1 by adding casts "(long *) (void *)", still allowing checks of other alignment requirements (which are not handled by the tstckintc.c code). ------------------------------------------------------------------------ r12697 | vlefevre | 2018-05-02 14:16:58 +0000 (Wed, 02 May 2018) | 1 line Changed paths: M /trunk/TODO [TODO] + Use GCC's nonnull and returns_nonnull attributes. ------------------------------------------------------------------------ r12696 | vlefevre | 2018-05-02 12:31:59 +0000 (Wed, 02 May 2018) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Added a note on _Decimal64 detection. ------------------------------------------------------------------------ r12691 | vlefevre | 2018-04-30 15:24:36 +0000 (Mon, 30 Apr 2018) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added info about spelling. ------------------------------------------------------------------------ r12690 | vlefevre | 2018-04-30 15:18:16 +0000 (Mon, 30 Apr 2018) | 5 lines Changed paths: M /trunk/doc/README.dev M /trunk/src/random_deviate.c M /trunk/tests/teint.c M /trunk/tests/tversion.c Corrected "runtime" to "run time" (noun) or "run-time" (adjective) when it means the time at which the program is run. See: https://gcc.gnu.org/codingconventions.html#Spelling https://en.wikipedia.org/wiki/Run_time ------------------------------------------------------------------------ r12689 | vlefevre | 2018-04-27 15:39:52 +0000 (Fri, 27 Apr 2018) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Potentially unnecessary code: comes from r8384. ------------------------------------------------------------------------ r12688 | vlefevre | 2018-04-27 15:20:11 +0000 (Fri, 27 Apr 2018) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Updated TODO about potentially unnecessary code. ------------------------------------------------------------------------ r12687 | vlefevre | 2018-04-27 15:07:18 +0000 (Fri, 27 Apr 2018) | 3 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Updated TODO about potentially unnecessary code, showing that this code probably increases the error bound (errors accumulate instead of compensating without this code). ------------------------------------------------------------------------ r12686 | vlefevre | 2018-04-27 11:17:16 +0000 (Fri, 27 Apr 2018) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Added a TODO about potentially unnecessary code. ------------------------------------------------------------------------ r12685 | vlefevre | 2018-04-27 08:50:28 +0000 (Fri, 27 Apr 2018) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Corrected/updated comments and added a log message. ------------------------------------------------------------------------ r12684 | vlefevre | 2018-04-27 08:34:58 +0000 (Fri, 27 Apr 2018) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Corrected a comment (exp_base and exp_bin description). ------------------------------------------------------------------------ r12683 | vlefevre | 2018-04-27 08:22:59 +0000 (Fri, 27 Apr 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Added a FIXME: possible bug in very special cases with large exponents, 32-bit mpfr_exp_t and very long strings. ------------------------------------------------------------------------ r12682 | vlefevre | 2018-04-27 07:40:21 +0000 (Fri, 27 Apr 2018) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Added/clarified comments. ------------------------------------------------------------------------ r12681 | vlefevre | 2018-04-27 01:36:48 +0000 (Fri, 27 Apr 2018) | 1 line Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Added a TODO related to the bug fixed in r12573. ------------------------------------------------------------------------ r12678 | vlefevre | 2018-04-26 15:10:36 +0000 (Thu, 26 Apr 2018) | 1 line Changed paths: M /trunk/tests/tgmpop.c [tests/tgmpop.c] Coding style. ------------------------------------------------------------------------ r12677 | vlefevre | 2018-04-26 15:07:36 +0000 (Thu, 26 Apr 2018) | 5 lines Changed paths: M /trunk/tests/tgmpop.c [tests/tgmpop.c] For mpfr_cmp_q, improved the test where x is NaN by checking all the flags (not just erange) and added a test where y is a NaN rational. Note: this could be used to detect 2 bugs, fixed in r12343 and r12499, respectively. ------------------------------------------------------------------------ r12676 | vlefevre | 2018-04-26 14:08:10 +0000 (Thu, 26 Apr 2018) | 2 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Removed a r2 != MPFR_RNDF test and added 3 TODO's to support r2 == MPFR_RNDF in some other tests. ------------------------------------------------------------------------ r12646 | vlefevre | 2018-04-24 09:46:03 +0000 (Tue, 24 Apr 2018) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Clarified a comment (the "if" is part of the code, not the English word). ------------------------------------------------------------------------ r12645 | zimmerma | 2018-04-24 08:57:53 +0000 (Tue, 24 Apr 2018) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] added comment about MPN_FILL ------------------------------------------------------------------------ r12644 | vlefevre | 2018-04-20 09:17:15 +0000 (Fri, 20 Apr 2018) | 1 line Changed paths: M /trunk/src/out_str.c [src/out_str.c] Check for integer overflow (here, a minor issue). ------------------------------------------------------------------------ r12643 | vlefevre | 2018-04-20 09:10:27 +0000 (Fri, 20 Apr 2018) | 1 line Changed paths: M /trunk/src/out_str.c [src/out_str.c] Support mpfr_exp_t larger than long (with mpfr_eexp_t). ------------------------------------------------------------------------ r12641 | vlefevre | 2018-04-19 15:13:10 +0000 (Thu, 19 Apr 2018) | 1 line Changed paths: M /trunk/tests [tests] Added tdot to svn:ignore property. ------------------------------------------------------------------------ r12640 | vlefevre | 2018-04-19 15:10:52 +0000 (Thu, 19 Apr 2018) | 1 line Changed paths: M /trunk/tests/tdot.c [tests/tdot.c] Various improvements. ------------------------------------------------------------------------ r12639 | vlefevre | 2018-04-19 14:57:05 +0000 (Thu, 19 Apr 2018) | 4 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/dot.c [doc/mpfr.texi] Note that mpfr_dot does not yet handle intermediate underflows either. [src/dot.c] Changed an MPFR_ASSERTD to MPFR_ASSERTN since the assertion is not satisfied on some user inputs. Minor improvements. ------------------------------------------------------------------------ r12638 | vlefevre | 2018-04-19 14:42:21 +0000 (Thu, 19 Apr 2018) | 1 line Changed paths: M /trunk/NEWS [NEWS] Added mpfr_dot. ------------------------------------------------------------------------ r12637 | vlefevre | 2018-04-19 14:41:42 +0000 (Thu, 19 Apr 2018) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] In the added functions, note that mpfr_dot is incomplete and experimental. ------------------------------------------------------------------------ r12636 | vlefevre | 2018-04-19 14:31:39 +0000 (Thu, 19 Apr 2018) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Code style. ------------------------------------------------------------------------ r12635 | vlefevre | 2018-04-19 14:30:19 +0000 (Thu, 19 Apr 2018) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r12634 | vlefevre | 2018-04-19 14:29:41 +0000 (Thu, 19 Apr 2018) | 1 line Changed paths: M /trunk/tests/tdot.c [tests/tdot.c] Code style. ------------------------------------------------------------------------ r12633 | zimmerma | 2018-04-19 14:21:48 +0000 (Thu, 19 Apr 2018) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am A /trunk/src/dot.c M /trunk/src/mpfr.h M /trunk/tests/Makefile.am A /trunk/tests/tdot.c added mpfr_dot ------------------------------------------------------------------------ r12631 | vlefevre | 2018-04-19 13:32:03 +0000 (Thu, 19 Apr 2018) | 2 lines Changed paths: M /trunk/tests/tget_flt.c [tests/tget_flt.c] Correction about the use of mpfr_signbit, in case the implementation would change. ------------------------------------------------------------------------ r12628 | vlefevre | 2018-04-19 13:09:19 +0000 (Thu, 19 Apr 2018) | 1 line Changed paths: M /trunk/src/sqr.c [src/sqr.c] Minor code improvement. ------------------------------------------------------------------------ r12627 | vlefevre | 2018-04-19 12:56:07 +0000 (Thu, 19 Apr 2018) | 1 line Changed paths: M /trunk/src/sqr.c [src/sqr.c] Code formatting. ------------------------------------------------------------------------ r12626 | vlefevre | 2018-04-19 12:55:10 +0000 (Thu, 19 Apr 2018) | 1 line Changed paths: M /trunk/src/sqr.c [src/sqr.c] Clarified a comment and slightly improved code. ------------------------------------------------------------------------ r12625 | vlefevre | 2018-04-19 12:37:50 +0000 (Thu, 19 Apr 2018) | 1 line Changed paths: M /trunk/src/sqr.c [src/sqr.c] Typo in a comment. ------------------------------------------------------------------------ r12623 | vlefevre | 2018-04-19 10:15:25 +0000 (Thu, 19 Apr 2018) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Added test_underflow5. ------------------------------------------------------------------------ r12622 | vlefevre | 2018-04-19 10:09:44 +0000 (Thu, 19 Apr 2018) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Minor correction for test_underflow4. ------------------------------------------------------------------------ r12620 | vlefevre | 2018-04-19 07:01:09 +0000 (Thu, 19 Apr 2018) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Added a comment. ------------------------------------------------------------------------ r12619 | vlefevre | 2018-04-18 23:24:57 +0000 (Wed, 18 Apr 2018) | 6 lines Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Added test_underflow4. This allows to show that the bound MAX (MPFR_PREC (z), MPFR_PREC (s) + 1) in fma.c is optimal: * If one subtract 1 from the 1st term MPFR_PREC (z), a failure occurs in test_underflow4. * If one subtract 1 from the 2nd term MPFR_PREC (s) + 1, a failure occurs in test_underflow2. ------------------------------------------------------------------------ r12618 | vlefevre | 2018-04-18 15:19:33 +0000 (Wed, 18 Apr 2018) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] For the ICC check, also test __INTEL_COMPILER. ------------------------------------------------------------------------ r12617 | vlefevre | 2018-04-18 15:15:25 +0000 (Wed, 18 Apr 2018) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Corrected comment for the ICC check (GCC is no longer disabled since r5720). ------------------------------------------------------------------------ r12616 | zimmerma | 2018-04-18 12:16:49 +0000 (Wed, 18 Apr 2018) | 3 lines Changed paths: M /trunk/TODO M /trunk/src/mpfr.h [src/mpfr.h] enable some code that now works with ICC (tested with ICC 14) [TODO] removed item ------------------------------------------------------------------------ r12615 | vlefevre | 2018-04-18 11:58:30 +0000 (Wed, 18 Apr 2018) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Updated a comment about __ICC. ------------------------------------------------------------------------ r12614 | zimmerma | 2018-04-18 11:32:15 +0000 (Wed, 18 Apr 2018) | 2 lines Changed paths: M /trunk/TODO [TODO] removed item that we won't implement ------------------------------------------------------------------------ r12613 | zimmerma | 2018-04-18 11:25:44 +0000 (Wed, 18 Apr 2018) | 2 lines Changed paths: M /trunk/TODO [TODO] removed done item (UBF) ------------------------------------------------------------------------ r12612 | zimmerma | 2018-04-17 19:50:44 +0000 (Tue, 17 Apr 2018) | 2 lines Changed paths: M /trunk/TODO [TODO] RNDF is done ------------------------------------------------------------------------ r12611 | zimmerma | 2018-04-17 19:46:45 +0000 (Tue, 17 Apr 2018) | 2 lines Changed paths: M /trunk/TODO [TODO] removed an obsolete item ------------------------------------------------------------------------ r12610 | zimmerma | 2018-04-17 19:42:39 +0000 (Tue, 17 Apr 2018) | 2 lines Changed paths: M /trunk/TODO [TODO] log_ui is done ------------------------------------------------------------------------ r12609 | vlefevre | 2018-04-17 09:30:16 +0000 (Tue, 17 Apr 2018) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect the use of mpfr_div_2exp and mpfr_mul_2exp. ------------------------------------------------------------------------ r12608 | vlefevre | 2018-04-17 01:57:39 +0000 (Tue, 17 Apr 2018) | 2 lines Changed paths: M /trunk/tests/reuse.c M /trunk/tests/taway.c [tests/{reuse.c,taway.c}] Added mpfr_div_2ui and mpfr_mul_2ui. Note: si functions are not tested yet. ------------------------------------------------------------------------ r12607 | vlefevre | 2018-04-17 01:51:13 +0000 (Tue, 17 Apr 2018) | 4 lines Changed paths: M /trunk/src/atan.c M /trunk/src/bernoulli.c M /trunk/src/const_euler.c M /trunk/src/digamma.c M /trunk/src/log_ui.c M /trunk/src/sin_cos.c M /trunk/src/zeta.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tasin.c M /trunk/tests/tatan.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tdiv.c M /trunk/tests/texceptions.c M /trunk/tests/tfits.c M /trunk/tests/tgamma.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tmul.c M /trunk/tests/tpow.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/tset_float128.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c Replaced mpfr_mul_2exp & mpfr_div_2exp by mpfr_mul_2ui & mpfr_div_2ui, respectively (for the tests, except in reuse.c and in taway.c). Note: As documented, mpfr_mul_2exp & mpfr_div_2exp are only kept for compatibility with MPF; mpfr_mul_2ui & mpfr_div_2ui are preferred. ------------------------------------------------------------------------ r12606 | vlefevre | 2018-04-16 15:07:16 +0000 (Mon, 16 Apr 2018) | 2 lines Changed paths: M /trunk/TODO [TODO] + function to reduce the precision of a variable, with a ternary value in input, i.e. taking care of double rounding. ------------------------------------------------------------------------ r12605 | vlefevre | 2018-04-16 14:48:20 +0000 (Mon, 16 Apr 2018) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] More tests for test_underflow2. ------------------------------------------------------------------------ r12604 | vlefevre | 2018-04-16 14:41:06 +0000 (Mon, 16 Apr 2018) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Corrected r12603 for test_underflow2. ------------------------------------------------------------------------ r12603 | vlefevre | 2018-04-16 14:20:23 +0000 (Mon, 16 Apr 2018) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] More tests for test_underflow2. ------------------------------------------------------------------------ r12602 | vlefevre | 2018-04-16 13:54:22 +0000 (Mon, 16 Apr 2018) | 1 line Changed paths: M /trunk/src/fma.c [src/fma.c] Updated easy case of underflow. ------------------------------------------------------------------------ r12601 | vlefevre | 2018-04-16 11:43:32 +0000 (Mon, 16 Apr 2018) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Updated a comment for test_underflow2. ------------------------------------------------------------------------ r12600 | vlefevre | 2018-04-16 11:37:23 +0000 (Mon, 16 Apr 2018) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] In test_underflow2, also test different signs. ------------------------------------------------------------------------ r12599 | vlefevre | 2018-04-16 10:36:12 +0000 (Mon, 16 Apr 2018) | 1 line Changed paths: M /trunk/tests [tests] Updated svn:ignore property. ------------------------------------------------------------------------ r12598 | vlefevre | 2018-04-16 09:31:24 +0000 (Mon, 16 Apr 2018) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": check also with -DMPFR_GROUP_STATIC_SIZE=0 to detect memory leaks. ------------------------------------------------------------------------ r12597 | vlefevre | 2018-04-16 09:09:00 +0000 (Mon, 16 Apr 2018) | 1 line Changed paths: M /trunk/src/fma.c [src/fma.c] Forgot a MPFR_GROUP_CLEAR. ------------------------------------------------------------------------ r12596 | vlefevre | 2018-04-16 09:05:01 +0000 (Mon, 16 Apr 2018) | 2 lines Changed paths: M /trunk/src/fma.c [src/fma.c] Simplified the underflow case by using UBF in the difficult cases, resolving the remaining FIXME's. ------------------------------------------------------------------------ r12595 | vlefevre | 2018-04-13 14:44:41 +0000 (Fri, 13 Apr 2018) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] More tests for test_overflow3 by adding loops on j and k. ------------------------------------------------------------------------ r12594 | vlefevre | 2018-04-13 13:43:49 +0000 (Fri, 13 Apr 2018) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Extended test_overflow3 to reversed signs. ------------------------------------------------------------------------ r12593 | vlefevre | 2018-04-13 13:29:31 +0000 (Fri, 13 Apr 2018) | 2 lines Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Do all the overflow/underflow tests in exponent ranges [-1024,1024], [MPFR_EMIN_MIN,MPFR_EMAX_MAX], and the default one. ------------------------------------------------------------------------ r12592 | vlefevre | 2018-04-13 10:17:33 +0000 (Fri, 13 Apr 2018) | 1 line Changed paths: M /trunk/src/mpfr-sassert.h [src/mpfr-sassert.h] Added a comment. ------------------------------------------------------------------------ r12591 | vlefevre | 2018-04-12 19:04:45 +0000 (Thu, 12 Apr 2018) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Forgot a cast for C++ compatibility. ------------------------------------------------------------------------ r12590 | vlefevre | 2018-04-12 14:50:25 +0000 (Thu, 12 Apr 2018) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Reverted r12588: there should be no alignment issues with UBF, since an UBF (__mpfr_ubf_struct) is sometimes regarded as a MPFR number (__mpfr_struct) but not the opposite (or this is just back to __mpfr_ubf_struct). ------------------------------------------------------------------------ r12589 | vlefevre | 2018-04-12 14:17:55 +0000 (Thu, 12 Apr 2018) | 2 lines Changed paths: M /trunk/src/fma.c [src/fma.c] Simplified the difficult part of the overflow case by using UBF (this also fixes corner cases in huge precision). ------------------------------------------------------------------------ r12588 | vlefevre | 2018-04-12 13:46:10 +0000 (Thu, 12 Apr 2018) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a note about alignment constraints for UBF. ------------------------------------------------------------------------ r12587 | vlefevre | 2018-04-12 13:34:16 +0000 (Thu, 12 Apr 2018) | 2 lines Changed paths: M /trunk/src/fma.c M /trunk/tests/tfma.c [src/fma.c] Fixed sign related bug in overflow case. [tests/tfma.c] Added test_overflow5 test for this bug. ------------------------------------------------------------------------ r12586 | vlefevre | 2018-04-12 12:52:20 +0000 (Thu, 12 Apr 2018) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] In test_overflow4, also test different signs. ------------------------------------------------------------------------ r12585 | vlefevre | 2018-04-12 10:27:59 +0000 (Thu, 12 Apr 2018) | 2 lines Changed paths: M /trunk/src/fma.c [src/fma.c] Correction for the FIXME from r12403 concerning r12396. The test added in tests/tfma.c r12584 no longer fails. ------------------------------------------------------------------------ r12584 | vlefevre | 2018-04-12 10:21:00 +0000 (Thu, 12 Apr 2018) | 2 lines Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Added a test that fails. It corresponds to the FIXME in src/fma.c about the test on MPFR_GET_EXP (u) - MPFR_GET_EXP (z). ------------------------------------------------------------------------ r12583 | vlefevre | 2018-04-12 08:29:47 +0000 (Thu, 12 Apr 2018) | 4 lines Changed paths: M /trunk/src/fma.c [src/fma.c] Removed a redundant test since the second condition of the && expression implies the first one. Note: This test came from the time when the precision type was unsigned, in order to make sure that the result of the subtraction was positive. ------------------------------------------------------------------------ r12575 | vlefevre | 2018-04-11 12:40:33 +0000 (Wed, 11 Apr 2018) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output "Generic ABI code" info (MPFR_GENERIC_ABI). ------------------------------------------------------------------------ r12574 | vlefevre | 2018-04-11 09:12:00 +0000 (Wed, 11 Apr 2018) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] English usage in a comment. ------------------------------------------------------------------------ r12573 | zimmerma | 2018-04-11 06:51:30 +0000 (Wed, 11 Apr 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] fixed bug in corner cases ------------------------------------------------------------------------ r12572 | vlefevre | 2018-04-10 15:51:23 +0000 (Tue, 10 Apr 2018) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Reverted r12569: this is wrong with a 32-bit ABI. ------------------------------------------------------------------------ r12571 | vlefevre | 2018-04-10 13:12:40 +0000 (Tue, 10 Apr 2018) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Added a FIXME. ------------------------------------------------------------------------ r12570 | zimmerma | 2018-04-10 12:34:44 +0000 (Tue, 10 Apr 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] added more comments ------------------------------------------------------------------------ r12569 | zimmerma | 2018-04-10 08:31:31 +0000 (Tue, 10 Apr 2018) | 3 lines Changed paths: M /trunk/src/strtofr.c M /trunk/tests/tstrtofr.c [src/strtofr.c] replaced dead code by an assert [tests/tstrtofr.c] fixed bug20170308 and added coverage test ------------------------------------------------------------------------ r12568 | zimmerma | 2018-04-09 14:49:32 +0000 (Mon, 09 Apr 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] removed dead code (and added explanation) ------------------------------------------------------------------------ r12567 | zimmerma | 2018-04-09 08:02:45 +0000 (Mon, 09 Apr 2018) | 2 lines Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] completed a comment ------------------------------------------------------------------------ r12566 | zimmerma | 2018-04-06 16:19:29 +0000 (Fri, 06 Apr 2018) | 3 lines Changed paths: M /trunk/src/strtofr.c M /trunk/tests/tstrtofr.c [src/strtofr.c] added comment [tests/tstrtofr.c] improve coverage ------------------------------------------------------------------------ r12565 | vlefevre | 2018-04-06 15:21:45 +0000 (Fri, 06 Apr 2018) | 1 line Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] Replaced an incorrect comment by an assertion. ------------------------------------------------------------------------ r12564 | vlefevre | 2018-04-06 15:12:54 +0000 (Fri, 06 Apr 2018) | 1 line Changed paths: M /trunk/src/round_raw_generic.c [src/round_raw_generic.c] Check validity of flag. ------------------------------------------------------------------------ r12563 | zimmerma | 2018-04-06 15:11:13 +0000 (Fri, 06 Apr 2018) | 2 lines Changed paths: M /trunk/NEWS [NEWS] now 98.2% of test coverage ------------------------------------------------------------------------ r12562 | vlefevre | 2018-04-06 15:07:51 +0000 (Fri, 06 Apr 2018) | 1 line Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Tests in lexicographic order. ------------------------------------------------------------------------ r12561 | zimmerma | 2018-04-06 15:02:12 +0000 (Fri, 06 Apr 2018) | 4 lines Changed paths: M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/tests/tcan_round.c [src/round_prec.c] added comments [src/round_raw_generic.c] removed dead code [tests/tcan_round.c] improve coverage ------------------------------------------------------------------------ r12560 | zimmerma | 2018-04-06 14:46:04 +0000 (Fri, 06 Apr 2018) | 2 lines Changed paths: M /trunk/tests/Makefile.am A /trunk/tests/tprec_round.c (from /trunk/tests/tround_prec.c:12559) D /trunk/tests/tround_prec.c renamed tround_prec.c to tprec_round.c ------------------------------------------------------------------------ r12559 | zimmerma | 2018-04-06 13:43:27 +0000 (Fri, 06 Apr 2018) | 3 lines Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] removed some dead code (if rnd1 = rnd2 and the case rnd2 = RNDN was already treated, we cannot have rnd1 = RNDN) ------------------------------------------------------------------------ r12558 | vlefevre | 2018-04-06 10:02:31 +0000 (Fri, 06 Apr 2018) | 5 lines Changed paths: M /trunk/tests/tpow.c [tests/tpow.c] Fixed a test: * For this test, unsigned long and mpfr_exp_t must both have at least 64 bits. * Use a hardcoded emax, otherwise the test could fail for mpfr_exp_t larger than 64 bits (one would not have an overflow as expected). ------------------------------------------------------------------------ r12557 | vlefevre | 2018-04-06 09:43:31 +0000 (Fri, 06 Apr 2018) | 2 lines Changed paths: M /trunk/src/pow.c [src/pow.c] Fixed the code in case the size of the mpfr_exp_t type would be larger than 256 bits. This is also semantically better. ------------------------------------------------------------------------ r12556 | vlefevre | 2018-04-06 09:40:57 +0000 (Fri, 06 Apr 2018) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/tests/mpfr-test.h Moved the MAX, MIN and ABS macros from tests/mpfr-test.h to src/mpfr-impl.h (they can be useful...). ------------------------------------------------------------------------ r12555 | vlefevre | 2018-04-06 09:20:56 +0000 (Fri, 06 Apr 2018) | 1 line Changed paths: M /trunk/tests/tpow.c [tests/tpow.c] More tests for (-2)^(2^i + 1), not just with i = 256. ------------------------------------------------------------------------ r12554 | zimmerma | 2018-04-06 08:57:26 +0000 (Fri, 06 Apr 2018) | 2 lines Changed paths: M /trunk/tests/tpow.c [tests/tpow.c] modified a test for better coverage ------------------------------------------------------------------------ r12553 | vlefevre | 2018-04-06 08:47:09 +0000 (Fri, 06 Apr 2018) | 1 line Changed paths: M /trunk/tests/tpow.c [tests/tpow.c] Corrected a comment (again). ------------------------------------------------------------------------ r12552 | vlefevre | 2018-04-06 08:45:56 +0000 (Fri, 06 Apr 2018) | 1 line Changed paths: M /trunk/tests/tpow.c [tests/tpow.c] Corrected a comment. ------------------------------------------------------------------------ r12551 | zimmerma | 2018-04-06 08:11:21 +0000 (Fri, 06 Apr 2018) | 2 lines Changed paths: M /trunk/src/pow.c [src/pow.c] simplified case x=2^b and y < 0 ------------------------------------------------------------------------ r12550 | vlefevre | 2018-04-05 14:29:38 +0000 (Thu, 05 Apr 2018) | 1 line Changed paths: M /trunk/src/pow.c [src/pow.c] Updated comments. ------------------------------------------------------------------------ r12549 | vlefevre | 2018-04-05 14:15:16 +0000 (Thu, 05 Apr 2018) | 2 lines Changed paths: M /trunk/src/pow.c [src/pow.c] Reverted r12541 (which yielded a failure in tpow_all), re-indented, and added a comment concerning the failing case. ------------------------------------------------------------------------ r12548 | zimmerma | 2018-04-05 07:28:05 +0000 (Thu, 05 Apr 2018) | 3 lines Changed paths: M /trunk/src/round_prec.c M /trunk/tests/tcan_round.c [src/round_prec.c] fixed a bug (to be reviewed) [tests/tcan_round.c] added coverage tests ------------------------------------------------------------------------ r12547 | zimmerma | 2018-04-05 06:32:30 +0000 (Thu, 05 Apr 2018) | 2 lines Changed paths: M /trunk/tests/ttan.c [tests/ttan.c] improve coverage (and also of round_near_x) ------------------------------------------------------------------------ r12546 | zimmerma | 2018-04-05 06:01:20 +0000 (Thu, 05 Apr 2018) | 2 lines Changed paths: M /trunk/src/pow.c [src/pow.c] fixed typo ------------------------------------------------------------------------ r12545 | vlefevre | 2018-04-04 16:47:10 +0000 (Wed, 04 Apr 2018) | 1 line Changed paths: M /trunk/NEWS [NEWS] Coverage is specific to x86_64 due to the various #if. ------------------------------------------------------------------------ r12544 | vlefevre | 2018-04-04 16:44:54 +0000 (Wed, 04 Apr 2018) | 1 line Changed paths: M /trunk/src/pow.c [src/pow.c] Corrected indentation. ------------------------------------------------------------------------ r12543 | zimmerma | 2018-04-04 16:34:31 +0000 (Wed, 04 Apr 2018) | 2 lines Changed paths: M /trunk/NEWS [NEWS] coverage is now 98.1% ------------------------------------------------------------------------ r12542 | zimmerma | 2018-04-04 16:31:38 +0000 (Wed, 04 Apr 2018) | 2 lines Changed paths: M /trunk/src/pow.c [src/pow.c] added a comment ------------------------------------------------------------------------ r12541 | zimmerma | 2018-04-04 16:21:33 +0000 (Wed, 04 Apr 2018) | 3 lines Changed paths: M /trunk/src/pow.c M /trunk/tests/tpow.c [src/pow.c] removed some dead code (with comment explaining why) [tests/tpow.c] added a test ------------------------------------------------------------------------ r12540 | zimmerma | 2018-04-04 15:31:32 +0000 (Wed, 04 Apr 2018) | 3 lines Changed paths: M /trunk/src/pow.c M /trunk/tests/tpow.c [src/pow.c] simplify code for prec=1 [tests/tpow.c] added tests for prec=1 ------------------------------------------------------------------------ r12539 | zimmerma | 2018-04-03 15:28:21 +0000 (Tue, 03 Apr 2018) | 2 lines Changed paths: M /trunk/src/mparam_h.in [src/mparam_h.in] added macros for Microsoft compiler ------------------------------------------------------------------------ r12538 | vlefevre | 2018-04-03 13:25:29 +0000 (Tue, 03 Apr 2018) | 1 line Changed paths: M /trunk/tools/check_mparam.c [tools/check_mparam.c] Added a copyright notice. ------------------------------------------------------------------------ r12537 | vlefevre | 2018-04-03 13:20:13 +0000 (Tue, 03 Apr 2018) | 2 lines Changed paths: M /trunk/Makefile.am [Makefile.am] Added tools/check_mparam.c and tools/ck-mparam to EXTRA_DIST since tools/ck-mparam is now run in dist-hook. ------------------------------------------------------------------------ r12536 | vlefevre | 2018-04-03 13:09:08 +0000 (Tue, 03 Apr 2018) | 1 line Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Do not output a useless "PASS ..." line at the end. ------------------------------------------------------------------------ r12535 | vlefevre | 2018-04-03 13:07:14 +0000 (Tue, 03 Apr 2018) | 3 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Update of the "check" rule: * Output svnversion info when applicable. * Do not echo "cat tversion.log 2> /dev/null || true". ------------------------------------------------------------------------ r12534 | vlefevre | 2018-04-03 11:08:38 +0000 (Tue, 03 Apr 2018) | 1 line Changed paths: M /trunk/Makefile.am [Makefile.am] Added missing comments for dist-hook. ------------------------------------------------------------------------ r12533 | vlefevre | 2018-04-03 11:05:23 +0000 (Tue, 03 Apr 2018) | 1 line Changed paths: M /trunk/Makefile.am [Makefile.am] Run ck-mparam in dist-hook (for "make dist"). ------------------------------------------------------------------------ r12532 | vlefevre | 2018-04-03 11:02:41 +0000 (Tue, 03 Apr 2018) | 2 lines Changed paths: M /trunk/tools/ck-mparam [tools/ck-mparam] Commented out the old gcc-specific test since the new one is strictly more powerful. No longer depend on gcc. ------------------------------------------------------------------------ r12531 | vlefevre | 2018-04-03 10:57:37 +0000 (Tue, 03 Apr 2018) | 1 line Changed paths: M /trunk/tools/ck-mparam [tools/ck-mparam] Also check the mparam.h files with check_mparam.c. ------------------------------------------------------------------------ r12530 | vlefevre | 2018-04-03 10:48:34 +0000 (Tue, 03 Apr 2018) | 2 lines Changed paths: M /trunk/tools/check_mparam.c [tools/check_mparam.c] C89 compatibility. Return an error code (useful for scripts). ------------------------------------------------------------------------ r12529 | vlefevre | 2018-04-03 10:45:20 +0000 (Tue, 03 Apr 2018) | 2 lines Changed paths: M /trunk/tools/check_mparam.c [tools/check_mparam.c] A pathname of the mparam.h file can now be provided with -DMPARAM='"..."' when compiling. ------------------------------------------------------------------------ r12528 | vlefevre | 2018-04-03 10:38:15 +0000 (Tue, 03 Apr 2018) | 3 lines Changed paths: D /misc/check_mparam.c A /trunk/tools/check_mparam.c (from /misc/check_mparam.c:12527) Moved misc/check_mparam.c into trunk/tools: it will be useful for "make dist" in order to make sure that all mparam.h files are OK before a release. ------------------------------------------------------------------------ r12527 | vlefevre | 2018-04-03 10:31:30 +0000 (Tue, 03 Apr 2018) | 3 lines Changed paths: M /trunk/src/mulders.c [src/mulders.c] Re-enable the change done in r12382. This is allowed after the fix in generic/mparam.h r12525 (this file was hand written and did not satisfy the current constraints). ------------------------------------------------------------------------ r12525 | zimmerma | 2018-04-03 09:39:30 +0000 (Tue, 03 Apr 2018) | 3 lines Changed paths: M /trunk/src/generic/mparam.h [generic/mparam.h] ensure divhigh_ktab[n] is 0 or < n-1, as now required since commit r12382 ------------------------------------------------------------------------ r12524 | vlefevre | 2018-04-02 23:22:02 +0000 (Mon, 02 Apr 2018) | 1 line Changed paths: M /trunk/src/mulders.c [src/mulders.c] Code style / indentation. Added a comment. ------------------------------------------------------------------------ r12523 | vlefevre | 2018-04-02 23:04:08 +0000 (Mon, 02 Apr 2018) | 3 lines Changed paths: M /trunk/src/mulders.c [src/mulders.c] Reverting r12382 because divhigh_ktab[n] == n can happen. Note: this probably lacks documentation; moreover, testing that these tables satisfy the requirements would be useful. ------------------------------------------------------------------------ r12522 | vlefevre | 2018-03-31 01:07:26 +0000 (Sat, 31 Mar 2018) | 2 lines Changed paths: M /trunk/src/inp_str.c [src/inp_str.c] Handle size_t overflow, empty string (after skipping spaces), and I/O errors (as opposed to end-of-file). ------------------------------------------------------------------------ r12521 | zimmerma | 2018-03-30 12:28:40 +0000 (Fri, 30 Mar 2018) | 2 lines Changed paths: M /trunk/src/inp_str.c [src/inp_str.c] disallow stream=NULL (cf r12520) ------------------------------------------------------------------------ r12520 | zimmerma | 2018-03-30 09:16:17 +0000 (Fri, 30 Mar 2018) | 2 lines Changed paths: M /trunk/src/out_str.c [src/out_str.c] the behavior on a null stream is unspecified (cf r12519) ------------------------------------------------------------------------ r12519 | vlefevre | 2018-03-30 08:51:22 +0000 (Fri, 30 Mar 2018) | 1 line Changed paths: M /trunk/tests/tout_str.c Reverted r12516: the behavior on a null stream is unspecified. ------------------------------------------------------------------------ r12518 | zimmerma | 2018-03-30 07:09:45 +0000 (Fri, 30 Mar 2018) | 2 lines Changed paths: M /trunk/tests/tpow.c [tests/tpow.c] restrict a test to 64-bit exponent ------------------------------------------------------------------------ r12517 | zimmerma | 2018-03-29 15:42:09 +0000 (Thu, 29 Mar 2018) | 3 lines Changed paths: M /trunk/src/pow.c M /trunk/tests/tpow.c [src/pow.c] added comment [tests/tpow.c] improve coverage ------------------------------------------------------------------------ r12516 | zimmerma | 2018-03-29 14:18:14 +0000 (Thu, 29 Mar 2018) | 5 lines Changed paths: M /trunk/tests/tout_str.c [tests/tout_str.c] improve coverage (I don't know how to avoid printing to stdout, but since "make check" no longer shows the test outputs, this should be fine). However I don't know how to do the same for mpfr_inp_str... ------------------------------------------------------------------------ r12515 | zimmerma | 2018-03-29 13:24:17 +0000 (Thu, 29 Mar 2018) | 2 lines Changed paths: M /trunk/tests/tconst_pi.c [tests/tconst_pi.c] forgotten line in commit 12512 ------------------------------------------------------------------------ r12514 | zimmerma | 2018-03-29 13:17:23 +0000 (Thu, 29 Mar 2018) | 2 lines Changed paths: M /trunk/src/grandom.c M /trunk/tests/tgrandom.c [tests/tgrandom.c] improve coverage ------------------------------------------------------------------------ r12513 | zimmerma | 2018-03-29 12:54:34 +0000 (Thu, 29 Mar 2018) | 2 lines Changed paths: M /trunk/src/grandom.c [src/grandom.c] improve coverage, and solved a FIXME ------------------------------------------------------------------------ r12512 | zimmerma | 2018-03-29 12:20:33 +0000 (Thu, 29 Mar 2018) | 2 lines Changed paths: M /trunk/tests/tconst_pi.c [tests/tconst_pi.c] improve coverage of mpfr_free_cache2 ------------------------------------------------------------------------ r12511 | vlefevre | 2018-03-29 12:01:38 +0000 (Thu, 29 Mar 2018) | 1 line Changed paths: M /trunk/src/fpif.c [src/fpif.c] Reverted another incorrect change done in r12509. ------------------------------------------------------------------------ r12510 | vlefevre | 2018-03-29 11:59:48 +0000 (Thu, 29 Mar 2018) | 1 line Changed paths: M /trunk/src/fpif.c [src/fpif.c] Reverted an incorrect change done in r12509. ------------------------------------------------------------------------ r12509 | zimmerma | 2018-03-29 10:22:38 +0000 (Thu, 29 Mar 2018) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] simplify code and improve coverage to 100% ------------------------------------------------------------------------ r12508 | zimmerma | 2018-03-29 10:04:50 +0000 (Thu, 29 Mar 2018) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] removed dead code and simplify code ------------------------------------------------------------------------ r12507 | zimmerma | 2018-03-29 09:38:22 +0000 (Thu, 29 Mar 2018) | 2 lines Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] improve coverage ------------------------------------------------------------------------ r12506 | zimmerma | 2018-03-29 08:28:14 +0000 (Thu, 29 Mar 2018) | 2 lines Changed paths: M /trunk/src/fpif.c M /trunk/tests/tfpif.c [tests/tfpif.c] improve coverage ------------------------------------------------------------------------ r12505 | vlefevre | 2018-03-29 08:09:58 +0000 (Thu, 29 Mar 2018) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Really fixed the badData test, completing r12504. ------------------------------------------------------------------------ r12504 | vlefevre | 2018-03-29 08:08:58 +0000 (Thu, 29 Mar 2018) | 3 lines Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Fixed a test: for the huge-precision badData case, make sure that the data are valid so that we really check that the precision does not fit (and not a read error). ------------------------------------------------------------------------ r12503 | vlefevre | 2018-03-29 07:26:11 +0000 (Thu, 29 Mar 2018) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Correction just in case MPFR_PREC_BITS > 64. ------------------------------------------------------------------------ r12502 | vlefevre | 2018-03-29 00:02:43 +0000 (Thu, 29 Mar 2018) | 1 line Changed paths: M /trunk/tests/tgmpop.c Removed trailing whitespace. ------------------------------------------------------------------------ r12501 | vlefevre | 2018-03-28 23:57:49 +0000 (Wed, 28 Mar 2018) | 5 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] * Replaced an incorrect comment from r12500 by a correct assertion. * Fixed a theoretical bug coming from this incorrect comment. * Added a MPFR_ASSERTN assertion to double-check correctness. * Added a comment explaining a ... >= 0x80 test. ------------------------------------------------------------------------ r12500 | zimmerma | 2018-03-28 10:35:33 +0000 (Wed, 28 Mar 2018) | 3 lines Changed paths: M /trunk/src/fpif.c M /trunk/tests/tfpif.c [src/fpif.c] removed dead code [tests/tfpif.c] improve coverage ------------------------------------------------------------------------ r12499 | zimmerma | 2018-03-28 09:44:59 +0000 (Wed, 28 Mar 2018) | 3 lines Changed paths: M /trunk/src/gmp_op.c M /trunk/tests/tgmpop.c [src/gmp_op.c] fixed bug in mpfr_cmp_q for den(q)=0 [tests/tgmpop.c] improve coverage ------------------------------------------------------------------------ r12498 | vlefevre | 2018-03-24 01:52:02 +0000 (Sat, 24 Mar 2018) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Typographic correction (texinfo rule). ------------------------------------------------------------------------ r12497 | vlefevre | 2018-03-24 01:48:38 +0000 (Sat, 24 Mar 2018) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] For codespell, skip mpfr.t2p (directory created in doc by "make pdf"). ------------------------------------------------------------------------ r12496 | vlefevre | 2018-03-24 01:45:59 +0000 (Sat, 24 Mar 2018) | 1 line Changed paths: M /trunk/src/total_order.c [src/total_order.c] Simplified the code (shorter code). ------------------------------------------------------------------------ r12495 | vlefevre | 2018-03-24 01:34:17 +0000 (Sat, 24 Mar 2018) | 2 lines Changed paths: M /trunk/tests/ttotal_order.c [tests/ttotal_order.c] Rewrote the tests to test every combination of classes of values. ------------------------------------------------------------------------ r12494 | vlefevre | 2018-03-24 00:28:27 +0000 (Sat, 24 Mar 2018) | 1 line Changed paths: M /trunk/tests/Makefile.am D /trunk/tests/total_order.c A /trunk/tests/ttotal_order.c (from /trunk/tests/total_order.c:12493) [tests] Renamed total_order.c to ttotal_order.c. ------------------------------------------------------------------------ r12493 | vlefevre | 2018-03-23 18:17:37 +0000 (Fri, 23 Mar 2018) | 1 line Changed paths: M /trunk/src/total_order.c [src/total_order.c] Suggest to test the sign bit first. ------------------------------------------------------------------------ r12492 | vlefevre | 2018-03-23 18:15:22 +0000 (Fri, 23 Mar 2018) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added mpfr_total_order in "Added Functions". ------------------------------------------------------------------------ r12491 | vlefevre | 2018-03-23 18:14:05 +0000 (Fri, 23 Mar 2018) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved mpfr_total_order description. ------------------------------------------------------------------------ r12490 | zimmerma | 2018-03-23 17:42:06 +0000 (Fri, 23 Mar 2018) | 2 lines Changed paths: M /trunk/TODO [TODO] totalOrder is done ------------------------------------------------------------------------ r12489 | zimmerma | 2018-03-23 17:03:58 +0000 (Fri, 23 Mar 2018) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am M /trunk/src/mpfr.h A /trunk/src/total_order.c M /trunk/tests/Makefile.am A /trunk/tests/total_order.c added mpfr_total_order ------------------------------------------------------------------------ r12488 | vlefevre | 2018-03-23 10:06:33 +0000 (Fri, 23 Mar 2018) | 7 lines Changed paths: M /trunk/tests/terf.c M /trunk/tests/tpow.c M /trunk/tests/tpow_z.c [tests] Removed some useless #include's, in particular all the unconditional #include occurrences. Note: There is an incompatibility between glibc 2.27 and the math.h provided by ICC 15 (at least), and this solves a compilation failure in the build of the tests. Moreover, is not required by freestanding implementations, so that it may be better to avoid it if possible. ------------------------------------------------------------------------ r12487 | zimmerma | 2018-03-21 11:02:23 +0000 (Wed, 21 Mar 2018) | 2 lines Changed paths: M /trunk/TODO added 2 suggestions from Patrick Pelissier ------------------------------------------------------------------------ r12486 | vlefevre | 2018-03-20 15:33:54 +0000 (Tue, 20 Mar 2018) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] For codespell, skip all the algorithms.* files. ------------------------------------------------------------------------ r12485 | vlefevre | 2018-03-15 11:31:10 +0000 (Thu, 15 Mar 2018) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Added a comment for the mul/sqr test. ------------------------------------------------------------------------ r12484 | vlefevre | 2018-03-15 11:27:38 +0000 (Thu, 15 Mar 2018) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] In the mul/sqr test (r12482), exclude mul.c and sqr.c. ------------------------------------------------------------------------ r12483 | zimmerma | 2018-03-15 10:21:18 +0000 (Thu, 15 Mar 2018) | 2 lines Changed paths: M /trunk/src/acosh.c M /trunk/src/asinh.c M /trunk/src/atanh.c M /trunk/src/cos.c M /trunk/src/digamma.c M /trunk/src/erf.c M /trunk/src/erfc.c M /trunk/src/jn.c M /trunk/src/lngamma.c M /trunk/src/mul.c M /trunk/src/pow_ui.c M /trunk/src/pow_z.c M /trunk/src/sin.c M /trunk/src/sqr.c M /trunk/src/ui_pow_ui.c M /trunk/src/yn.c changed mpfr_mul (a, b, b, ...) into mpfr_sqr (a, b, ...) whenever possible ------------------------------------------------------------------------ r12482 | vlefevre | 2018-03-14 15:59:35 +0000 (Wed, 14 Mar 2018) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect mpfr_mul with identical 2nd and 3rd arguments, which can be replaced by mpfr_sqr (suggestion by PZ). ------------------------------------------------------------------------ r12481 | zimmerma | 2018-03-14 15:06:00 +0000 (Wed, 14 Mar 2018) | 2 lines Changed paths: M /trunk/src/const_pi.c [src/const_pi.c] added a reference, and replace mpfr_mul by mpfr_sqr ------------------------------------------------------------------------ r12478 | vlefevre | 2018-03-10 00:40:13 +0000 (Sat, 10 Mar 2018) | 2 lines Changed paths: M /trunk/tests/tget_str.c [tests/tget_str.c] Fixed failure from r12473 when mpfr_prec_t is an int (missing casts for sprintf / printf). ------------------------------------------------------------------------ r12477 | vlefevre | 2018-03-09 23:58:15 +0000 (Fri, 09 Mar 2018) | 1 line Changed paths: M /trunk/tests/tget_str.c [tests/tget_str.c] C++ compatibility. ------------------------------------------------------------------------ r12476 | vlefevre | 2018-03-09 23:17:29 +0000 (Fri, 09 Mar 2018) | 1 line Changed paths: M /trunk/tests/tget_str.c [tests/tget_str.c] Use tests_allocate / tests_free. ------------------------------------------------------------------------ r12474 | vlefevre | 2018-03-09 23:10:41 +0000 (Fri, 09 Mar 2018) | 1 line Changed paths: M /trunk/TODO M /trunk/doc/mpfr.texi M /trunk/src/atan.c M /trunk/src/cache.c M /trunk/src/fpif.c M /trunk/src/get_flt.c M /trunk/src/mpfr.h M /trunk/src/sum.c M /trunk/tests/terandom_chisq.c M /trunk/tests/tnrandom_chisq.c Fixed spelling mistakes found by codespell 1.12.0. ------------------------------------------------------------------------ r12473 | zimmerma | 2018-03-09 16:55:48 +0000 (Fri, 09 Mar 2018) | 2 lines Changed paths: M /trunk/tests/tget_str.c [tests/tget_str.c] added tests for corner cases of mpfr_set_str o mpfr_get_str ------------------------------------------------------------------------ r12472 | vlefevre | 2018-03-08 11:32:31 +0000 (Thu, 08 Mar 2018) | 1 line Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] In EXTRA_DIST, put the mparam.h in alphabetic order. ------------------------------------------------------------------------ r12471 | vlefevre | 2018-03-08 11:27:21 +0000 (Thu, 08 Mar 2018) | 1 line Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] Updated EXTRA_DIST for amd due to r12387. ------------------------------------------------------------------------ r12469 | vlefevre | 2018-03-08 02:33:34 +0000 (Thu, 08 Mar 2018) | 1 line Changed paths: M /trunk/doc/README.dev M /trunk/src/li2.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-thread.h M /trunk/src/vasprintf.c M /trunk/tests/tgmpop.c M /trunk/tests/tset_ld.c Fixed spelling mistakes found by codespell 1.11.0. ------------------------------------------------------------------------ r12468 | vlefevre | 2018-03-08 02:29:43 +0000 (Thu, 08 Mar 2018) | 1 line Changed paths: M /trunk/codespell.ignore [codespell.ignore] Also ignore "cas". ------------------------------------------------------------------------ r12467 | vlefevre | 2018-03-08 02:27:22 +0000 (Thu, 08 Mar 2018) | 4 lines Changed paths: A /trunk/codespell.ignore M /trunk/tools/mpfrlint Added codespell.ignore file with simple words to ignore with codespell ("iff" as used in math; "nd" as the n comes from \n in printf, but nd could also be a variable name; "te" as used as a variable name). Updated tools/mpfrlint to use this file with codespell. ------------------------------------------------------------------------ r12466 | vlefevre | 2018-03-05 14:44:44 +0000 (Mon, 05 Mar 2018) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r12464 | zimmerma | 2018-03-05 13:04:37 +0000 (Mon, 05 Mar 2018) | 4 lines Changed paths: M /trunk/src/get_str.c M /trunk/tests/tget_str.c [tests/tget_str.c] added tests for mpfr_get_str_ndigits [src/get_str.c] fixed bugs in mpfr_get_str_ndigits for b=2^k (value was 1 too large) and very large p (value was 1 too small) ------------------------------------------------------------------------ r12462 | vlefevre | 2018-03-05 10:40:43 +0000 (Mon, 05 Mar 2018) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Typographic corrections for mpfr_subnormalize. ------------------------------------------------------------------------ r12461 | vlefevre | 2018-03-05 10:31:40 +0000 (Mon, 05 Mar 2018) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi [NEWS] Added mpfr_get_str_ndigits. [doc/mpfr.texi] Added mpfr_get_str_ndigits in "Added Functions". ------------------------------------------------------------------------ r12460 | vlefevre | 2018-03-05 10:26:34 +0000 (Mon, 05 Mar 2018) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Minor corrections concerning mpfr_get_str. ------------------------------------------------------------------------ r12459 | vlefevre | 2018-03-05 10:05:37 +0000 (Mon, 05 Mar 2018) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Added a note about a mpfr_prec_t limitation. ------------------------------------------------------------------------ r12458 | vlefevre | 2018-03-05 09:59:19 +0000 (Mon, 05 Mar 2018) | 6 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] Simplified mpfr_get_str_ndigits (changes from r12455): * MPFR_PREC_BITS is used to exactly do what is wanted. * Removed dead code as currently, mpfr_prec_t <= unsigned long. Note: if in the future we support mpfr_prec_t > unsigned long (e.g. to have a 64-bit precision on MS Windows), the generic code could be retrieved back from r12455. ------------------------------------------------------------------------ r12457 | zimmerma | 2018-03-05 09:35:32 +0000 (Mon, 05 Mar 2018) | 3 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/get_str.c M /trunk/src/mpfr.h [src/get_str.c,src/mpfr.h] mpfr_get_str_digits -> mpfr_get_str_ndigits [doc/mpfr.texi] updated documentation of mpfr_get_str ------------------------------------------------------------------------ r12456 | zimmerma | 2018-03-05 09:29:42 +0000 (Mon, 05 Mar 2018) | 2 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] fixed FIXME ------------------------------------------------------------------------ r12455 | vlefevre | 2018-03-05 09:19:42 +0000 (Mon, 05 Mar 2018) | 1 line Changed paths: M /trunk/src/get_str.c [src/get_str.c] Portability corrections in mpfr_get_str_digits. ------------------------------------------------------------------------ r12454 | zimmerma | 2018-03-05 08:22:18 +0000 (Mon, 05 Mar 2018) | 3 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/get_str.c M /trunk/src/mpfr.h [src/get_str.c] new function mpfr_get_str_digits [doc/mpfr.texi] added documentation for mpfr_get_str_digits ------------------------------------------------------------------------ r12453 | vlefevre | 2018-03-03 01:19:24 +0000 (Sat, 03 Mar 2018) | 2 lines Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Fixed bug from r12407 with 32-bit long and 64-bit limbs (e.g. as under 64-bit MS Windows). ------------------------------------------------------------------------ r12452 | vlefevre | 2018-02-26 23:52:34 +0000 (Mon, 26 Feb 2018) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Correction for test of the fallback to __float128: in the test program, define the variable outside main() in order to avoid an error when the -Werror=unused-variable GCC option is used. ------------------------------------------------------------------------ r12451 | vlefevre | 2018-02-26 19:17:17 +0000 (Mon, 26 Feb 2018) | 1 line Changed paths: M /trunk/src/get_sj.c [src/get_sj.c] Avoid an unused variable. ------------------------------------------------------------------------ r12450 | vlefevre | 2018-02-26 18:00:38 +0000 (Mon, 26 Feb 2018) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated description of MPFR_WANT_FLOAT128. ------------------------------------------------------------------------ r12449 | vlefevre | 2018-02-26 17:56:40 +0000 (Mon, 26 Feb 2018) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Recommend AC_LINK_IFELSE rather than AC_COMPILE_IFELSE (see r12448 as an example of an issue with AC_COMPILE_IFELSE). ------------------------------------------------------------------------ r12448 | vlefevre | 2018-02-26 17:55:14 +0000 (Mon, 26 Feb 2018) | 4 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed a test, which could define MPFR_INTMAX_WITHIN_LIMB even when not true (MPFR_STAT_STATIC_ASSERT() was just regarded as a function call since the macro was not defined, thus did not yield an error). ------------------------------------------------------------------------ r12447 | vlefevre | 2018-02-26 17:31:19 +0000 (Mon, 26 Feb 2018) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output the sizes of long and intmax_t. ------------------------------------------------------------------------ r12446 | vlefevre | 2018-02-26 16:36:42 +0000 (Mon, 26 Feb 2018) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed incorrect test from r12426. ------------------------------------------------------------------------ r12445 | vlefevre | 2018-02-26 15:08:10 +0000 (Mon, 26 Feb 2018) | 1 line Changed paths: M /trunk/src/mulders.c M /trunk/tests/tfma.c M /trunk/tune/tuneup.c Removed trailing spaces. ------------------------------------------------------------------------ r12444 | vlefevre | 2018-02-26 12:43:22 +0000 (Mon, 26 Feb 2018) | 18 lines Changed paths: M /trunk/NEWS M /trunk/acinclude.m4 M /trunk/src/set_float128.c Updated support for binary128: * __float128 was changed to _Float128 (ISO/IEC TS 18661) in r12391; also changed the suffix of the constants from "q" to "f128". * Use __float128 with the "q" suffix as a fallback in order to avoid regressions with GCC 6- and with C++ mode (g++). As documented in the GCC manual, this is entirely compatible on most platforms where both are supported: _Float128 and __float128 are the same type, and it could be checked that the following prototypes are equivalent (as expected): _Float128 f (__float128) __float128 f (_Float128) The only potential issues would be on hppa and IA-64 HP-UX, where __float128 is an alias for "long double" instead of _Float128, in case the ABI would be different (I have no information about this) and both would be mixed up with software using the MPFR conversion functions for binary128 via __float128 or "long double". The worst thing that could happen is a link error. If the link is accepted, everything should be fine as the representation doesn't change. ------------------------------------------------------------------------ r12443 | vlefevre | 2018-02-26 11:41:08 +0000 (Mon, 26 Feb 2018) | 1 line Changed paths: M /trunk/src/set_float128.c [src/set_float128.c] Removed a useless #include and corrected a comment. ------------------------------------------------------------------------ r12442 | vlefevre | 2018-02-25 01:53:11 +0000 (Sun, 25 Feb 2018) | 1 line Changed paths: M /trunk/src/get_z_exp.c [src/get_z_exp.c] Portability. ------------------------------------------------------------------------ r12441 | vlefevre | 2018-02-25 01:19:07 +0000 (Sun, 25 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] Avoid a compilation error with gcc -std=c90 -pedantic -Werror in 32-bit ABI. ------------------------------------------------------------------------ r12440 | vlefevre | 2018-02-25 01:02:44 +0000 (Sun, 25 Feb 2018) | 1 line Changed paths: M /trunk/tests/tget_str.c [tests/tget_str.c] Fixed a return type. ------------------------------------------------------------------------ r12439 | zimmerma | 2018-02-24 10:02:40 +0000 (Sat, 24 Feb 2018) | 3 lines Changed paths: M /trunk/src/get_z_exp.c [src/get_z_exp.c] new try for r12437. If that still does not work, we should define macros BITS_PER_EXP_T, BITS_PER_PREC_T, ... ------------------------------------------------------------------------ r12438 | vlefevre | 2018-02-23 22:13:53 +0000 (Fri, 23 Feb 2018) | 2 lines Changed paths: M /trunk/src/get_z_exp.c [src/get_z_exp.c] Reverted r12437: the size of mpfr_exp_t is not always related to the size of mp_limb_t. ------------------------------------------------------------------------ r12437 | zimmerma | 2018-02-23 22:04:30 +0000 (Fri, 23 Feb 2018) | 2 lines Changed paths: M /trunk/src/get_z_exp.c [src/get_z_exp.c] removed dead code on 64-bit computer ------------------------------------------------------------------------ r12436 | zimmerma | 2018-02-23 20:45:32 +0000 (Fri, 23 Feb 2018) | 3 lines Changed paths: M /trunk/src/get_str.c M /trunk/tests/tget_str.c [src/get_str.c] improved case m < g [tests/tget_str.c] improve coverage ------------------------------------------------------------------------ r12435 | vlefevre | 2018-02-23 18:15:42 +0000 (Fri, 23 Feb 2018) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Correction: for AC_COMPILE_IFELSE, there are only 2 cases: TRUE and FALSE. ------------------------------------------------------------------------ r12434 | zimmerma | 2018-02-23 17:59:56 +0000 (Fri, 23 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tget_str.c [tests/tget_str.c] fixed not enough allocation issue ------------------------------------------------------------------------ r12433 | vlefevre | 2018-02-23 17:36:49 +0000 (Fri, 23 Feb 2018) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Correction: for AC_COMPILE_IFELSE, there are only 2 cases: TRUE and FALSE. ------------------------------------------------------------------------ r12432 | zimmerma | 2018-02-23 17:02:14 +0000 (Fri, 23 Feb 2018) | 4 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/get_str.c M /trunk/tests/tget_str.c [doc/mpfr.texi] m=1 is now valid in get_str [src/get_str.c] allow m=1 for b=2^k [tests/tget_str.c] added test for m=1 and b=2 ------------------------------------------------------------------------ r12430 | zimmerma | 2018-02-23 16:40:33 +0000 (Fri, 23 Feb 2018) | 3 lines Changed paths: M /trunk/src/get_str.c M /trunk/tests/tget_str.c [src/get_str.c] added a comment [tests/tget_str.c] improved coverage (finding this example was quite hard!) ------------------------------------------------------------------------ r12429 | vlefevre | 2018-02-23 16:34:06 +0000 (Fri, 23 Feb 2018) | 2 lines Changed paths: M /trunk/src/get_sj.c [src/get_sj.c] Removed two assertions, including an incorrect one. Added an assertion. ------------------------------------------------------------------------ r12427 | vlefevre | 2018-02-23 15:37:08 +0000 (Fri, 23 Feb 2018) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Correction: if we cannot test, the portable code must be selected. ------------------------------------------------------------------------ r12426 | zimmerma | 2018-02-23 15:24:59 +0000 (Fri, 23 Feb 2018) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/src/get_sj.c [configure.ac,acinclude.m4] added new macro MPFR_INTMAX_WITHIN_LIMB [src/get_sj.c] optimized the code when MPFR_INTMAX_WITHIN_LIMB=1 ------------------------------------------------------------------------ r12425 | vlefevre | 2018-02-23 15:19:12 +0000 (Fri, 23 Feb 2018) | 6 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/set_ld.c [src/mpfr-impl.h] Removed MPFR_LIMBS_PER_LONG_DOUBLE as it was not properly specified in the general case and was actually used only in src/set_ld.c with HAVE_LDOUBLE_IEEE_EXT_LITTLE. [src/set_ld.c] Simplified code. Moreover, the hypothetical case GMP_NUMB_BITS == 16 will trigger a compilation error instead of yielding incorrect code. ------------------------------------------------------------------------ r12424 | vlefevre | 2018-02-23 15:08:54 +0000 (Fri, 23 Feb 2018) | 4 lines Changed paths: M /trunk/tests/tbuildopt.c [tests/tbuildopt.c] * Added missing const. * Use the variable s to avoid a warning and also to detect potential undefined behavior with debugging tools if s is not a string. ------------------------------------------------------------------------ r12423 | zimmerma | 2018-02-23 15:00:55 +0000 (Fri, 23 Feb 2018) | 2 lines Changed paths: M /trunk/src/get_sj.c [src/get_sj.c] fixed typo ------------------------------------------------------------------------ r12422 | zimmerma | 2018-02-23 14:48:40 +0000 (Fri, 23 Feb 2018) | 2 lines Changed paths: M /trunk/src/get_sj.c [src/get_sj.c] added comments and simplified the code ------------------------------------------------------------------------ r12421 | vlefevre | 2018-02-23 14:31:59 +0000 (Fri, 23 Feb 2018) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Typo in a comment. ------------------------------------------------------------------------ r12420 | zimmerma | 2018-02-23 14:12:09 +0000 (Fri, 23 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tget_q.c [tests/tget_q.c] improved coverage ------------------------------------------------------------------------ r12419 | vlefevre | 2018-02-23 13:59:02 +0000 (Fri, 23 Feb 2018) | 2 lines Changed paths: M /trunk/src/get_d64.c [src/get_d64.c] Parsing in the portable version of string_to_Decimal64: similar changes as in r12416 for the _MPFR_IEEE_FLOATS version. ------------------------------------------------------------------------ r12418 | zimmerma | 2018-02-23 13:37:33 +0000 (Fri, 23 Feb 2018) | 2 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] removed dead code (as in r12413 for mpfr_get_d) ------------------------------------------------------------------------ r12417 | zimmerma | 2018-02-23 13:35:35 +0000 (Fri, 23 Feb 2018) | 3 lines Changed paths: M /trunk/src/get_flt.c M /trunk/tests/tget_flt.c [src/get_flt.c] optimized code when MPFR_LIMBS_PER_FLT=1 [tests/tget_flt.c] improved coverage ------------------------------------------------------------------------ r12416 | zimmerma | 2018-02-23 12:02:51 +0000 (Fri, 23 Feb 2018) | 4 lines Changed paths: M /trunk/src/get_d64.c M /trunk/src/mpfr-impl.h M /trunk/tests/tget_set_d64.c [src/get_d64.c] simplified code, and removed dead code [src/mpfr-impl.h] added comment [tests/tget_set_d64.c] improve coverage ------------------------------------------------------------------------ r12415 | vlefevre | 2018-02-23 09:50:25 +0000 (Fri, 23 Feb 2018) | 1 line Changed paths: M /trunk/src/set_q.c [src/set_q.c] Simplified code. ------------------------------------------------------------------------ r12414 | zimmerma | 2018-02-23 08:59:39 +0000 (Fri, 23 Feb 2018) | 2 lines Changed paths: M /trunk/src/get_d.c [src/get_d.c] removed dead code ------------------------------------------------------------------------ r12413 | zimmerma | 2018-02-23 08:56:52 +0000 (Fri, 23 Feb 2018) | 2 lines Changed paths: M /trunk/src/get_d.c [src/get_d.c] optimized for common case MPFR_LIMBS_PER_DOUBLE=1 ------------------------------------------------------------------------ r12412 | zimmerma | 2018-02-23 08:38:33 +0000 (Fri, 23 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tset_z_exp.c [tests/tset_z_exp.c] improved coverage ------------------------------------------------------------------------ r12411 | zimmerma | 2018-02-23 08:28:09 +0000 (Fri, 23 Feb 2018) | 2 lines Changed paths: M /trunk/src/set_q.c [src/set_q.c] removed dead code on 64-bit processor ------------------------------------------------------------------------ r12410 | zimmerma | 2018-02-23 07:40:36 +0000 (Fri, 23 Feb 2018) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/set_ld.c [src/set_ld.c] improve code when HAVE_LDOUBLE_IEEE_EXT_LITTLE is defined ------------------------------------------------------------------------ r12409 | vlefevre | 2018-02-22 22:45:19 +0000 (Thu, 22 Feb 2018) | 2 lines Changed paths: M /trunk/src/set_ld.c [src/set_ld.c] Reverted r12408: MPFR_LIMBS_PER_LONG_DOUBLE cannot be used with the preprocessor due to the use of "sizeof". ------------------------------------------------------------------------ r12408 | zimmerma | 2018-02-22 19:24:40 +0000 (Thu, 22 Feb 2018) | 2 lines Changed paths: M /trunk/src/set_ld.c [src/set_ld.c] improve code for MPFR_LIMBS_PER_LONG_DOUBLE=1 ------------------------------------------------------------------------ r12407 | zimmerma | 2018-02-22 19:06:22 +0000 (Thu, 22 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] improved coverage of mpfr_set_1_2 ------------------------------------------------------------------------ r12406 | zimmerma | 2018-02-22 18:11:44 +0000 (Thu, 22 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tbuildopt.c [tests/tbuildopt.c] improve coverage ------------------------------------------------------------------------ r12405 | vlefevre | 2018-02-22 16:11:57 +0000 (Thu, 22 Feb 2018) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Corrected a comment. ------------------------------------------------------------------------ r12404 | vlefevre | 2018-02-22 16:08:46 +0000 (Thu, 22 Feb 2018) | 3 lines Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Joined test_overflow3 and test_overflow4 by using a loop. Improved the corresponding test and error message. Also run this test with the default exponent range. ------------------------------------------------------------------------ r12403 | vlefevre | 2018-02-22 15:49:53 +0000 (Thu, 22 Feb 2018) | 1 line Changed paths: M /trunk/src/fma.c [src/fma.c] Added FIXME for r12396, which still seems incorrect. ------------------------------------------------------------------------ r12402 | vlefevre | 2018-02-22 13:30:11 +0000 (Thu, 22 Feb 2018) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Typo in a comment. ------------------------------------------------------------------------ r12401 | vlefevre | 2018-02-22 13:25:25 +0000 (Thu, 22 Feb 2018) | 3 lines Changed paths: M /trunk/NEWS [NEWS] Update about the change of __float128 to _Float128: clarification that it is from ISO/IEC TS 18661 ("standard" was too vague); added FIXME on a possible fallback to __float128 and ABI considerations. ------------------------------------------------------------------------ r12400 | vlefevre | 2018-02-22 13:08:15 +0000 (Thu, 22 Feb 2018) | 4 lines Changed paths: M /trunk/configure.ac [configure.ac] For --enable-float128, this is still autodetect, e.g.: checking if compiler knows _Float128 with C99 constants... no Added a FIXME: a fallback to __float128 is necessary to avoid regressions. ------------------------------------------------------------------------ r12399 | zimmerma | 2018-02-22 13:07:01 +0000 (Thu, 22 Feb 2018) | 3 lines Changed paths: M /trunk/src/sqr.c M /trunk/tests/tsqr.c [src/sqr.c] added comments [tests/tsqr.c] improve coverage of sqr.c to 100% ------------------------------------------------------------------------ r12398 | zimmerma | 2018-02-22 12:48:52 +0000 (Thu, 22 Feb 2018) | 6 lines Changed paths: M /trunk/src/sqr.c M /trunk/tests/tsqr.c [src/sqr.c] fixed a bug in mpfr_sqr_1n in a rare case near underflow, only use mpfr_sqr_1, mpfr_sqr_1n, mpfr_sqr_2, mpfr_sqr_3 when all numbers have same precision (like for mpfr_mul), and added comments [tests/tsqr.c] added tests, including non-regression for above bug ------------------------------------------------------------------------ r12397 | zimmerma | 2018-02-22 10:45:53 +0000 (Thu, 22 Feb 2018) | 2 lines Changed paths: M /trunk/src/fma.c [src/fma.c] added comments and a FIXME ------------------------------------------------------------------------ r12396 | zimmerma | 2018-02-22 10:30:25 +0000 (Thu, 22 Feb 2018) | 3 lines Changed paths: M /trunk/src/fma.c M /trunk/tests/tfma.c [src/fma.c] fixed last failure [tests/tfma.c] removed debug stuff ------------------------------------------------------------------------ r12395 | zimmerma | 2018-02-22 10:27:29 +0000 (Thu, 22 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] added new failing test ------------------------------------------------------------------------ r12394 | zimmerma | 2018-02-22 10:23:39 +0000 (Thu, 22 Feb 2018) | 2 lines Changed paths: M /trunk/src/fma.c [src/fma.c] fix failure from last test ------------------------------------------------------------------------ r12393 | zimmerma | 2018-02-22 10:19:52 +0000 (Thu, 22 Feb 2018) | 3 lines Changed paths: M /trunk/src/fma.c M /trunk/tests/tfma.c [src/fma.c] added comments [tests/tfma.c] added a test (currently failing) ------------------------------------------------------------------------ r12392 | zimmerma | 2018-02-22 10:01:46 +0000 (Thu, 22 Feb 2018) | 2 lines Changed paths: M /trunk/src/mips/mparam.h [mips/mparam.h] updated ------------------------------------------------------------------------ r12391 | zimmerma | 2018-02-22 09:18:55 +0000 (Thu, 22 Feb 2018) | 2 lines Changed paths: M /trunk/NEWS M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/README.dev M /trunk/doc/mpfr.texi M /trunk/src/get_float128.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/set_float128.c M /trunk/tests/tset_float128.c changed __float128 (gcc specific) into the standard type _Float128 ------------------------------------------------------------------------ r12390 | zimmerma | 2018-02-22 08:50:12 +0000 (Thu, 22 Feb 2018) | 2 lines Changed paths: M /trunk/src/arm/mparam.h [arm/mparam.h] updated ------------------------------------------------------------------------ r12389 | zimmerma | 2018-02-22 08:27:54 +0000 (Thu, 22 Feb 2018) | 2 lines Changed paths: M /trunk/src/x86/mparam.h [x86/mparam.h] updated ------------------------------------------------------------------------ r12388 | zimmerma | 2018-02-22 08:14:41 +0000 (Thu, 22 Feb 2018) | 2 lines Changed paths: M /trunk/src/mparam_h.in [src/mparam_h.in] amd/k8/mparam.h -> amd/mparam.h ------------------------------------------------------------------------ r12387 | zimmerma | 2018-02-22 08:14:07 +0000 (Thu, 22 Feb 2018) | 2 lines Changed paths: D /trunk/src/amd/amdfam10 D /trunk/src/amd/k8 A /trunk/src/amd/mparam.h (from /trunk/src/amd/k8/mparam.h:12386) [amd/mparam.h] updated ------------------------------------------------------------------------ r12386 | zimmerma | 2018-02-22 08:06:23 +0000 (Thu, 22 Feb 2018) | 2 lines Changed paths: M /trunk/src/sparc64/mparam.h [sparc64/mparam.h] updated ------------------------------------------------------------------------ r12385 | zimmerma | 2018-02-22 08:04:27 +0000 (Thu, 22 Feb 2018) | 2 lines Changed paths: M /trunk/src/x86_64/core2/mparam.h [x86_64/core2/mparam.h] updated ------------------------------------------------------------------------ r12384 | zimmerma | 2018-02-22 08:02:12 +0000 (Thu, 22 Feb 2018) | 2 lines Changed paths: M /trunk/src/powerpc64/mparam.h [powerpc64/mparam.h] updated ------------------------------------------------------------------------ r12383 | zimmerma | 2018-02-22 07:42:49 +0000 (Thu, 22 Feb 2018) | 2 lines Changed paths: M /trunk/src/x86_64/mparam.h [x86_64/mparam.h] updated ------------------------------------------------------------------------ r12382 | zimmerma | 2018-02-22 07:36:02 +0000 (Thu, 22 Feb 2018) | 2 lines Changed paths: M /trunk/src/mulders.c [src/mulders.c] removed dead code ------------------------------------------------------------------------ r12381 | zimmerma | 2018-02-21 20:52:31 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/tune/tuneup.c [tune/tuneup.c] ensure k < n in mpfr_divhigh_n[] ------------------------------------------------------------------------ r12380 | zimmerma | 2018-02-21 17:01:07 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/mparam_h.in [src/mparam_h.in] added __tune_znver1__ for AMD64 (e.g., gcc67.fsffrance.org) ------------------------------------------------------------------------ r12379 | zimmerma | 2018-02-21 16:08:54 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/mips/mparam.h [src/mips/mparam.h] updated on gcc22 ------------------------------------------------------------------------ r12378 | zimmerma | 2018-02-21 15:07:41 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/NEWS [NEWS] added item ------------------------------------------------------------------------ r12377 | zimmerma | 2018-02-21 15:03:32 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/mparam_h.in D /trunk/src/x86/core2 M /trunk/src/x86/mparam.h removed tuning for x86/core2, updated tuning for generic x86 ------------------------------------------------------------------------ r12376 | zimmerma | 2018-02-21 14:57:59 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/arm/mparam.h M /trunk/src/mparam_h.in M /trunk/src/sparc64/mparam.h [src/sparc64/mparam.h] updated tuning parameters for sparc64 ------------------------------------------------------------------------ r12375 | vlefevre | 2018-02-21 14:32:43 +0000 (Wed, 21 Feb 2018) | 1 line Changed paths: M /trunk/src/mparam_h.in [src/mparam_h.in] Use the generic parameters for x86_64 with Clang. ------------------------------------------------------------------------ r12374 | zimmerma | 2018-02-21 14:24:44 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/Makefile.am A /trunk/src/arm A /trunk/src/arm/mparam.h M /trunk/src/mparam_h.in added tuning for ARM ------------------------------------------------------------------------ r12373 | vlefevre | 2018-02-21 14:13:28 +0000 (Wed, 21 Feb 2018) | 1 line Changed paths: M /trunk/src/Makefile.am M /trunk/src/mparam_h.in A /trunk/src/sparc64 (from /trunk/src/sparc64:12367) Reverted r12368: sparc64 tuning should be updated on gcc202. ------------------------------------------------------------------------ r12372 | zimmerma | 2018-02-21 14:09:31 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/mparam_h.in [src/mparam_h.in] generic case for all remaining i386's ------------------------------------------------------------------------ r12371 | zimmerma | 2018-02-21 13:58:35 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/mparam_h.in [src/mparam_h.in] put back __tune_k8__ ------------------------------------------------------------------------ r12370 | zimmerma | 2018-02-21 13:48:37 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/mparam_h.in [src/mparam_h.in] check __amd64__ before generic __x86_64__ ------------------------------------------------------------------------ r12369 | zimmerma | 2018-02-21 13:25:44 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/Makefile.am D /trunk/src/hppa M /trunk/src/mparam_h.in removed tuning for hppa (gcc61 is offline) ------------------------------------------------------------------------ r12368 | zimmerma | 2018-02-21 13:24:22 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/mparam_h.in D /trunk/src/sparc64 removed tuning parameters for sparc64 (gcc64, gcc200 and gcc201 are offline) ------------------------------------------------------------------------ r12367 | zimmerma | 2018-02-21 13:23:16 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/tune/tuneup.c [tune/tuneup.c] for mpfr_div_threshold, start from 3 limbs again ------------------------------------------------------------------------ r12366 | zimmerma | 2018-02-21 13:06:31 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/mparam_h.in D /trunk/src/powerpc32 removed tuning for powerpc32 (no such machine available any more) ------------------------------------------------------------------------ r12365 | zimmerma | 2018-02-21 12:55:42 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/powerpc64/mparam.h [src/powerpc64/mparam.h] updated tuning parameters for powerpc64 ------------------------------------------------------------------------ r12364 | zimmerma | 2018-02-21 11:17:39 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/amd/k8/mparam.h [src/amd/k8/mparam.h] fixed MPFR_DIV_THRESHOLD ------------------------------------------------------------------------ r12363 | zimmerma | 2018-02-21 11:16:20 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/amd/k8/mparam.h M /trunk/src/x86/core2/mparam.h updated tuning parameters for amd/k8 and x86/core2 ------------------------------------------------------------------------ r12362 | vlefevre | 2018-02-21 11:14:29 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/mparam_h.in A /trunk/src/x86/mparam.h (from /trunk/src/x86/mparam.h:12358) Reverted r12359 and added a comment: tuning for x86 is used when building GMP/MPFR with a 32-bit ABI (ABI=32 / -m32). ------------------------------------------------------------------------ r12361 | zimmerma | 2018-02-21 11:14:27 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/tune/tuneup.c [tuneup.c] start from 4 limbs for mpfr_div_threshold ------------------------------------------------------------------------ r12360 | zimmerma | 2018-02-21 10:45:20 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/Makefile.am D /trunk/src/ia64 M /trunk/src/mparam_h.in removed tuning for ia64 (gcc60.fsffrance.org is now offline) ------------------------------------------------------------------------ r12359 | zimmerma | 2018-02-21 10:42:40 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/mparam_h.in D /trunk/src/x86/mparam.h removed tuning for x86 (no more access to such machine) ------------------------------------------------------------------------ r12358 | zimmerma | 2018-02-21 10:35:31 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/tune/tuneup.c [tune/tuneup.c] make tune_simple_func more robust for small precisions ------------------------------------------------------------------------ r12357 | zimmerma | 2018-02-21 10:32:43 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/x86_64/mparam.h [src/x86_64/mparam.h] fixed MPFR_DIV_THRESHOLD ------------------------------------------------------------------------ r12356 | zimmerma | 2018-02-21 10:29:58 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/x86_64/core2/mparam.h [x86_64/core2/mparam.h] updated on gcc14 ------------------------------------------------------------------------ r12355 | vlefevre | 2018-02-21 09:47:29 +0000 (Wed, 21 Feb 2018) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] In the "long double" format recognition, added size information for IEEE extended (not used by MPFR, but this may be useful information for the user). ------------------------------------------------------------------------ r12354 | zimmerma | 2018-02-21 09:44:15 +0000 (Wed, 21 Feb 2018) | 3 lines Changed paths: M /trunk/src/Makefile.am D /trunk/src/amd/athlon M /trunk/src/mparam_h.in removed tuning parameters for amd/athlon (we have no access to such machine any more) ------------------------------------------------------------------------ r12353 | zimmerma | 2018-02-21 09:32:10 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/mparam_h.in D /trunk/src/x86_64/pentium4 removed tuning for pentium4 ------------------------------------------------------------------------ r12352 | zimmerma | 2018-02-21 09:16:47 +0000 (Wed, 21 Feb 2018) | 2 lines Changed paths: D /trunk/src/x86_64/corei5 removed tuning for corei5 (was not used) ------------------------------------------------------------------------ r12351 | zimmerma | 2018-02-21 09:09:32 +0000 (Wed, 21 Feb 2018) | 3 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/mparam_h.in A /trunk/src/x86_64/mparam.h M /trunk/tune/tuneup.c [src/x86_64/mparam.h] added tuning for generic x86_64 [tune/tuneup.c] mpfr_divhigh now wants n >= 2 ------------------------------------------------------------------------ r12350 | zimmerma | 2018-02-21 07:19:56 +0000 (Wed, 21 Feb 2018) | 3 lines Changed paths: M /trunk/src/Makefile.am D /trunk/src/arm M /trunk/src/mparam_h.in removed thresholds for arm since gcc57 is no longer available, thus we cannot tune on an ARM machine ------------------------------------------------------------------------ r12349 | vlefevre | 2018-02-21 02:34:18 +0000 (Wed, 21 Feb 2018) | 1 line Changed paths: M /trunk/src/mulders.c [src/mulders.c] Removed unused variable dinv. ------------------------------------------------------------------------ r12348 | zimmerma | 2018-02-20 17:11:58 +0000 (Tue, 20 Feb 2018) | 6 lines Changed paths: M /trunk/src/div.c M /trunk/src/mpfr-gmp.h M /trunk/src/mulders.c M /trunk/tests/tmul.c M /trunk/tune/tuneup.c [src/div.c] added comment [src/mpfr-gmp.h] moved definition of MUL_FFT_THRESHOLD [src/mulders.c] removed unused code, and force n>=2 in mpfr_divhigh_n_basecase [tests/tmul.c] improve coverage [tune/tuneup.c] forbid k = n-1 in divhigh_ktab[] ------------------------------------------------------------------------ r12347 | zimmerma | 2018-02-20 16:37:55 +0000 (Tue, 20 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] improve coverage, now 100% for div.c ------------------------------------------------------------------------ r12346 | zimmerma | 2018-02-20 16:16:40 +0000 (Tue, 20 Feb 2018) | 3 lines Changed paths: M /trunk/src/ai.c M /trunk/tests/tai.c [src/ai.c] revert part of r12312 [tests/tai.c] added coverage test provided by Sylvain Chevillard ------------------------------------------------------------------------ r12345 | zimmerma | 2018-02-20 15:36:05 +0000 (Tue, 20 Feb 2018) | 3 lines Changed paths: M /trunk/src/sub1.c [src/sub1.c] revert r12317 since it did not consider UBFs. For the record, tfmma was failing with GMP_CHECK_RANDOMIZE=1519138438006416. ------------------------------------------------------------------------ r12344 | zimmerma | 2018-02-20 15:19:40 +0000 (Tue, 20 Feb 2018) | 2 lines Changed paths: M /trunk/src/div.c M /trunk/tests/tdiv.c [src/div.c] get rid of mpfr_div_with_mpz_tdiv_q ------------------------------------------------------------------------ r12343 | vlefevre | 2018-02-20 14:54:05 +0000 (Tue, 20 Feb 2018) | 2 lines Changed paths: M /trunk/src/gmp_op.c [src/gmp_op.c] Fixed a bug in mpfr_cmp_q on NaN rational: the NaN flag was set by mpfr_set_q, but the flags were not restored just after. ------------------------------------------------------------------------ r12342 | vlefevre | 2018-02-20 14:45:35 +0000 (Tue, 20 Feb 2018) | 3 lines Changed paths: M /trunk/src/gmp_op.c [src/gmp_op.c] Reverted incorrect change in r12337 for mpfr_cmp_q. Explanation in comment. If the code was not tested, it should be by using mpq_set_num and mpq_set_den to construct such rationals. ------------------------------------------------------------------------ r12341 | zimmerma | 2018-02-20 14:27:22 +0000 (Tue, 20 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] improve coverage ------------------------------------------------------------------------ r12340 | zimmerma | 2018-02-20 14:08:20 +0000 (Tue, 20 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] improve coverage of mpfr_div_2 ------------------------------------------------------------------------ r12339 | vlefevre | 2018-02-20 13:55:40 +0000 (Tue, 20 Feb 2018) | 1 line Changed paths: M /trunk/src/add1sp.c M /trunk/src/sub1sp.c [src/{add,sub}1sp.c] Updated/added comments for MPFR_WANT_ASSERT >= 2. ------------------------------------------------------------------------ r12338 | zimmerma | 2018-02-20 13:53:51 +0000 (Tue, 20 Feb 2018) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] removed dead code ------------------------------------------------------------------------ r12337 | zimmerma | 2018-02-20 13:45:08 +0000 (Tue, 20 Feb 2018) | 3 lines Changed paths: M /trunk/src/gmp_op.c M /trunk/tests/tgmpop.c [src/gmp_op.c] removed dead code [tests/tgmpop.c] improve coverage of gmp_op.c to 100% ------------------------------------------------------------------------ r12336 | vlefevre | 2018-02-20 12:33:38 +0000 (Tue, 20 Feb 2018) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Added missing ";;" before "esac" for code robustness. ------------------------------------------------------------------------ r12335 | vlefevre | 2018-02-20 12:31:34 +0000 (Tue, 20 Feb 2018) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Added a FIXME. Added a ";;" for safety. ------------------------------------------------------------------------ r12334 | zimmerma | 2018-02-20 11:48:29 +0000 (Tue, 20 Feb 2018) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] added comment, and define MPFR_LONG_WITHIN_LIMB when cannot test ------------------------------------------------------------------------ r12333 | vlefevre | 2018-02-20 09:33:38 +0000 (Tue, 20 Feb 2018) | 2 lines Changed paths: M /trunk/src/random_deviate.c [src/random_deviate.c] Improved highest_bit_idx in the case where MPFR_LONG_WITHIN_LIMB is not defined (tested with GCC). ------------------------------------------------------------------------ r12332 | zimmerma | 2018-02-20 09:17:15 +0000 (Tue, 20 Feb 2018) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] resolved FIXME and removed dead code ------------------------------------------------------------------------ r12331 | zimmerma | 2018-02-20 08:45:20 +0000 (Tue, 20 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tmul.c [tests/tmul.c] improve coverage ------------------------------------------------------------------------ r12330 | zimmerma | 2018-02-20 08:31:14 +0000 (Tue, 20 Feb 2018) | 2 lines Changed paths: M /trunk/src/random_deviate.c [src/random_deviate.c] highest_bit_idx() assumes x > 0 ------------------------------------------------------------------------ r12329 | zimmerma | 2018-02-20 08:27:35 +0000 (Tue, 20 Feb 2018) | 2 lines Changed paths: M /trunk/src/random_deviate.c [src/random_deviate.c] fixed comment ------------------------------------------------------------------------ r12328 | zimmerma | 2018-02-20 08:24:24 +0000 (Tue, 20 Feb 2018) | 2 lines Changed paths: M /trunk/src/random_deviate.c [src/random_deviate.c] redo change r12315 using MPFR_LONG_WITHIN_LIMB ------------------------------------------------------------------------ r12327 | zimmerma | 2018-02-20 08:09:46 +0000 (Tue, 20 Feb 2018) | 2 lines Changed paths: M /trunk/src/sub1.c [src/sub1.c] added 2 FIXME ------------------------------------------------------------------------ r12326 | vlefevre | 2018-02-19 23:32:38 +0000 (Mon, 19 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tai.c [tests/tai.c] Renamed test_near_zero to test_near_m2e, since this is "exercise mpfr_ai near m*2^e", as documented. Corrected comments. ------------------------------------------------------------------------ r12325 | vlefevre | 2018-02-19 23:29:35 +0000 (Mon, 19 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tai.c [tests/tai.c] For test_near_zero(), check that the NaN flag was not set (useful since such tests don't really check that the result is not NaN). ------------------------------------------------------------------------ r12324 | zimmerma | 2018-02-19 20:53:27 +0000 (Mon, 19 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tmul.c [tests/tmul.c] improve coverage ------------------------------------------------------------------------ r12323 | zimmerma | 2018-02-19 18:22:00 +0000 (Mon, 19 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tmul.c [tests/tmul.c] improve coverage ------------------------------------------------------------------------ r12322 | vlefevre | 2018-02-19 17:35:09 +0000 (Mon, 19 Feb 2018) | 3 lines Changed paths: M /trunk/src/random_deviate.c [src/random_deviate.c] Reverted incorrect change r12315: MPFR_LIMB_MAX cannot be used with the preprocessor due to the cast. The test should be done in "pure" C and the middle-end of the compiler should optimize. ------------------------------------------------------------------------ r12321 | vlefevre | 2018-02-19 17:27:03 +0000 (Mon, 19 Feb 2018) | 1 line Changed paths: M /trunk/src/sub1.c [src/sub1.c] Removed an unused label. ------------------------------------------------------------------------ r12320 | vlefevre | 2018-02-19 16:36:39 +0000 (Mon, 19 Feb 2018) | 3 lines Changed paths: M /trunk/tests/tzeta.c [tests/tzeta.c] Check that the NaN flag was not set in some tests that do not involve NaN (useful since such tests don't really check that the result is not NaN). ------------------------------------------------------------------------ r12319 | zimmerma | 2018-02-19 16:28:34 +0000 (Mon, 19 Feb 2018) | 2 lines Changed paths: M /trunk/src/sub1.c [src/sub1.c] removed dead code, now coverage should be 100% ------------------------------------------------------------------------ r12318 | vlefevre | 2018-02-19 16:26:51 +0000 (Mon, 19 Feb 2018) | 1 line Changed paths: M /trunk/src/ai.c [src/ai.c] Avoid more integer overflows. ------------------------------------------------------------------------ r12317 | zimmerma | 2018-02-19 16:24:11 +0000 (Mon, 19 Feb 2018) | 3 lines Changed paths: M /trunk/src/sub1.c M /trunk/tests/tsub.c [src/sub1.c] removed dead code [tests/tsub.c] added coverage test ------------------------------------------------------------------------ r12316 | vlefevre | 2018-02-19 16:17:03 +0000 (Mon, 19 Feb 2018) | 1 line Changed paths: M /trunk/src/ai.c [src/ai.c] Detect some potential integer overflows. ------------------------------------------------------------------------ r12315 | zimmerma | 2018-02-19 16:02:44 +0000 (Mon, 19 Feb 2018) | 2 lines Changed paths: M /trunk/src/random_deviate.c [src/random_deviate.c] don't compile alternate code if not needed ------------------------------------------------------------------------ r12314 | vlefevre | 2018-02-19 16:00:44 +0000 (Mon, 19 Feb 2018) | 1 line Changed paths: M /trunk/src/ai.c [src/ai.c] Coding style. Corrected comments. ------------------------------------------------------------------------ r12313 | zimmerma | 2018-02-19 15:52:02 +0000 (Mon, 19 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tzeta.c [tests/tzeta.c] improve coverage (and also uceil_exp2.c) ------------------------------------------------------------------------ r12312 | zimmerma | 2018-02-19 14:37:07 +0000 (Mon, 19 Feb 2018) | 3 lines Changed paths: M /trunk/src/ai.c M /trunk/tests/tai.c [src/ai.c] removed dead code, and improved coverage [tests/tai.c] exercise mpfr_ai near (negative) zeroes ------------------------------------------------------------------------ r12311 | zimmerma | 2018-02-19 10:38:48 +0000 (Mon, 19 Feb 2018) | 2 lines Changed paths: M /trunk/src/ai.c [src/ai.c] fixed recomputation of wprec (to be confirmed) ------------------------------------------------------------------------ r12310 | zimmerma | 2018-02-19 07:10:52 +0000 (Mon, 19 Feb 2018) | 2 lines Changed paths: M /trunk/src/ai.c [src/ai.c] removed dead code ------------------------------------------------------------------------ r12309 | vlefevre | 2018-02-19 03:01:53 +0000 (Mon, 19 Feb 2018) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Fixed indentation. ------------------------------------------------------------------------ r12308 | vlefevre | 2018-02-19 02:55:05 +0000 (Mon, 19 Feb 2018) | 1 line Changed paths: M /trunk/tests/tsqrt.c Removed trailing whitespace. ------------------------------------------------------------------------ r12307 | vlefevre | 2018-02-19 02:54:12 +0000 (Mon, 19 Feb 2018) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Coding style. ------------------------------------------------------------------------ r12306 | vlefevre | 2018-02-19 02:46:30 +0000 (Mon, 19 Feb 2018) | 3 lines Changed paths: M /trunk/src/expm1.c [src/expm1.c] Avoid a potential integer overflow in a type conversion for 32-bit mpfr_exp_t and 64-bit long (e.g. with -D_MPFR_PREC_FORMAT=2 on a 64-bit Linux machine). ------------------------------------------------------------------------ r12305 | vlefevre | 2018-02-19 02:19:29 +0000 (Mon, 19 Feb 2018) | 4 lines Changed paths: M /trunk/src/div_2ui.c M /trunk/tests/tmul_2exp.c [src/div_2ui.c] Reverted incorrect change in r12272 and added comments and assertions. [tests/tmul_2exp.c] Improved a test to trigger the bug in r12272 also when mpfr_exp_t > 32 bits (e.g. on 64-bit Linux machines). ------------------------------------------------------------------------ r12304 | vlefevre | 2018-02-19 01:46:30 +0000 (Mon, 19 Feb 2018) | 1 line Changed paths: M /trunk/tests/tmul_2exp.c [tests/tmul_2exp.c] Improved output if mpfr_exp_t > long (for positive). ------------------------------------------------------------------------ r12303 | vlefevre | 2018-02-19 01:43:20 +0000 (Mon, 19 Feb 2018) | 1 line Changed paths: M /trunk/tests/tmul_2exp.c [tests/tmul_2exp.c] Improved output if mpfr_exp_t > long (for negative). ------------------------------------------------------------------------ r12302 | vlefevre | 2018-02-19 01:10:13 +0000 (Mon, 19 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tset_ld.c M /trunk/tests/tsub1sp.c [tests] Fixed type errors with -D_MPFR_PREC_FORMAT=2 in CFLAGS and the --enable-assert=full configure option (signaled by GCC's -Wformat). ------------------------------------------------------------------------ r12301 | vlefevre | 2018-02-19 01:00:48 +0000 (Mon, 19 Feb 2018) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] Fixed type error with -D_MPFR_PREC_FORMAT=2 in CFLAGS and the --enable-assert=full configure option (signaled by GCC's -Wformat). ------------------------------------------------------------------------ r12300 | vlefevre | 2018-02-19 00:38:01 +0000 (Mon, 19 Feb 2018) | 6 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Removed the mention of MPFR_EXT_EMIN and MPFR_EXT_EMAX, replacing them by MPFR_EMIN_MIN and MPFR_EMAX_MAX, as done in r12298. Note: These old macros had been introduced in r7863 so that one could choose different values for the extended exponent range for debugging purpose, but they were not used in practice and were adding complexity (and potential inconsistency) for no really good reason. ------------------------------------------------------------------------ r12299 | zimmerma | 2018-02-18 17:53:00 +0000 (Sun, 18 Feb 2018) | 2 lines Changed paths: M /trunk/src/agm.c M /trunk/tests/tagm.c [src/agm.c] added comment about line of code impossible to cover ------------------------------------------------------------------------ r12298 | zimmerma | 2018-02-18 14:23:01 +0000 (Sun, 18 Feb 2018) | 3 lines Changed paths: M /trunk/src/agm.c M /trunk/src/div.c M /trunk/src/mpfr-impl.h [src/agm.c,src/div.c,src/mpfr-impl.h] replaced MPFR_EXT_EMIN by MPFR_EMIN_MIN, and MPFR_EXT_EMAX by MPFR_EMAX_MAX ------------------------------------------------------------------------ r12297 | zimmerma | 2018-02-18 14:09:55 +0000 (Sun, 18 Feb 2018) | 3 lines Changed paths: M /trunk/src/sqrt.c M /trunk/tests/tsqrt.c [src/sqrt.c] removed dead code [tests/tsqrt.c] improve coverage of mpfr_sqrt, now at 100% ------------------------------------------------------------------------ r12296 | zimmerma | 2018-02-18 12:48:51 +0000 (Sun, 18 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] improve coverage ------------------------------------------------------------------------ r12295 | zimmerma | 2018-02-18 12:31:53 +0000 (Sun, 18 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] improve coverage ------------------------------------------------------------------------ r12294 | zimmerma | 2018-02-17 19:30:39 +0000 (Sat, 17 Feb 2018) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] removed dead code ------------------------------------------------------------------------ r12293 | zimmerma | 2018-02-17 16:53:57 +0000 (Sat, 17 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] improve coverage ------------------------------------------------------------------------ r12292 | zimmerma | 2018-02-17 12:53:46 +0000 (Sat, 17 Feb 2018) | 3 lines Changed paths: M /trunk/src/sqrt.c M /trunk/tests/tsqrt.c [tests/tsqrt.c] improved coverage [src/sqrt.c] added comments ------------------------------------------------------------------------ r12291 | vlefevre | 2018-02-17 12:26:01 +0000 (Sat, 17 Feb 2018) | 1 line Changed paths: M /trunk/src/expm1.c [src/expm1.c] Added a FIXME comment. ------------------------------------------------------------------------ r12290 | zimmerma | 2018-02-17 11:53:07 +0000 (Sat, 17 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] improve coverage ------------------------------------------------------------------------ r12289 | zimmerma | 2018-02-17 11:01:10 +0000 (Sat, 17 Feb 2018) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] removed dead code ------------------------------------------------------------------------ r12287 | vlefevre | 2018-02-17 10:28:33 +0000 (Sat, 17 Feb 2018) | 1 line Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Improved a comment. ------------------------------------------------------------------------ r12286 | vlefevre | 2018-02-17 10:27:19 +0000 (Sat, 17 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Check reuse of arguments for all mpfr_sub tests, when possible. ------------------------------------------------------------------------ r12285 | zimmerma | 2018-02-17 09:39:57 +0000 (Sat, 17 Feb 2018) | 3 lines Changed paths: M /trunk/src/sub1sp.c M /trunk/tests/tsub1sp.c [src/sub1sp.c] fixed bug in mpfr_sub1sp1n (corner case when a=c) [tests/tsub1sp.c] added non-regression test ------------------------------------------------------------------------ r12284 | zimmerma | 2018-02-17 08:52:47 +0000 (Sat, 17 Feb 2018) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] fixed case 2e ------------------------------------------------------------------------ r12283 | vlefevre | 2018-02-17 03:25:38 +0000 (Sat, 17 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Updated bug20180217 to trigger the bug: one needs to reuse the smallest input variable as the output variable. ------------------------------------------------------------------------ r12282 | vlefevre | 2018-02-17 03:03:09 +0000 (Sat, 17 Feb 2018) | 1 line Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Added a test. ------------------------------------------------------------------------ r12281 | vlefevre | 2018-02-17 01:36:28 +0000 (Sat, 17 Feb 2018) | 1 line Changed paths: M /trunk/src/expm1.c [src/expm1.c] Updated a comment. ------------------------------------------------------------------------ r12280 | vlefevre | 2018-02-17 01:29:43 +0000 (Sat, 17 Feb 2018) | 1 line Changed paths: M /trunk/src/expm1.c [src/expm1.c] Fixed an integer overflow from r12276. ------------------------------------------------------------------------ r12279 | vlefevre | 2018-02-17 01:12:49 +0000 (Sat, 17 Feb 2018) | 1 line Changed paths: M /trunk/src/expm1.c [src/expm1.c] Added a log message. ------------------------------------------------------------------------ r12278 | zimmerma | 2018-02-16 19:10:57 +0000 (Fri, 16 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] added coverage test ------------------------------------------------------------------------ r12277 | zimmerma | 2018-02-16 16:30:09 +0000 (Fri, 16 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] improve coverage of add.c (ubf case) ------------------------------------------------------------------------ r12276 | vlefevre | 2018-02-16 16:11:17 +0000 (Fri, 16 Feb 2018) | 9 lines Changed paths: M /trunk/src/expm1.c [src/expm1.c] It seems that code removed in r12273 wasn't necessarily dead code with mpfr_exp_t > long (-D_MPFR_EXP_FORMAT=4 needed) because for MPFR_SMALL_INPUT_AFTER_SAVE_EXPO, err would be limited to -LONG_MAX and precisions larger than LONG_MAX could be problems. The -LONG_MAX bound from r4127 was arbitrary and only used to simplify the code due to the fact that mpfr_cmp_si compares to a "long" argument. But now we have the internal mpfr_get_exp_t function, allowing us to avoid this arbitrary bound (fixing the code and making it more efficient for these extreme cases) and simplify the code even more. ------------------------------------------------------------------------ r12275 | zimmerma | 2018-02-16 15:54:26 +0000 (Fri, 16 Feb 2018) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5.cc M /trunk/tools/mbench/mfv5.h [mbench] added new option to usage ------------------------------------------------------------------------ r12274 | zimmerma | 2018-02-16 15:39:59 +0000 (Fri, 16 Feb 2018) | 4 lines Changed paths: M /trunk/tools/mbench/mfv5.cc M /trunk/tools/mbench/mfv5.h [mbench] added option -d to fix the exponent difference between operands (useful for mpfr_add and mpfr_sub, for example use -d0 for operands with same exponent, -d1 for operands differing by 1, ...) ------------------------------------------------------------------------ r12273 | zimmerma | 2018-02-16 15:09:38 +0000 (Fri, 16 Feb 2018) | 2 lines Changed paths: M /trunk/src/expm1.c [src/expm1.c] improve coverage (by removing dead code) ------------------------------------------------------------------------ r12272 | vlefevre | 2018-02-16 14:35:38 +0000 (Fri, 16 Feb 2018) | 2 lines Changed paths: M /trunk/src/div_2ui.c [src/div_2ui.c] No need for mpfr_uexp_t, due to the constraints on the valid exponents. ------------------------------------------------------------------------ r12271 | vlefevre | 2018-02-16 14:32:58 +0000 (Fri, 16 Feb 2018) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about mpfr_exp_t. ------------------------------------------------------------------------ r12270 | vlefevre | 2018-02-16 14:13:15 +0000 (Fri, 16 Feb 2018) | 1 line Changed paths: M /trunk/src/mul_2ui.c [src/mul_2ui.c] Simplified mpfr_mul_2ui (like mpfr_div_2ui). ------------------------------------------------------------------------ r12269 | vlefevre | 2018-02-16 14:09:39 +0000 (Fri, 16 Feb 2018) | 1 line Changed paths: M /trunk/src/div_2ui.c [src/div_2ui.c] Simplified justification. ------------------------------------------------------------------------ r12268 | vlefevre | 2018-02-16 13:50:07 +0000 (Fri, 16 Feb 2018) | 1 line Changed paths: M /trunk/src/div_2ui.c [src/div_2ui.c] Simplified code as suggested by PZ; added justification. ------------------------------------------------------------------------ r12267 | zimmerma | 2018-02-16 12:37:56 +0000 (Fri, 16 Feb 2018) | 2 lines Changed paths: M /trunk/src/add1.c M /trunk/src/div_ui.c M /trunk/src/sub1sp.c GNU style: https://www.gnu.org/prep/standards/standards.html#Formatting ------------------------------------------------------------------------ r12266 | zimmerma | 2018-02-16 12:35:19 +0000 (Fri, 16 Feb 2018) | 3 lines Changed paths: M /trunk/src/div_2ui.c M /trunk/tests/tmul_2exp.c [src/div_2ui.c] added comment [tests/tmul_2exp.c] added coverage test ------------------------------------------------------------------------ r12265 | vlefevre | 2018-02-16 11:31:31 +0000 (Fri, 16 Feb 2018) | 1 line Changed paths: M /trunk/src/div_2ui.c [src/div_2ui.c] Replaced FIXME by an explanation. ------------------------------------------------------------------------ r12264 | zimmerma | 2018-02-16 10:55:46 +0000 (Fri, 16 Feb 2018) | 2 lines Changed paths: M /trunk/src/div_2ui.c [src/div_2ui.c] added FIXME ------------------------------------------------------------------------ r12263 | zimmerma | 2018-02-16 10:43:49 +0000 (Fri, 16 Feb 2018) | 3 lines Changed paths: M /trunk/src/cmp_ld.c [src/cmp_ld.c] simplified code (and avoid useless test when long double is not double-double) ------------------------------------------------------------------------ r12262 | zimmerma | 2018-02-16 10:32:47 +0000 (Fri, 16 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tsub1sp.c [tests/tsub1sp.c] improve coverage ------------------------------------------------------------------------ r12261 | zimmerma | 2018-02-16 09:31:31 +0000 (Fri, 16 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] improve coverage of add1sp ------------------------------------------------------------------------ r12260 | zimmerma | 2018-02-16 08:23:06 +0000 (Fri, 16 Feb 2018) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] fixed bug20180216 ------------------------------------------------------------------------ r12259 | zimmerma | 2018-02-16 07:53:26 +0000 (Fri, 16 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] added coverage test ------------------------------------------------------------------------ r12257 | vlefevre | 2018-02-16 02:22:30 +0000 (Fri, 16 Feb 2018) | 1 line Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] More tests in bug20180216. ------------------------------------------------------------------------ r12256 | vlefevre | 2018-02-16 02:08:03 +0000 (Fri, 16 Feb 2018) | 3 lines Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Added bug20180216 test currently failing (corresponding to the failure mentioned in r12253, r12254 and r12255, but reproducible with a simple "./configure"). ------------------------------------------------------------------------ r12255 | vlefevre | 2018-02-16 01:39:57 +0000 (Fri, 16 Feb 2018) | 3 lines Changed paths: M /trunk/src/exp_2.c [src/exp_2.c] Note that the internal behavior depends on whether MPFR_LONG_WITHIN_LIMB is defined or not (see also r12253). This should not matter, possibly except in case of bug, like currently. ------------------------------------------------------------------------ r12254 | vlefevre | 2018-02-16 01:29:24 +0000 (Fri, 16 Feb 2018) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Updated FIXME for MPFR_CHECK_MP_LIMB_T_VS_LONG. ------------------------------------------------------------------------ r12253 | vlefevre | 2018-02-16 01:23:07 +0000 (Fri, 16 Feb 2018) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Added a FIXME for MPFR_CHECK_MP_LIMB_T_VS_LONG. ------------------------------------------------------------------------ r12252 | vlefevre | 2018-02-16 00:00:13 +0000 (Fri, 16 Feb 2018) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Squeezed useless double-space. ------------------------------------------------------------------------ r12251 | zimmerma | 2018-02-15 18:42:18 +0000 (Thu, 15 Feb 2018) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] fixed bug20180215() ------------------------------------------------------------------------ r12250 | vlefevre | 2018-02-15 15:10:10 +0000 (Thu, 15 Feb 2018) | 1 line Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Updated comment for bug20180215. ------------------------------------------------------------------------ r12249 | vlefevre | 2018-02-15 14:51:02 +0000 (Thu, 15 Feb 2018) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Use "else" for symmetry with above code. ------------------------------------------------------------------------ r12248 | vlefevre | 2018-02-15 14:39:54 +0000 (Thu, 15 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Added a comment for bug20180215 (bug in the case 2 <= d < p in generic code mpfr_sub1sp() introduced in r12242). ------------------------------------------------------------------------ r12246 | vlefevre | 2018-02-15 14:27:08 +0000 (Thu, 15 Feb 2018) | 5 lines Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Added bug20180215 test currently failing, found from a failure using -DMPFR_GENERIC_ABI in CFLAGS and the --enable-assert=full configure option; but the test had to be extended so that it also fails with a simple "configure", i.e. without -DMPFR_GENERIC_ABI in CFLAGS and without the --enable-assert=full configure option. ------------------------------------------------------------------------ r12245 | vlefevre | 2018-02-15 14:13:52 +0000 (Thu, 15 Feb 2018) | 1 line Changed paths: M /trunk/src/sub1sp.c Removed trailing whitespace. ------------------------------------------------------------------------ r12243 | zimmerma | 2018-02-14 16:11:04 +0000 (Wed, 14 Feb 2018) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] review of case 2 <= d < p in generic code mpfr_sub1sp() ------------------------------------------------------------------------ r12242 | zimmerma | 2018-02-14 14:41:48 +0000 (Wed, 14 Feb 2018) | 3 lines Changed paths: M /trunk/src/div_ui.c M /trunk/src/sub1sp.c [src/div_ui.c] GNU style [src/sub1sp.c] reviewed the code for d>=p in mpfr_sub1sp() ------------------------------------------------------------------------ r12241 | vlefevre | 2018-02-14 11:10:09 +0000 (Wed, 14 Feb 2018) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Much improved the check of the use of GMP internals. ------------------------------------------------------------------------ r12240 | zimmerma | 2018-02-14 10:06:46 +0000 (Wed, 14 Feb 2018) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] fixed a FIXME ------------------------------------------------------------------------ r12239 | zimmerma | 2018-02-14 09:50:02 +0000 (Wed, 14 Feb 2018) | 3 lines Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/sub1sp.c [src/mpfr-gmp.h] define prototype of __gmpn_rsblsh1_n [src/sub1sp.c] changed names of variables to something more readable ------------------------------------------------------------------------ r12238 | zimmerma | 2018-02-14 09:36:58 +0000 (Wed, 14 Feb 2018) | 3 lines Changed paths: M /trunk/configure.ac M /trunk/src/sub1sp.c [configure.ac] detect mpn_rsblsh1_n instead of mpn_rsblsh_n [src/sub1sp.c] use mpn_rsblsh1_n instead of mpn_rsblsh_n with k=1 ------------------------------------------------------------------------ r12237 | vlefevre | 2018-02-14 03:17:10 +0000 (Wed, 14 Feb 2018) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Added 2 FIXME's. ------------------------------------------------------------------------ r12236 | vlefevre | 2018-02-14 03:03:16 +0000 (Wed, 14 Feb 2018) | 4 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] In mpfr_sub1sp, initialize k only once. This slightly simplifies the code and avoids a -Wmaybe-uninitialized warning from GCC. The only failure on a 64-bit Linux machine is tsub1sp, due to an assertion failure in mpfr_sub1sp, as before this change. ------------------------------------------------------------------------ r12235 | vlefevre | 2018-02-14 02:49:07 +0000 (Wed, 14 Feb 2018) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Avoid the swapping of the exponents when they are equal. ------------------------------------------------------------------------ r12234 | zimmerma | 2018-02-13 16:06:18 +0000 (Tue, 13 Feb 2018) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] review of case d=1 in generic code ------------------------------------------------------------------------ r12233 | zimmerma | 2018-02-13 15:42:28 +0000 (Tue, 13 Feb 2018) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] no need of MPFR_TMP_MARK any more ------------------------------------------------------------------------ r12232 | zimmerma | 2018-02-13 15:19:27 +0000 (Tue, 13 Feb 2018) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] end of review of case d=0 in generic code ------------------------------------------------------------------------ r12231 | zimmerma | 2018-02-13 15:01:34 +0000 (Tue, 13 Feb 2018) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] work in progress ------------------------------------------------------------------------ r12230 | vlefevre | 2018-02-13 14:49:52 +0000 (Tue, 13 Feb 2018) | 1 line Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Moved a MPFR_ASSERTD to the right place. ------------------------------------------------------------------------ r12229 | zimmerma | 2018-02-13 14:26:57 +0000 (Tue, 13 Feb 2018) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] re-enable __gmpn_rsblsh_n (with WANT_GMP_INTERNALS) ------------------------------------------------------------------------ r12228 | zimmerma | 2018-02-13 14:13:23 +0000 (Tue, 13 Feb 2018) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] small improvement ------------------------------------------------------------------------ r12227 | zimmerma | 2018-02-13 13:59:18 +0000 (Tue, 13 Feb 2018) | 2 lines Changed paths: M /trunk/tools/cfarm.sh [tools/cfarm.sh] updated for 4.0.1-rc2 ------------------------------------------------------------------------ r12226 | zimmerma | 2018-02-13 13:53:19 +0000 (Tue, 13 Feb 2018) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] mp_ptr -> mp_limb_t* ------------------------------------------------------------------------ r12225 | zimmerma | 2018-02-13 13:49:43 +0000 (Tue, 13 Feb 2018) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] get rid of MPN_COPY/MPN_ZERO in generic code ------------------------------------------------------------------------ r12223 | vlefevre | 2018-02-13 02:48:00 +0000 (Tue, 13 Feb 2018) | 1 line Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Improved comments and other minor changes. ------------------------------------------------------------------------ r12222 | vlefevre | 2018-02-13 02:39:54 +0000 (Tue, 13 Feb 2018) | 6 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] In the generic code of mpfr_add1sp, fixed the computation of the round and sticky bits from r12220. At the same time, improved the handling of MPFR_RNDF in this part of the code: * The "while" loop to compute the sticky bit is no longer done in this case (the sticky bit does not matter). * The "goto" is avoided. ------------------------------------------------------------------------ r12221 | vlefevre | 2018-02-13 01:22:50 +0000 (Tue, 13 Feb 2018) | 1 line Changed paths: M /trunk/tests/tadd.c [tests/tadd.c] Added 2 tests that fail starting with r12220. ------------------------------------------------------------------------ r12220 | zimmerma | 2018-02-12 15:40:42 +0000 (Mon, 12 Feb 2018) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] cleanup generic code mpfr_add1sp() ------------------------------------------------------------------------ r12219 | vlefevre | 2018-02-09 14:17:18 +0000 (Fri, 09 Feb 2018) | 7 lines Changed paths: M /trunk/src/fma.c M /trunk/src/hypot.c [src/fma.c] Added a FIXME comment about overflow/underflow issues in corner cases (already caught with MPFR_ASSERTN), fixable with UBF like in mpfr_fmma. [src/hypot.c] Updated a comment: The problem that would come from an underflow in y^2, in particular because x was scaled in order to avoid an overflow in x^2, has been avoided by using a FMA (though still buggy for these cases, as mentioned just above). ------------------------------------------------------------------------ r12215 | vlefevre | 2018-02-08 01:20:13 +0000 (Thu, 08 Feb 2018) | 1 line Changed paths: M /trunk/tests/tfits.c M /trunk/tests/tfprintf.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tprintf.c M /trunk/tests/tset_float128.c M /trunk/tests/tset_sj.c M /trunk/tests/tsprintf.c M /trunk/tests/tversion.c [tests] Added/updated comments about the config.h inclusion. ------------------------------------------------------------------------ r12214 | vlefevre | 2018-02-08 01:07:46 +0000 (Thu, 08 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tset_float128.c M /trunk/tests/tset_ld.c [tests/{tset_float128.c,tset_ld.c}] Removed obsolete WITH_FPU_CONTROL related code (this should have been done in r12185). ------------------------------------------------------------------------ r12212 | vlefevre | 2018-02-07 23:37:29 +0000 (Wed, 07 Feb 2018) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Updated GMP URL. ------------------------------------------------------------------------ r12210 | vlefevre | 2018-02-07 23:32:29 +0000 (Wed, 07 Feb 2018) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r12208 | vlefevre | 2018-02-07 23:30:03 +0000 (Wed, 07 Feb 2018) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/tools/mpfrlint [doc/mpfr.texi] Corrected minimal GMP version. [tools/mpfrlint] Updated test to detect minimal GMP version mismatch. ------------------------------------------------------------------------ r12206 | vlefevre | 2018-02-07 23:21:02 +0000 (Wed, 07 Feb 2018) | 2 lines Changed paths: M /trunk/INSTALL M /trunk/tools/mpfrlint [INSTALL] Corrected minimal GMP version (thanks to David Edelsohn). [tools/mpfrlint] Added a test to detect minimal GMP version mismatch. ------------------------------------------------------------------------ r12198 | vlefevre | 2018-02-07 11:59:15 +0000 (Wed, 07 Feb 2018) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] For releases, check the VERSION file of the tag. ------------------------------------------------------------------------ r12197 | vlefevre | 2018-02-07 11:39:23 +0000 (Wed, 07 Feb 2018) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": moved a sentence. ------------------------------------------------------------------------ r12194 | vlefevre | 2018-02-02 13:06:29 +0000 (Fri, 02 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] Forcibly disable value coverage checking if mp_limb_t > unsigned long (e.g. on mips64 with the n32 ABI). ------------------------------------------------------------------------ r12193 | vlefevre | 2018-02-02 12:46:28 +0000 (Fri, 02 Feb 2018) | 1 line Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] Corrected comments. ------------------------------------------------------------------------ r12190 | vlefevre | 2018-02-02 11:47:35 +0000 (Fri, 02 Feb 2018) | 3 lines Changed paths: M /trunk/tests/terandom_chisq.c M /trunk/tests/tnrandom_chisq.c M /trunk/tests/trandom.c M /trunk/tests/turandom.c [tests/t*random*.c] * Replaced calloc + free by tests_allocate + tests_free as usual. * trandom.c, turandom.c: do bitwise operations in unsigned arithmetic. ------------------------------------------------------------------------ r12189 | vlefevre | 2018-02-02 11:27:03 +0000 (Fri, 02 Feb 2018) | 5 lines Changed paths: M /trunk/tests/terandom.c M /trunk/tests/terandom_chisq.c M /trunk/tests/tgrandom.c M /trunk/tests/tnrandom.c M /trunk/tests/tnrandom_chisq.c M /trunk/tests/trandom.c M /trunk/tests/trandom_deviate.c [tests/t*random*.c] * Replaced some fprintf with stderr by printf (but not those concerning memory allocation errors). * Do bitwise operations in unsigned arithmetic. * Formatting. ------------------------------------------------------------------------ r12188 | vlefevre | 2018-02-02 11:08:16 +0000 (Fri, 02 Feb 2018) | 1 line Changed paths: M /trunk/tests/tset_ld.c M /trunk/tests/tsub_d.c [tests] Formatting. ------------------------------------------------------------------------ r12186 | vlefevre | 2018-02-02 10:53:26 +0000 (Fri, 02 Feb 2018) | 7 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Make stderr unbuffered again. Note for the history: both stdout and stderr were made unbuffered in r2361, then all stderr were changed to stdout (and the corresponding setbuf on stderr removed) in r2449 for consistency, but stderr was used later for specific cases (e.g. memory allocation errors or when stdout is already used for something else), and it is also used for assertion failures. Thus the setbuf on stderr is still needed. ------------------------------------------------------------------------ r12185 | vlefevre | 2018-02-02 10:36:50 +0000 (Fri, 02 Feb 2018) | 6 lines Changed paths: M /trunk/tests/tremquo.c M /trunk/tests/tset_float128.c M /trunk/tests/tset_ld.c [tests] Fixed the cases where tests_start_mpfr was called too late, i.e. after potential output (to stdout). * tremquo.c: moved the call to tests_start_mpfr to the beginning. * tset_float128.c, tset_ld.c: removed the optional, obsolete code setting the FPU control word; MPFR_FPU_PREC can be used instead (see tests.c). ------------------------------------------------------------------------ r12183 | vlefevre | 2018-02-02 10:12:38 +0000 (Fri, 02 Feb 2018) | 2 lines Changed paths: M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c M /trunk/tests/tabort_prec_max.c Reverse-merged r12181 since tests_start_mpfr disables stdout buffering, so that the fflush() are unnecessary. ------------------------------------------------------------------------ r12181 | vlefevre | 2018-02-02 09:52:45 +0000 (Fri, 02 Feb 2018) | 3 lines Changed paths: M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c M /trunk/tests/tabort_prec_max.c [tests/tabort_*.c] Flush stdout after a printf(), as an abort() is expected. This is needed on platforms where abort() does not flush the stdio streams, such as with the GNU C Library (glibc) 2.27. ------------------------------------------------------------------------ r12178 | vlefevre | 2018-02-01 14:27:11 +0000 (Thu, 01 Feb 2018) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mention "make check-exported-symbols" (experimental). ------------------------------------------------------------------------ r12172 | vlefevre | 2018-02-01 13:28:12 +0000 (Thu, 01 Feb 2018) | 1 line Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] Portability update, in case MPFR_PREC_MIN > 1. ------------------------------------------------------------------------ r12169 | vlefevre | 2018-01-31 15:15:01 +0000 (Wed, 31 Jan 2018) | 3 lines Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] In corner_cases, test larger values for xn, as suggested by Paul, allowing one to cover case 2 for both sb=0 and sb=1. Value coverage is now complete. ------------------------------------------------------------------------ r12168 | vlefevre | 2018-01-31 15:02:18 +0000 (Wed, 31 Jan 2018) | 2 lines Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] Updated midpoint_exact to also test the divisor ULONG_MAX, allowing one to cover cases 3 and 4. ------------------------------------------------------------------------ r12167 | vlefevre | 2018-01-31 14:55:17 +0000 (Wed, 31 Jan 2018) | 2 lines Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] Added tests with simple midpoint and exact cases. This covers case 9, sb=0. ------------------------------------------------------------------------ r12166 | vlefevre | 2018-01-31 13:45:02 +0000 (Wed, 31 Jan 2018) | 7 lines Changed paths: M /trunk/src/div_ui.c M /trunk/src/mpfr-impl.h Added a case for the value coverage for tdiv_ui. → Now, on a 64-bit Linux machine: mpfr_div_ui not tested on case 2, sb=0 mpfr_div_ui not tested on case 2, sb=1 mpfr_div_ui not tested on case 3, sb=0 mpfr_div_ui not tested on case 4, sb=0 mpfr_div_ui not tested on case 9, sb=0 ------------------------------------------------------------------------ r12165 | vlefevre | 2018-01-31 13:34:35 +0000 (Wed, 31 Jan 2018) | 6 lines Changed paths: M /trunk/src/div_ui.c M /trunk/src/mpfr-impl.h M /trunk/tests/tdiv_ui.c Added value coverage for tdiv_ui (combinations of rb and sb in the different cases of the mpfr_div_ui code). → Currently on a 64-bit Linux machine: mpfr_div_ui not tested on case 2, sb=0 mpfr_div_ui not tested on case 3, sb=0 mpfr_div_ui not tested on case 8, sb=0 ------------------------------------------------------------------------ r12163 | vlefevre | 2018-01-31 02:37:05 +0000 (Wed, 31 Jan 2018) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Case tmp[yn] != 0: simplified code since u ≥ 2. ------------------------------------------------------------------------ r12162 | vlefevre | 2018-01-31 02:30:02 +0000 (Wed, 31 Jan 2018) | 5 lines Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Case tmp[yn] == 0: * corrected/improved comments; * simplified condition rb && sb to rb (since if rb ≠ 0, then r ≠ 0, so that the current sb ≠ 0); * replaced "& (~MPFR_LIMB_HIGHBIT)" by "<< 1" (should be simpler). ------------------------------------------------------------------------ r12161 | zimmerma | 2018-01-30 20:31:58 +0000 (Tue, 30 Jan 2018) | 2 lines Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] fixed corner case (hopefully) ------------------------------------------------------------------------ r12160 | vlefevre | 2018-01-30 17:17:11 +0000 (Tue, 30 Jan 2018) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Improved a regexp (avoiding false positives). ------------------------------------------------------------------------ r12159 | vlefevre | 2018-01-30 16:57:55 +0000 (Tue, 30 Jan 2018) | 1 line Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] corner_cases() requires limbs to fit in unsigned long. ------------------------------------------------------------------------ r12158 | vlefevre | 2018-01-30 16:52:57 +0000 (Tue, 30 Jan 2018) | 2 lines Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] Back to a decimal constant (the UL suffix was incorrect, but just a U is OK). ------------------------------------------------------------------------ r12157 | zimmerma | 2018-01-30 16:38:20 +0000 (Tue, 30 Jan 2018) | 2 lines Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] added test for corner case (currently fails) ------------------------------------------------------------------------ r12156 | vlefevre | 2018-01-30 16:25:08 +0000 (Tue, 30 Jan 2018) | 1 line Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] Fixed a value (from a zsh bug). ------------------------------------------------------------------------ r12155 | vlefevre | 2018-01-30 16:21:13 +0000 (Tue, 30 Jan 2018) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Comment: now, "i.e." is correct. ------------------------------------------------------------------------ r12154 | vlefevre | 2018-01-30 16:17:53 +0000 (Tue, 30 Jan 2018) | 1 line Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] Added ABI-independent bug20180126 tests. ------------------------------------------------------------------------ r12153 | zimmerma | 2018-01-30 15:55:58 +0000 (Tue, 30 Jan 2018) | 2 lines Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] fixed a comment ------------------------------------------------------------------------ r12152 | vlefevre | 2018-01-30 13:22:48 +0000 (Tue, 30 Jan 2018) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Typo in a comment. ------------------------------------------------------------------------ r12151 | vlefevre | 2018-01-30 13:14:13 +0000 (Tue, 30 Jan 2018) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Updated a comment. ------------------------------------------------------------------------ r12150 | vlefevre | 2018-01-30 13:05:10 +0000 (Tue, 30 Jan 2018) | 2 lines Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Clarified the notation (this was ambiguous, with two possible interpretations). Added comments about mpn_divrem_1. ------------------------------------------------------------------------ r12149 | vlefevre | 2018-01-30 09:15:21 +0000 (Tue, 30 Jan 2018) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Added a FIXME. ------------------------------------------------------------------------ r12148 | zimmerma | 2018-01-30 06:35:31 +0000 (Tue, 30 Jan 2018) | 2 lines Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] fixed a comment, and added a FIXME ------------------------------------------------------------------------ r12146 | vlefevre | 2018-01-29 14:11:54 +0000 (Mon, 29 Jan 2018) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Clarified a comment. ------------------------------------------------------------------------ r12145 | vlefevre | 2018-01-29 14:05:24 +0000 (Mon, 29 Jan 2018) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Started to review the code; minor changes. ------------------------------------------------------------------------ r12142 | vlefevre | 2018-01-29 01:23:41 +0000 (Mon, 29 Jan 2018) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Minor update of comments. ------------------------------------------------------------------------ r12141 | vlefevre | 2018-01-29 01:06:44 +0000 (Mon, 29 Jan 2018) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Fixed the exact case, which used nexttoinf uninitialized. ------------------------------------------------------------------------ r12140 | vlefevre | 2018-01-29 01:03:34 +0000 (Mon, 29 Jan 2018) | 2 lines Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] bug20180126: enable the test only when a limb fits in an unsigned long; clarified a comment. ------------------------------------------------------------------------ r12139 | zimmerma | 2018-01-28 09:05:30 +0000 (Sun, 28 Jan 2018) | 4 lines Changed paths: M /trunk/src/div_ui.c M /trunk/tests/tdiv_ui.c [src/div_ui.c] fixed bug20180126 (from tdiv.c), with a complete rewrite of mpfr_div_ui using the round and sticky bits [tests/tdiv_ui.c] added more tests ------------------------------------------------------------------------ r12137 | vlefevre | 2018-01-27 03:50:48 +0000 (Sat, 27 Jan 2018) | 1 line Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] mpfr_div bug bug20180126: also test negative values. ------------------------------------------------------------------------ r12136 | vlefevre | 2018-01-27 03:40:19 +0000 (Sat, 27 Jan 2018) | 1 line Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Updated comment about mpfr_div bug bug20180126. ------------------------------------------------------------------------ r12134 | vlefevre | 2018-01-27 03:19:43 +0000 (Sat, 27 Jan 2018) | 1 line Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] mpfr_div bug bug20180126 was introduced by r9086. ------------------------------------------------------------------------ r12132 | vlefevre | 2018-01-26 17:03:19 +0000 (Fri, 26 Jan 2018) | 1 line Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Completed r12128 test with new comments and an assert. ------------------------------------------------------------------------ r12128 | vlefevre | 2018-01-26 15:23:39 +0000 (Fri, 26 Jan 2018) | 1 line Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Added test case for a mpfr_div bug of MPFR 4. ------------------------------------------------------------------------ r12126 | vlefevre | 2018-01-25 15:17:55 +0000 (Thu, 25 Jan 2018) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added information about symbol checking. ------------------------------------------------------------------------ r12122 | vlefevre | 2018-01-23 09:40:06 +0000 (Tue, 23 Jan 2018) | 3 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Mention a libtool 2.4.6 bug concerning Solaris, yielding potential failures if a compatible MPFR version is already installed: this MPFR library is tested instead of the one that has just been built. ------------------------------------------------------------------------ r12117 | vlefevre | 2018-01-22 12:20:14 +0000 (Mon, 22 Jan 2018) | 1 line Changed paths: M /trunk/NEWS [NEWS] + Improved __GMP_CC and __GMP_CFLAGS retrieval. ------------------------------------------------------------------------ r12115 | vlefevre | 2018-01-22 01:48:07 +0000 (Mon, 22 Jan 2018) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] In the CC and CFLAGS setup from gmp.h, added to the cpp list: "clang -E"; "cl -E" and "icl -E" for Windows ICC and MSVC (suggested by Alexander). ------------------------------------------------------------------------ r12114 | vlefevre | 2018-01-20 13:15:43 +0000 (Sat, 20 Jan 2018) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": mention "make check-gmp-symbols" and "make check-exported-symbols". ------------------------------------------------------------------------ r12113 | vlefevre | 2018-01-20 13:11:23 +0000 (Sat, 20 Jan 2018) | 1 line Changed paths: M /trunk/Makefile.am [Makefile.am] Updated comments. ------------------------------------------------------------------------ r12112 | vlefevre | 2018-01-20 12:59:47 +0000 (Sat, 20 Jan 2018) | 3 lines Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] For check-gmp-symbols and check-exported-symbols, if the library is not $(top_builddir)/src/.libs/libmpfr.so, these rules do nothing instead of potentially failing. ------------------------------------------------------------------------ r12111 | vlefevre | 2018-01-20 12:38:52 +0000 (Sat, 20 Jan 2018) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/src/Makefile.am Added check-exported-symbols make rule to check that MPFR does not define symbols with a GMP reserved prefix. ------------------------------------------------------------------------ r12108 | vlefevre | 2018-01-18 12:29:58 +0000 (Thu, 18 Jan 2018) | 1 line Changed paths: M /trunk/src/mp_clz_tab.c [src/mp_clz_tab.c] Fixed a condition (see bug mentioned at r12107). ------------------------------------------------------------------------ r12107 | vlefevre | 2018-01-18 12:27:19 +0000 (Thu, 18 Jan 2018) | 11 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Reverse-merged r11969, which yields a build failure under MinGW when GMP is built with "--disable-shared --enable-static --enable-assert --disable-assembly" and MPFR is built using the GMP build. Indeed, this commit was incorrect, as if the GMP build is used, then this is GMP's longlong.h that is used and GMP's __clz_tab version that should be used. The real cause of the "multiple definition of `__gmpn_clz_tab'" error reported at https://sympa.inria.fr/sympa/arc/mpfr/2017-12/msg00061.html is that MPFR defines its own __gmpn_clz_tab while this is not needed (and must not be done) when the GMP build is used. ------------------------------------------------------------------------ r12104 | vlefevre | 2018-01-16 11:12:30 +0000 (Tue, 16 Jan 2018) | 2 lines Changed paths: M /trunk/doc/texinfo.tex Eliding mergeinfo from 'doc/texinfo.tex' (as done after a "svn merge -c -12102 .", though this was an unrelated commit). ------------------------------------------------------------------------ r12103 | vlefevre | 2018-01-16 11:09:03 +0000 (Tue, 16 Jan 2018) | 1 line Changed paths: M /trunk/TODO [TODO] - Decide whether multiple calls to mpfr_clear should be allowed. ------------------------------------------------------------------------ r12102 | vlefevre | 2018-01-16 08:58:00 +0000 (Tue, 16 Jan 2018) | 1 line Changed paths: M /trunk/TODO [TODO] + Decide whether multiple calls to mpfr_clear should be allowed. ------------------------------------------------------------------------ r12101 | vlefevre | 2018-01-13 13:57:53 +0000 (Sat, 13 Jan 2018) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r12100 | vlefevre | 2018-01-13 13:50:28 +0000 (Sat, 13 Jan 2018) | 1 line Changed paths: M /trunk/NEWS [NEWS] Update. Prepare for new version 4.1.0. ------------------------------------------------------------------------ r12099 | vlefevre | 2018-01-13 13:43:02 +0000 (Sat, 13 Jan 2018) | 1 line Changed paths: M /trunk/doc/FAQ.html [doc] Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r12092 | vlefevre | 2018-01-10 13:40:31 +0000 (Wed, 10 Jan 2018) | 1 line Changed paths: M /trunk/tests/tlgamma.c [tests/tlgamma.c] bug20180110: test the ternary value and the flags. ------------------------------------------------------------------------ r12091 | vlefevre | 2018-01-10 13:32:58 +0000 (Wed, 10 Jan 2018) | 3 lines Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Fixed mpfr_lgamma bug for tiny negative x, in case emax < exponent of the result (the issue was an overflow in the "fast" algorithm, which made it loop with more and more working precision). ------------------------------------------------------------------------ r12090 | vlefevre | 2018-01-10 13:24:29 +0000 (Wed, 10 Jan 2018) | 1 line Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Removed a useless cast. ------------------------------------------------------------------------ r12089 | vlefevre | 2018-01-10 13:17:50 +0000 (Wed, 10 Jan 2018) | 2 lines Changed paths: M /trunk/tests/tlgamma.c [tests/tlgamma.c] Added a test case for a bug found from the tgeneric change done in r12088. ------------------------------------------------------------------------ r12088 | vlefevre | 2018-01-10 12:22:11 +0000 (Wed, 10 Jan 2018) | 5 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Do several overflow/underflow tests instead of 1, and this for each precision. This allows one to detect the mpfr_ai bug found and fixed on 2018-01-07 (with 32-bit *and* 64-bit ABI): https://sympa.inria.fr/sympa/arc/mpfr/2018-01/msg00001.html Moreover, this makes tlgamma loop with a 32-bit ABI (x86). To be fixed. ------------------------------------------------------------------------ r12087 | vlefevre | 2018-01-10 11:49:52 +0000 (Wed, 10 Jan 2018) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Added comments for tests in a reduced exponent range. ------------------------------------------------------------------------ r12085 | vlefevre | 2018-01-10 10:12:19 +0000 (Wed, 10 Jan 2018) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] About r12084, simplified the code, without needing strncpy. ------------------------------------------------------------------------ r12084 | vlefevre | 2018-01-10 09:59:30 +0000 (Wed, 10 Jan 2018) | 3 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Fixed strncpy usage, in particular to ensure a null-terminated string (bug detected by gcc-snapshot 20180107-1 under Debian with -Werror=stringop-truncation). ------------------------------------------------------------------------ r12082 | vlefevre | 2018-01-09 14:44:43 +0000 (Tue, 09 Jan 2018) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Fixed the @GMPabs macro in tex mode: due to the use of the OT1 encoding, the pipe character "|" was giving a wide dash. ------------------------------------------------------------------------ r12081 | vlefevre | 2018-01-09 14:06:43 +0000 (Tue, 09 Jan 2018) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] For mpfr_custom_get_exp, restored the spec for NaN, infinity and zero, with more details. ------------------------------------------------------------------------ r12080 | vlefevre | 2018-01-09 13:51:51 +0000 (Tue, 09 Jan 2018) | 5 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved description of mpfr_custom_init_set. Note: For the versions of the manual generated with TeX (PDF/DVI/PS), "|kind|" appears as "—kind—", and the description of mpfr_ai has the same issue (since its introduction in MPFR 3.0.0). The cause is unclear, and this will be fixed later. ------------------------------------------------------------------------ r12079 | zimmerma | 2018-01-09 13:28:21 +0000 (Tue, 09 Jan 2018) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] for mpfr_custom_get_exp, explain the significand is considered in [1/2,1) as for mpfr_get_exp ------------------------------------------------------------------------ r12076 | vlefevre | 2018-01-09 12:19:03 +0000 (Tue, 09 Jan 2018) | 4 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/doc/texinfo.tex [doc] * texinfo.tex: update to the latest version 2018-01-09.11, which supports @var with script font size without any drawback. * mpfr.texi: replaced the now useless @svar by @var. ------------------------------------------------------------------------ r12075 | vlefevre | 2018-01-07 20:45:25 +0000 (Sun, 07 Jan 2018) | 1 line Changed paths: M /trunk/tests/tai.c [tests/tai.c] In bug20180107, also check the flags. ------------------------------------------------------------------------ r12074 | vlefevre | 2018-01-07 20:06:18 +0000 (Sun, 07 Jan 2018) | 1 line Changed paths: M /trunk/src/ai.c [src/ai.c] Really fixed the bug. ------------------------------------------------------------------------ r12073 | vlefevre | 2018-01-07 19:51:21 +0000 (Sun, 07 Jan 2018) | 1 line Changed paths: M /trunk/src/check.c [src/check.c] Typo. ------------------------------------------------------------------------ r12072 | zimmerma | 2018-01-07 19:51:20 +0000 (Sun, 07 Jan 2018) | 2 lines Changed paths: M /trunk/src/ai.c [src/ai.c] missing call to mpfr_check_range ------------------------------------------------------------------------ r12071 | zimmerma | 2018-01-07 19:47:02 +0000 (Sun, 07 Jan 2018) | 2 lines Changed paths: M /trunk/tests/tai.c [tests/tai.c] added test that fails on x86_64 ------------------------------------------------------------------------ r12070 | zimmerma | 2018-01-07 18:51:13 +0000 (Sun, 07 Jan 2018) | 3 lines Changed paths: M /trunk/tests/tai.c [tests/tai.c] added test for bug in mpfr_ai (see thread https://sympa.inria.fr/sympa/arc/mpfr/2018-01/msg00001.html) ------------------------------------------------------------------------ r12069 | vlefevre | 2018-01-03 10:58:06 +0000 (Wed, 03 Jan 2018) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r12068 | vlefevre | 2018-01-03 10:56:21 +0000 (Wed, 03 Jan 2018) | 2 lines Changed paths: M /trunk/tools/ck-mparam [tools/ck-mparam] In the copyright notice, just keep the year 2011 since this file is not part of the tarball (just used by mpfrlint). ------------------------------------------------------------------------ r12067 | vlefevre | 2018-01-03 10:53:21 +0000 (Wed, 03 Jan 2018) | 6 lines Changed paths: M /trunk/BUGS M /trunk/INSTALL M /trunk/Makefile.am M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/FAQ.html M /trunk/doc/Makefile.am M /trunk/doc/README.dev M /trunk/doc/check-typography M /trunk/doc/faq.xsl M /trunk/doc/mpfr.texi M /trunk/examples/can_round.c M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c M /trunk/src/Makefile.am M /trunk/src/abort_prec_max.c M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/asin.c M /trunk/src/asinh.c M /trunk/src/atan.c M /trunk/src/atan2.c M /trunk/src/atanh.c M /trunk/src/bernoulli.c M /trunk/src/beta.c M /trunk/src/buildopt.c M /trunk/src/cache.c M /trunk/src/cbrt.c M /trunk/src/check.c M /trunk/src/clear.c M /trunk/src/clears.c M /trunk/src/cmp.c M /trunk/src/cmp2.c M /trunk/src/cmp_abs.c M /trunk/src/cmp_d.c M /trunk/src/cmp_ld.c M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c M /trunk/src/comparisons.c M /trunk/src/const_catalan.c M /trunk/src/const_euler.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/constant.c M /trunk/src/copysign.c M /trunk/src/cos.c M /trunk/src/cosh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/digamma.c M /trunk/src/dim.c M /trunk/src/div.c M /trunk/src/div_2exp.c M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/div_d.c M /trunk/src/div_ui.c M /trunk/src/dump.c M /trunk/src/eint.c M /trunk/src/eq.c M /trunk/src/erandom.c M /trunk/src/erf.c M /trunk/src/erfc.c M /trunk/src/exceptions.c M /trunk/src/exp.c M /trunk/src/exp10.c M /trunk/src/exp2.c M /trunk/src/exp3.c M /trunk/src/exp_2.c M /trunk/src/expm1.c M /trunk/src/extract.c M /trunk/src/factorial.c M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_sint.c M /trunk/src/fits_slong.c M /trunk/src/fits_sshort.c M /trunk/src/fits_u.h M /trunk/src/fits_uint.c M /trunk/src/fits_uintmax.c M /trunk/src/fits_ulong.c M /trunk/src/fits_ushort.c M /trunk/src/fma.c M /trunk/src/fmma.c M /trunk/src/fms.c M /trunk/src/fpif.c M /trunk/src/frac.c M /trunk/src/free_cache.c M /trunk/src/frexp.c M /trunk/src/gamma.c M /trunk/src/gamma_inc.c M /trunk/src/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/generic/coverage/mparam.h M /trunk/src/generic/mparam.h M /trunk/src/get_d.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_float128.c M /trunk/src/get_flt.c M /trunk/src/get_ld.c M /trunk/src/get_q.c M /trunk/src/get_si.c M /trunk/src/get_sj.c M /trunk/src/get_str.c M /trunk/src/get_ui.c M /trunk/src/get_uj.c M /trunk/src/get_z.c M /trunk/src/get_z_exp.c M /trunk/src/gmp_op.c M /trunk/src/grandom.c M /trunk/src/hppa/mparam.h M /trunk/src/hypot.c M /trunk/src/ia64/mparam.h M /trunk/src/ieee_floats.h M /trunk/src/init.c M /trunk/src/init2.c M /trunk/src/inits.c M /trunk/src/inits2.c M /trunk/src/inp_str.c M /trunk/src/int_ceil_log2.c M /trunk/src/invert_limb.h M /trunk/src/invsqrt_limb.h M /trunk/src/isinf.c M /trunk/src/isinteger.c M /trunk/src/isnan.c M /trunk/src/isnum.c M /trunk/src/isqrt.c M /trunk/src/isregular.c M /trunk/src/iszero.c M /trunk/src/jn.c M /trunk/src/jyn_asympt.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/log_ui.c M /trunk/src/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c M /trunk/src/mips/mparam.h M /trunk/src/modf.c M /trunk/src/mp_clz_tab.c M /trunk/src/mparam_h.in M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr-cvers.h M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-intmax.h M /trunk/src/mpfr-longlong.h M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/src/mpfr-sassert.h M /trunk/src/mpfr-thread.h M /trunk/src/mpfr.h M /trunk/src/mpn_exp.c M /trunk/src/mul.c M /trunk/src/mul_2exp.c M /trunk/src/mul_2si.c M /trunk/src/mul_2ui.c M /trunk/src/mul_d.c M /trunk/src/mul_ui.c M /trunk/src/mulders.c M /trunk/src/neg.c M /trunk/src/next.c M /trunk/src/nrandom.c M /trunk/src/odd_p.c M /trunk/src/out_str.c M /trunk/src/pool.c M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_ui.c M /trunk/src/pow_z.c M /trunk/src/powerof2.c M /trunk/src/powerpc32/mparam.h M /trunk/src/powerpc64/mparam.h M /trunk/src/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/random_deviate.c M /trunk/src/random_deviate.h M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.c M /trunk/src/rndna.c M /trunk/src/root.c M /trunk/src/round_near_x.c M /trunk/src/round_p.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/scale2.c M /trunk/src/sec.c M /trunk/src/sech.c M /trunk/src/set.c M /trunk/src/set_d.c M /trunk/src/set_d64.c M /trunk/src/set_dfl_prec.c M /trunk/src/set_exp.c M /trunk/src/set_f.c M /trunk/src/set_float128.c M /trunk/src/set_flt.c M /trunk/src/set_inf.c M /trunk/src/set_ld.c M /trunk/src/set_nan.c M /trunk/src/set_prc_raw.c M /trunk/src/set_prec.c M /trunk/src/set_q.c M /trunk/src/set_rnd.c M /trunk/src/set_si.c M /trunk/src/set_si_2exp.c M /trunk/src/set_sj.c M /trunk/src/set_str.c M /trunk/src/set_str_raw.c M /trunk/src/set_ui.c M /trunk/src/set_ui_2exp.c M /trunk/src/set_uj.c M /trunk/src/set_z.c M /trunk/src/set_z_exp.c M /trunk/src/set_zero.c M /trunk/src/setmax.c M /trunk/src/setmin.c M /trunk/src/setsign.c M /trunk/src/sgn.c M /trunk/src/si_op.c M /trunk/src/signbit.c M /trunk/src/sin.c M /trunk/src/sin_cos.c M /trunk/src/sinh.c M /trunk/src/sinh_cosh.c M /trunk/src/sparc64/mparam.h M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sqrt_ui.c M /trunk/src/stack_interface.c M /trunk/src/strtofr.c M /trunk/src/sub.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sub_d.c M /trunk/src/sub_ui.c M /trunk/src/subnormal.c M /trunk/src/sum.c M /trunk/src/swap.c M /trunk/src/tan.c M /trunk/src/tanh.c M /trunk/src/ubf.c M /trunk/src/uceil_exp2.c M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c M /trunk/src/ui_div.c M /trunk/src/ui_pow.c M /trunk/src/ui_pow_ui.c M /trunk/src/ui_sub.c M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/src/vasprintf.c M /trunk/src/version.c M /trunk/src/volatile.c M /trunk/src/x86/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/corei5/mparam.h M /trunk/src/x86_64/pentium4/mparam.h M /trunk/src/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tests/Makefile.am M /trunk/tests/cmp_str.c M /trunk/tests/data/digamma M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/random2.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c M /trunk/tests/tabort_prec_max.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tai.c M /trunk/tests/talloc-cache.c M /trunk/tests/talloc.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tassert.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbeta.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terandom.c M /trunk/tests/terandom_chisq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfpif.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tfrexp.c M /trunk/tests/tgamma.c M /trunk/tests/tgamma_inc.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_q.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/tgrandom.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tlog_ui.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tnrandom.c M /trunk/tests/tnrandom_chisq.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trandom_deviate.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/trndna.c M /trunk/tests/troot.c M /trunk/tests/trootn_ui.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_float128.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstdint.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tvalist.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tools/bench/Makefile.am M /trunk/tools/bench/benchtime.h M /trunk/tools/bench/mpfrbench.c M /trunk/tools/ck-clz_tab M /trunk/tools/ck-copyright-notice M /trunk/tools/ck-news M /trunk/tools/ck-version-info M /trunk/tools/get_patches.sh M /trunk/tune/Makefile.am M /trunk/tune/bidimensional_sample.c M /trunk/tune/speed.c M /trunk/tune/tuneup.c Copyright notice update: added 2018 with perl -pi -e 's/ (\d{4}-)?(2017)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh, reverting the ck-mparam and timings-mpfr.c files and the mbench directory under "tools" (not distributed with MPFR). Removed 2017 from the example in the doc/README.dev file. ------------------------------------------------------------------------ r12066 | zimmerma | 2018-01-03 10:20:46 +0000 (Wed, 03 Jan 2018) | 3 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] added comments and FIXME Note (2019-04-30): a bug has also been introduced (fixed in r13485). ------------------------------------------------------------------------ r12056 | vlefevre | 2017-12-25 11:15:53 +0000 (Mon, 25 Dec 2017) | 1 line Changed paths: M /trunk/NEWS [NEWS] Minor corrections for GNU MPFR 4.0.0. ------------------------------------------------------------------------ r12055 | vlefevre | 2017-12-23 21:38:16 +0000 (Sat, 23 Dec 2017) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Added a note about gettimeofday() and a cast. ------------------------------------------------------------------------ r12054 | vlefevre | 2017-12-23 21:17:25 +0000 (Sat, 23 Dec 2017) | 2 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Fixed a potential integer overflow from r12053 with GMP_CHECK_RANDOMIZE=1, in particular under a 32-bit Linux. ------------------------------------------------------------------------ r12053 | zimmerma | 2017-12-23 17:08:06 +0000 (Sat, 23 Dec 2017) | 2 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] decrease probability of collision with random seed ------------------------------------------------------------------------ r12048 | zimmerma | 2017-12-23 08:46:50 +0000 (Sat, 23 Dec 2017) | 3 lines Changed paths: M /trunk/src/exp_2.c M /trunk/src/subnormal.c [src/exp_2.c] fixed bug from previous commit [src/subnormal.c] added assert ------------------------------------------------------------------------ r12047 | zimmerma | 2017-12-23 08:38:01 +0000 (Sat, 23 Dec 2017) | 2 lines Changed paths: M /trunk/tests/texp.c [tests/texp.c] added test for new bug ------------------------------------------------------------------------ r12045 | vlefevre | 2017-12-22 11:01:53 +0000 (Fri, 22 Dec 2017) | 1 line Changed paths: M /trunk/tests/tlngamma.c Removed trailing whitespace. ------------------------------------------------------------------------ r12044 | vlefevre | 2017-12-22 10:54:49 +0000 (Fri, 22 Dec 2017) | 1 line Changed paths: M /trunk/src/subnormal.c [src/subnormal.c] Replaced FIXME. ------------------------------------------------------------------------ r12043 | vlefevre | 2017-12-22 10:48:08 +0000 (Fri, 22 Dec 2017) | 1 line Changed paths: M /trunk/tests/tj1.c [tests/tj1.c] Avoid a potential integer overflow. ------------------------------------------------------------------------ r12042 | zimmerma | 2017-12-22 08:10:22 +0000 (Fri, 22 Dec 2017) | 2 lines Changed paths: M /trunk/src/subnormal.c [src/subnormal.c] added FIXME ------------------------------------------------------------------------ r12041 | zimmerma | 2017-12-22 08:06:04 +0000 (Fri, 22 Dec 2017) | 2 lines Changed paths: M /trunk/src/sin.c [src/sin.c] simplified code with RNDA ------------------------------------------------------------------------ r12040 | zimmerma | 2017-12-22 08:03:49 +0000 (Fri, 22 Dec 2017) | 2 lines Changed paths: M /trunk/src/hypot.c [src/hypot.c] mimic mpfr_round_near_x ------------------------------------------------------------------------ r12039 | zimmerma | 2017-12-22 07:54:59 +0000 (Fri, 22 Dec 2017) | 2 lines Changed paths: M /trunk/tests/tj1.c [tests/tj1.c] exercise corner case ------------------------------------------------------------------------ r12038 | zimmerma | 2017-12-22 07:38:25 +0000 (Fri, 22 Dec 2017) | 2 lines Changed paths: M /trunk/tests/tj1.c [tests/tj1.c] added test for j1(z) with small z ------------------------------------------------------------------------ r12037 | zimmerma | 2017-12-22 07:36:41 +0000 (Fri, 22 Dec 2017) | 2 lines Changed paths: M /trunk/src/hypot.c [src/hypot.c] fixed issue with overflow flag not correctly set ------------------------------------------------------------------------ r12036 | vlefevre | 2017-12-21 09:17:04 +0000 (Thu, 21 Dec 2017) | 2 lines Changed paths: M /trunk/src/next.c [src/next.c] Reverted r12035 as per documentation, which follows IEEE 754 (with the usual special treatment for the single NaN). ------------------------------------------------------------------------ r12035 | zimmerma | 2017-12-21 07:37:30 +0000 (Thu, 21 Dec 2017) | 3 lines Changed paths: M /trunk/src/next.c M /trunk/tests/thypot.c [src/next.c] fixed nextinf (missing overflow flag) [tests/thypot.c] removed debug call to mpfr_dump in previous commit ------------------------------------------------------------------------ r12034 | zimmerma | 2017-12-21 07:29:57 +0000 (Thu, 21 Dec 2017) | 2 lines Changed paths: M /trunk/tests/thypot.c [tests/thypot.c] another fix... ------------------------------------------------------------------------ r12033 | zimmerma | 2017-12-21 07:21:29 +0000 (Thu, 21 Dec 2017) | 2 lines Changed paths: M /trunk/tests/thypot.c [tests/thypot.c] fixed bug20171221() ------------------------------------------------------------------------ r12032 | zimmerma | 2017-12-21 07:12:14 +0000 (Thu, 21 Dec 2017) | 2 lines Changed paths: M /trunk/tests/thypot.c [tests/thypot.c] new failing test ------------------------------------------------------------------------ r12031 | zimmerma | 2017-12-21 06:18:05 +0000 (Thu, 21 Dec 2017) | 4 lines Changed paths: M /trunk/src/lngamma.c M /trunk/tests/tlngamma.c [src/lngamma.c] fixed bug when u=0 in case z0 < 1 [tests/tlngamma.c] fixed test case which was wrong ------------------------------------------------------------------------ r12030 | zimmerma | 2017-12-20 20:28:49 +0000 (Wed, 20 Dec 2017) | 2 lines Changed paths: M /trunk/tests/tlngamma.c [tests/tlngamma.c] added test for new failure ------------------------------------------------------------------------ r12029 | zimmerma | 2017-12-20 10:48:26 +0000 (Wed, 20 Dec 2017) | 2 lines Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] fixed bug found in previous commit ------------------------------------------------------------------------ r12028 | zimmerma | 2017-12-20 10:40:34 +0000 (Wed, 20 Dec 2017) | 2 lines Changed paths: M /trunk/tests/tlngamma.c [tests/tlngamma.c] added failing test with mpfr-4.0.0-rc2 ------------------------------------------------------------------------ r12025 | vlefevre | 2017-12-20 01:54:18 +0000 (Wed, 20 Dec 2017) | 1 line Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.ac M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/version.c Updated version to 4.1.0-dev again. ------------------------------------------------------------------------ r12023 | vlefevre | 2017-12-20 01:52:21 +0000 (Wed, 20 Dec 2017) | 1 line Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.ac M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/version.c Updated version to 4.0.0-rc2 for an attempt to replace the 4.0 branch. ------------------------------------------------------------------------ r12022 | vlefevre | 2017-12-20 01:34:49 +0000 (Wed, 20 Dec 2017) | 1 line Changed paths: M /trunk/src/fma.c [src/fma.c] Minor improvements. Added an assert. ------------------------------------------------------------------------ r12021 | vlefevre | 2017-12-20 01:17:36 +0000 (Wed, 20 Dec 2017) | 1 line Changed paths: M /trunk/src/tanh.c [src/tanh.c] GNU coding style. ------------------------------------------------------------------------ r12020 | vlefevre | 2017-12-20 01:13:09 +0000 (Wed, 20 Dec 2017) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Reindentation. ------------------------------------------------------------------------ r12019 | vlefevre | 2017-12-20 01:10:54 +0000 (Wed, 20 Dec 2017) | 1 line Changed paths: M /trunk/src/exp2.c [src/exp2.c] Replaced two MPFR_ASSERTN by MPFR_STAT_STATIC_ASSERT. ------------------------------------------------------------------------ r12018 | vlefevre | 2017-12-19 16:30:09 +0000 (Tue, 19 Dec 2017) | 2 lines Changed paths: M /trunk/src/exp2.c [src/exp2.c] Fixed the double rounding problem in an underflow case, triggered by the test added in r12017. ------------------------------------------------------------------------ r12017 | vlefevre | 2017-12-19 16:13:48 +0000 (Tue, 19 Dec 2017) | 2 lines Changed paths: M /trunk/tests/texp2.c [tests/texp2.c] Added test of underflow in MPFR_RNDN with exact value close to 2^(emin-2). Currently fails due to double rounding. ------------------------------------------------------------------------ r12016 | vlefevre | 2017-12-19 14:45:00 +0000 (Tue, 19 Dec 2017) | 3 lines Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Added new non-regression test: the was the real cause of the ttanh failure in r11993 without the tanh.c fix in this same commit. But this mpfr_div was fixed in r12002. ------------------------------------------------------------------------ r12015 | vlefevre | 2017-12-19 08:56:43 +0000 (Tue, 19 Dec 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a comment about a bug/limitation in makeinfo 5.2. ------------------------------------------------------------------------ r12014 | vlefevre | 2017-12-19 08:21:55 +0000 (Tue, 19 Dec 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved svar macro for nottex, in case it is used in the future. ------------------------------------------------------------------------ r12013 | vlefevre | 2017-12-19 08:20:18 +0000 (Tue, 19 Dec 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Define svar even for nottex, though it is not used (attempt to avoid a failure with makeinfo 5.2). ------------------------------------------------------------------------ r12012 | zimmerma | 2017-12-19 06:51:47 +0000 (Tue, 19 Dec 2017) | 3 lines Changed paths: M /trunk/src/fma.c M /trunk/tests/tfma.c [src/fma.c] fixed bug in mpfr_fma [tests/tfma.c] added non-regression test ------------------------------------------------------------------------ r12011 | vlefevre | 2017-12-19 03:38:58 +0000 (Tue, 19 Dec 2017) | 2 lines Changed paths: M /trunk/src/exp2.c [src/exp2.c] Update concerning the underflow/overflow cases. Still incomplete. ------------------------------------------------------------------------ r12010 | vlefevre | 2017-12-19 02:32:33 +0000 (Tue, 19 Dec 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated a comment. ------------------------------------------------------------------------ r12009 | vlefevre | 2017-12-19 02:29:51 +0000 (Tue, 19 Dec 2017) | 8 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/doc/texinfo.tex [doc] * texinfo.tex: update to the latest version 2017-12-18.20, which reverts the change done in 2017-12-01.13 attempting to support @var with script font size (e.g. in exponent); but this change didn't work correctly. * mpfr.texi: introduced a @svar macro to handle this case. It currently disables the use of @var, the other workaround being worse. ------------------------------------------------------------------------ r12008 | vlefevre | 2017-12-18 17:59:35 +0000 (Mon, 18 Dec 2017) | 1 line Changed paths: M /trunk/src/mul.c Removed trailing whitespace. ------------------------------------------------------------------------ r12007 | vlefevre | 2017-12-18 17:05:28 +0000 (Mon, 18 Dec 2017) | 2 lines Changed paths: M /trunk/doc/algorithms.tex M /trunk/src/tanh.c [doc/algorithms.tex,src/tanh.c] Fixed the bound, in particular from the recent improvements in the error analysis. ------------------------------------------------------------------------ r12006 | zimmerma | 2017-12-18 16:21:36 +0000 (Mon, 18 Dec 2017) | 3 lines Changed paths: M /trunk/src/mul.c [src/mul.c] we should compare the smaller size and not the larger one to MPFR_MUL_THRESHOLD or MPFR_SQR_THRESHOLD for Mulders' short product ------------------------------------------------------------------------ r12005 | zimmerma | 2017-12-18 16:17:19 +0000 (Mon, 18 Dec 2017) | 3 lines Changed paths: M /trunk/src/mul.c M /trunk/tests/tmul_d.c [src/mul.c] with Mulders', convert RNDF to RNDZ [tests/tmul_d.c] added a non-regression test ------------------------------------------------------------------------ r12004 | vlefevre | 2017-12-18 16:04:59 +0000 (Mon, 18 Dec 2017) | 1 line Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] mpfr_tanh: corrected bounds (thanks to Paul). ------------------------------------------------------------------------ r12003 | vlefevre | 2017-12-18 15:54:05 +0000 (Mon, 18 Dec 2017) | 1 line Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] mpfr_tanh: detailed some inequalities. ------------------------------------------------------------------------ r12002 | zimmerma | 2017-12-18 15:06:45 +0000 (Mon, 18 Dec 2017) | 4 lines Changed paths: M /trunk/src/div.c M /trunk/tests/tdiv.c M /trunk/tests/ttan.c [src/div.c] fixed bug in mpfr_div2_approx() [tests/tdiv.c] added non-regression test [tests/ttan.c] added test triggering bug in mpfr_div2_approx() ------------------------------------------------------------------------ r12001 | vlefevre | 2017-12-18 14:44:33 +0000 (Mon, 18 Dec 2017) | 1 line Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] mpfr_tanh: resolved both FIXME's. ------------------------------------------------------------------------ r12000 | vlefevre | 2017-12-18 13:37:07 +0000 (Mon, 18 Dec 2017) | 4 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] mpfr_tanh: corrected a part of the error analysis (2^k+4 ≤ |theta_4|^(−1/2) was not necessarily true, since theta_4 can be very small). As a consequence, the lemma can be simplified/improved (first FIXME). Added a second FIXME on a condition that is not checked. ------------------------------------------------------------------------ r11999 | vlefevre | 2017-12-18 12:22:26 +0000 (Mon, 18 Dec 2017) | 1 line Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] mpfr_tanh: missing absolute value; added a \cdot. ------------------------------------------------------------------------ r11998 | vlefevre | 2017-12-18 12:15:31 +0000 (Mon, 18 Dec 2017) | 1 line Changed paths: M /trunk/src/exp2.c M /trunk/tests/texp2.c Removed trailing whitespace. ------------------------------------------------------------------------ r11997 | vlefevre | 2017-12-18 12:08:36 +0000 (Mon, 18 Dec 2017) | 1 line Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Added another \cdot for readability. ------------------------------------------------------------------------ r11996 | zimmerma | 2017-12-18 12:01:41 +0000 (Mon, 18 Dec 2017) | 2 lines Changed paths: M /trunk/src/exp2.c [src/exp2.c] added FIXME ------------------------------------------------------------------------ r11995 | vlefevre | 2017-12-18 11:55:11 +0000 (Mon, 18 Dec 2017) | 7 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Minor corrections for hyperbolic tangent function: * "e" had two different meanings (BTW, the constant e should actually be written \mathrm{e} everywhere in the document). * Use \left...\right instead of |...| when it contains an expression starting with \log (the latter was confusing pdflatex, which added a spurious space before \log). * Added some \cdot for better readability. ------------------------------------------------------------------------ r11994 | zimmerma | 2017-12-18 11:36:15 +0000 (Mon, 18 Dec 2017) | 3 lines Changed paths: M /trunk/src/exp2.c M /trunk/tests/texp2.c [src/exp2.c] fixed bug near underflow [tests/texp2.c] added non-regression test ------------------------------------------------------------------------ r11993 | zimmerma | 2017-12-18 08:51:06 +0000 (Mon, 18 Dec 2017) | 9 lines Changed paths: M /trunk/doc/algorithms.tex M /trunk/src/tanh.c M /trunk/tests/ttanh.c [tests/ttanh.c] added test for bug in mpfr_tanh [doc/algorithms.tex] fixed error analysis for mpfr_tanh [src/tanh.c] fixed error analysis Note after r12016: Even though mpfr_tanh was incorrect, the failure of the test added in ttanh.c was actually *only* due to a bug in the mpfr_div code specific to the trunk (fixed in r12002), i.e. this was not a non-regression test for the mpfr_tanh bug itself (in particular, this test does not introduce a failure in the 3.1 branch, which still has the same incorrect mpfr_tanh code but a correct mpfr_div). ------------------------------------------------------------------------ r11991 | vlefevre | 2017-12-18 00:04:58 +0000 (Mon, 18 Dec 2017) | 1 line Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.ac M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/version.c Updated version to 4.1.0-dev again. ------------------------------------------------------------------------ r11989 | vlefevre | 2017-12-17 23:57:39 +0000 (Sun, 17 Dec 2017) | 1 line Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.ac M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/version.c Updated version to 4.0.0-rc2 for an attempt to replace the 4.0 branch. ------------------------------------------------------------------------ r11988 | vlefevre | 2017-12-17 23:52:26 +0000 (Sun, 17 Dec 2017) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r11987 | zimmerma | 2017-12-17 16:23:21 +0000 (Sun, 17 Dec 2017) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] fix bug in mpfr_add1sp3() in case d=GMP_NUMB_BITS ------------------------------------------------------------------------ r11986 | zimmerma | 2017-12-17 15:16:48 +0000 (Sun, 17 Dec 2017) | 14 lines Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] added test for new bug (still to be fixed): Seed GMP_CHECK_RANDOMIZE=1514385177 (include this in bug reports) add1 & add1sp return different values for MPFR_RNDN Prec_a = 137, Prec_b = 137, Prec_c = 137 B = 0.11111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000E-66 C = 0.11111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000110000E-2 add1 : 0.10000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000001000E-1 add1sp: 0.11111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000010000E-2 Inexact sp = 0 | Inexact = 0 Flags sp = 8 | Flags = 8 add1sp.c:89: MPFR assertion failed: 0 ------------------------------------------------------------------------ r11981 | vlefevre | 2017-12-15 02:44:49 +0000 (Fri, 15 Dec 2017) | 1 line Changed paths: M /trunk/src/root.c [src/root.c] Minor comment correction. ------------------------------------------------------------------------ r11980 | vlefevre | 2017-12-15 02:36:50 +0000 (Fri, 15 Dec 2017) | 4 lines Changed paths: M /trunk/src/root.c M /trunk/tests/troot.c [src/root.c] Completed fix from r11978, as x=-1 was affected too. Also added comments explaining that mpfr_root_aux assumes |x| ≠ 1 and why. Hence the need of a filter on |x| = 1. [tests/troot.c] Added test for x = -1. ------------------------------------------------------------------------ r11979 | vlefevre | 2017-12-15 01:44:11 +0000 (Fri, 15 Dec 2017) | 1 line Changed paths: M /trunk/tests/troot.c [tests/troot.c] Replaced mpfr_root by TF (like in the other tests). ------------------------------------------------------------------------ r11978 | zimmerma | 2017-12-14 10:22:32 +0000 (Thu, 14 Dec 2017) | 3 lines Changed paths: M /trunk/src/root.c M /trunk/tests/troot.c [src/root.c] fixed bug when x=1 [tests/troot.c] added non-regression test ------------------------------------------------------------------------ r11977 | vlefevre | 2017-12-14 07:57:05 +0000 (Thu, 14 Dec 2017) | 2 lines Changed paths: M /trunk/tests/tsub1sp.c [tests/tsub1sp.c] Corrected a type. And mpfr_equal_p being a predicate function, it's better to use Boolean operators on it. ------------------------------------------------------------------------ r11976 | zimmerma | 2017-12-14 07:35:35 +0000 (Thu, 14 Dec 2017) | 2 lines Changed paths: M /trunk/tests/tsub1sp.c [tests/tsub1sp.c] added a generic test for bug20171213() ------------------------------------------------------------------------ r11975 | vlefevre | 2017-12-14 02:17:05 +0000 (Thu, 14 Dec 2017) | 7 lines Changed paths: M /trunk/src/mul.c M /trunk/src/sqr.c [src/{mul.c,sqr.c}] Minor changes, making code similar to sub1sp.c. Checked with grep -A 1 'sb *>>' src/*.c that the bug fixed in r11974 does not occur in other parts of the code. BTW, there is much duplicate code, as shown by the grep output, and using macros could have avoided that, making bugs easier to reproduce (since a same bug would be duplicate several times). ------------------------------------------------------------------------ r11974 | zimmerma | 2017-12-13 21:18:23 +0000 (Wed, 13 Dec 2017) | 3 lines Changed paths: M /trunk/src/sub1sp.c M /trunk/tests/tsub1sp.c [src/sub1sp.c] fixed bug in mpfr_sub1sp2() [tests/tsub1sp.c] added non-regression test ------------------------------------------------------------------------ r11973 | vlefevre | 2017-12-13 18:00:00 +0000 (Wed, 13 Dec 2017) | 1 line Changed paths: M /trunk/src/mpf2mpfr.h [src/mpf2mpfr.h] Added a comment. ------------------------------------------------------------------------ r11972 | zimmerma | 2017-12-13 17:25:07 +0000 (Wed, 13 Dec 2017) | 2 lines Changed paths: M /trunk/src/mpf2mpfr.h [src/mpf2mpfr.h] missing mpf_inits/mpf_clears ------------------------------------------------------------------------ r11969 | zimmerma | 2017-12-13 07:05:01 +0000 (Wed, 13 Dec 2017) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] redefine __clz_tab also with gmp-build ------------------------------------------------------------------------ r11968 | vlefevre | 2017-12-12 22:20:41 +0000 (Tue, 12 Dec 2017) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Improved error message. ------------------------------------------------------------------------ r11967 | vlefevre | 2017-12-12 15:38:37 +0000 (Tue, 12 Dec 2017) | 1 line Changed paths: M /trunk/tests/talloc.c [tests/talloc.c] Added a comment about why talloc requires ISO C99. ------------------------------------------------------------------------ r11966 | vlefevre | 2017-12-12 15:35:34 +0000 (Tue, 12 Dec 2017) | 4 lines Changed paths: M /trunk/src/mpfr-cvers.h [src/mpfr-cvers.h] Removed a useless test for __MPFR_STDC, as one just needs to check whether we have a C99, C11, etc. implementation (if not done via a configure test). Particular incompatibilities with the C90 standard should always be checked via a configure test. ------------------------------------------------------------------------ r11965 | vlefevre | 2017-12-12 12:04:01 +0000 (Tue, 12 Dec 2017) | 1 line Changed paths: M /trunk/tests [tests] Added *.exe to svn:ignore property (files from MinGW builds). ------------------------------------------------------------------------ r11964 | zimmerma | 2017-12-12 11:07:36 +0000 (Tue, 12 Dec 2017) | 2 lines Changed paths: M /trunk/tools/timings-mpfr.c [tools/timings-mpfr.c] always use clock() [now very accurate under Linux] ------------------------------------------------------------------------ r11963 | vlefevre | 2017-12-12 10:15:50 +0000 (Tue, 12 Dec 2017) | 1 line Changed paths: M /trunk/tools/timings-mpfr.c [tools/timings-mpfr.c] Updated years in copyright notice. ------------------------------------------------------------------------ r11962 | vlefevre | 2017-12-12 10:14:08 +0000 (Tue, 12 Dec 2017) | 1 line Changed paths: M /trunk/tools/timings-mpfr.c [tools/timings-mpfr.c] Fixed prototypes. ------------------------------------------------------------------------ r11961 | vlefevre | 2017-12-12 10:12:48 +0000 (Tue, 12 Dec 2017) | 2 lines Changed paths: M /trunk/tools/timings-mpfr.c [tools/timings-mpfr.c] Added a defined(_MSC_VER). But clock() is standard, so why not always using it? ------------------------------------------------------------------------ r11960 | vlefevre | 2017-12-12 01:17:00 +0000 (Tue, 12 Dec 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Correction. ------------------------------------------------------------------------ r11959 | vlefevre | 2017-12-12 01:11:31 +0000 (Tue, 12 Dec 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Made formatting consistent (same as configure --help). ------------------------------------------------------------------------ r11958 | vlefevre | 2017-12-12 00:58:43 +0000 (Tue, 12 Dec 2017) | 5 lines Changed paths: M /trunk/tests/reuse.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tsum.c Completed r11955: There were also DEBUG macros under the "tests" directory. Since such macros can still be useful in case a test failure, replaced them by MPFR_DEBUG to avoid issues with CI builds that define the DEBUG macro. But an environment variable would be a better solution (see MPFR_DEBUG_BADCASES as an example). ------------------------------------------------------------------------ r11957 | vlefevre | 2017-12-12 00:44:45 +0000 (Tue, 12 Dec 2017) | 1 line Changed paths: M /trunk/TODO [TODO] Removed item on the DEBUG macro (done in r11955). ------------------------------------------------------------------------ r11956 | zimmerma | 2017-12-11 17:36:36 +0000 (Mon, 11 Dec 2017) | 3 lines Changed paths: M /trunk/doc/README.dev M /trunk/src/mpfr-impl.h M /trunk/tests/tgeneric.c DEBUG_TGENERIC -> MPFR_DEBUG_TGENERIC XDEBUG -> MPFR_DISABLE_IEEE_FLOATS ------------------------------------------------------------------------ r11955 | zimmerma | 2017-12-11 17:02:05 +0000 (Mon, 11 Dec 2017) | 3 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/div.c M /trunk/src/exp.c M /trunk/src/exp_2.c M /trunk/src/mpfr-impl.h M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/zeta.c get rid of DEBUG macro (but keep corresponding commands in comment to help understanding of the code and debugging) ------------------------------------------------------------------------ r11954 | vlefevre | 2017-12-11 15:33:31 +0000 (Mon, 11 Dec 2017) | 1 line Changed paths: M /trunk/tests/tget_q.c [tests/tget_q.c] Removed trailing whitespace. ------------------------------------------------------------------------ r11953 | zimmerma | 2017-12-10 07:42:03 +0000 (Sun, 10 Dec 2017) | 2 lines Changed paths: M /trunk/tests/tget_q.c [tests/tget_q.c] replaced MPFR_ASSERTN(0) by exit(1) ------------------------------------------------------------------------ r11952 | vlefevre | 2017-12-10 02:02:43 +0000 (Sun, 10 Dec 2017) | 2 lines Changed paths: M /trunk/src/get_q.c [src/get_q.c] Optimization of r11951 suggested by Trevor Spiteri: https://sympa.inria.fr/sympa/arc/mpfr/2017-12/msg00040.html ------------------------------------------------------------------------ r11951 | zimmerma | 2017-12-09 21:59:21 +0000 (Sat, 09 Dec 2017) | 3 lines Changed paths: M /trunk/src/get_q.c M /trunk/tests/tget_q.c [src/get_q.c] make result of mpfr_get_q in canonical form [tests/tget_q.c] added non-regression test ------------------------------------------------------------------------ r11950 | zimmerma | 2017-12-09 21:46:01 +0000 (Sat, 09 Dec 2017) | 2 lines Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] replace call to __gmpfr_ceil_log2 by __gmpfr_int_ceil_log2 ------------------------------------------------------------------------ r11949 | vlefevre | 2017-12-09 11:18:20 +0000 (Sat, 09 Dec 2017) | 1 line Changed paths: M /trunk/TODO [TODO] Rename the DEBUG macro to MPFR_DEBUG? ------------------------------------------------------------------------ r11945 | vlefevre | 2017-12-08 16:15:36 +0000 (Fri, 08 Dec 2017) | 2 lines Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] Also distribute generic/coverage/mparam.h (at least useful for testing the distributed tarballs). ------------------------------------------------------------------------ r11942 | vlefevre | 2017-12-08 14:53:52 +0000 (Fri, 08 Dec 2017) | 1 line Changed paths: M /trunk/doc/FAQ.html [doc] Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r11939 | vlefevre | 2017-12-08 14:30:37 +0000 (Fri, 08 Dec 2017) | 1 line Changed paths: M /trunk/doc/FAQ.html [doc] Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r11934 | vlefevre | 2017-12-08 13:56:42 +0000 (Fri, 08 Dec 2017) | 5 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": * Note that this needs to be done in a branch. * Swapped (1) and (2), in particular because the coverage might be different in -dev versions and it is better to give results closer to the release. ------------------------------------------------------------------------ r11933 | vlefevre | 2017-12-08 13:40:19 +0000 (Fri, 08 Dec 2017) | 1 line Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.ac M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/version.c Updated version to 4.1.0-dev. ------------------------------------------------------------------------ r11931 | vlefevre | 2017-12-08 13:17:51 +0000 (Fri, 08 Dec 2017) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r11930 | vlefevre | 2017-12-08 13:09:08 +0000 (Fri, 08 Dec 2017) | 2 lines Changed paths: D /trunk/tests/timings-mpfr.c A /trunk/tools/timings-mpfr.c (from /trunk/tests/timings-mpfr.c:11929) Moved tests/timings-mpfr.c into directory "tools" as it is not part of the test suite. ------------------------------------------------------------------------ r11929 | vlefevre | 2017-12-07 15:10:29 +0000 (Thu, 07 Dec 2017) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] Removed FIXME about the sign bit of NaN: done in r11910 and r11920 (documentation + tests). ------------------------------------------------------------------------ r11928 | vlefevre | 2017-12-07 14:58:38 +0000 (Thu, 07 Dec 2017) | 4 lines Changed paths: M /trunk/src/div.c M /trunk/src/mul.c M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sub1sp.c [src] Replaced some "return 0" by "MPFR_RET (0)" (the generated code is the same as shown by gcc, thanks to an obvious optimization; this is semantically better, which could help provers, and would allow code instrumentation in the future, if need be). ------------------------------------------------------------------------ r11927 | zimmerma | 2017-12-06 19:54:25 +0000 (Wed, 06 Dec 2017) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c got rid of mpz_dump (undocumented in GMP) ------------------------------------------------------------------------ r11926 | zimmerma | 2017-12-06 17:14:27 +0000 (Wed, 06 Dec 2017) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] updated with GMP 6.1.2 ------------------------------------------------------------------------ r11925 | vlefevre | 2017-12-06 17:01:14 +0000 (Wed, 06 Dec 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected a Texinfo typography issue. ------------------------------------------------------------------------ r11924 | vlefevre | 2017-12-06 16:45:15 +0000 (Wed, 06 Dec 2017) | 2 lines Changed paths: M /trunk/src/pool.c [src/pool.c] Updated description. Corrected copyright years as the pool code itself was introduced in 2014. ------------------------------------------------------------------------ r11923 | vlefevre | 2017-12-06 16:41:54 +0000 (Wed, 06 Dec 2017) | 2 lines Changed paths: M /trunk/tests/timings-mpfr.c [tests/timings-mpfr.c] Removed trailing whitespace, untabified, changed GMP_RNDN to MPFR_RNDN. ------------------------------------------------------------------------ r11922 | vlefevre | 2017-12-06 16:34:16 +0000 (Wed, 06 Dec 2017) | 15 lines Changed paths: M /trunk/NEWS M /trunk/doc/README.dev M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am M /trunk/src/free_cache.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h A /trunk/src/pool.c (from /trunk/src/free_cache.c:11921) Cleanup and fixes for the mpz_t pool. * Split src/free_cache.c to itself and a new source file src/pool.c containing pool related code. * src/mpfr-impl.h, src/pool.c: cleanup and fixes. In particular: - renamed MPFR_MY_MPZ_INIT to MPFR_POOL_NENTRIES; - no longer use GMP's symbols __gmpz_init, etc. directly; - improved the condition for mpfr_mpz_init2; - fixed the condition in mpfr_mpz_clear (we want to consider the allocated size, not the size of the current number). * src/Makefile.am: added pool.c. * src/mpfr.h: added mpfr_free_pool prototype. * doc/mpfr.texi: updated pool description in "Memory Handling"; new function mpfr_free_pool. * doc/README.dev: update due to the rename of MPFR_MY_MPZ_INIT. * NEWS: better announcement of the mpz_t pool. ------------------------------------------------------------------------ r11921 | vlefevre | 2017-12-06 14:45:08 +0000 (Wed, 06 Dec 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Small correction concerning the caches. ------------------------------------------------------------------------ r11920 | vlefevre | 2017-12-06 14:06:06 +0000 (Wed, 06 Dec 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] More details for mpfr_fpif_export and mpfr_fpif_import. ------------------------------------------------------------------------ r11919 | zimmerma | 2017-12-06 12:58:31 +0000 (Wed, 06 Dec 2017) | 2 lines Changed paths: A /trunk/tests/timings-mpfr.c [timings-mpfr.c] test file for measuring timings (added -p option) ------------------------------------------------------------------------ r11918 | vlefevre | 2017-12-06 12:45:40 +0000 (Wed, 06 Dec 2017) | 1 line Changed paths: M /trunk/INSTALL M /trunk/src/rec_sqrt.c Updated the remaining www.loria.fr URL's. ------------------------------------------------------------------------ r11917 | vlefevre | 2017-12-06 12:44:04 +0000 (Wed, 06 Dec 2017) | 1 line Changed paths: M /trunk/doc/algorithms.bib [doc/algorithms.bib] Updated URL's. ------------------------------------------------------------------------ r11916 | vlefevre | 2017-12-06 12:37:48 +0000 (Wed, 06 Dec 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] References: typography; updated a URL. ------------------------------------------------------------------------ r11914 | zimmerma | 2017-12-06 10:15:40 +0000 (Wed, 06 Dec 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] updated reference to "Modern Computer Arithmetic" ------------------------------------------------------------------------ r11913 | zimmerma | 2017-12-06 09:59:31 +0000 (Wed, 06 Dec 2017) | 2 lines Changed paths: M /trunk/src/free_cache.c [free_cache.c] limit the size of objects in the mpz_t pool ------------------------------------------------------------------------ r11912 | vlefevre | 2017-12-06 09:43:02 +0000 (Wed, 06 Dec 2017) | 3 lines Changed paths: M /trunk/src/free_cache.c [src/free_cache.c] Added a comment for the mpz_t pool, and a suggestion for mpfr_mpz_clear so that the pool will not take too much memory while keeping a possible benefit for very small precision. ------------------------------------------------------------------------ r11911 | vlefevre | 2017-12-05 23:33:58 +0000 (Tue, 05 Dec 2017) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Made box around code examples for clarity and grep. ------------------------------------------------------------------------ r11910 | vlefevre | 2017-12-05 16:17:36 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/tests/tfpif.c [doc/mpfr.texi] For mpfr_fpif_export: the sign of a NaN is stored. [tests/tfpif.c] Test the sign of NaN (in particular). ------------------------------------------------------------------------ r11909 | vlefevre | 2017-12-05 15:57:33 +0000 (Tue, 05 Dec 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated references. ------------------------------------------------------------------------ r11908 | vlefevre | 2017-12-05 15:00:52 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Update about 0 of type without signed zeros, as in mpfr_div_ui. ------------------------------------------------------------------------ r11907 | vlefevre | 2017-12-05 13:43:39 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Document the behavior of mpfr_ui_pow and mpfr_ui_pow_ui on the integer 0 (0 does not have a sign here). ------------------------------------------------------------------------ r11906 | zimmerma | 2017-12-05 10:24:20 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/doc/mini-gmp [doc/mini-gmp] added information about result of "make check" ------------------------------------------------------------------------ r11905 | vlefevre | 2017-12-05 10:21:46 +0000 (Tue, 05 Dec 2017) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Removed old code for pre-GMP-5 versions. ------------------------------------------------------------------------ r11904 | vlefevre | 2017-12-05 10:20:06 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/src/urandomb.c [src/urandomb.c] Removed an obsolete "#if __MPFR_GMP(5,0,0)" as we now require GMP 5.0+ and mp_bitcnt_t is also defined by mini-gmp. ------------------------------------------------------------------------ r11902 | vlefevre | 2017-12-05 10:01:32 +0000 (Tue, 05 Dec 2017) | 4 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Removed the code that defined mpn_copyi and mpn_copyd macros for GMP < 5, since MPFR now requires GMP 5.0+ and these functions are also defined by mini-gmp (these macros were used by mini-gmp only because mini-gmp does not define GMP_VERSION). ------------------------------------------------------------------------ r11901 | vlefevre | 2017-12-05 09:52:56 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Missing parentheses around parameters in mpn_copyi and mpn_copyd macro definitions. ------------------------------------------------------------------------ r11900 | zimmerma | 2017-12-05 09:44:49 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h fixed bug in replacement function for copyi and copyd (found with mini-gmp) ------------------------------------------------------------------------ r11899 | zimmerma | 2017-12-05 09:43:54 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/doc/mini-gmp add --disable-shared for mini-gmp (not tested yet with dynamic linking) ------------------------------------------------------------------------ r11898 | vlefevre | 2017-12-05 09:09:16 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Explain how to avoid the "... is deprecated" warning when testing a deprecated function. ------------------------------------------------------------------------ r11897 | vlefevre | 2017-12-05 08:52:43 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Removed a -Wno-error=deprecated-declarations as the specific warnings are now avoided (r11896). ------------------------------------------------------------------------ r11896 | vlefevre | 2017-12-05 08:47:25 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/src/mpfr.h M /trunk/tests/tgrandom.c M /trunk/tests/tpow.c M /trunk/tests/troot.c Disable the "deprecated" attribute of deprecated functions *only* for the tests of these functions, to avoid the corresponding warnings. ------------------------------------------------------------------------ r11895 | vlefevre | 2017-12-05 08:34:13 +0000 (Tue, 05 Dec 2017) | 1 line Changed paths: M /trunk/src/dump.c M /trunk/tests/trint.c Removed trailing whietespace. ------------------------------------------------------------------------ r11894 | zimmerma | 2017-12-05 08:16:00 +0000 (Tue, 05 Dec 2017) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/tests/terandom.c M /trunk/tests/tgrandom.c M /trunk/tests/tnrandom.c M /trunk/tests/trandom.c M /trunk/tests/turandom.c fixed compiler warnings with mini-gmp ------------------------------------------------------------------------ r11893 | vlefevre | 2017-12-04 22:47:09 +0000 (Mon, 04 Dec 2017) | 2 lines Changed paths: M /trunk/src/dump.c M /trunk/src/fpif.c M /trunk/src/inp_str.c M /trunk/src/mpfr-impl.h M /trunk/src/out_str.c M /trunk/tests/mpfr-test.h M /trunk/tests/tvalist.c Simplified the use of MPFR_USE_FILE since ( for C++) is unconditionally included. ------------------------------------------------------------------------ r11892 | vlefevre | 2017-12-04 22:20:08 +0000 (Mon, 04 Dec 2017) | 1 line Changed paths: R /trunk/doc/texinfo.tex (from /trunk/doc/texinfo.tex:11890) Restored the history (and mergedinfo) of doc/texinfo.tex ------------------------------------------------------------------------ r11891 | zimmerma | 2017-12-04 19:01:20 +0000 (Mon, 04 Dec 2017) | 2 lines Changed paths: M /trunk/doc/mini-gmp R /trunk/doc/texinfo.tex M /trunk/src/dump.c M /trunk/src/fpif.c M /trunk/src/get_q.c M /trunk/src/gmp_op.c M /trunk/src/inp_str.c M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/src/mpfr.h M /trunk/src/out_str.c M /trunk/src/set_q.c M /trunk/tests/mpfr-test.h M /trunk/tests/tget_q.c M /trunk/tests/tget_z.c M /trunk/tests/trint.c make compilation work again (make + make check) with mini-gmp ------------------------------------------------------------------------ r11890 | vlefevre | 2017-12-04 15:05:05 +0000 (Mon, 04 Dec 2017) | 1 line Changed paths: M /trunk/src/Makefile.am Improved portability of the check-gmp-symbols make rule. ------------------------------------------------------------------------ r11889 | vlefevre | 2017-12-04 13:43:59 +0000 (Mon, 04 Dec 2017) | 1 line Changed paths: M /trunk/src/fpif.c [src/fpif.c] Clarification. ------------------------------------------------------------------------ r11888 | vlefevre | 2017-12-04 13:37:19 +0000 (Mon, 04 Dec 2017) | 3 lines Changed paths: M /trunk/tests/tfpif.c M /trunk/tests/tfpif_r1.dat [tests] * tfpif.c: in doit(), also test the negative versions of the numbers. * tfpif_r1.dat: update. ------------------------------------------------------------------------ r11887 | vlefevre | 2017-12-04 11:36:07 +0000 (Mon, 04 Dec 2017) | 3 lines Changed paths: M /trunk/src/get_str.c M /trunk/src/vasprintf.c [src] Update about the internal use of mpfr_get_str. * get_str.c: updated a comment. * vasprintf.c: added assertions. ------------------------------------------------------------------------ r11886 | vlefevre | 2017-12-04 11:11:37 +0000 (Mon, 04 Dec 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11885 | vlefevre | 2017-12-04 10:28:55 +0000 (Mon, 04 Dec 2017) | 1 line Changed paths: M /trunk/src/get_str.c [src/get_str.c] Corrected a comment. ------------------------------------------------------------------------ r11884 | vlefevre | 2017-12-04 10:20:34 +0000 (Mon, 04 Dec 2017) | 3 lines Changed paths: M /trunk M /trunk/doc/mpfr.texi [doc/mpfr.texi] Update about the memory allocation (added references to Section "Memory Handling"). (merged changeset r11632 from the 3.1 branch) ------------------------------------------------------------------------ r11883 | vlefevre | 2017-12-04 10:09:02 +0000 (Mon, 04 Dec 2017) | 4 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Update for mpfr_get_str: * Added a texi comment explaining why m+1 (so that if the mpfr_get_str implementation is improved, we know whether this is still the case). * Improved the documentation for the case str = null pointer. ------------------------------------------------------------------------ r11882 | vlefevre | 2017-12-03 14:16:40 +0000 (Sun, 03 Dec 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated comments about the latest change (r11881). ------------------------------------------------------------------------ r11881 | vlefevre | 2017-12-03 14:14:18 +0000 (Sun, 03 Dec 2017) | 5 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Typography fixes for TeX (DVI/PS/PDF) in math mode. * Corrected the use of \lceil and \rceil. * Added missing @var, including 2 in exponent, as allowed by texinfo.tex 2017-12-01.13. * Removed old comments about Texinfo. ------------------------------------------------------------------------ r11880 | vlefevre | 2017-12-03 13:55:51 +0000 (Sun, 03 Dec 2017) | 2 lines Changed paths: M /trunk/doc/texinfo.tex [doc/texinfo.tex] Update to the latest version 2017-12-01.13 from . ------------------------------------------------------------------------ r11878 | vlefevre | 2017-12-01 16:27:09 +0000 (Fri, 01 Dec 2017) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] In r11876, forgot to define MPFR_WANT_DECIMAL_FLOATS in the cross-compiling case. ------------------------------------------------------------------------ r11877 | vlefevre | 2017-12-01 15:04:21 +0000 (Fri, 01 Dec 2017) | 6 lines Changed paths: M /trunk/doc/README.dev M /trunk/tests/tests.c M /trunk/tests/tversion.c Solved an output issue on AIX due to the use of setbuf() after output in tversion. Indeed, this is disallowed by ISO C. * doc/README.dev: added a note about tests_start_mpfr and this issue. * tests/tests.c: moved test_version() after setbuf(). * tests/tversion.c: moved tests_start_mpfr() earlier, before any printf(). ------------------------------------------------------------------------ r11876 | vlefevre | 2017-12-01 14:06:07 +0000 (Fri, 01 Dec 2017) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Attempt to fix detection of decimal floats: if _Decimal64 is known but does not work, no longer fail when --enable-decimal-float has not been used; just disable decimal floats. ------------------------------------------------------------------------ r11875 | vlefevre | 2017-12-01 13:37:40 +0000 (Fri, 01 Dec 2017) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Attempt to fix detection of decimal floats (BID was incorrectly assumed in case of link failure, if ld returned 1, which was observed on powerpc-ibm-aix7.2.0.0 [gcc119.fsffrance.org]). ------------------------------------------------------------------------ r11874 | vlefevre | 2017-12-01 12:28:45 +0000 (Fri, 01 Dec 2017) | 1 line Changed paths: M /trunk/src/fpif.c [src/fpif.c] Updated comments about the format. ------------------------------------------------------------------------ r11871 | vlefevre | 2017-11-30 17:27:20 +0000 (Thu, 30 Nov 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Typo. ------------------------------------------------------------------------ r11870 | vlefevre | 2017-11-30 17:13:25 +0000 (Thu, 30 Nov 2017) | 5 lines Changed paths: M /trunk/Makefile.am M /trunk/src/Makefile.am Two fixes for the check-gmp-symbols make rule: * Use $(COMPILE) instead of $(CC) to get the usual compilation flags (in particular, the -I flags may be important to find gmp.h and to get the correct one). * Run the test only if libmpfr.so exists. ------------------------------------------------------------------------ r11869 | vlefevre | 2017-11-30 15:32:33 +0000 (Thu, 30 Nov 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Internal GMP symbols: mention "make check-gmp-symbols". ------------------------------------------------------------------------ r11868 | vlefevre | 2017-11-30 15:30:30 +0000 (Thu, 30 Nov 2017) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mention "make check-gmp-symbols" (experimental). ------------------------------------------------------------------------ r11867 | vlefevre | 2017-11-30 15:27:00 +0000 (Thu, 30 Nov 2017) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] Added an optional step "make check-gmp-symbols" to check that MPFR does not use GMP internal symbols. ------------------------------------------------------------------------ r11866 | vlefevre | 2017-11-30 15:17:10 +0000 (Thu, 30 Nov 2017) | 1 line Changed paths: M /trunk/Makefile.am M /trunk/src/Makefile.am Added comment about the check-gmp-symbols make rule (added in r11865). ------------------------------------------------------------------------ r11865 | vlefevre | 2017-11-30 15:12:20 +0000 (Thu, 30 Nov 2017) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/src/Makefile.am Added check-gmp-symbols make rule to check that MPFR does not use GMP internal symbols. ------------------------------------------------------------------------ r11864 | vlefevre | 2017-11-30 13:57:29 +0000 (Thu, 30 Nov 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Detailed the note about the list of GMP symbols. ------------------------------------------------------------------------ r11863 | vlefevre | 2017-11-30 13:44:10 +0000 (Thu, 30 Nov 2017) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Document how to get the list of GMP symbols used by MPFR and how to detect GMP internal symbols used by MPFR. ------------------------------------------------------------------------ r11862 | vlefevre | 2017-11-30 13:19:03 +0000 (Thu, 30 Nov 2017) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] Added a paragraph about the potential incorrect use of GMP internals. ------------------------------------------------------------------------ r11861 | vlefevre | 2017-11-29 15:26:52 +0000 (Wed, 29 Nov 2017) | 1 line Changed paths: M /trunk/src/fpif.c [src/fpif.c] Fixed the sign bug for mpfr_fpif_import. ------------------------------------------------------------------------ r11860 | vlefevre | 2017-11-29 15:05:28 +0000 (Wed, 29 Nov 2017) | 4 lines Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] In doit(), before the call to mpfr_fpif_import(), set the sign of the target to the opposite of the expected sign. Thus, if mpfr_fpif_import forgets to set the sign, this will be detected. And a failure actually occurs now! ------------------------------------------------------------------------ r11859 | vlefevre | 2017-11-29 14:59:03 +0000 (Wed, 29 Nov 2017) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] For mpfr_fpif_import, check the precision too. ------------------------------------------------------------------------ r11858 | vlefevre | 2017-11-29 02:37:57 +0000 (Wed, 29 Nov 2017) | 3 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/fpif.c [doc/mpfr.texi,src/fpif.c] For mpfr_fpif_import, in case of failure, the argument x is either unchanged or set to NaN, to make sure that x has valid contents (otherwise this could yield erratic behavior). ------------------------------------------------------------------------ r11857 | vlefevre | 2017-11-29 02:25:19 +0000 (Wed, 29 Nov 2017) | 3 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] For mpfr_fpif_import, replaced an assertion by a failure (since the full format is not described in the manual and MPFR cannot currently generate such a case, this is OK). ------------------------------------------------------------------------ r11856 | vlefevre | 2017-11-29 02:06:02 +0000 (Wed, 29 Nov 2017) | 1 line Changed paths: M /trunk/tests/tfpif_r1.dat [tests/tfpif_r1.dat] Fixed an obvious error (incorrect sign of 0). ------------------------------------------------------------------------ r11855 | vlefevre | 2017-11-29 01:49:34 +0000 (Wed, 29 Nov 2017) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Output more information in case of error. ------------------------------------------------------------------------ r11853 | vlefevre | 2017-11-28 16:46:55 +0000 (Tue, 28 Nov 2017) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] Fixed some bugs (though unlikely to occur in practice). Added comments. Minor code improvement. ------------------------------------------------------------------------ r11852 | vlefevre | 2017-11-28 15:41:17 +0000 (Tue, 28 Nov 2017) | 7 lines Changed paths: M /trunk/acinclude.m4 D /trunk/m4/size_max.m4 M /trunk/src/vasprintf.c Got rid of the useless SIZE_MAX macro. * src/vasprintf.c: replaced SIZE_MAX by (size_t) -1, already used in some other files. * acinclude.m4: no longer use gl_SIZE_MAX (from m4/size_max.m4). * Removed m4/size_max.m4 as it is no longer needed (note that the definition of SIZE_MAX by this file was unnecessarily complex and potentially incorrect on some platforms). ------------------------------------------------------------------------ r11851 | vlefevre | 2017-11-28 15:07:33 +0000 (Tue, 28 Nov 2017) | 1 line Changed paths: M /trunk/src/fpif.c [src/fpif.c] Added static assertions in mpfr_fpif_import(). ------------------------------------------------------------------------ r11850 | vlefevre | 2017-11-28 14:41:45 +0000 (Tue, 28 Nov 2017) | 1 line Changed paths: M /trunk/src/fpif.c [src/fpif.c] Improved a test (mpfr_regular_p → !MPFR_IS_SINGULAR). ------------------------------------------------------------------------ r11849 | vlefevre | 2017-11-28 14:38:47 +0000 (Tue, 28 Nov 2017) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a note about the use of the MPFR_IS_PURE_*(x) and MPFR_IS_SINGULAR*(x) macros. ------------------------------------------------------------------------ r11848 | vlefevre | 2017-11-27 16:07:23 +0000 (Mon, 27 Nov 2017) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] Added format description from past mail messages, to be checked in case of change (+ FIXME for NaN). Minor code improvement. ------------------------------------------------------------------------ r11847 | vlefevre | 2017-11-27 15:04:59 +0000 (Mon, 27 Nov 2017) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Added TODO's (but the failure should be fixed first). ------------------------------------------------------------------------ r11846 | vlefevre | 2017-11-27 14:33:53 +0000 (Mon, 27 Nov 2017) | 1 line Changed paths: M /trunk/src/fpif.c [src/fpif.c] Clarified sign variable. ------------------------------------------------------------------------ r11845 | vlefevre | 2017-11-27 14:17:52 +0000 (Mon, 27 Nov 2017) | 2 lines Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Use SAME_VAL instead of mpfr_cmp. This triggers a bug that was not detected yet. ------------------------------------------------------------------------ r11844 | vlefevre | 2017-11-27 14:15:52 +0000 (Mon, 27 Nov 2017) | 3 lines Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Split the main test function into: * doit(): keep only the tests that depend on the precisions. * check_bad(): tests for bad file/data; precisions are not involved. ------------------------------------------------------------------------ r11843 | vlefevre | 2017-11-27 13:58:24 +0000 (Mon, 27 Nov 2017) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Improved a test (NaN checking). Added comments. ------------------------------------------------------------------------ r11842 | vlefevre | 2017-11-27 13:53:43 +0000 (Mon, 27 Nov 2017) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Removed a TODO done in r10326 and r10338. ------------------------------------------------------------------------ r11841 | vlefevre | 2017-11-27 10:31:33 +0000 (Mon, 27 Nov 2017) | 1 line Changed paths: M /trunk/autogen.sh Updated autogen.sh so that doc/texinfo.tex isn't replaced. ------------------------------------------------------------------------ r11840 | vlefevre | 2017-11-27 10:25:01 +0000 (Mon, 27 Nov 2017) | 3 lines Changed paths: A /trunk/doc/texinfo.tex Added doc/texinfo.tex file from Texinfo 6.5 since the version installed by Automake (via "autoreconf -i" as called by autogen.sh) is obsolete: more than 4 years older than the current version! ------------------------------------------------------------------------ r11839 | vlefevre | 2017-11-27 09:17:37 +0000 (Mon, 27 Nov 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated a comment about a bug in Texinfo. ------------------------------------------------------------------------ r11838 | vlefevre | 2017-11-23 14:33:18 +0000 (Thu, 23 Nov 2017) | 2 lines Changed paths: M /trunk/tests/tset_exp.c [tests/tset_exp.c] Check mpfr_get_exp too (with two additional tests for mpfr_set_exp). ------------------------------------------------------------------------ r11837 | vlefevre | 2017-11-23 13:58:12 +0000 (Thu, 23 Nov 2017) | 1 line Changed paths: M /trunk/tests/texceptions.c [tests/texceptions.c] Minor improvements. ------------------------------------------------------------------------ r11836 | vlefevre | 2017-11-23 13:53:24 +0000 (Thu, 23 Nov 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] For mpfr_get_exp, document that x can be outside of the current range of acceptable values (this was ambiguous). ------------------------------------------------------------------------ r11835 | vlefevre | 2017-11-21 15:03:59 +0000 (Tue, 21 Nov 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected Texinfo typography issues. ------------------------------------------------------------------------ r11834 | zimmerma | 2017-11-21 14:11:23 +0000 (Tue, 21 Nov 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi added another example where we can have an overflow ------------------------------------------------------------------------ r11833 | zimmerma | 2017-11-21 13:14:23 +0000 (Tue, 21 Nov 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi added pointer to mpfr_subnormalize ------------------------------------------------------------------------ r11832 | vlefevre | 2017-11-21 12:52:40 +0000 (Tue, 21 Nov 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Major update of "MPFR and the IEEE 754 Standard". ------------------------------------------------------------------------ r11831 | vlefevre | 2017-11-21 11:44:50 +0000 (Tue, 21 Nov 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added "MPFR and the IEEE 754 Standard" to the main menu as required. Title capitalization. ------------------------------------------------------------------------ r11830 | vlefevre | 2017-11-21 11:41:29 +0000 (Tue, 21 Nov 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Correction of a @node. ------------------------------------------------------------------------ r11829 | zimmerma | 2017-11-21 10:27:43 +0000 (Tue, 21 Nov 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi added section "MPFR and the IEEE 754 standard" ------------------------------------------------------------------------ r11828 | vlefevre | 2017-11-20 17:48:30 +0000 (Mon, 20 Nov 2017) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] mpfr_can_round: corrected the example; removed a reference to "ternary value" as there is already one in the previous sentence; clarification. ------------------------------------------------------------------------ r11827 | vlefevre | 2017-11-20 17:37:54 +0000 (Mon, 20 Nov 2017) | 4 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Faithful rounding (MPFR_RNDF): * Document that this feature is experimental and partially supported. * Update Section "API Compatibility". Note: the NEWS file was up-to-date. ------------------------------------------------------------------------ r11822 | vlefevre | 2017-11-15 16:17:14 +0000 (Wed, 15 Nov 2017) | 5 lines Changed paths: M /trunk/tests/talloc-cache.c [tests/talloc-cache.c] * Replaced test + abort() by the more informative MPFR_ASSERTN(). * Also check that the allocator is the current GMP one (this would fail with MPFR 3.1.6, where the allocation functions are memorized the first time they are seen). ------------------------------------------------------------------------ r11821 | vlefevre | 2017-11-15 12:35:39 +0000 (Wed, 15 Nov 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/free_cache.c M /trunk/src/mpfr.h M /trunk/tests/talloc-cache.c mpfr_mp_memory_cleanup() now returns an error code (currently always 0) to avoid a future prototype change in case errors would be possible. ------------------------------------------------------------------------ r11820 | vlefevre | 2017-11-10 16:48:39 +0000 (Fri, 10 Nov 2017) | 6 lines Changed paths: M /trunk/TODO M /trunk/src/ai.c M /trunk/src/bernoulli.c M /trunk/src/clear.c M /trunk/src/exp3.c M /trunk/src/fpif.c M /trunk/src/get_str.c M /trunk/src/init2.c M /trunk/src/inp_str.c M /trunk/src/lngamma.c M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/out_str.c M /trunk/src/rndna.c M /trunk/src/round_prec.c M /trunk/src/set_prec.c M /trunk/src/strtofr.c M /trunk/src/vasprintf.c M /trunk/src/zeta.c M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c Cleanup: In src/mpfr-gmp.h, exchanged mpfr_allocate_func and *__gmp_allocate_func mpfr_reallocate_func and *__gmp_reallocate_func mpfr_free_func and *__gmp_free_func and in the code, replaced *__gmp_{allocate,reallocate,free}_func by mpfr_{allocate,reallocate,free}_func; updated TODO file. ------------------------------------------------------------------------ r11819 | vlefevre | 2017-11-10 13:58:25 +0000 (Fri, 10 Nov 2017) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] The sign bit of a NaN is now specified for mpfr_abs, mpfr_neg and mpfr_set, in order to mimic the IEEE-754 abs, negate and copy operations. ------------------------------------------------------------------------ r11818 | vlefevre | 2017-11-10 13:13:13 +0000 (Fri, 10 Nov 2017) | 2 lines Changed paths: M /trunk/tests/tabs.c [tests/tabs.c] More tests on mpfr_abs, including the ternary value and the NaN flag and sign bit for ±NaN. ------------------------------------------------------------------------ r11817 | vlefevre | 2017-11-10 12:53:48 +0000 (Fri, 10 Nov 2017) | 1 line Changed paths: M /trunk/tests/tabs.c [tests/tabs.c] Coding style. ------------------------------------------------------------------------ r11816 | vlefevre | 2017-11-10 12:47:09 +0000 (Fri, 10 Nov 2017) | 2 lines Changed paths: M /trunk/tests/tset.c [tests/tset.c] For mpfr_neg on NaN, also check that the variable is set to NaN and that the ternary value is 0. ------------------------------------------------------------------------ r11815 | vlefevre | 2017-11-10 12:43:04 +0000 (Fri, 10 Nov 2017) | 1 line Changed paths: M /trunk/tests/tset.c [tests/tset.c] More NaN tests for mpfr_set. ------------------------------------------------------------------------ r11814 | vlefevre | 2017-11-10 12:34:17 +0000 (Fri, 10 Nov 2017) | 2 lines Changed paths: M /trunk/tests/tset.c [tests/tset.c] More tests of the NaN flag and the sign bit for mpfr_neg on NaN. ------------------------------------------------------------------------ r11813 | vlefevre | 2017-11-10 12:22:26 +0000 (Fri, 10 Nov 2017) | 1 line Changed paths: M /trunk/tests/tset.c [tests/tset.c] The global variable "error" is better as static. ------------------------------------------------------------------------ r11812 | vlefevre | 2017-11-10 12:17:15 +0000 (Fri, 10 Nov 2017) | 2 lines Changed paths: M /trunk/tests/tset.c [tests/tset.c] For mpfr_neg on NaN, check that the sign bit is flipped in both ways. ------------------------------------------------------------------------ r11811 | vlefevre | 2017-11-10 12:02:02 +0000 (Fri, 10 Nov 2017) | 1 line Changed paths: M /trunk/tests [tests] Added talloc-cache to svn:ignore property. ------------------------------------------------------------------------ r11810 | vlefevre | 2017-11-09 14:49:39 +0000 (Thu, 09 Nov 2017) | 3 lines Changed paths: M /trunk/tests/tset.c [tests/tset.c] In the mpfr_neg test on the sign of NaN: C90 compatibility; improved robustness since as specified, mpfr_signbit can return any value (not just 0 or 1). ------------------------------------------------------------------------ r11809 | vlefevre | 2017-11-09 14:35:17 +0000 (Thu, 09 Nov 2017) | 2 lines Changed paths: M /trunk/src/neg.c [src/neg.c] Refactored code (BTW, this was not a bug as the sign of NaN is currently unspecified for mpfr_neg). ------------------------------------------------------------------------ r11808 | zimmerma | 2017-11-09 13:57:40 +0000 (Thu, 09 Nov 2017) | 3 lines Changed paths: M /trunk/src/neg.c M /trunk/tests/tset.c fixed bug reported by Trevor Spiteri (https://sympa.inria.fr/sympa/arc/mpfr/2017-11/msg00003.html) ------------------------------------------------------------------------ r11807 | vlefevre | 2017-11-08 17:04:45 +0000 (Wed, 08 Nov 2017) | 7 lines Changed paths: M /trunk/NEWS M /trunk/TODO M /trunk/doc/mpfr.texi M /trunk/src/free_cache.c M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/tests/talloc-cache.c Change the way memory is allocated (as discussed partly in private). * src/mpfr-gmp.c, src/mpfr-gmp.h, src/mpfr-impl.h: update. * src/free_cache.c, src/mpfr.h: added mpfr_mp_memory_cleanup function. * NEWS: describe API change. * TODO: added 2 related items (future clean-up and feature). * doc/mpfr.texi: update. * tests/talloc-cache.c: take API change into account. ------------------------------------------------------------------------ r11806 | vlefevre | 2017-11-07 15:59:03 +0000 (Tue, 07 Nov 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated Section "Compatibility With MPF". ------------------------------------------------------------------------ r11805 | vlefevre | 2017-11-07 15:34:11 +0000 (Tue, 07 Nov 2017) | 4 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Removed a paragraph from r2962 concerning mpf2mpfr.h and mpf_init / mpf_init2: since r2985, the mpf_init / mpf_init2 macros initialize to 0 like MPF, so that users shouldn't see differences from MPF. ------------------------------------------------------------------------ r11804 | zimmerma | 2017-11-07 15:33:40 +0000 (Tue, 07 Nov 2017) | 2 lines Changed paths: M /trunk/TODO added reference ------------------------------------------------------------------------ r11803 | vlefevre | 2017-11-07 09:21:02 +0000 (Tue, 07 Nov 2017) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Formatting. ------------------------------------------------------------------------ r11802 | vlefevre | 2017-11-07 09:14:30 +0000 (Tue, 07 Nov 2017) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] mpfr_free_cache_t: added comments to show that these are flags. ------------------------------------------------------------------------ r11801 | vlefevre | 2017-11-07 09:09:03 +0000 (Tue, 07 Nov 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated mpfr_free_cache / mpfr_free_cache2 description. ------------------------------------------------------------------------ r11800 | vlefevre | 2017-11-07 08:31:45 +0000 (Tue, 07 Nov 2017) | 2 lines Changed paths: M /trunk/src/free_cache.c [src/free_cache.c] Minor portability improvement for mpfr_free_cache2 to accept way = 0 (no effect on two's complement machines). ------------------------------------------------------------------------ r11799 | vlefevre | 2017-11-06 16:39:40 +0000 (Mon, 06 Nov 2017) | 8 lines Changed paths: M /trunk/tests/talloc-cache.c M /trunk/tests/tests.c [tests] * tests.c: for test programs that use GMP's mp_set_memory_functions, tests_rand_start and tests_rand_end also need to be disabled; to do that, require that tests_memory_disabled be set to 2 in this case (the value 1 is already used for the use with mini-gmp, where only tests_memory_start and tests_memory_end need to be disabled). * talloc-cache.c: call tests_start_mpfr and tests_end_mpfr as usual, with tests_memory_disabled set to 2. ------------------------------------------------------------------------ r11798 | vlefevre | 2017-11-06 16:01:32 +0000 (Mon, 06 Nov 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11797 | vlefevre | 2017-11-06 14:22:11 +0000 (Mon, 06 Nov 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Minor change. ------------------------------------------------------------------------ r11796 | vlefevre | 2017-11-06 14:17:51 +0000 (Mon, 06 Nov 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] + explicit information on pools (in addition to caches). ------------------------------------------------------------------------ r11795 | vlefevre | 2017-11-06 12:19:43 +0000 (Mon, 06 Nov 2017) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi [NEWS,doc/mpfr.texi] mpfr_free_cache2 is a new function in MPFR 4.0, as a consequence of shared caches for multithreaded applications. ------------------------------------------------------------------------ r11794 | vlefevre | 2017-11-06 12:07:28 +0000 (Mon, 06 Nov 2017) | 1 line Changed paths: M /trunk/src/free_cache.c [src/free_cache.c] GNU coding style. ------------------------------------------------------------------------ r11793 | vlefevre | 2017-11-06 12:03:04 +0000 (Mon, 06 Nov 2017) | 7 lines Changed paths: M /trunk/tests/Makefile.am M /trunk/tests/talloc-cache.c [tests] * Makefile.am: added talloc-cache to check_PROGRAMS. * talloc-cache.c: improved the test allocators so that an incorrect use is detected by this code instead of relying on the C library checking bad use of malloc/realloc/free (which was UB). NOTE: The test currently fails in the trunk due to the mpz_t pool. But anyway, the memory allocation method will change soon. ------------------------------------------------------------------------ r11792 | vlefevre | 2017-11-06 10:29:06 +0000 (Mon, 06 Nov 2017) | 1 line Changed paths: M /trunk/tests/talloc-cache.c [tests/talloc-cache.c] Corrected indentation. ------------------------------------------------------------------------ r11791 | vlefevre | 2017-10-30 12:46:57 +0000 (Mon, 30 Oct 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved the mpfr_nexttoward description w.r.t. flags. ------------------------------------------------------------------------ r11790 | zimmerma | 2017-10-27 19:12:45 +0000 (Fri, 27 Oct 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi added note about mpfr_beta ------------------------------------------------------------------------ r11788 | vlefevre | 2017-10-26 14:39:53 +0000 (Thu, 26 Oct 2017) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi [NEWS,doc/mpfr.texi] mpfr_beta is incomplete, experimental. See . ------------------------------------------------------------------------ r11787 | zimmerma | 2017-10-26 09:06:02 +0000 (Thu, 26 Oct 2017) | 2 lines Changed paths: M /trunk/TODO added functions from C++17 ------------------------------------------------------------------------ r11784 | zimmerma | 2017-10-23 07:18:05 +0000 (Mon, 23 Oct 2017) | 2 lines Changed paths: M /trunk/doc/README.dev fixed typo ------------------------------------------------------------------------ r11782 | vlefevre | 2017-10-11 13:13:32 +0000 (Wed, 11 Oct 2017) | 4 lines Changed paths: M /trunk/src/get_float128.c M /trunk/tests/tset_float128.c [src/get_float128.c] Fixed failure in mpfr_get_float128 when called with a very reduced exponent range. [tests/tset_float128.c] Also test mpfr_get_float128 in reduced exponent range (triggering a failure before the fix). ------------------------------------------------------------------------ r11781 | vlefevre | 2017-10-10 08:09:02 +0000 (Tue, 10 Oct 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": + Check the generic code. ------------------------------------------------------------------------ r11779 | vlefevre | 2017-10-09 15:02:46 +0000 (Mon, 09 Oct 2017) | 3 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Fixed the generic code when called with a very reduced exponent range. The tset_ld failure could be triggered on x86 by running "./configure ... mpfr_cv_c_long_double_format=unknown". ------------------------------------------------------------------------ r11778 | vlefevre | 2017-10-09 12:17:18 +0000 (Mon, 09 Oct 2017) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Also test mpfr_get_ld in reduced exponent range (no failures on x86). ------------------------------------------------------------------------ r11777 | vlefevre | 2017-10-09 11:39:32 +0000 (Mon, 09 Oct 2017) | 6 lines Changed paths: M /trunk/src/get_z.c M /trunk/tests/tget_z.c [src/get_z.c] Fixed failure in mpfr_get_z when called with a very reduced exponent range. [tests/tget_z.c] Added tests in the various rounding modes (triggering a failure before the above fix). Also call check_one() on an integer congruent to 1 mod 4 (useful to check even rounding). Fixed 2 issues in the error message (for inex and the flags). ------------------------------------------------------------------------ r11776 | vlefevre | 2017-10-09 09:17:50 +0000 (Mon, 09 Oct 2017) | 2 lines Changed paths: M /trunk/tests/tget_z.c [tests/tget_z.c] Also test mpfr_get_z in reduced exponent range (no failures though its code seems incorrect). ------------------------------------------------------------------------ r11775 | vlefevre | 2017-10-06 15:08:25 +0000 (Fri, 06 Oct 2017) | 2 lines Changed paths: M /trunk/src/get_si.c M /trunk/src/get_sj.c [src/{get_si.c,get_sj.c}] Minor improvement, removing an obsolete note in get_sj.c at the same time. ------------------------------------------------------------------------ r11774 | vlefevre | 2017-10-06 14:17:38 +0000 (Fri, 06 Oct 2017) | 3 lines Changed paths: M /trunk/src/get_sj.c M /trunk/src/get_uj.c M /trunk/tests/tget_sj.c [src/{get_sj.c,get_uj.c}] Fixed failure in mpfr_get_sj and mpfr_get_uj when called with a very reduced exponent range. [tests/tget_sj.c] Added corresponding test cases. ------------------------------------------------------------------------ r11773 | vlefevre | 2017-10-06 13:52:29 +0000 (Fri, 06 Oct 2017) | 1 line Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] Minor correction in error message. ------------------------------------------------------------------------ r11772 | vlefevre | 2017-10-05 12:52:59 +0000 (Thu, 05 Oct 2017) | 1 line Changed paths: M /trunk/TODO [TODO] Function multiversioning (FMV): more details. ------------------------------------------------------------------------ r11771 | vlefevre | 2017-10-05 12:47:27 +0000 (Thu, 05 Oct 2017) | 1 line Changed paths: M /trunk/TODO [TODO] Mention function multiversioning (FMV). ------------------------------------------------------------------------ r11770 | vlefevre | 2017-10-04 15:25:26 +0000 (Wed, 04 Oct 2017) | 2 lines Changed paths: M /trunk/src/get_si.c M /trunk/src/get_ui.c [src/{get_si.c,get_ui.c}] Fixed failure in mpfr_get_si and mpfr_get_ui when called with a very reduced exponent range. ------------------------------------------------------------------------ r11769 | vlefevre | 2017-10-04 15:07:56 +0000 (Wed, 04 Oct 2017) | 2 lines Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] get_tests: added comments and tests in a reduced exponent range, which currently trigger an assertion failure. ------------------------------------------------------------------------ r11768 | vlefevre | 2017-10-02 08:53:14 +0000 (Mon, 02 Oct 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11767 | vlefevre | 2017-10-02 08:39:52 +0000 (Mon, 02 Oct 2017) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mention mpfr_dump. ------------------------------------------------------------------------ r11766 | vlefevre | 2017-10-02 08:37:28 +0000 (Mon, 02 Oct 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Describe the current output format of mpfr_dump. ------------------------------------------------------------------------ r11765 | vlefevre | 2017-10-02 08:22:37 +0000 (Mon, 02 Oct 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Replaced @code by @samp for things that are not actually code, but parts of character strings. ------------------------------------------------------------------------ r11764 | vlefevre | 2017-09-29 15:58:51 +0000 (Fri, 29 Sep 2017) | 2 lines Changed paths: M /trunk/src/dump.c M /trunk/tests/toutimpl.c [src/dump.c] mpfr_dump now outputs specific info for invalid data. [tests/toutimpl.c] Added mpfr_dump tests. ------------------------------------------------------------------------ r11763 | vlefevre | 2017-09-29 13:44:52 +0000 (Fri, 29 Sep 2017) | 6 lines Changed paths: M /trunk/src/dump.c [src/dump.c] * Output the sign even for NaN, since this can be useful information (the sign of a NaN has an effect with some functions, following IEEE 754-2008). * This changes allows one to get rid of the mpfr_fprint_binary static function at the same time. ------------------------------------------------------------------------ r11762 | vlefevre | 2017-09-29 13:31:25 +0000 (Fri, 29 Sep 2017) | 1 line Changed paths: M /trunk/src/dump.c M /trunk/src/print_raw.c [src/{dump.c,print_raw.c}] Updated the description. ------------------------------------------------------------------------ r11761 | vlefevre | 2017-09-29 13:25:34 +0000 (Fri, 29 Sep 2017) | 20 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/dump.c M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/print_raw.c M /trunk/src/sub1sp.c [src] Clean up of debugging output functions: * Replaced the internal function mpfr_fprint_binary by a new internal function mpfr_fdump, similar to mpfr_dump, but with a FILE * argument. * Got rid of mpfr_print_binary entirely (it became internal in r2466 for MPFR 2.0.2, released in 2003). Details: * print_raw.c: - moved the mpfr_fprint_binary code to dump.c; - removed mpfr_print_binary. * dump.c: - mpfr_fprint_binary (from print_raw.c) is now defined as static; - added function mpfr_fdump, using mpfr_fprint_binary; - mpfr_dump: use mpfr_fdump instead of the old mpfr_print_binary. * mpfr-impl.h: - replaced mpfr_fprint_binary declaration by mpfr_fdump; - removed mpfr_print_binary declaration. * add1sp.c, mul.c, sub1sp.c: replaced mpfr_fprint_binary by mpfr_fdump and removed the '\n', now output by mpfr_fdump. ------------------------------------------------------------------------ r11759 | vlefevre | 2017-09-28 11:27:54 +0000 (Thu, 28 Sep 2017) | 1 line Changed paths: M /trunk/tests [tests] Added trootn_ui to svn:ignore property. ------------------------------------------------------------------------ r11758 | vlefevre | 2017-09-20 14:11:30 +0000 (Wed, 20 Sep 2017) | 3 lines Changed paths: M /trunk/tests/toutimpl.c [tests/toutimpl.c] * Check mpfr_print_mant_binary() too. * GNU coding style. ------------------------------------------------------------------------ r11757 | vlefevre | 2017-09-20 13:57:58 +0000 (Wed, 20 Sep 2017) | 4 lines Changed paths: M /trunk/src/print_raw.c [src/print_raw.c] Changes in mpfr_print_mant_binary(): * Output a ']' when a '[' was output earlier. * Correction: putchar() takes an int (or unsigned char), not a char. * GNU coding style. ------------------------------------------------------------------------ r11756 | zimmerma | 2017-09-18 14:02:23 +0000 (Mon, 18 Sep 2017) | 2 lines Changed paths: M /trunk/tools/mbench/timp.h changed .align 64 into .p2align 6 (cf https://trac.sagemath.org/ticket/19233) ------------------------------------------------------------------------ r11755 | vlefevre | 2017-09-15 11:51:18 +0000 (Fri, 15 Sep 2017) | 21 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tacos.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatanh.c M /trunk/tests/tcbrt.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/terf.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tgmpop.c M /trunk/tests/tmul.c M /trunk/tests/tset.c M /trunk/tests/tset_str.c M /trunk/tests/tsgn.c M /trunk/tests/tui_div.c [tests] Solve issues with the incorrect use of mpfr_sgn, and make sure that this cannot happen again without being detected: on zero, +1 or -1 was sometimes expected to check the sign of zero, but mpfr_sgn actually returned 0, so that the check always succeeded whatever the sign of the null result. * mpfr-test.h: define a new mpfr_sgn macro that fails when used on NaN or zero (whose sign is not +1 or -1), except when MPFR_TESTS_TSGN is defined. * tacos.c, tasin.c, tasinh.c, tatanh.c, tcbrt.c, tdim.c, terf.c, texp.c, texp10.c, texp2.c, texpm1.c, tset.c, tset_str.c: replaced the incorrect use of mpfr_sgn; some other related improvements. Note: in tset.c, a "mpfr_sgn (x) < 0" test had to be replaced by "MPFR_IS_POS (x)" since we really want to test whether the sign is positive (not negative). * tdiv.c, tmul.c, tui_div.c: simplified some tests, in particular to avoid a failure with the new mpfr_sgn macro for the tests; here, the use of mpfr_sgn was correct, but one could do simpler. * tgmpop.c: replaced "mpfr_sgn (z)" by "(mpfr_sgn) (z)" to avoid the new mpfr_sgn macro (here, we really want the mathematical sign). * tsgn.c: define MPFR_TESTS_TSGN as the goal of this program is to test mpfr_sgn itself (both the function and the macro in mpfr.h). ------------------------------------------------------------------------ r11754 | vlefevre | 2017-09-15 07:45:21 +0000 (Fri, 15 Sep 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": Enhanced step 5 (tarballs). ------------------------------------------------------------------------ r11753 | zimmerma | 2017-09-14 18:55:02 +0000 (Thu, 14 Sep 2017) | 2 lines Changed paths: M /trunk/tools/mbench/Makefile patch to avoid using the system mpfr.h ------------------------------------------------------------------------ r11752 | vlefevre | 2017-09-14 15:41:35 +0000 (Thu, 14 Sep 2017) | 4 lines Changed paths: M /trunk/tests/tfms.c [tests/tfms.c] Similar changes to what was done in tfma.c: * replaced "mpfr_cmp" by "! mpfr_equal_p"; * code formatting (mainly reindentation); * use of SAME_SIGN for better clarity. ------------------------------------------------------------------------ r11751 | vlefevre | 2017-09-14 15:39:24 +0000 (Thu, 14 Sep 2017) | 2 lines Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Similar change to what was done in tfms.c (may be useful in the future). ------------------------------------------------------------------------ r11750 | vlefevre | 2017-09-14 15:28:21 +0000 (Thu, 14 Sep 2017) | 4 lines Changed paths: M /trunk/tests/tabs.c M /trunk/tests/tcmp2.c M /trunk/tests/tconst_euler.c M /trunk/tests/tcos.c M /trunk/tests/tcoth.c M /trunk/tests/tdiv.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/tfactorial.c M /trunk/tests/tfma.c M /trunk/tests/tfms.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tgmpop.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow3.c M /trunk/tests/trint.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset_d.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsqrt.c M /trunk/tests/tsub.c M /trunk/tests/tsub_ui.c M /trunk/tests/ttan.c M /trunk/tests/tui_pow.c M /trunk/tests/tzeta.c [tests] Got rid of the use of mpfr_print_binary, in general with mpfr_dump. Replaced some "mpfr_out_str (stdout, 2, ...)" by mpfr_dump for consistency or as improvements. Some other corrections in the related error messages. ------------------------------------------------------------------------ r11749 | zimmerma | 2017-09-14 14:03:59 +0000 (Thu, 14 Sep 2017) | 2 lines Changed paths: M /trunk/doc/README.dev added info about autoconf-archive ------------------------------------------------------------------------ r11748 | vlefevre | 2017-09-14 09:23:39 +0000 (Thu, 14 Sep 2017) | 1 line Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h Old, deprecated macros mpfr_add_one_ulp and mpfr_sub_one_ulp removed. ------------------------------------------------------------------------ r11747 | vlefevre | 2017-09-13 15:06:51 +0000 (Wed, 13 Sep 2017) | 3 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Do the tests_start_mpfr / tests_end_mpfr check only if the .c file has a main() function; this avoids an error on trootn_ui.c, which just does a #include. ------------------------------------------------------------------------ r11746 | vlefevre | 2017-09-13 14:46:00 +0000 (Wed, 13 Sep 2017) | 4 lines Changed paths: M /trunk/tests/troot.c [tests/troot.c] * Use mpfr_set_zero instead of mpfr_set_ui / mpfr_neg (like what was done for the infinity, using mpfr_set_inf). * For exact cases (NaN, ±Inf, ±0), check that the ternary value is 0. ------------------------------------------------------------------------ r11745 | vlefevre | 2017-09-13 14:36:25 +0000 (Wed, 13 Sep 2017) | 3 lines Changed paths: M /trunk/tests/troot.c [tests/troot.c] For the root(±0,k) tests, before calling the function, we set the target y to NaN with the wrong sign, so that if the code of the function forgets to do something, this will be detected. ------------------------------------------------------------------------ r11744 | vlefevre | 2017-09-13 14:17:46 +0000 (Wed, 13 Sep 2017) | 1 line Changed paths: M /trunk/tests/troot.c [tests/troot.c] Also check root(+0,42) and root(-0,17) for completeness. ------------------------------------------------------------------------ r11743 | vlefevre | 2017-09-13 14:11:35 +0000 (Wed, 13 Sep 2017) | 2 lines Changed paths: M /trunk/tests/troot.c [tests/troot.c] Really check the sign of the result 0 (the old test was always false, thus useless!). ------------------------------------------------------------------------ r11742 | vlefevre | 2017-09-13 14:00:15 +0000 (Wed, 13 Sep 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11741 | vlefevre | 2017-09-13 13:59:20 +0000 (Wed, 13 Sep 2017) | 11 lines Changed paths: M /trunk/NEWS M /trunk/TODO M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/root.c M /trunk/tests/Makefile.am M /trunk/tests/troot.c A /trunk/tests/trootn_ui.c New mpfr_rootn_ui function; mpfr_root deprecated. * src/root.c: mpfr_rootn_ui is now the main code, and mpfr_root calls mpfr_rootn_ui. * src/mpfr.h: added mpfr_rootn_ui prototype; marked mpfr_root as deprecated. * Added tests/trootn_ui.c (includes troot.c). * tests/troot.c: made it usable (via #include) by the new trootn_ui.c test. * tests/Makefile.am: added trootn_ui; at the same time, corrected the order of the test programs (lexicographic, with exceptions). * NEWS, TODO, doc/mpfr.texi: update. ------------------------------------------------------------------------ r11740 | vlefevre | 2017-09-13 13:28:05 +0000 (Wed, 13 Sep 2017) | 1 line Changed paths: M /trunk/doc/add-with-carry.c M /trunk/tests/talloc-cache.c Removed the text/x-csrc svn:mime-type property present on 2 files. ------------------------------------------------------------------------ r11739 | vlefevre | 2017-09-13 13:22:33 +0000 (Wed, 13 Sep 2017) | 2 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tgeneric.c M /trunk/tests/tversion.c [tests] Avoid duplicate code by defining the MAKE_STR() macro in mpfr-test.h only instead of tgeneric.c and tversion.c. ------------------------------------------------------------------------ r11734 | vlefevre | 2017-09-08 10:26:37 +0000 (Fri, 08 Sep 2017) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": Updated the warning, as the issue concerns the .ps file only (the .dvi file has no papersize info). ------------------------------------------------------------------------ r11733 | vlefevre | 2017-09-08 10:07:03 +0000 (Fri, 08 Sep 2017) | 3 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": Added a warning to check the papersize of the generated dvi and ps files, which may be incorrect (bug in texinfo(?) reported as Debian bug 874632). ------------------------------------------------------------------------ r11729 | vlefevre | 2017-09-08 08:34:24 +0000 (Fri, 08 Sep 2017) | 1 line Changed paths: M /trunk/NEWS M /trunk/configure.ac M /trunk/tests/tstrtofr.c Switched other gmplib.org URL's to https. ------------------------------------------------------------------------ r11728 | vlefevre | 2017-09-08 08:31:36 +0000 (Fri, 08 Sep 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated URL: http://gmplib.org → https://gmplib.org/ ------------------------------------------------------------------------ r11727 | vlefevre | 2017-09-08 08:29:52 +0000 (Fri, 08 Sep 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated URL: ftp://ftp.gnu.org/gnu/mpfr/ → https://ftp.gnu.org/gnu/mpfr/ ------------------------------------------------------------------------ r11726 | vlefevre | 2017-09-08 08:25:49 +0000 (Fri, 08 Sep 2017) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Switched to https for ftp.gnu.org. ------------------------------------------------------------------------ r11724 | vlefevre | 2017-09-07 14:20:45 +0000 (Thu, 07 Sep 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": update about the uploads. ------------------------------------------------------------------------ r11715 | vlefevre | 2017-09-06 15:30:04 +0000 (Wed, 06 Sep 2017) | 1 line Changed paths: M /trunk/NEWS [NEWS] Completed item on thread-safe DLL (shared library) support. ------------------------------------------------------------------------ r11714 | vlefevre | 2017-09-06 13:49:07 +0000 (Wed, 06 Sep 2017) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Completed the fix in r11713. ------------------------------------------------------------------------ r11713 | vlefevre | 2017-09-06 13:47:45 +0000 (Wed, 06 Sep 2017) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed thread-safe DLL support with ICC and MSVC on MS Windows without the GMP build directory (r11712 contained inconsistent function names, yielding "unresolved external symbol" errors in tabort_defalloc1.obj), second try. ------------------------------------------------------------------------ r11712 | vlefevre | 2017-09-06 11:48:21 +0000 (Wed, 06 Sep 2017) | 7 lines Changed paths: M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h [src] Attempt to fix thread-safe DLL support with ICC and MSVC on MS Windows without the GMP build directory. See: https://sympa.inria.fr/sympa/arc/mpfr/2017-09/msg00009.html https://sympa.inria.fr/sympa/arc/mpfr/2017-09/msg00014.html i.e. for the mpfr_allocate_func, mpfr_reallocate_func & mpfr_free_func external TLS variables, one does the same thing as what had been done for the other ones (__gmpfr_flags, __gmpfr_emin, __gmpfr_emax, etc.). ------------------------------------------------------------------------ r11711 | vlefevre | 2017-09-06 11:11:13 +0000 (Wed, 06 Sep 2017) | 1 line Changed paths: M /trunk/tests [tests] Added tget_q to svn:ignore property. ------------------------------------------------------------------------ r11706 | vlefevre | 2017-09-05 12:48:04 +0000 (Tue, 05 Sep 2017) | 3 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] With MPFR_CHECK_LIBC_PRINTF, disable the test of the "'" flag with a non-glibc C library (SUS extension in printf). In particular, it is not supported by AIX 7.2. ------------------------------------------------------------------------ r11705 | vlefevre | 2017-09-05 12:37:19 +0000 (Tue, 05 Sep 2017) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] In case decimal_point and/or thousands_sep are non-single-byte characters (as found on FreeBSD 11 in fr_FR.UTF-8), revert to the default value. Added a FIXME to support multibyte decimal_point and thousands_sep. ------------------------------------------------------------------------ r11704 | vlefevre | 2017-09-05 11:46:44 +0000 (Tue, 05 Sep 2017) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Formatting. ------------------------------------------------------------------------ r11702 | vlefevre | 2017-09-05 10:33:34 +0000 (Tue, 05 Sep 2017) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a paragraph about temporary result files created by test programs. ------------------------------------------------------------------------ r11701 | vlefevre | 2017-09-05 10:19:58 +0000 (Tue, 05 Sep 2017) | 1 line Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Added tfpif_rw.dat to CLEANFILES. ------------------------------------------------------------------------ r11700 | vlefevre | 2017-09-05 10:17:34 +0000 (Tue, 05 Sep 2017) | 2 lines Changed paths: M /trunk/tests/Makefile.am D /trunk/tests/mpfrtest.dat D /trunk/tests/mpfrtest2.dat M /trunk/tests/tfpif.c A /trunk/tests/tfpif_r1.dat (from /trunk/tests/mpfrtest.dat:11699) A /trunk/tests/tfpif_r2.dat (from /trunk/tests/mpfrtest2.dat:11699) [tests] Renamed mpfrtest.txt, mpfrtest.dat and mpfrtest2.dat to tfpif_rw.dat, tfpif_r1.dat and tfpif_r2.dat respectively. ------------------------------------------------------------------------ r11699 | vlefevre | 2017-09-05 09:32:11 +0000 (Tue, 05 Sep 2017) | 8 lines Changed paths: M /trunk/tests/Makefile.am M /trunk/tests/toutimpl.c [tests] * toutimpl.c: Changed the filename of the result file like what has been done in other test programs, to make sure that it will not be reused by mistake. Removed comments about tmpname (which does not exist). * Makefile.am: Added this filename to CLEANFILES (even though the file is removed by the test program, an error could occur before its actual removal). ------------------------------------------------------------------------ r11698 | vlefevre | 2017-09-05 09:13:13 +0000 (Tue, 05 Sep 2017) | 10 lines Changed paths: M /trunk/tests/Makefile.am M /trunk/tests/tfprintf.c M /trunk/tests/tout_str.c M /trunk/tests/tprintf.c [tests] * tfprintf.c, tout_str.c, tprintf.c: Do not use the same filename for result files created in these test programs, as this breaks parallel tests (note that such files are used only if /dev/null does not work, so that Unix-like systems were not affected). This should fix the bug reported in https://sympa.inria.fr/sympa/arc/mpfr/2017-09/msg00000.html as said in https://sympa.inria.fr/sympa/arc/mpfr/2017-09/msg00005.html * Makefile.am: added a CLEANFILES line with these files. ------------------------------------------------------------------------ r11695 | vlefevre | 2017-09-01 15:24:42 +0000 (Fri, 01 Sep 2017) | 2 lines Changed paths: M /trunk M /trunk/tests/turandom.c [tests/turandom.c] Added test_underflow(). (merged changesets r11691-11694 from the 3.1 branch) ------------------------------------------------------------------------ r11690 | zimmerma | 2017-08-29 12:26:42 +0000 (Tue, 29 Aug 2017) | 2 lines Changed paths: M /trunk/tools/cfarm.sh update ------------------------------------------------------------------------ r11688 | zimmerma | 2017-08-29 12:00:05 +0000 (Tue, 29 Aug 2017) | 2 lines Changed paths: M /trunk/tools/cfarm.sh updated for mpfr-3.1.6-rc1 ------------------------------------------------------------------------ r11679 | vlefevre | 2017-08-28 10:29:23 +0000 (Mon, 28 Aug 2017) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Run tools/ck-version-info. ------------------------------------------------------------------------ r11678 | vlefevre | 2017-08-28 10:27:04 +0000 (Mon, 28 Aug 2017) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Updated a message due to the change in r11673. ------------------------------------------------------------------------ r11677 | vlefevre | 2017-08-28 10:22:44 +0000 (Mon, 28 Aug 2017) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": The DLL version may need to be updated too. ------------------------------------------------------------------------ r11676 | vlefevre | 2017-08-28 10:18:44 +0000 (Mon, 28 Aug 2017) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Added a comment about the DLL version. ------------------------------------------------------------------------ r11675 | vlefevre | 2017-08-28 10:12:35 +0000 (Mon, 28 Aug 2017) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Updated DLL version to 6 (cur - age). ------------------------------------------------------------------------ r11674 | vlefevre | 2017-08-28 10:04:47 +0000 (Mon, 28 Aug 2017) | 2 lines Changed paths: M /trunk/tools/ck-copyright-notice M /trunk/tools/ck-inits-clears [tools/{ck-copyright-notice,ck-inits-clears}] Ignore Emacs lock files (symbolic links) to avoid a failure when a file is being edited. ------------------------------------------------------------------------ r11673 | vlefevre | 2017-08-28 09:53:35 +0000 (Mon, 28 Aug 2017) | 5 lines Changed paths: D /trunk/tools/check_inits_clears A /trunk/tools/ck-inits-clears (from /trunk/tools/check_inits_clears:11672) M /trunk/tools/mpfrlint [tools] Clean up. * Renamed check_inits_clears to ck-inits-clears (the other "check" scripts have a name starting with "ck-"). * mpfrlint: updated the invocation of this test, simplifying it to make it similar to the other ones (it was based on old code). ------------------------------------------------------------------------ r11669 | vlefevre | 2017-08-27 22:06:31 +0000 (Sun, 27 Aug 2017) | 2 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Disabled the reprod_abi test with GMP < 4.2.0 since the hardcoded values would be different. ------------------------------------------------------------------------ r11664 | vlefevre | 2017-08-25 14:11:40 +0000 (Fri, 25 Aug 2017) | 6 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Replaced (MPFR_LIKELY(expr)) || (ASSERT_FAIL(expr),0) by (MPFR_LIKELY(expr)) || (ASSERT_FAIL(expr),MPFR_ASSUME(expr),0) as a workaround to the fact that mpfr_assert_fail is not marked as "no return" (bug 21415). Thus, after this code, expr must be true. ------------------------------------------------------------------------ r11663 | vlefevre | 2017-08-25 12:23:31 +0000 (Fri, 25 Aug 2017) | 2 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Check that the behavior does not depend on the platform ABI or MPFR version. ------------------------------------------------------------------------ r11662 | vlefevre | 2017-08-25 12:19:08 +0000 (Fri, 25 Aug 2017) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Corrected error messages after r11661. ------------------------------------------------------------------------ r11661 | vlefevre | 2017-08-25 11:42:36 +0000 (Fri, 25 Aug 2017) | 3 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Renamed "reprod" to "reprod_rnd_exp" (reproducibility test with several rounding modes and exponent ranges), because a second reproducibility test will be added. ------------------------------------------------------------------------ r11660 | vlefevre | 2017-08-25 10:41:21 +0000 (Fri, 25 Aug 2017) | 7 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] * In underflow_tests, test the flags in all cases (not just when the returned result is 0), possibly by first computing the result in a large exponent range. * Since the flags are now well tested in underflow_tests, no longer test them in the second test of test_urandom for k = 0, which was the incorrect test that was failing (see r11659). ------------------------------------------------------------------------ r11659 | vlefevre | 2017-08-25 08:00:19 +0000 (Fri, 25 Aug 2017) | 6 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Do some test several times in order to trigger a "mpfr_urandom() returns incorrect flags for emin = 1" failure when GMP_CHECK_RANDOMIZE is not set (default). Note: It is this test that is actually wrong (it corresponds to the old behavior, currently found in the 3.1 branch, and was not updated after the mpfr_urandom code was fixed). ------------------------------------------------------------------------ r11658 | vlefevre | 2017-08-25 07:56:42 +0000 (Fri, 25 Aug 2017) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Code formatting. Added an assertion. ------------------------------------------------------------------------ r11657 | vlefevre | 2017-08-24 14:34:33 +0000 (Thu, 24 Aug 2017) | 2 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Check that the behavior of mpfr_urandom() does not depend on the rounding mode. ------------------------------------------------------------------------ r11656 | vlefevre | 2017-08-24 07:38:38 +0000 (Thu, 24 Aug 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Completed the description of mpfr_urandom. ------------------------------------------------------------------------ r11655 | vlefevre | 2017-08-24 07:32:30 +0000 (Thu, 24 Aug 2017) | 1 line Changed paths: M /trunk/src/urandom.c [src/urandom.c] Completed comment. ------------------------------------------------------------------------ r11654 | vlefevre | 2017-08-23 14:30:59 +0000 (Wed, 23 Aug 2017) | 2 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] In bug20170123, use a local gmp_randstate_t variable instead of mpfr_rands, due to the gmp_randseed_ui (see r11653). ------------------------------------------------------------------------ r11653 | vlefevre | 2017-08-23 14:26:42 +0000 (Wed, 23 Aug 2017) | 4 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect the use of gmp_randseed* functions on mpfr_rands (this is bad practice: this would affect later tests, defeating the purpose of GMP_CHECK_RANDOMIZE; another gmp_randstate_t variable should be used instead of mpfr_rands). ------------------------------------------------------------------------ r11652 | vlefevre | 2017-08-23 14:09:13 +0000 (Wed, 23 Aug 2017) | 3 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c [tests/{mpfr-test.h,tests.c}] Got rid of __gmp_randstate_struct, which is internal to GMP: its use came from very old code (r2330 in 2003-06) and it is no longer needed. ------------------------------------------------------------------------ r11651 | vlefevre | 2017-08-23 13:40:39 +0000 (Wed, 23 Aug 2017) | 3 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Disabled a test with GMP < 4.2.0 since it depends on a specific behavior of the random generator, which changed in GMP 4.2.0 (the test would probably fail with such old GMP versions). ------------------------------------------------------------------------ r11650 | vlefevre | 2017-08-23 10:08:57 +0000 (Wed, 23 Aug 2017) | 8 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/urandom.c [src/urandom.c] Partly rewrote mpfr_urandom() so that the next random state no longer depends on the current exponent range and the rounding mode, and that the exceptions due to the rounding of the random number are now correctly generated. [doc/mpfr.texi] Updated the mpfr_urandom() documentation and updated Section "API Compatibility / Changed Functions" to mention the change in MPFR 4.0. [NEWS] Mentioned the change for MPFR 4.0. ------------------------------------------------------------------------ r11647 | vlefevre | 2017-08-22 09:24:45 +0000 (Tue, 22 Aug 2017) | 1 line Changed paths: M /trunk/src/urandom.c [src/urandom.c] Minor change about underflow, following the usage. ------------------------------------------------------------------------ r11646 | vlefevre | 2017-08-22 09:08:38 +0000 (Tue, 22 Aug 2017) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Added inex test for the underflow & overflow tests. ------------------------------------------------------------------------ r11645 | vlefevre | 2017-08-22 08:00:54 +0000 (Tue, 22 Aug 2017) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Added overflow tests. ------------------------------------------------------------------------ r11644 | vlefevre | 2017-08-22 07:46:21 +0000 (Tue, 22 Aug 2017) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Indentation. ------------------------------------------------------------------------ r11643 | vlefevre | 2017-08-22 07:44:38 +0000 (Tue, 22 Aug 2017) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Added underflow tests. ------------------------------------------------------------------------ r11642 | vlefevre | 2017-08-22 07:11:23 +0000 (Tue, 22 Aug 2017) | 2 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] With mini-gmp, omit another test that assumes a deterministic random generator. ------------------------------------------------------------------------ r11641 | vlefevre | 2017-08-22 06:57:27 +0000 (Tue, 22 Aug 2017) | 1 line Changed paths: M /trunk/src/urandom.c [src/urandom.c] Bug fix: the inexact flag was not set on underflow. ------------------------------------------------------------------------ r11640 | vlefevre | 2017-08-22 06:55:11 +0000 (Tue, 22 Aug 2017) | 2 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Added tests of the flags. This currently yields a failure (inexact flag not set on underflow). ------------------------------------------------------------------------ r11639 | vlefevre | 2017-08-22 06:40:13 +0000 (Tue, 22 Aug 2017) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Added a test of the underflow flag. ------------------------------------------------------------------------ r11638 | vlefevre | 2017-08-21 15:12:51 +0000 (Mon, 21 Aug 2017) | 10 lines Changed paths: M /trunk/src/urandom.c [src/urandom.c] Set the underflow flag if the drawn exponent is less than emin. This corresponds to "underflow before rounding" while the normal rule in MPFR is "underflow after rounding". Thus this needs to be fixed. Note: This simple change has been done so that it can be merged with the 3.1 branch. But this will not be fixable in the 3.1 branch since the significand is not drawn in this case, and drawing the significand to determine whether there is an underflow would change the state of the PRNG at the end of the function, breaking the ABI and the users' expectations. ------------------------------------------------------------------------ r11637 | vlefevre | 2017-08-21 14:17:20 +0000 (Mon, 21 Aug 2017) | 1 line Changed paths: M /trunk/src/urandom.c [src/urandom.c] Updated comments about overflow and its flag. ------------------------------------------------------------------------ r11636 | vlefevre | 2017-08-21 14:12:20 +0000 (Mon, 21 Aug 2017) | 5 lines Changed paths: M /trunk/src/urandom.c [src/urandom.c] Simplified the code, but, except for precision 1, without changing the state of the PRNG. Note: The code could be simplified even further, but the goal of the current change is to allow it to be merged with the 3.1 branch (where precision 1 is not supported) without too many conflicts. ------------------------------------------------------------------------ r11635 | vlefevre | 2017-08-21 13:54:51 +0000 (Mon, 21 Aug 2017) | 1 line Changed paths: M /trunk/src/urandom.c [src/urandom.c] Moved some code without consequences. Updated comments. ------------------------------------------------------------------------ r11634 | vlefevre | 2017-08-21 13:08:47 +0000 (Mon, 21 Aug 2017) | 1 line Changed paths: M /trunk/src/urandom.c [src/urandom.c] Useless parentheses; reformatting. ------------------------------------------------------------------------ r11629 | vlefevre | 2017-08-17 11:17:51 +0000 (Thu, 17 Aug 2017) | 6 lines Changed paths: M /trunk/src/set_float128.c [src/set_float128.c] No longer depend on the native FP type "double" (via mpfr_set_d), avoiding the usual precision issues with the x87 traditional FPU in particular. Use the internal representation with limbs, instead. The code is simpler and should also be faster. Note: together with r11627, this avoids the tset_float128 failure with the "-m32 -mpc32" GCC options. ------------------------------------------------------------------------ r11628 | vlefevre | 2017-08-17 08:49:11 +0000 (Thu, 17 Aug 2017) | 1 line Changed paths: M /trunk/src/get_float128.c [src/get_float128.c] Removed variable z (no longer useful). ------------------------------------------------------------------------ r11627 | vlefevre | 2017-08-17 08:34:45 +0000 (Thu, 17 Aug 2017) | 4 lines Changed paths: M /trunk/src/get_float128.c [src/get_float128.c] No longer depend on the native FP type "double" (via mpfr_get_d), avoiding the usual precision issues with the x87 traditional FPU in particular. Use the internal representation with limbs, instead. The code is simpler and should also be faster. ------------------------------------------------------------------------ r11626 | vlefevre | 2017-08-14 18:19:46 +0000 (Mon, 14 Aug 2017) | 2 lines Changed paths: M /trunk/src/get_float128.c [src/get_float128.c] Fixed the remaining cases of mpfr_get_float128 (when the value is below the smallest subnormal in absolute value). ------------------------------------------------------------------------ r11625 | vlefevre | 2017-08-14 17:31:33 +0000 (Mon, 14 Aug 2017) | 3 lines Changed paths: M /trunk/src/get_float128.c M /trunk/tests/tset_float128.c [src/get_float128.c] Partly fixed mpfr_get_float128 when it underflows. [tests/tset_float128.c] Added tests for small values, in particular involving underflows (and subnormals). ------------------------------------------------------------------------ r11624 | vlefevre | 2017-08-13 00:35:17 +0000 (Sun, 13 Aug 2017) | 2 lines Changed paths: M /trunk/src/get_float128.c [src/get_float128.c] Reverted r11623 (a note mainly for the 3.1 branch, which actually doesn't support __float128). ------------------------------------------------------------------------ r11623 | vlefevre | 2017-08-12 15:54:07 +0000 (Sat, 12 Aug 2017) | 1 line Changed paths: M /trunk/src/get_float128.c [src/get_float128.c] Updated the FIXME. ------------------------------------------------------------------------ r11622 | vlefevre | 2017-08-08 14:46:54 +0000 (Tue, 08 Aug 2017) | 2 lines Changed paths: M /trunk/src/get_float128.c [src/get_float128.c] Added a FIXME after a bug report by Rob: https://sympa.inria.fr/sympa/arc/mpfr/2017-08/msg00003.html ------------------------------------------------------------------------ r11621 | vlefevre | 2017-08-03 16:12:26 +0000 (Thu, 03 Aug 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Section "Getting the Best Efficiency Out of MPFR" moved from "Installing MPFR" to "MPFR Basics". Added corresponding node. ------------------------------------------------------------------------ r11620 | zimmerma | 2017-08-03 14:21:38 +0000 (Thu, 03 Aug 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi new section "How to get the best out of MPFR" ------------------------------------------------------------------------ r11619 | vlefevre | 2017-08-03 08:27:12 +0000 (Thu, 03 Aug 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a FIXME about memory allocation. ------------------------------------------------------------------------ r11617 | vlefevre | 2017-08-03 08:16:17 +0000 (Thu, 03 Aug 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11615 | vlefevre | 2017-08-03 08:06:38 +0000 (Thu, 03 Aug 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Removed obsolete comments. ------------------------------------------------------------------------ r11614 | vlefevre | 2017-08-03 08:04:20 +0000 (Thu, 03 Aug 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated paragraph on the MPFR formatted output functions and overflow on the return type int. ------------------------------------------------------------------------ r11612 | vlefevre | 2017-08-02 11:15:01 +0000 (Wed, 02 Aug 2017) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mention the use of the old dtags under Linux (see r11588). ------------------------------------------------------------------------ r11611 | vlefevre | 2017-08-02 09:20:39 +0000 (Wed, 02 Aug 2017) | 3 lines Changed paths: M /trunk/src/printf.c M /trunk/src/vasprintf.c [src] Moved mpfr_vasprintf from vasprintf.c to printf.c and updated file descriptions for consistency (vasprintf.c should probably be renamed later to something like printf_aux.c). ------------------------------------------------------------------------ r11610 | vlefevre | 2017-08-02 09:05:11 +0000 (Wed, 02 Aug 2017) | 1 line Changed paths: M /trunk/src/printf.c [src/printf.c] Updated a comment (taking r11269 into account). ------------------------------------------------------------------------ r11609 | vlefevre | 2017-08-02 08:55:34 +0000 (Wed, 02 Aug 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added an assertion. ------------------------------------------------------------------------ r11608 | vlefevre | 2017-08-02 08:53:13 +0000 (Wed, 02 Aug 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Completed mpfr_vasnprintf_aux description. ------------------------------------------------------------------------ r11604 | vlefevre | 2017-08-01 09:31:49 +0000 (Tue, 01 Aug 2017) | 2 lines Changed paths: M /trunk/tests/tstdint.c M /trunk/tests/tvalist.c [tests/{tstdint.c,tvalist.c}] Include "mpfr-test.h" instead of "mpfr-impl.h" (this is done only when compiling with mini-gmp). ------------------------------------------------------------------------ r11603 | vlefevre | 2017-08-01 09:29:27 +0000 (Tue, 01 Aug 2017) | 3 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect "mpfr-impl.h" inclusion by the test programs: "mpfr-test.h" should be included instead; otherwise __MPFR_WITHIN_MPFR will be defined, yielding failures under MS Windows with DLL. ------------------------------------------------------------------------ r11601 | zimmerma | 2017-07-28 10:30:27 +0000 (Fri, 28 Jul 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi fixed typo ------------------------------------------------------------------------ r11600 | vlefevre | 2017-07-28 10:12:10 +0000 (Fri, 28 Jul 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added important details for the example from r11595. ------------------------------------------------------------------------ r11599 | vlefevre | 2017-07-27 17:27:03 +0000 (Thu, 27 Jul 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Minor changes. ------------------------------------------------------------------------ r11598 | vlefevre | 2017-07-27 06:30:53 +0000 (Thu, 27 Jul 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11597 | zimmerma | 2017-07-27 06:24:49 +0000 (Thu, 27 Jul 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi fixed FIXME related to r11595 ------------------------------------------------------------------------ r11596 | vlefevre | 2017-07-27 00:23:22 +0000 (Thu, 27 Jul 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added FIXME on example from r11595. ------------------------------------------------------------------------ r11595 | zimmerma | 2017-07-26 10:07:35 +0000 (Wed, 26 Jul 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] added example showing how to emulate fixed-point arithmetic ------------------------------------------------------------------------ r11590 | vlefevre | 2017-07-17 23:10:45 +0000 (Mon, 17 Jul 2017) | 3 lines Changed paths: M /trunk/src/sin_cos.c [src/sin_cos.c] Avoid integer overflows with precision 1100000 and the 32-bit ABI (32-bit long), fixing bug reported by Simon Byrne: https://sympa.inria.fr/sympa/arc/mpfr/2017-07/msg00002.html ------------------------------------------------------------------------ r11589 | vlefevre | 2017-07-17 13:55:35 +0000 (Mon, 17 Jul 2017) | 1 line Changed paths: M /trunk/tests/tcos.c M /trunk/tests/texp.c M /trunk/tests/tget_f.c M /trunk/tests/tsub1sp.c M /trunk/tests/tui_sub.c [tests] Re-indented some RND_LOOP / RND_LOOP_NO_RNDF blocks. ------------------------------------------------------------------------ r11588 | vlefevre | 2017-07-17 12:33:27 +0000 (Mon, 17 Jul 2017) | 5 lines Changed paths: M /trunk M /trunk/configure.ac [configure.ac] Under Linux, make sure that the old dtags are used if LD_LIBRARY_PATH is defined, avoiding the following issue: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859732 https://lists.gnu.org/archive/html/libtool/2017-05/msg00000.html (merged changeset r11587 from the 3.1 branch) ------------------------------------------------------------------------ r11586 | vlefevre | 2017-07-10 11:53:17 +0000 (Mon, 10 Jul 2017) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Forgot casts for printf in r11585. ------------------------------------------------------------------------ r11585 | vlefevre | 2017-07-10 11:17:31 +0000 (Mon, 10 Jul 2017) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Added ABI information & tests. ------------------------------------------------------------------------ r11584 | vlefevre | 2017-06-20 23:25:49 +0000 (Tue, 20 Jun 2017) | 1 line Changed paths: M /trunk/src/subnormal.c [src/subnormal.c] Correction in comment (English). ------------------------------------------------------------------------ r11583 | vlefevre | 2017-06-19 13:09:48 +0000 (Mon, 19 Jun 2017) | 4 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] * Better organization; moved MPFR patches info below MPFR version. * Output __GMP_CC and __GMP_CFLAGS values. * Output GMP ABI info (to be completed with MPFR ABI info). ------------------------------------------------------------------------ r11578 | vlefevre | 2017-06-03 09:43:37 +0000 (Sat, 03 Jun 2017) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Improved some AC_DEFINE comments. ------------------------------------------------------------------------ r11577 | vlefevre | 2017-06-03 00:34:15 +0000 (Sat, 03 Jun 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added quotes for clarity. ------------------------------------------------------------------------ r11576 | vlefevre | 2017-06-03 00:11:12 +0000 (Sat, 03 Jun 2017) | 1 line Changed paths: M /trunk/tests/mpf_compat.h [tests/mpf_compat.h] Always use stdout for failure messages. ------------------------------------------------------------------------ r11575 | vlefevre | 2017-06-03 00:04:19 +0000 (Sat, 03 Jun 2017) | 2 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] Improved comments (avoid the confusion between a negative base argument and a negative base). ------------------------------------------------------------------------ r11574 | vlefevre | 2017-06-02 23:52:24 +0000 (Fri, 02 Jun 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Punctuation. ------------------------------------------------------------------------ r11573 | zimmerma | 2017-06-02 20:49:29 +0000 (Fri, 02 Jun 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi added mpfr_get_q in Added Functions ------------------------------------------------------------------------ r11572 | zimmerma | 2017-06-02 15:36:52 +0000 (Fri, 02 Jun 2017) | 3 lines Changed paths: M /trunk/src/get_str.c M /trunk/tests/tget_str.c src/get_str.c: fixed for negative base tests/tget_str.c: added tests for negative base ------------------------------------------------------------------------ r11571 | zimmerma | 2017-06-02 15:11:50 +0000 (Fri, 02 Jun 2017) | 2 lines Changed paths: M /trunk/tests/mpf_compat.h tests/mpf_compat.h: non-regression tests for bugs fixed in revision 11565 ------------------------------------------------------------------------ r11570 | zimmerma | 2017-06-02 14:52:45 +0000 (Fri, 02 Jun 2017) | 3 lines Changed paths: M /trunk/src/get_str.c src/get_str.c: allow -36 <= b <= -2 too (work in progress) with the same meaning as in mpf_get_str ------------------------------------------------------------------------ r11569 | zimmerma | 2017-06-02 14:12:17 +0000 (Fri, 02 Jun 2017) | 3 lines Changed paths: M /trunk/src/mul.c M /trunk/tests/tmul.c fixed a bug in mpfr_mul for RNDF when Mulders' algorithm is used (and resolved a FIXME) ------------------------------------------------------------------------ r11568 | vlefevre | 2017-06-02 14:03:58 +0000 (Fri, 02 Jun 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected mpfr_get_q documentation. ------------------------------------------------------------------------ r11567 | vlefevre | 2017-06-02 13:58:47 +0000 (Fri, 02 Jun 2017) | 2 lines Changed paths: M /trunk/src/get_q.c [src/get_q.c] Added assertions to detect integer overflows, in case mpfr_exp_t is larger than mp_bitcnt_t. ------------------------------------------------------------------------ r11566 | zimmerma | 2017-06-02 12:15:59 +0000 (Fri, 02 Jun 2017) | 2 lines Changed paths: M /trunk/src/mpf2mpfr.h src/mpf2mpfr.h: replaced __MPFR_GMP (requires internal mpfr-gmp.h) ------------------------------------------------------------------------ r11565 | zimmerma | 2017-06-02 11:43:32 +0000 (Fri, 02 Jun 2017) | 2 lines Changed paths: M /trunk/src/mpf2mpfr.h src/mpf2mpfr.h: fixed fits_s* functions and get_si ------------------------------------------------------------------------ r11564 | zimmerma | 2017-06-02 11:22:07 +0000 (Fri, 02 Jun 2017) | 2 lines Changed paths: M /trunk/src/mpf2mpfr.h use macro __MPFR_GMP ------------------------------------------------------------------------ r11563 | zimmerma | 2017-06-02 10:44:12 +0000 (Fri, 02 Jun 2017) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am A /trunk/src/get_q.c M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr.h M /trunk/tests/Makefile.am A /trunk/tests/tget_q.c added new function mpfr_get_q ------------------------------------------------------------------------ r11562 | zimmerma | 2017-06-02 07:03:25 +0000 (Fri, 02 Jun 2017) | 2 lines Changed paths: M /trunk/src/mpf2mpfr.h src/mpf2mpfr.h: added mpf_cmp_z (appeared in GMP 6.1.0) ------------------------------------------------------------------------ r11561 | vlefevre | 2017-06-01 15:03:24 +0000 (Thu, 01 Jun 2017) | 5 lines Changed paths: M /trunk/Makefile.am M /trunk/README [Makefile.am] Put doc/README.dev in EXTRA_DIST to provide this file in tarballs too (it is not installed by "make install", though), since it contains information that may be useful for users of tarballs and various distributed files mention it. [README] Update about the "doc" directory and "doc/README.dev". ------------------------------------------------------------------------ r11560 | vlefevre | 2017-06-01 09:15:31 +0000 (Thu, 01 Jun 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] More information about the DEBUG macro. ------------------------------------------------------------------------ r11559 | vlefevre | 2017-06-01 00:26:46 +0000 (Thu, 01 Jun 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11558 | vlefevre | 2017-06-01 00:25:16 +0000 (Thu, 01 Jun 2017) | 6 lines Changed paths: M /trunk/NEWS M /trunk/TODO M /trunk/doc/mpfr.texi Update about MPFR_RNDF (faithful rounding): * NEWS: mention that it is partially supported (should be updated once MPFR_RNDF is completely supported). * TODO: moved an item to the right place (MPFR_RNDF is not removed from the TODO because it is not completely supported yet). * doc/mpfr.texi: added a FIXME about the partial support. ------------------------------------------------------------------------ r11557 | vlefevre | 2017-05-31 23:59:06 +0000 (Wed, 31 May 2017) | 4 lines Changed paths: M /trunk/src/atanh.c M /trunk/src/log1p.c [src/{atanh.c,log1p.c}] * Replaced mpfr_get_exp by MPFR_GET_EXP (so that the exponent is checked with --enable-assert). * For a test, doing the division first should be better. ------------------------------------------------------------------------ r11556 | zimmerma | 2017-05-31 20:37:02 +0000 (Wed, 31 May 2017) | 2 lines Changed paths: M /trunk/NEWS M /trunk/src/atanh.c M /trunk/src/log1p.c improved log1p and atanh for small inputs ------------------------------------------------------------------------ r11555 | zimmerma | 2017-05-31 12:39:19 +0000 (Wed, 31 May 2017) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5-mpfr.cc added expm1 to mbench ------------------------------------------------------------------------ r11554 | zimmerma | 2017-05-31 12:33:48 +0000 (Wed, 31 May 2017) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5-mpfr.cc added log1p to mbench ------------------------------------------------------------------------ r11553 | vlefevre | 2017-05-29 22:55:34 +0000 (Mon, 29 May 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11552 | vlefevre | 2017-05-29 22:54:46 +0000 (Mon, 29 May 2017) | 1 line Changed paths: M /trunk/tests/tfmma.c Removed trailing spaces. ------------------------------------------------------------------------ r11551 | vlefevre | 2017-05-29 22:48:06 +0000 (Mon, 29 May 2017) | 1 line Changed paths: M /trunk/tests/tdiv.c M /trunk/tests/tests.c M /trunk/tests/tpow_all.c M /trunk/tests/tsum.c [tests] Code simplification and improvement by using SAME_VAL(). ------------------------------------------------------------------------ r11550 | vlefevre | 2017-05-29 22:39:49 +0000 (Mon, 29 May 2017) | 1 line Changed paths: M /trunk/tests/tbeta.c [tests/tbeta.c] Replaced not_same() by the simpler ! SAME_VAL(). ------------------------------------------------------------------------ r11549 | vlefevre | 2017-05-29 21:48:21 +0000 (Mon, 29 May 2017) | 2 lines Changed paths: M /trunk/src/sum.c [src/sum.c] Code reindentation due to a new test for MPFR_RNDF support, and other minor changes in formatting and comments. ------------------------------------------------------------------------ r11548 | vlefevre | 2017-05-29 21:37:27 +0000 (Mon, 29 May 2017) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Typo in the MPFR_RNDF text. ------------------------------------------------------------------------ r11546 | vlefevre | 2017-05-29 17:26:28 +0000 (Mon, 29 May 2017) | 2 lines Changed paths: M /trunk M /trunk/TODO M /trunk/doc/mpfr.texi M /trunk/doc/sum.txt M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/div.c M /trunk/src/div_ui.c M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_u.h M /trunk/src/get_str.c M /trunk/src/hypot.c M /trunk/src/jyn_asympt.c M /trunk/src/li2.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/mul.c M /trunk/src/print_rnd_mode.c M /trunk/src/round_near_x.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sum.c M /trunk/src/vasprintf.c M /trunk/src/zeta_ui.c M /trunk/tests/mpfr-test.h M /trunk/tests/reuse.c M /trunk/tests/tabs.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tcan_round.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcos.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tdiv.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmma.c M /trunk/tests/tfms.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_f.c M /trunk/tests/tget_sj.c M /trunk/tests/tgmpop.c M /trunk/tests/tinternals.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_ui.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_si.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsum.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/tzeta_ui.c Merged the "faithful" branch into the trunk: faithful rounding (MPFR_RNDF). ------------------------------------------------------------------------ r11542 | zimmerma | 2017-05-29 09:04:44 +0000 (Mon, 29 May 2017) | 2 lines Changed paths: M /trunk/TODO added new reference ------------------------------------------------------------------------ r11533 | vlefevre | 2017-05-24 11:33:50 +0000 (Wed, 24 May 2017) | 4 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Fixed setlocale usage (problem detected with MinGW) by not using the returned string any longer. Indeed, ISO C99 says that this string "may be overwritten by a subsequent call to the setlocale function". ------------------------------------------------------------------------ r11532 | vlefevre | 2017-05-24 09:15:54 +0000 (Wed, 24 May 2017) | 4 lines Changed paths: M /trunk/src/printf.c M /trunk/src/vasprintf.c [src] Moved "#include " from printf.c to vasprintf.c (this should have been done in r5230, where EOVERFLOW was moved). This fixes the "Got r = -1, errno = 0" errors in tprintf with MPFR_CHECK_LARGEMEM=1. ------------------------------------------------------------------------ r11531 | vlefevre | 2017-05-24 09:09:53 +0000 (Wed, 24 May 2017) | 6 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added overflow detection at the end (due to the switch to mpfr_intmax_t for the string length in the string_buffer structure, it was no longer detected; however, this bug was not normally visible in the tests because here, a negative value was returned thanks to wrapping in a type conversion and the negative value was changed to the expected -1 value in printf.c). ------------------------------------------------------------------------ r11530 | vlefevre | 2017-05-24 08:47:36 +0000 (Wed, 24 May 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added log messages. ------------------------------------------------------------------------ r11529 | vlefevre | 2017-05-24 08:30:55 +0000 (Wed, 24 May 2017) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] In case of overflow, do not stop before everything has been processed, allowing the %...n arguments to be filled, as decided. ------------------------------------------------------------------------ r11528 | vlefevre | 2017-05-24 08:12:56 +0000 (Wed, 24 May 2017) | 2 lines Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] check_long_string() error handling: initialize n2 to an invalid value and do all tests before exiting. ------------------------------------------------------------------------ r11527 | vlefevre | 2017-05-24 08:01:28 +0000 (Wed, 24 May 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Fixed some parts of overflow tracking. ------------------------------------------------------------------------ r11526 | vlefevre | 2017-05-24 07:49:39 +0000 (Wed, 24 May 2017) | 1 line Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] More detailed error message. ------------------------------------------------------------------------ r11525 | vlefevre | 2017-05-24 07:46:26 +0000 (Wed, 24 May 2017) | 1 line Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Added tests with %ln. ------------------------------------------------------------------------ r11524 | vlefevre | 2017-05-24 07:15:40 +0000 (Wed, 24 May 2017) | 1 line Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Improved check_vprintf_failure(). ------------------------------------------------------------------------ r11523 | vlefevre | 2017-05-24 07:10:21 +0000 (Wed, 24 May 2017) | 7 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tprintf.c [src/vasprintf.c] Fixed the handling of the 'n' format specifier for size = 0, still allowing its support in case of overflow on the return value (i.e. when the number of characters that would have been output is > INT_MAX). Note: full support in case of overflow is still limited by GMP and the C library. [tests/tprintf.c] Increased the memory needed in check_long_string(). ------------------------------------------------------------------------ r11522 | vlefevre | 2017-05-23 13:17:12 +0000 (Tue, 23 May 2017) | 5 lines Changed paths: M /trunk/src/mpfr-intmax.h [src/mpfr-intmax.h] Define mpfr_uintmax_t and MPFR_INTMAX_MAX too. However, this will not necessarily be used by src/vasprintf.c, as this can be regarded as an EOVERFLOW error for which the behavior on the %...n values is not specified, i.e. we may not need to support size values larger than INT_MAX. ------------------------------------------------------------------------ r11521 | vlefevre | 2017-05-22 15:07:36 +0000 (Mon, 22 May 2017) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] In a macro definition, changed a parameter to lowercase so that it doesn't look like a constant to mpfrlint. ------------------------------------------------------------------------ r11520 | vlefevre | 2017-05-22 14:08:07 +0000 (Mon, 22 May 2017) | 4 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added a FIXME for the percent_n() / mixed() bug due to the 'n' format specifier with size = 0. The way to fix this issue depends on the specifications in case of overflow on the return value, and for POSIX, they are unclear. Waiting for comments... ------------------------------------------------------------------------ r11519 | vlefevre | 2017-05-22 12:33:48 +0000 (Mon, 22 May 2017) | 7 lines Changed paths: M /trunk/src/mpfr-intmax.h [src/mpfr-intmax.h] Define mpfr_intmax_t as being the largest signed integer type available for the MPFR build. It will be useful for the formatted output functions (src/vasprintf.c) to handle the 'n' format specifier, assuming that the value may be larger than INT_MAX, which is possible assuming that the C standard has a defect in the corresponding specification: https://sourceware.org/bugzilla/show_bug.cgi?id=21360 ------------------------------------------------------------------------ r11518 | vlefevre | 2017-05-22 11:38:10 +0000 (Mon, 22 May 2017) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added explanation for the bugs triggered by percent_n() and mixed(). ------------------------------------------------------------------------ r11517 | vlefevre | 2017-05-22 11:31:16 +0000 (Mon, 22 May 2017) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added percent_n() test to reproduce the bug found in mixed(), test without random data. ------------------------------------------------------------------------ r11516 | vlefevre | 2017-05-22 10:53:50 +0000 (Mon, 22 May 2017) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] In partition_number(), complete check for overflow on total. ------------------------------------------------------------------------ r11515 | vlefevre | 2017-05-22 09:29:51 +0000 (Mon, 22 May 2017) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Partially fixed check for integer overflow when the long and int types have the same size. ------------------------------------------------------------------------ r11514 | vlefevre | 2017-05-22 09:23:57 +0000 (Mon, 22 May 2017) | 3 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] With assertions enabled, check that the number of characters to be written computed in partition_number() corresponds to what is really written. ------------------------------------------------------------------------ r11513 | vlefevre | 2017-05-22 09:17:51 +0000 (Mon, 22 May 2017) | 7 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Fixed the bug triggered by the da_DK locale test: the computation of the number of characters to be written was incorrect in partition_number() when the thousands separator was not empty. This bug was visible with size = 0 and could be visible near overflow on the number of characters. Note: the buggy code was introduced in r5288 (2008-02-15), which fixed other issues with the thousands separator. ------------------------------------------------------------------------ r11512 | vlefevre | 2017-05-22 09:13:33 +0000 (Mon, 22 May 2017) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Do more tests in the da_DK locale (these are the only tests for which the thousands separator is not empty). ------------------------------------------------------------------------ r11511 | vlefevre | 2017-05-22 08:56:55 +0000 (Mon, 22 May 2017) | 3 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Do more tests involving check_sprintf() in a loop (to test mpfr_snprintf with size = 0 more often), and call mixed() later in order to get failures without the use of %n first. ------------------------------------------------------------------------ r11510 | zimmerma | 2017-05-19 15:04:24 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/src/zeta.c get rid of computations with 'double' in mpfr_zeta ------------------------------------------------------------------------ r11509 | vlefevre | 2017-05-19 14:47:51 +0000 (Fri, 19 May 2017) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added a TODO about %n test. ------------------------------------------------------------------------ r11508 | vlefevre | 2017-05-19 14:04:46 +0000 (Fri, 19 May 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added MPFR_TESTS_FPE_TRAP documentation. ------------------------------------------------------------------------ r11507 | vlefevre | 2017-05-19 13:59:19 +0000 (Fri, 19 May 2017) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Corrected comment about MPFR_TESTS_FPE_TRAP. ------------------------------------------------------------------------ r11506 | vlefevre | 2017-05-19 13:57:15 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/doc/README.dev M /trunk/tests/tests.c Renamed MPFR_TESTS_DIVBYZERO to MPFR_TESTS_FPE_DIV (less confusing). In doc/README.dev, updated the corresponding description. ------------------------------------------------------------------------ r11505 | vlefevre | 2017-05-19 13:49:50 +0000 (Fri, 19 May 2017) | 1 line Changed paths: M /trunk/tests/tests.c [tests] Renamed MPFR_RAISE_EXCEPTIONS to MPFR_TESTS_FPE_TRAP. ------------------------------------------------------------------------ r11504 | vlefevre | 2017-05-19 13:45:10 +0000 (Fri, 19 May 2017) | 13 lines Changed paths: M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/td_div.c M /trunk/tests/tests.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tset_d.c M /trunk/tests/tset_float128.c M /trunk/tests/tset_ld.c [tests] Got rid of MPFR_TESTS_EXCEPTIONS (added in r11489 and above), which is redundant with MPFR_TESTS_DIVBYZERO and MPFR_ERRDIVZERO. The code related to these exceptions is now like r11488 (see the output of "svn diff -r11488"), but keeping the following changes: * Missing !defined(MPFR_ERRDIVZERO) tests added in r11498,11499. * In tests.c: - code related to traps (macro MPFR_RAISE_EXCEPTIONS, which will be renamed); - more detailed output about which FP exceptions occurred; - removal of "#ifdef MPFR_ERRDIVZERO" (as in r11493), as this is better with Automake 1.13+ (required by MPFR since r9375). Note: EXCEPTIONS_FLAG renamed to FPE_FLAGS, since EXCEPTIONS_FLAG is reserved by ISO C when is included. ------------------------------------------------------------------------ r11503 | vlefevre | 2017-05-19 11:54:29 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Do the locale_da_DK() test several times to yield a failure by default once the bug triggered by mixed() is fixed. ------------------------------------------------------------------------ r11502 | vlefevre | 2017-05-19 11:24:03 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Updated comment about r11501: the failure occurs with %n when the size argument of mpfr_vsnprintf is 0. ------------------------------------------------------------------------ r11501 | vlefevre | 2017-05-19 11:08:14 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Do more tests with %n. One now gets a failure by default (which occurs when one gets randsize <= 0). ------------------------------------------------------------------------ r11500 | vlefevre | 2017-05-19 10:45:25 +0000 (Fri, 19 May 2017) | 4 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Fixed portability issues: The va_end(3) man page of Linux Programmer's Manual says: "On some systems, va_end contains a closing '}' matching a '{' in va_start, so that both macros must occur in the same function, and in a way that allows this." ------------------------------------------------------------------------ r11499 | vlefevre | 2017-05-19 09:26:18 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] Disable tests with a division by 0 (which now occurs only with -DXDEBUG) if MPFR_ERRDIVZERO is defined. ------------------------------------------------------------------------ r11498 | vlefevre | 2017-05-19 09:20:19 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Disable an overflow test with a division by 0 (now occurs only with -DXDEBUG) if MPFR_ERRDIVZERO is defined. ------------------------------------------------------------------------ r11497 | vlefevre | 2017-05-19 08:54:32 +0000 (Fri, 19 May 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Details for "-DMPFR_TESTS_DIVBYZERO -DMPFR_ERRDIVZERO". ------------------------------------------------------------------------ r11496 | vlefevre | 2017-05-19 08:34:00 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] In mixed(), initialize n2 to an invalid value in order to ease failure analysis. ------------------------------------------------------------------------ r11495 | zimmerma | 2017-05-19 08:15:46 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/src/set_d.c removed leftover debug statement in last commit ------------------------------------------------------------------------ r11494 | zimmerma | 2017-05-19 08:14:58 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/src/set_d.c fix for clang bug (https://bugs.llvm.org//show_bug.cgi?id=17686) ------------------------------------------------------------------------ r11493 | vlefevre | 2017-05-19 08:04:05 +0000 (Fri, 19 May 2017) | 8 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Change for MPFR_TESTS_DIVBYZERO: in case of FE_DIVBYZERO or FE_INVALID, fail unconditionally, not just when MPFR_ERRDIVZERO is defined, otherwise one cannot see the output about the floating-point exceptions with "make check" (the test of MPFR_ERRDIVZERO here should have been removed after switching to Automake 1.13, which discards the output when the test program succeeds). Note: defining MPFR_TESTS_DIVBYZERO without MPFR_ERRDIVZERO is just for debugging. ------------------------------------------------------------------------ r11492 | zimmerma | 2017-05-19 08:03:19 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/td_div.c M /trunk/tests/tests.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tset_d.c M /trunk/tests/tset_float128.c M /trunk/tests/tset_ld.c more work on MPFR_TESTS_EXCEPTIONS ------------------------------------------------------------------------ r11491 | vlefevre | 2017-05-19 07:29:24 +0000 (Fri, 19 May 2017) | 3 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Re-added code testing FE_DIVBYZERO and FE_INVALID with -DMPFR_TESTS_DIVBYZERO -DMPFR_ERRDIVZERO, because MPFR_TESTS_EXCEPTIONS is not ready yet. ------------------------------------------------------------------------ r11490 | vlefevre | 2017-05-19 07:04:23 +0000 (Fri, 19 May 2017) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output IEEE floats status. ------------------------------------------------------------------------ r11489 | zimmerma | 2017-05-19 06:09:23 +0000 (Fri, 19 May 2017) | 2 lines Changed paths: M /trunk/tests/tests.c check for fp exceptions (experimental) ------------------------------------------------------------------------ r11488 | vlefevre | 2017-05-17 14:08:40 +0000 (Wed, 17 May 2017) | 1 line Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Added/updated comments. ------------------------------------------------------------------------ r11487 | vlefevre | 2017-05-17 13:34:28 +0000 (Wed, 17 May 2017) | 2 lines Changed paths: M /trunk/tests/tcmp2.c [tests/tcmp2.c] Added tests with equal numbers, possibly of different sizes. ------------------------------------------------------------------------ r11486 | vlefevre | 2017-05-17 10:15:30 +0000 (Wed, 17 May 2017) | 1 line Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Corrected comments. ------------------------------------------------------------------------ r11485 | vlefevre | 2017-05-17 06:46:27 +0000 (Wed, 17 May 2017) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] In the detection of reserved macro names, skip ERR from src/mpfr-gmp.h (this is a special case). ------------------------------------------------------------------------ r11484 | vlefevre | 2017-05-17 06:31:23 +0000 (Wed, 17 May 2017) | 1 line Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] Made PRINT_ERR_MISC more robust. ------------------------------------------------------------------------ r11483 | vlefevre | 2017-05-17 06:27:14 +0000 (Wed, 17 May 2017) | 2 lines Changed paths: M /trunk/tests/tfma.c M /trunk/tests/tfms.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tsi_op.c [tests/*.c] Renamed the remaining macros whose names are reserved by ISO C when is included. ------------------------------------------------------------------------ r11482 | vlefevre | 2017-05-16 13:44:56 +0000 (Tue, 16 May 2017) | 1 line Changed paths: M /trunk/tests/texceptions.c [tests/texceptions.c] Made code formatting consistent. ------------------------------------------------------------------------ r11481 | vlefevre | 2017-05-16 13:41:49 +0000 (Tue, 16 May 2017) | 3 lines Changed paths: M /trunk/tests/tcmpabs.c M /trunk/tests/texceptions.c M /trunk/tests/tpow_z.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c [tests/*.c] Renamed "ERROR" macro (macro name reserved by ISO C when is included) to "PRINT_ERROR", and made the macro more robust. ------------------------------------------------------------------------ r11480 | vlefevre | 2017-05-16 13:21:15 +0000 (Tue, 16 May 2017) | 2 lines Changed paths: M /trunk/src/get_f.c M /trunk/src/mpfr-gmp.h M /trunk/src/set_f.c M /trunk/tests/tget_f.c Define the EXP() macro in src/mpfr-gmp.h only when needed (macro name reserved by ISO C when is included). ------------------------------------------------------------------------ r11479 | vlefevre | 2017-05-16 10:35:35 +0000 (Tue, 16 May 2017) | 5 lines Changed paths: M /trunk/src/gamma.c [src/gamma.c] Got rid of the EXPM1_STR macro (macro name reserved by ISO C when is included), made no longer interesting by using mpfr_set_str_binary only once and another temporary variable. At the same time, replaced the usual allocation by a GROUP allocation (more efficient). ------------------------------------------------------------------------ r11478 | vlefevre | 2017-05-15 15:39:18 +0000 (Mon, 15 May 2017) | 1 line Changed paths: M /trunk/tests/tcheck.c [tests/tcheck.c] Code reformatting (GNU coding style). ------------------------------------------------------------------------ r11477 | vlefevre | 2017-05-15 15:27:29 +0000 (Mon, 15 May 2017) | 2 lines Changed paths: M /trunk/tests/tcheck.c [tests/tcheck.c] Renamed "ERROR" macro (macro name reserved by ISO C when is included) to "PRINT_ERROR". ------------------------------------------------------------------------ r11476 | vlefevre | 2017-05-15 15:19:11 +0000 (Mon, 15 May 2017) | 8 lines Changed paths: M /trunk/src/jn.c M /trunk/src/mpfr-impl.h M /trunk/tests/mpfr-test.h M /trunk/tests/tabs.c M /trunk/tests/tagm.c M /trunk/tests/tasin.c M /trunk/tests/tatan.c M /trunk/tests/terf.c M /trunk/tests/tgamma.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tpow_all.c M /trunk/tests/tsin_cos.c M /trunk/tests/tstckintc.c M /trunk/tests/tstrtofr.c Do not define macro names starting with "SIG" (+ uppercase letter) as they are reserved when is included (ISO C, 7.31.7), which happens to be the case in tests/tests.c, which also includes tests/mpfr-test.h and src/mpfr-impl.h indirectly. * src/mpfr-impl.h, tests/mpfr-test.h: renamed macros: SIGN → VSIGN SIGN_RAND → RAND_SIGN * {src,tests}/*.{c,h}: updated the names in the use of these macros. ------------------------------------------------------------------------ r11475 | vlefevre | 2017-05-15 14:53:04 +0000 (Mon, 15 May 2017) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Added a comment about the definition of reserved identifiers (in particular, macro names). ------------------------------------------------------------------------ r11474 | vlefevre | 2017-05-15 14:47:06 +0000 (Mon, 15 May 2017) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect the definition of reserved macro names. ------------------------------------------------------------------------ r11473 | vlefevre | 2017-05-15 14:20:37 +0000 (Mon, 15 May 2017) | 4 lines Changed paths: M /trunk/src/bernoulli.c [src/bernoulli.c] Changed isprime to is_prime in order to avoid obscure problems if is added to mpfr-impl.h in the future (or if this function is made external). See ISO C "Future library directions", Clause 7.31.2 "Character handling ". ------------------------------------------------------------------------ r11472 | vlefevre | 2017-05-12 13:01:17 +0000 (Fri, 12 May 2017) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Improved comments about assertions and MPFR_ASSUME(). ------------------------------------------------------------------------ r11471 | vlefevre | 2017-05-09 15:33:20 +0000 (Tue, 09 May 2017) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] Mention the problem when almost all the tests fails with a message "Incorrect MPFR version! ...". ------------------------------------------------------------------------ r11470 | vlefevre | 2017-05-09 13:02:22 +0000 (Tue, 09 May 2017) | 3 lines Changed paths: M /trunk/tests/tl2b.c M /trunk/tests/tpow_all.c Increase the buffer sizes even more, and added a comment. This may be better in case of quick future changes (possibly for debugging), without checking carefully. For the tests, optimal code is useless. ------------------------------------------------------------------------ r11469 | zimmerma | 2017-05-09 10:47:36 +0000 (Tue, 09 May 2017) | 3 lines Changed paths: M /trunk/tests/tl2b.c M /trunk/tests/tpow_all.c fixed bugs found by gcc 7.1.0 (-Werror=format-overflow=) [VL] The MPFR code was correct. This is actually a bug in GCC: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79257 ------------------------------------------------------------------------ r11468 | vlefevre | 2017-05-09 09:11:57 +0000 (Tue, 09 May 2017) | 1 line Changed paths: M /trunk/doc/FAQ.html [doc] Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r11461 | vlefevre | 2017-05-05 08:17:09 +0000 (Fri, 05 May 2017) | 6 lines Changed paths: M /trunk/tools/mbench/timp.h [tools/mbench/timp.h] Updated TIMP_MEASURE() to handle the case where the return value is 0: this probably means that timp_overhead was too large and incorrect. In this case, TIMP_OVERHEAD() is called again to recompute timp_overhead and the timing is redone. Note: if we do not call TIMP_OVERHEAD() again, then TIMP_MEASURE() loops indefinitely, meaning that timp_overhead was really too large. ------------------------------------------------------------------------ r11460 | vlefevre | 2017-05-05 07:42:06 +0000 (Fri, 05 May 2017) | 1 line Changed paths: M /trunk/tools/mbench/timp.h [tools/mbench/timp.h] Comment at the wrong place. Fixed. ------------------------------------------------------------------------ r11459 | vlefevre | 2017-05-05 07:40:54 +0000 (Fri, 05 May 2017) | 1 line Changed paths: M /trunk/tools/mbench/timp.h [tools/mbench/timp.h] Added a comment about r11458. ------------------------------------------------------------------------ r11458 | vlefevre | 2017-05-04 17:07:27 +0000 (Thu, 04 May 2017) | 1 line Changed paths: M /trunk/tools/mbench/timp.h [tools/mbench/timp.h] Fixed overflows on unsigned arithmetic. ------------------------------------------------------------------------ r11457 | vlefevre | 2017-05-04 16:56:59 +0000 (Thu, 04 May 2017) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5.h [tools/mbench/mfv5.h] Increased values from 2^60-1 to 2^64-1 (it is possible to get more than 2^60-1 cycles in practice!). ------------------------------------------------------------------------ r11452 | vlefevre | 2017-05-02 14:28:40 +0000 (Tue, 02 May 2017) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Clarified proof for tiny arguments again. ------------------------------------------------------------------------ r11451 | vlefevre | 2017-05-02 14:07:25 +0000 (Tue, 02 May 2017) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Clarified proof for tiny arguments. ------------------------------------------------------------------------ r11450 | vlefevre | 2017-05-02 12:38:02 +0000 (Tue, 02 May 2017) | 3 lines Changed paths: M /trunk/src/gamma.c [src/gamma.c] In the proof for tiny arguments: * Simplification suggested by Paul. * Attempt to clarify the end. ------------------------------------------------------------------------ r11449 | zimmerma | 2017-05-02 09:23:25 +0000 (Tue, 02 May 2017) | 2 lines Changed paths: M /trunk/tools/mbench/timp.h added comment ------------------------------------------------------------------------ r11448 | zimmerma | 2017-05-02 08:10:53 +0000 (Tue, 02 May 2017) | 2 lines Changed paths: M /trunk/tools/mbench/timp.h added reference for mbench (rdtsc vs rdtscp) ------------------------------------------------------------------------ r11447 | vlefevre | 2017-04-28 15:41:36 +0000 (Fri, 28 Apr 2017) | 2 lines Changed paths: M /trunk/src/gamma.c [src/gamma.c] Tiny arguments: corrected a typo and added a TODO (one might get a better condition). ------------------------------------------------------------------------ r11446 | vlefevre | 2017-04-28 15:19:16 +0000 (Fri, 28 Apr 2017) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Corrections in a proof for tiny arguments. Added a TODO. ------------------------------------------------------------------------ r11445 | vlefevre | 2017-04-27 12:00:50 +0000 (Thu, 27 Apr 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about the MPFR_GENERIC_ABI macro. ------------------------------------------------------------------------ r11444 | vlefevre | 2017-04-27 11:45:24 +0000 (Thu, 27 Apr 2017) | 1 line Changed paths: M /trunk/src/sqr.c [src/sqr.c] Corrected a comment. ------------------------------------------------------------------------ r11443 | vlefevre | 2017-04-27 11:44:22 +0000 (Thu, 27 Apr 2017) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Blank line like in add1sp.c, sub1sp.c, etc. ------------------------------------------------------------------------ r11442 | vlefevre | 2017-04-27 11:42:50 +0000 (Thu, 27 Apr 2017) | 1 line Changed paths: M /trunk/src/sqr.c [src/sqr.c] Blank lines and comment like in add1sp.c, sub1sp.c, etc. ------------------------------------------------------------------------ r11441 | vlefevre | 2017-04-27 11:38:51 +0000 (Thu, 27 Apr 2017) | 3 lines Changed paths: M /trunk/src/mul.c [src/mul.c] Like in add1sp.c and sub1sp.c, do not define the specific functions for low precision if MPFR_GENERIC_ABI is defined (they are not called in such a case). ------------------------------------------------------------------------ r11440 | vlefevre | 2017-04-27 11:31:50 +0000 (Thu, 27 Apr 2017) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Added blank lines for readability (like in add1sp.c). ------------------------------------------------------------------------ r11439 | vlefevre | 2017-04-27 11:12:24 +0000 (Thu, 27 Apr 2017) | 1 line Changed paths: M /trunk/tools/mbench/timp.h s/interruption/interrupt/ ------------------------------------------------------------------------ r11438 | vlefevre | 2017-04-27 09:23:51 +0000 (Thu, 27 Apr 2017) | 1 line Changed paths: M /trunk/tools/mbench/Makefile M /trunk/tools/mbench/timp.h [mbench] Updated copyright years. Added a comment. ------------------------------------------------------------------------ r11437 | zimmerma | 2017-04-27 08:22:31 +0000 (Thu, 27 Apr 2017) | 2 lines Changed paths: M /trunk/tools/mbench/Makefile M /trunk/tools/mbench/timp.h better detection of rdtscp ------------------------------------------------------------------------ r11436 | vlefevre | 2017-04-18 17:18:54 +0000 (Tue, 18 Apr 2017) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Updated a comment, with reference to GCC bug 80454. ------------------------------------------------------------------------ r11434 | vlefevre | 2017-04-09 13:06:36 +0000 (Sun, 09 Apr 2017) | 1 line Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Avoid integer overflow from r11411 with 32-bit long. ------------------------------------------------------------------------ r11433 | vlefevre | 2017-04-07 15:15:34 +0000 (Fri, 07 Apr 2017) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Updated test to check that the snprintf function (C99) is not used. ------------------------------------------------------------------------ r11430 | vlefevre | 2017-04-07 14:52:12 +0000 (Fri, 07 Apr 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected an English error. ------------------------------------------------------------------------ r11429 | vlefevre | 2017-04-07 13:59:03 +0000 (Fri, 07 Apr 2017) | 3 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Fixed bug triggered by the test added in r11428: the size field of struct printf_spec must have type size_t, not int, because the size argument of mpfr_snprintf has type size_t. ------------------------------------------------------------------------ r11428 | vlefevre | 2017-04-07 13:53:58 +0000 (Fri, 07 Apr 2017) | 3 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added a test that fails on 64-bit machines (4-byte int, 8-byte size_t), due to the use of mpfr_snprintf with required size = (size_t) UINT_MAX + 1. ------------------------------------------------------------------------ r11427 | vlefevre | 2017-04-07 08:18:47 +0000 (Fri, 07 Apr 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Minor changes. ------------------------------------------------------------------------ r11426 | vlefevre | 2017-04-07 08:09:46 +0000 (Fri, 07 Apr 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Comment re-indentation. ------------------------------------------------------------------------ r11425 | vlefevre | 2017-04-07 07:21:47 +0000 (Fri, 07 Apr 2017) | 1 line Changed paths: M /trunk/src/ubf.c [src/ubf.c] Renamed mpfr_get_zexp to mpfr_init_get_zexp for clarity. ------------------------------------------------------------------------ r11424 | vlefevre | 2017-04-06 23:37:51 +0000 (Thu, 06 Apr 2017) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed silly typo in MPFR_UBF_CLEAR_EXP() yielding either an obscure memory leak or a crash in some mpfr_fmma calls. We would really need formal proofs on the code... Or avoid macros. ------------------------------------------------------------------------ r11423 | zimmerma | 2017-04-06 17:51:39 +0000 (Thu, 06 Apr 2017) | 2 lines Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] added one test ------------------------------------------------------------------------ r11422 | zimmerma | 2017-04-06 17:15:03 +0000 (Thu, 06 Apr 2017) | 2 lines Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] fixed test ------------------------------------------------------------------------ r11421 | vlefevre | 2017-04-06 17:06:12 +0000 (Thu, 06 Apr 2017) | 1 line Changed paths: M /trunk/src/add1.c [src/add1.c] Updated comment about underflow. ------------------------------------------------------------------------ r11420 | vlefevre | 2017-04-06 17:01:59 +0000 (Thu, 06 Apr 2017) | 3 lines Changed paths: M /trunk/src/add1.c [src/add1.c] Handling of UBF and overflow/underflow. * Added a MPFR_ASSERTD related to the overflow code. * Bug fix: handle underflow, possible if UBF input(s). ------------------------------------------------------------------------ r11419 | zimmerma | 2017-04-06 16:02:27 +0000 (Thu, 06 Apr 2017) | 2 lines Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] added another test (currently fails) ------------------------------------------------------------------------ r11418 | vlefevre | 2017-04-06 15:24:33 +0000 (Thu, 06 Apr 2017) | 2 lines Changed paths: M /trunk/src/sub1.c [src/sub1.c] Bug fix: underflow was not detected in the case cancel = 0 with UBF numbers. At the same time, refactored the related code a bit. ------------------------------------------------------------------------ r11417 | vlefevre | 2017-04-06 13:45:27 +0000 (Thu, 06 Apr 2017) | 1 line Changed paths: M /trunk/tests [tests] Added tbeta to svn:ignore property. ------------------------------------------------------------------------ r11416 | vlefevre | 2017-04-06 13:24:35 +0000 (Thu, 06 Apr 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Formatting of the mpfr_can_round example for 80-column terminals + GNU coding style. ------------------------------------------------------------------------ r11415 | vlefevre | 2017-04-06 12:53:23 +0000 (Thu, 06 Apr 2017) | 1 line Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] Updated comment about bug20170405 (fixed in r11414). ------------------------------------------------------------------------ r11414 | vlefevre | 2017-04-06 12:47:03 +0000 (Thu, 06 Apr 2017) | 1 line Changed paths: M /trunk/src/sub1.c [src/sub1.c] Also corrected the comment about overflow detection. ------------------------------------------------------------------------ r11413 | vlefevre | 2017-04-06 12:45:14 +0000 (Thu, 06 Apr 2017) | 1 line Changed paths: M /trunk/src/sub1.c [src/sub1.c] Really fixed overflow detection (r11412 is broken). ------------------------------------------------------------------------ r11412 | vlefevre | 2017-04-06 12:43:01 +0000 (Thu, 06 Apr 2017) | 4 lines Changed paths: M /trunk/src/sub1.c [src/sub1.c] Fixed/improved UBF cases. * Added an assertion (usual MPFR limitation with huge precisions, affecting 32-bit ABI only in practice). * Fixed overflow detection. ------------------------------------------------------------------------ r11411 | vlefevre | 2017-04-06 11:56:58 +0000 (Thu, 06 Apr 2017) | 3 lines Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] In check_long_string(), which is called when MPFR_CHECK_LARGEMEM is defined, increase tests_memory_limit if need be in order to avoid an obvious failure due to insufficient memory. ------------------------------------------------------------------------ r11410 | vlefevre | 2017-04-06 11:47:59 +0000 (Thu, 06 Apr 2017) | 3 lines Changed paths: M /trunk/tests/memory.c [tests/memory.c] Write all error messages to stderr in order to make sure that they remain visible when the standard output is redirected (e.g. in tprintf). Rewrote the messages in a consistent way. ------------------------------------------------------------------------ r11409 | vlefevre | 2017-04-06 11:20:31 +0000 (Thu, 06 Apr 2017) | 1 line Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] Fixed return type of test added in r11407. ------------------------------------------------------------------------ r11408 | vlefevre | 2017-04-06 11:18:53 +0000 (Thu, 06 Apr 2017) | 3 lines Changed paths: M /trunk/tests/tinits.c [tests/tinits.c] When MPFR_CHECK_LARGEMEM is defined, increase tests_memory_limit if need be in order to avoid an obvious failure due to insufficient memory. ------------------------------------------------------------------------ r11407 | zimmerma | 2017-04-06 11:00:38 +0000 (Thu, 06 Apr 2017) | 3 lines Changed paths: M /trunk/tests/tfmma.c added test that triggers an error (see https://sympa.inria.fr/sympa/arc/mpfr/2017-04/msg00016.html) ------------------------------------------------------------------------ r11406 | vlefevre | 2017-04-05 12:46:15 +0000 (Wed, 05 Apr 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11405 | vlefevre | 2017-04-05 08:35:18 +0000 (Wed, 05 Apr 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] More details about errno. ------------------------------------------------------------------------ r11404 | vlefevre | 2017-04-04 14:43:40 +0000 (Tue, 04 Apr 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a paragraph about the use of errno. ------------------------------------------------------------------------ r11403 | vlefevre | 2017-04-04 14:19:31 +0000 (Tue, 04 Apr 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Details about EOVERFLOW. ------------------------------------------------------------------------ r11402 | zimmerma | 2017-04-04 06:22:46 +0000 (Tue, 04 Apr 2017) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] added test in bug20161217() ------------------------------------------------------------------------ r11401 | vlefevre | 2017-04-03 13:04:23 +0000 (Mon, 03 Apr 2017) | 2 lines Changed paths: M /trunk/TODO [TODO] Update about functions returning a native floating-point value and underflow/overflow. ------------------------------------------------------------------------ r11400 | vlefevre | 2017-04-03 11:46:48 +0000 (Mon, 03 Apr 2017) | 2 lines Changed paths: M /trunk/src/atanh.c [src/atanh.c] Removed comment giving the "optimal" working precision (I do not see any proof in algorithms.tex, and it seems incorrect). ------------------------------------------------------------------------ r11399 | vlefevre | 2017-04-03 11:28:24 +0000 (Mon, 03 Apr 2017) | 2 lines Changed paths: M /trunk/TODO M /trunk/src/log1p.c [TODO,src/log1p.c] log1p(x) on small x should also be improved instead of computing log(1+x). ------------------------------------------------------------------------ r11398 | vlefevre | 2017-04-03 09:16:27 +0000 (Mon, 03 Apr 2017) | 1 line Changed paths: M /trunk/TODO M /trunk/src/atanh.c [TODO,src/atanh.c] Suggest a faster formula for atanh(x) on small x. ------------------------------------------------------------------------ r11397 | vlefevre | 2017-04-03 09:04:04 +0000 (Mon, 03 Apr 2017) | 1 line Changed paths: M /trunk/src/atanh.c [src/atanh.c] Cosmetic changes (comments and whitespace). ------------------------------------------------------------------------ r11396 | vlefevre | 2017-04-03 08:24:03 +0000 (Mon, 03 Apr 2017) | 1 line Changed paths: M /trunk/TODO [TODO] Update about ERANGE. ------------------------------------------------------------------------ r11395 | vlefevre | 2017-03-27 14:57:20 +0000 (Mon, 27 Mar 2017) | 1 line Changed paths: M /trunk/tests/tbeta.c [tests/tbeta.c] Fixed a macro (use of mpfr_printf, missing cast). ------------------------------------------------------------------------ r11390 | vlefevre | 2017-03-09 10:58:49 +0000 (Thu, 09 Mar 2017) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mention how to find the full list of bug fixes. ------------------------------------------------------------------------ r11388 | vlefevre | 2017-03-09 09:45:02 +0000 (Thu, 09 Mar 2017) | 1 line Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Updated comments about bug20161217 and bug20170308. ------------------------------------------------------------------------ r11386 | vlefevre | 2017-03-09 09:28:47 +0000 (Thu, 09 Mar 2017) | 1 line Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Added comments about bug20161217 and bug20170308. ------------------------------------------------------------------------ r11385 | vlefevre | 2017-03-09 01:34:37 +0000 (Thu, 09 Mar 2017) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Updated comment: bug20170308 checks the same bug as bug20161217. ------------------------------------------------------------------------ r11384 | vlefevre | 2017-03-09 01:27:39 +0000 (Thu, 09 Mar 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11383 | zimmerma | 2017-03-08 20:58:00 +0000 (Wed, 08 Mar 2017) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c added non-regression test ------------------------------------------------------------------------ r11382 | zimmerma | 2017-03-07 14:12:39 +0000 (Tue, 07 Mar 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] results should not depend on machine rounding mode/precision ------------------------------------------------------------------------ r11381 | vlefevre | 2017-03-06 10:55:45 +0000 (Mon, 06 Mar 2017) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Minor corrections. ------------------------------------------------------------------------ r11380 | vlefevre | 2017-03-05 02:11:52 +0000 (Sun, 05 Mar 2017) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Added a comment about shiftq. ------------------------------------------------------------------------ r11379 | vlefevre | 2017-02-28 11:11:29 +0000 (Tue, 28 Feb 2017) | 1 line Changed paths: M /trunk/tests/tbeta.c [tests/tbeta.c] C89 compatibility and some code reformatting. ------------------------------------------------------------------------ r11378 | vlefevre | 2017-02-28 10:10:44 +0000 (Tue, 28 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Slightly improved comments. ------------------------------------------------------------------------ r11377 | vlefevre | 2017-02-28 10:06:10 +0000 (Tue, 28 Feb 2017) | 2 lines Changed paths: M /trunk/src/beta.c [src/beta.c] Fixed a bug in reduced exponent range (not detected by the current tests). ------------------------------------------------------------------------ r11376 | vlefevre | 2017-02-28 10:02:51 +0000 (Tue, 28 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Added a comment for Beta(0,negative integer). ------------------------------------------------------------------------ r11375 | vlefevre | 2017-02-28 09:53:31 +0000 (Tue, 28 Feb 2017) | 2 lines Changed paths: M /trunk/src/beta.c [src/beta.c] Eventually fixed the case z or w is 0 (note: r11374 did also other unwanted changes, reverted here). ------------------------------------------------------------------------ r11374 | vlefevre | 2017-02-28 09:40:01 +0000 (Tue, 28 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Reverted my changes (this was incorrect). ------------------------------------------------------------------------ r11373 | vlefevre | 2017-02-28 09:32:01 +0000 (Tue, 28 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Fixed special cases. ------------------------------------------------------------------------ r11372 | vlefevre | 2017-02-28 09:10:28 +0000 (Tue, 28 Feb 2017) | 2 lines Changed paths: M /trunk/src/beta.c [src/beta.c] Added comments and some corrections (incomplete) for the case "z or w is 0". ------------------------------------------------------------------------ r11371 | zimmerma | 2017-02-28 08:06:05 +0000 (Tue, 28 Feb 2017) | 2 lines Changed paths: M /trunk/src/beta.c [src/beta.c] fixed case z or w is 0 ------------------------------------------------------------------------ r11370 | zimmerma | 2017-02-28 07:11:09 +0000 (Tue, 28 Feb 2017) | 4 lines Changed paths: M /trunk/tests/tbeta.c [tests/tbeta.c] patch from Cade Brown - signed zeros are checked in is_same - the case above (summing non-integer negative z, w which sum to a negative integer) ------------------------------------------------------------------------ r11369 | zimmerma | 2017-02-27 22:00:55 +0000 (Mon, 27 Feb 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] added mpfr_beta in "Added Functions" ------------------------------------------------------------------------ r11368 | vlefevre | 2017-02-27 15:48:12 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Use MPFR_ADD_PREC. ------------------------------------------------------------------------ r11367 | vlefevre | 2017-02-27 15:42:30 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Updated comments; added a FIXME. ------------------------------------------------------------------------ r11366 | zimmerma | 2017-02-27 15:10:45 +0000 (Mon, 27 Feb 2017) | 3 lines Changed paths: M /trunk/src/jn.c [src/jn.c] in case the first Ziv loop failed, take into account the number of lost bits ------------------------------------------------------------------------ r11365 | vlefevre | 2017-02-27 15:06:41 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Use MPFR_ARE_SINGULAR. ------------------------------------------------------------------------ r11364 | zimmerma | 2017-02-27 14:22:29 +0000 (Mon, 27 Feb 2017) | 2 lines Changed paths: M /trunk/src/beta.c [src/beta.c] fix in case z and w are not integers and z+w is a nonpositive integer ------------------------------------------------------------------------ r11363 | zimmerma | 2017-02-27 12:07:35 +0000 (Mon, 27 Feb 2017) | 2 lines Changed paths: A /trunk/src/odd_p.c [src/odd_p.c] new source file ------------------------------------------------------------------------ r11362 | zimmerma | 2017-02-27 12:07:15 +0000 (Mon, 27 Feb 2017) | 5 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/beta.c M /trunk/src/mpfr-impl.h M /trunk/src/pow.c [src/Makefile.am] new file odd_p.c [src/beta.c] fixed bug [src/mpfr-impl.h] renamed mpfr_is_odd into mpfr_odd_p [src/pow.c] moved mpfr_is_odd (renamed mpfr_odd_p) into separate file ------------------------------------------------------------------------ r11361 | vlefevre | 2017-02-27 11:10:11 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Added a FIXME (test failure with assertions). ------------------------------------------------------------------------ r11360 | vlefevre | 2017-02-27 10:48:32 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Removed an unusual space. ------------------------------------------------------------------------ r11359 | vlefevre | 2017-02-27 10:42:30 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/tests/tbuildopt.c [tests/tbuildopt.c] Added calls to tests_start_mpfr and tests_end_mpfr. ------------------------------------------------------------------------ r11358 | vlefevre | 2017-02-27 10:35:25 +0000 (Mon, 27 Feb 2017) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Added a test to check that the usual test programs call tests_start_mpfr and tests_end_mpfr. ------------------------------------------------------------------------ r11357 | zimmerma | 2017-02-27 10:27:40 +0000 (Mon, 27 Feb 2017) | 5 lines Changed paths: M /trunk/src/beta.c M /trunk/src/mpfr-impl.h M /trunk/src/pow.c M /trunk/tests/tbeta.c [src/beta.c] several fixes [src/pow.c] renamed is_odd to mpfr_is_odd, and export it [src/mpfr-impl.h] export mpfr_is_odd as internal function [tests/tbeta.c] added generic tests ------------------------------------------------------------------------ r11356 | vlefevre | 2017-02-27 09:43:46 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/tests/tbeta.c [tests/tbeta.c] Added missing void in prototype. ------------------------------------------------------------------------ r11355 | vlefevre | 2017-02-27 09:32:39 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/NEWS M /trunk/src/set.c Removed trailing spaces. ------------------------------------------------------------------------ r11354 | vlefevre | 2017-02-27 08:30:31 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/tests/tbeta.c [tests/tbeta.c] Fixed the usage of MPFR types. ------------------------------------------------------------------------ r11353 | vlefevre | 2017-02-27 08:28:03 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/tests/tbeta.c [tests/tbeta.c] Minor correction. Added a FIXME and a TODO. ------------------------------------------------------------------------ r11352 | zimmerma | 2017-02-27 07:11:05 +0000 (Mon, 27 Feb 2017) | 2 lines Changed paths: M /trunk/tests/tbeta.c [tests/tbeta.c] GNU style and C89 portability ------------------------------------------------------------------------ r11351 | zimmerma | 2017-02-27 06:56:40 +0000 (Mon, 27 Feb 2017) | 2 lines Changed paths: M /trunk/TODO [TODO] removed beta entry ------------------------------------------------------------------------ r11350 | zimmerma | 2017-02-27 06:56:03 +0000 (Mon, 27 Feb 2017) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am M /trunk/src/mpfr.h M /trunk/tests/Makefile.am new function mpfr_beta ------------------------------------------------------------------------ r11349 | zimmerma | 2017-02-27 06:55:23 +0000 (Mon, 27 Feb 2017) | 4 lines Changed paths: A /trunk/tests/tbeta.c [tests/tbeta.c] test file for mpfr_beta, contributed by Cade Brown from ChemicalDevelopment (this commit is the file as it was contributed, except the mpfr-test.h include) ------------------------------------------------------------------------ r11348 | vlefevre | 2017-02-27 02:25:55 +0000 (Mon, 27 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Portability corrections. ------------------------------------------------------------------------ r11347 | zimmerma | 2017-02-26 22:13:00 +0000 (Sun, 26 Feb 2017) | 2 lines Changed paths: M /trunk/src/beta.c [src/beta.c] fix for exact case beta(1,2^k) for k negative integer ------------------------------------------------------------------------ r11346 | zimmerma | 2017-02-26 15:47:17 +0000 (Sun, 26 Feb 2017) | 2 lines Changed paths: M /trunk/src/beta.c [src/beta.c] special values are now implemented (should be reviewed) ------------------------------------------------------------------------ r11343 | vlefevre | 2017-02-25 22:52:23 +0000 (Sat, 25 Feb 2017) | 1 line Changed paths: M /trunk/TODO [TODO] mpfr_root: replace "obsolete" by "deprecated" (the right word). ------------------------------------------------------------------------ r11342 | vlefevre | 2017-02-25 22:46:23 +0000 (Sat, 25 Feb 2017) | 1 line Changed paths: M /trunk/TODO [TODO] Update about rootn. ------------------------------------------------------------------------ r11341 | vlefevre | 2017-02-25 22:31:48 +0000 (Sat, 25 Feb 2017) | 1 line Changed paths: M /trunk/TODO [TODO] Added some propositions about rootn. ------------------------------------------------------------------------ r11340 | zimmerma | 2017-02-25 13:58:10 +0000 (Sat, 25 Feb 2017) | 2 lines Changed paths: M /trunk/src/root.c [src/root.c] added comment ------------------------------------------------------------------------ r11339 | zimmerma | 2017-02-25 07:21:08 +0000 (Sat, 25 Feb 2017) | 2 lines Changed paths: M /trunk/doc/algorithms.tex added reference ------------------------------------------------------------------------ r11338 | vlefevre | 2017-02-23 13:00:06 +0000 (Thu, 23 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Call mpfr_check_range as usual. ------------------------------------------------------------------------ r11337 | vlefevre | 2017-02-23 12:18:10 +0000 (Thu, 23 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Extended the exponent range for the generic case. ------------------------------------------------------------------------ r11336 | vlefevre | 2017-02-23 12:15:45 +0000 (Thu, 23 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Added a comment. ------------------------------------------------------------------------ r11335 | vlefevre | 2017-02-23 12:14:19 +0000 (Thu, 23 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Various code improvement / fixes. ------------------------------------------------------------------------ r11334 | vlefevre | 2017-02-23 11:49:35 +0000 (Thu, 23 Feb 2017) | 1 line Changed paths: M /trunk/src/beta.c [src/beta.c] Added a FIXME. ------------------------------------------------------------------------ r11333 | zimmerma | 2017-02-23 11:10:39 +0000 (Thu, 23 Feb 2017) | 3 lines Changed paths: M /trunk/src/Makefile.am A /trunk/src/beta.c M /trunk/src/mpfr.h [src/beta.c] added beta function (work in progress, not yet fully implemented, and not tested) ------------------------------------------------------------------------ r11332 | zimmerma | 2017-02-21 14:06:56 +0000 (Tue, 21 Feb 2017) | 2 lines Changed paths: M /trunk/src/fmma.c M /trunk/src/set.c M /trunk/src/ubf.c [src/fmma.c] speedup of mpfr_fmma and mpfr_fmms ------------------------------------------------------------------------ r11331 | zimmerma | 2017-02-21 12:40:52 +0000 (Tue, 21 Feb 2017) | 3 lines Changed paths: M /trunk/src/fma.c M /trunk/src/mpfr-impl.h M /trunk/src/set.c [src/fma.c] speedup of mpfr_fma when all operands have the same precision (less than one full limb) ------------------------------------------------------------------------ r11330 | vlefevre | 2017-02-21 10:28:04 +0000 (Tue, 21 Feb 2017) | 2 lines Changed paths: M /trunk/NEWS [NEWS] Note that the position of "const" in the mpfr_sum prototype has been fixed (in case writers of interfaces for MPFR use that). ------------------------------------------------------------------------ r11328 | vlefevre | 2017-02-21 09:44:35 +0000 (Tue, 21 Feb 2017) | 1 line Changed paths: M /trunk/src/get_d64.c M /trunk/src/set_d64.c "a IEEE 754r decimal64 float" → "an IEEE 754-2008 decimal64 float". ------------------------------------------------------------------------ r11327 | zimmerma | 2017-02-20 18:03:00 +0000 (Mon, 20 Feb 2017) | 2 lines Changed paths: M /trunk/src/fma.c [src/fma.c] speedup mpfr_fma for 1 limb ------------------------------------------------------------------------ r11326 | zimmerma | 2017-02-20 18:01:15 +0000 (Mon, 20 Feb 2017) | 2 lines Changed paths: M /trunk/src/fms.c 754R -> 754-2008 ------------------------------------------------------------------------ r11325 | vlefevre | 2017-02-20 02:36:50 +0000 (Mon, 20 Feb 2017) | 1 line Changed paths: M /trunk/src/sqrt.c Removed trailing spaces. ------------------------------------------------------------------------ r11324 | vlefevre | 2017-02-20 02:32:10 +0000 (Mon, 20 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Solved the FIXME for %g on easy cases. ------------------------------------------------------------------------ r11323 | vlefevre | 2017-02-17 12:54:47 +0000 (Fri, 17 Feb 2017) | 2 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] mpfr_reflection_overflow: reverted r11322 as the rounding direction was correct; it was a comment that was incorrect, now fixed. ------------------------------------------------------------------------ r11322 | vlefevre | 2017-02-17 12:47:41 +0000 (Fri, 17 Feb 2017) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] mpfr_reflection_overflow: fixed a rounding direction. ------------------------------------------------------------------------ r11321 | vlefevre | 2017-02-17 12:39:56 +0000 (Fri, 17 Feb 2017) | 5 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] Improvements of mpfr_reflection_overflow: * Moved identical parts of the code at the beginning of if/else blocks as a single part before the "if". * When the rounding mode doesn't matter (exact result), use MPFR_RNDN. * Updated comments (making them more consistent at the same time). ------------------------------------------------------------------------ r11320 | zimmerma | 2017-02-16 19:16:58 +0000 (Thu, 16 Feb 2017) | 2 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] added more comments for the overflow case ------------------------------------------------------------------------ r11319 | vlefevre | 2017-02-14 15:37:03 +0000 (Tue, 14 Feb 2017) | 3 lines Changed paths: M /trunk/doc/sum.txt M /trunk/src/sum.c [src/sum.c] Added a note about why one uses "const mpfr_ptr *x" in the prototypes instead of "const mpfr_srcptr *x" (old info from r5381). [doc/sum.txt] Fixed the const position (see r11316) and added this note. ------------------------------------------------------------------------ r11318 | vlefevre | 2017-02-14 11:57:11 +0000 (Tue, 14 Feb 2017) | 1 line Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h [src/{mpfr-impl.h,mpfr.h}] Code reformatting and other cosmetic changes. ------------------------------------------------------------------------ r11317 | vlefevre | 2017-02-14 11:30:50 +0000 (Tue, 14 Feb 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] For mpfr_sum, changed "mpfr_ptr const" to the equivalent "const mpfr_ptr" (usual style, less confusing). ------------------------------------------------------------------------ r11316 | vlefevre | 2017-02-14 11:28:28 +0000 (Tue, 14 Feb 2017) | 3 lines Changed paths: M /trunk/src/mpfr.h M /trunk/src/sum.c For mpfr_sum and its auxiliary functions, moved the const type qualifier to the right place (mpfr_ptr *const → const mpfr_ptr *). This bug had been introduced in r3642 (2005-06-10). ------------------------------------------------------------------------ r11315 | vlefevre | 2017-02-13 17:03:16 +0000 (Mon, 13 Feb 2017) | 2 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] mpfr_reflection_overflow: added comments and FIXME's; fixed obvious typos in a comment and the code. ------------------------------------------------------------------------ r11314 | vlefevre | 2017-02-13 15:44:56 +0000 (Mon, 13 Feb 2017) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] mpfr_reflection_overflow: typo in a comment. ------------------------------------------------------------------------ r11313 | vlefevre | 2017-02-13 12:13:11 +0000 (Mon, 13 Feb 2017) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] Untabified. ------------------------------------------------------------------------ r11312 | vlefevre | 2017-02-13 12:11:18 +0000 (Mon, 13 Feb 2017) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] mpfr_reflection_overflow: added an assertion and a comment. ------------------------------------------------------------------------ r11311 | vlefevre | 2017-02-13 09:37:17 +0000 (Mon, 13 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added a comment in a FIXME. ------------------------------------------------------------------------ r11310 | vlefevre | 2017-02-13 09:28:06 +0000 (Mon, 13 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added MPFR_ASSERTD's. ------------------------------------------------------------------------ r11309 | vlefevre | 2017-02-13 09:17:03 +0000 (Mon, 13 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Avoid some potential integer overflows. ------------------------------------------------------------------------ r11308 | zimmerma | 2017-02-13 09:11:19 +0000 (Mon, 13 Feb 2017) | 2 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] improved overflow detection ------------------------------------------------------------------------ r11307 | vlefevre | 2017-02-13 08:57:06 +0000 (Mon, 13 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added FIXME's: possible integer overflows. ------------------------------------------------------------------------ r11306 | zimmerma | 2017-02-12 08:06:55 +0000 (Sun, 12 Feb 2017) | 2 lines Changed paths: M /trunk/src/zeta.c fix for mpfr_zeta overflow on 32-bit computers ------------------------------------------------------------------------ r11305 | zimmerma | 2017-02-11 15:26:07 +0000 (Sat, 11 Feb 2017) | 3 lines Changed paths: M /trunk/src/sqr.c [src/sqr.c] revert detection of leading bit in sqr_1 and sqr_2 (not clear it is faster) ------------------------------------------------------------------------ r11304 | vlefevre | 2017-02-10 18:25:21 +0000 (Fri, 10 Feb 2017) | 3 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added a mpfr_snprintf test with a null pointer, "%#.*RDg" and a large precision (it currently takes too much memory, like the similar ones). ------------------------------------------------------------------------ r11303 | vlefevre | 2017-02-10 16:03:47 +0000 (Fri, 10 Feb 2017) | 2 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tsprintf.c [src/vasprintf.c] Added a FIXME for %g on easy cases (too much memory). [tests/tsprintf.c] Added corresponding tests. ------------------------------------------------------------------------ r11302 | vlefevre | 2017-02-09 17:47:38 +0000 (Thu, 09 Feb 2017) | 4 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Fix for mpfr_snprintf with size=0: do not allocate a buffer for the output if not needed. This really fixes bug #21056. The case size_t < unsigned int could not be solved completely due to limitations from the C standard and GMP. ------------------------------------------------------------------------ r11301 | vlefevre | 2017-02-09 17:04:03 +0000 (Thu, 09 Feb 2017) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Avoid a warning due to an unused variable with MPFR_GENERIC_ABI defined or GMP_NUMB_BITS != 64. ------------------------------------------------------------------------ r11300 | vlefevre | 2017-02-09 13:45:53 +0000 (Thu, 09 Feb 2017) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Added MPFR_ASSERTD's from comments. ------------------------------------------------------------------------ r11299 | zimmerma | 2017-02-09 12:03:41 +0000 (Thu, 09 Feb 2017) | 2 lines Changed paths: M /trunk/tests/tzeta.c [tests/tzeta.c] interm_overflow -> intermediate_overflow ------------------------------------------------------------------------ r11298 | vlefevre | 2017-02-09 11:34:52 +0000 (Thu, 09 Feb 2017) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] Updated a FIXME. ------------------------------------------------------------------------ r11297 | zimmerma | 2017-02-09 10:48:50 +0000 (Thu, 09 Feb 2017) | 2 lines Changed paths: M /trunk/tools/mbench/Makefile M /trunk/tools/mbench/mfv5-mpfr.cc improved detection of fmma and fmms ------------------------------------------------------------------------ r11296 | zimmerma | 2017-02-09 10:21:54 +0000 (Thu, 09 Feb 2017) | 2 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] fixed long-standing failure in tzeta ------------------------------------------------------------------------ r11295 | zimmerma | 2017-02-08 20:55:18 +0000 (Wed, 08 Feb 2017) | 2 lines Changed paths: M /trunk/src/sqrt.c M /trunk/tests/tsqrt.c [src/sqrt.c] fixed a bug, and simplified code (sb=0 implies rb=0) ------------------------------------------------------------------------ r11294 | vlefevre | 2017-02-08 17:36:48 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Updated FIXME. ------------------------------------------------------------------------ r11293 | zimmerma | 2017-02-08 17:22:22 +0000 (Wed, 08 Feb 2017) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] new code for prec=GMP_NUMB_BITS ------------------------------------------------------------------------ r11292 | vlefevre | 2017-02-08 17:00:18 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Moved the size_t vs int FIXME, with details added. ------------------------------------------------------------------------ r11291 | vlefevre | 2017-02-08 16:51:51 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added a MPFR_ASSERTN for security. ------------------------------------------------------------------------ r11290 | vlefevre | 2017-02-08 16:44:16 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added a FIXME for the case size_t < unsigned int. ------------------------------------------------------------------------ r11289 | vlefevre | 2017-02-08 16:34:31 +0000 (Wed, 08 Feb 2017) | 4 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Solved the r11288 FIXME, introducing new ones with a more visible failure. Not fixed yet because there seems to be another issue (already present at the beginning in r4993), which should be considered first. ------------------------------------------------------------------------ r11288 | vlefevre | 2017-02-08 16:00:28 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added a FIXME (related to the cause of the failure). ------------------------------------------------------------------------ r11287 | vlefevre | 2017-02-08 15:44:53 +0000 (Wed, 08 Feb 2017) | 7 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added some precondition assertions, as the buffer_cat implementation requires that the current buffer position contains \0. Note[VL]: tsprintf is still failing with assertions on my machine in the 32-bit Linux/x86 ABI, but now on the new precondition instead of postcondition. The behavior with size = 0 actually depends on the state of uninitialized memory (even in the 64-bit ABI), so that the failures may be random; the problem is detected by valgrind. ------------------------------------------------------------------------ r11286 | vlefevre | 2017-02-08 15:33:32 +0000 (Wed, 08 Feb 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] Declare variables used by GMP_NUMB_BITS == 64 only in the related code. ------------------------------------------------------------------------ r11285 | zimmerma | 2017-02-08 15:07:28 +0000 (Wed, 08 Feb 2017) | 3 lines Changed paths: M /trunk/src/div.c M /trunk/src/mul.c [src/mul.c] simplified logic for special code [src/div.c] fixed bug in mpfr_div_1n when extra=0 ------------------------------------------------------------------------ r11284 | zimmerma | 2017-02-08 14:28:56 +0000 (Wed, 08 Feb 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] special code for prec=GMP_NUMB_BITS ------------------------------------------------------------------------ r11283 | zimmerma | 2017-02-08 14:04:11 +0000 (Wed, 08 Feb 2017) | 3 lines Changed paths: M /trunk/src/mul.c M /trunk/src/sqr.c [src/sqr.c] new code for p = GMP_NUMB_BITS, and small improvement in mpfr_sqr_1 [src/mul.c] cosmetic changes ------------------------------------------------------------------------ r11282 | vlefevre | 2017-02-08 13:28:21 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/tests/tsub1sp.c [tests/tsub1sp.c] Fix: C++ compatibility. ------------------------------------------------------------------------ r11281 | zimmerma | 2017-02-08 13:17:45 +0000 (Wed, 08 Feb 2017) | 4 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/mul.c M /trunk/src/sub1sp.c [src/mul.c] added special code for prec=GMP_NUMB_BITS [src/add1sp.c] use special code only when MPFR_GENERIC_ABI is not defined [src/sub1sp.c] idem as above ------------------------------------------------------------------------ r11280 | vlefevre | 2017-02-08 13:09:44 +0000 (Wed, 08 Feb 2017) | 5 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Declare the mpfr_vasnprintf_aux prototype (which uses va_list) only if has been included, otherwise the build was failing with GCC in C90 mode under Linux (and could fail with other C implementations where this header isn't automatically included as a consequence of the inclusion of some other header). ------------------------------------------------------------------------ r11279 | zimmerma | 2017-02-08 12:58:43 +0000 (Wed, 08 Feb 2017) | 3 lines Changed paths: M /trunk/src/sub1sp.c M /trunk/tests/tsub1sp.c [src/sub1sp.c] new function for p=GMP_NUMB_BITS, fixed bug in mpfr_sub1sp3 [tests/tsub1sp.c] added new tests ------------------------------------------------------------------------ r11278 | vlefevre | 2017-02-08 12:02:40 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Fixed bug introduced in r11273. ------------------------------------------------------------------------ r11277 | vlefevre | 2017-02-08 11:54:14 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Updated the "simple mp_limb_t constants" test. ------------------------------------------------------------------------ r11276 | vlefevre | 2017-02-08 11:51:37 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/src/add_ui.c M /trunk/src/div_ui.c M /trunk/src/exp_2.c M /trunk/src/sub_ui.c M /trunk/src/ui_sub.c Made some assertions a bit more readable. ------------------------------------------------------------------------ r11275 | vlefevre | 2017-02-08 11:18:51 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/tests/tsub1sp.c [tests/tsub1sp.c] Fixed mpfr_inits2/mpfr_clears sentinel → (mpfr_ptr) 0 ------------------------------------------------------------------------ r11274 | vlefevre | 2017-02-08 11:13:57 +0000 (Wed, 08 Feb 2017) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] C90 compatibility. ------------------------------------------------------------------------ r11273 | zimmerma | 2017-02-08 10:28:58 +0000 (Wed, 08 Feb 2017) | 2 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tsprintf.c [src/vasprintf.c] avoid memory allocation for snprintf with size=0 ------------------------------------------------------------------------ r11272 | zimmerma | 2017-02-08 08:42:49 +0000 (Wed, 08 Feb 2017) | 3 lines Changed paths: M /trunk/src/sub1sp.c M /trunk/tests/tsub1sp.c [src/sub1sp.c] fixed a bug in mpfr_sub1sp1 and mpfr_sub1sp2 (corner case) [tests/tsub1sp.c] added non-regression test ------------------------------------------------------------------------ r11271 | zimmerma | 2017-02-07 18:42:53 +0000 (Tue, 07 Feb 2017) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] added special code for p=GMP_NUMB_BITS ------------------------------------------------------------------------ r11270 | zimmerma | 2017-02-07 16:35:29 +0000 (Tue, 07 Feb 2017) | 2 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tsprintf.c [src/vasprintf.c] improved also %a and %e ------------------------------------------------------------------------ r11269 | zimmerma | 2017-02-07 15:07:28 +0000 (Tue, 07 Feb 2017) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/printf.c M /trunk/src/vasprintf.c M /trunk/tests/tsprintf.c [src/vasprintf.c] fixed bug #21056 ------------------------------------------------------------------------ r11268 | vlefevre | 2017-02-07 10:44:03 +0000 (Tue, 07 Feb 2017) | 1 line Changed paths: M /trunk/TODO [TODO] More about the mpz_t pool. ------------------------------------------------------------------------ r11267 | vlefevre | 2017-02-07 10:13:35 +0000 (Tue, 07 Feb 2017) | 1 line Changed paths: M /trunk/src/free_cache.c [src/free_cache.c] Better file description (keeping it short). ------------------------------------------------------------------------ r11266 | vlefevre | 2017-02-07 10:10:10 +0000 (Tue, 07 Feb 2017) | 1 line Changed paths: M /trunk/src/free_cache.c [src/free_cache.c] Updated comments (mpz_t cache → mpz_t pool). ------------------------------------------------------------------------ r11265 | vlefevre | 2017-02-07 01:47:16 +0000 (Tue, 07 Feb 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11264 | vlefevre | 2017-02-07 01:46:14 +0000 (Tue, 07 Feb 2017) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Clarified mpfr_asprintf & mpfr_vasprintf specification in case of error. ------------------------------------------------------------------------ r11263 | vlefevre | 2017-02-07 00:59:37 +0000 (Tue, 07 Feb 2017) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Code cleanup. ------------------------------------------------------------------------ r11262 | zimmerma | 2017-02-06 17:24:23 +0000 (Mon, 06 Feb 2017) | 2 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tsprintf.c partial solution of bug #21056: a test of mpfr_sprintf still fails ------------------------------------------------------------------------ r11261 | zimmerma | 2017-02-06 15:09:39 +0000 (Mon, 06 Feb 2017) | 2 lines Changed paths: M /trunk/tests/tmul.c [tests/tmul.c] added test for underflow corner case ------------------------------------------------------------------------ r11260 | zimmerma | 2017-02-06 13:48:40 +0000 (Mon, 06 Feb 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] simplified underflow in div_1 and div_2 (one case is not possible) ------------------------------------------------------------------------ r11259 | zimmerma | 2017-02-06 13:10:24 +0000 (Mon, 06 Feb 2017) | 2 lines Changed paths: M /trunk/src/sqr.c M /trunk/tests/tsqr.c [tests/tsqr.c] added another corner case for underflow and mpfr_sqr_2 ------------------------------------------------------------------------ r11258 | zimmerma | 2017-02-06 12:58:48 +0000 (Mon, 06 Feb 2017) | 2 lines Changed paths: M /trunk/src/sqr.c M /trunk/tests/tsqr.c [tests/tsqr.c] added a corner underflow case ------------------------------------------------------------------------ r11257 | vlefevre | 2017-02-06 12:45:49 +0000 (Mon, 06 Feb 2017) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added missing function prototype after r11256. ------------------------------------------------------------------------ r11256 | zimmerma | 2017-02-06 12:04:33 +0000 (Mon, 06 Feb 2017) | 2 lines Changed paths: M /trunk/src/free_cache.c M /trunk/src/mpfr-impl.h [mpfr-impl.h] now mpz_init2 uses the mpz spool too ------------------------------------------------------------------------ r11255 | vlefevre | 2017-02-03 14:10:51 +0000 (Fri, 03 Feb 2017) | 1 line Changed paths: M /trunk/TODO [TODO] Added: check the small-precision tables in the tests? ------------------------------------------------------------------------ r11254 | vlefevre | 2017-02-03 01:28:43 +0000 (Fri, 03 Feb 2017) | 1 line Changed paths: M /trunk/src/sqrt.c M /trunk/tests/tdiv.c Removed trailing whitespace. ------------------------------------------------------------------------ r11253 | vlefevre | 2017-02-03 01:09:38 +0000 (Fri, 03 Feb 2017) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed code for the _mulx_u64 test. ------------------------------------------------------------------------ r11252 | vlefevre | 2017-02-02 17:59:51 +0000 (Thu, 02 Feb 2017) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output whether _mulx_u64 is available. ------------------------------------------------------------------------ r11251 | vlefevre | 2017-02-02 17:23:20 +0000 (Thu, 02 Feb 2017) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed _mulx_u64 detection to avoid failures in tests with ICC 15: we need an AC_RUN_IFELSE, not just an AC_LINK_IFELSE. ------------------------------------------------------------------------ r11250 | vlefevre | 2017-01-31 13:43:30 +0000 (Tue, 31 Jan 2017) | 2 lines Changed paths: M /trunk/src/invsqrt_limb.h [src/invsqrt_limb.h] Improved constants: make their meaning explicit; portability with 32-bit long (and 64-bit limb). ------------------------------------------------------------------------ r11249 | zimmerma | 2017-01-31 13:08:48 +0000 (Tue, 31 Jan 2017) | 3 lines Changed paths: M /trunk/src/invsqrt_limb.h M /trunk/src/sqrt.c [src/invsqrt_limb.h] new macro __gmpfr_sqrt_limb_approx [src/sqrt.c] new sqrt1 code using __gmpfr_sqrt_limb_approx ------------------------------------------------------------------------ r11248 | zimmerma | 2017-01-30 17:52:19 +0000 (Mon, 30 Jan 2017) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] improved slow branch of mpfr_sqrt2 ------------------------------------------------------------------------ r11247 | zimmerma | 2017-01-30 16:43:19 +0000 (Mon, 30 Jan 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] improved slow branch of mpfr_div_2 ------------------------------------------------------------------------ r11246 | zimmerma | 2017-01-30 16:06:27 +0000 (Mon, 30 Jan 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] fixed TODO: replaced two if-statements by while-loop ------------------------------------------------------------------------ r11245 | vlefevre | 2017-01-30 15:15:44 +0000 (Mon, 30 Jan 2017) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Added TODO's. ------------------------------------------------------------------------ r11244 | vlefevre | 2017-01-30 14:04:33 +0000 (Mon, 30 Jan 2017) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Added a MPFR_ASSERTD. ------------------------------------------------------------------------ r11243 | zimmerma | 2017-01-28 20:16:52 +0000 (Sat, 28 Jan 2017) | 2 lines Changed paths: M /trunk/src/atan.c [src/atan.c] added comment ------------------------------------------------------------------------ r11242 | zimmerma | 2017-01-28 17:38:56 +0000 (Sat, 28 Jan 2017) | 2 lines Changed paths: M /trunk/src/invsqrt_limb.h [src/invsqrt_limb.h] fixed __gmpfr_sqrt_limb macro ------------------------------------------------------------------------ r11241 | zimmerma | 2017-01-28 09:20:50 +0000 (Sat, 28 Jan 2017) | 2 lines Changed paths: M /trunk/src/atan.c [src/atan.c] small optimization ------------------------------------------------------------------------ r11240 | zimmerma | 2017-01-27 20:45:45 +0000 (Fri, 27 Jan 2017) | 2 lines Changed paths: M /trunk/src/atan.c [src/atan.c] speedup for small precision ------------------------------------------------------------------------ r11239 | vlefevre | 2017-01-27 10:44:37 +0000 (Fri, 27 Jan 2017) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Disable mpfr_mul_{1,2,3} if MPFR_GENERIC_ABI is defined. ------------------------------------------------------------------------ r11238 | vlefevre | 2017-01-27 10:39:47 +0000 (Fri, 27 Jan 2017) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Removed useless parentheses that can inhibit warnings. ------------------------------------------------------------------------ r11237 | vlefevre | 2017-01-26 16:19:34 +0000 (Thu, 26 Jan 2017) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Updated TODO. ------------------------------------------------------------------------ r11236 | vlefevre | 2017-01-26 16:17:55 +0000 (Thu, 26 Jan 2017) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Added a TODO about an optimization. ------------------------------------------------------------------------ r11235 | zimmerma | 2017-01-26 10:03:11 +0000 (Thu, 26 Jan 2017) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] fixed error bound for mpfr_sqrt2_approx ------------------------------------------------------------------------ r11234 | vlefevre | 2017-01-25 17:55:47 +0000 (Wed, 25 Jan 2017) | 1 line Changed paths: M /trunk/TODO [TODO] Added optimization of test + shift for some processors. ------------------------------------------------------------------------ r11233 | vlefevre | 2017-01-25 16:04:38 +0000 (Wed, 25 Jan 2017) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Added MPFR_FULLSUB code for mpfr_sub1sp2. ------------------------------------------------------------------------ r11232 | zimmerma | 2017-01-25 13:49:11 +0000 (Wed, 25 Jan 2017) | 2 lines Changed paths: M /trunk/src/invsqrt_limb.h M /trunk/src/sqrt.c [src/sqrt.c] changed error bound back from 16 to 15 ------------------------------------------------------------------------ r11231 | vlefevre | 2017-01-25 13:44:42 +0000 (Wed, 25 Jan 2017) | 2 lines Changed paths: M /trunk/doc/add-with-carry.c [doc/add-with-carry.c] Added reference to my bug report about Clang's carry detection missed optimization in chained add-with-carry. ------------------------------------------------------------------------ r11230 | zimmerma | 2017-01-25 13:16:19 +0000 (Wed, 25 Jan 2017) | 2 lines Changed paths: M /trunk/src/invsqrt_limb.h M /trunk/src/sqrt.c [src/sqrt.c] updated error bound for __gmpfr_invsqrt_limb_approx ------------------------------------------------------------------------ r11229 | vlefevre | 2017-01-25 12:40:00 +0000 (Wed, 25 Jan 2017) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Added refs to missed/broken optimization with Clang/LLVM. ------------------------------------------------------------------------ r11228 | vlefevre | 2017-01-25 09:23:08 +0000 (Wed, 25 Jan 2017) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Use the FULLSUB only. Added a comment about the change in r11227. ------------------------------------------------------------------------ r11227 | zimmerma | 2017-01-25 07:20:57 +0000 (Wed, 25 Jan 2017) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] changed MPFR_FULLSUB variant into faster code ------------------------------------------------------------------------ r11226 | vlefevre | 2017-01-24 15:46:52 +0000 (Tue, 24 Jan 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Texinfo typography correction. ------------------------------------------------------------------------ r11225 | vlefevre | 2017-01-24 14:37:58 +0000 (Tue, 24 Jan 2017) | 7 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improvements concerning the exponent range. * mpfr_get_exp: added a FIXME in a comment (documented behavior?). * mpfr_set_emin / mpfr_set_emax: more specification and details. * mpfr_subnormalize: clarification; added a warning about emin. * Example of mpfr_subnormalize: added a note. In particular, this follows a confusion: https://sympa.inria.fr/sympa/arc/mpfr/2017-01/msg00024.html ------------------------------------------------------------------------ r11224 | zimmerma | 2017-01-24 10:34:36 +0000 (Tue, 24 Jan 2017) | 3 lines Changed paths: M /trunk/src/invsqrt_limb.h [src/invsqrt_limb.h] changed slightly definition of d10 and d37 (does not change final error analysis) ------------------------------------------------------------------------ r11223 | vlefevre | 2017-01-23 15:41:35 +0000 (Mon, 23 Jan 2017) | 3 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Updated comments about subtraction with borrow; the first one from r11213 was incorrect (bad interpretation of the generated code for GCC, potentially on a different alternate source code for Clang). ------------------------------------------------------------------------ r11222 | zimmerma | 2017-01-23 14:11:17 +0000 (Mon, 23 Jan 2017) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] simplified mpfr_sub1sp1() ------------------------------------------------------------------------ r11221 | zimmerma | 2017-01-23 11:38:04 +0000 (Mon, 23 Jan 2017) | 2 lines Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] added non-regression test ------------------------------------------------------------------------ r11220 | vlefevre | 2017-01-23 10:23:40 +0000 (Mon, 23 Jan 2017) | 1 line Changed paths: M /trunk/src/urandom.c [src/urandom.c] Added a FIXME as mpfr_urandom does not always set flags. ------------------------------------------------------------------------ r11219 | vlefevre | 2017-01-23 09:46:50 +0000 (Mon, 23 Jan 2017) | 1 line Changed paths: M /trunk/src/urandom.c [src/urandom.c] Simplified code (no changes in the behavior). ------------------------------------------------------------------------ r11218 | zimmerma | 2017-01-23 07:27:10 +0000 (Mon, 23 Jan 2017) | 3 lines Changed paths: M /trunk/src/urandom.c [src/urandom.c] fixed bug reported by Trevor Spiteri (https://sympa.inria.fr/sympa/arc/mpfr/2017-01/msg00020.html) ------------------------------------------------------------------------ r11217 | zimmerma | 2017-01-21 12:58:34 +0000 (Sat, 21 Jan 2017) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mpn_exp.c M /trunk/src/mulders.c M /trunk/src/sqr.c changed mpn_sqr_n into mpn_sqr ------------------------------------------------------------------------ r11216 | zimmerma | 2017-01-20 17:21:15 +0000 (Fri, 20 Jan 2017) | 2 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/invsqrt_limb.h M /trunk/src/sqrt.c D /trunk/src/sqrt_tab.h new version of mpfr_sqrt2_approx (no longer needs sqrt_tab.h) ------------------------------------------------------------------------ r11215 | vlefevre | 2017-01-20 16:24:56 +0000 (Fri, 20 Jan 2017) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Updated TODO, mentioning an optimization bug in LLVM. ------------------------------------------------------------------------ r11214 | vlefevre | 2017-01-20 16:13:45 +0000 (Fri, 20 Jan 2017) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Updated TODO about full subtraction with borrow. ------------------------------------------------------------------------ r11213 | vlefevre | 2017-01-20 13:58:11 +0000 (Fri, 20 Jan 2017) | 3 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Added alternate code (enabled with -DMPFR_FULLSUB, until fully tested) to replace a test + correction by a 2-limb subtraction, recognized by GCC and Clang. ------------------------------------------------------------------------ r11212 | zimmerma | 2017-01-20 13:56:05 +0000 (Fri, 20 Jan 2017) | 3 lines Changed paths: M /trunk/src/invsqrt_limb.h M /trunk/src/sqrt.c renamed __gmpfr_invsqrt_limb into __gmpfr_invsqrt_limb_approx to better reflect it only gives an approximation ------------------------------------------------------------------------ r11211 | vlefevre | 2017-01-20 11:59:39 +0000 (Fri, 20 Jan 2017) | 2 lines Changed paths: M /trunk/src/invert_limb.h [src/invert_limb.h] Just like for invsqrt_limb.h (r11210), in 1UL << 60, replaced 1UL by MPFR_LIMB_ONE to make the code valid with 32-bit long. ------------------------------------------------------------------------ r11210 | vlefevre | 2017-01-20 11:54:33 +0000 (Fri, 20 Jan 2017) | 4 lines Changed paths: M /trunk/src/invsqrt_limb.h [src/invsqrt_limb.h] Bug fix: replaced 1UL by MPFR_LIMB_ONE since the computations are done on limbs, which are expected to have 64 bits in this context (the old code would fail on MS Windows / MinGW, where limbs are 64-bit unsigned long long and unsigned long is a 32-bit type). ------------------------------------------------------------------------ r11209 | vlefevre | 2017-01-20 11:47:59 +0000 (Fri, 20 Jan 2017) | 2 lines Changed paths: M /trunk/src/invsqrt_limb.h [src/invsqrt_limb.h] Portability correction: avoid lines longer than the POSIX line-length limit of 2047 characters; actually fit on 80 columns. ------------------------------------------------------------------------ r11208 | zimmerma | 2017-01-20 11:15:54 +0000 (Fri, 20 Jan 2017) | 2 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/invert_limb.h A /trunk/src/invsqrt_limb.h M /trunk/src/sqrt.c M /trunk/src/sqrt_tab.h faster version of mpfr_sqrt1(), with smaller table ------------------------------------------------------------------------ r11207 | zimmerma | 2017-01-20 08:09:20 +0000 (Fri, 20 Jan 2017) | 2 lines Changed paths: M /trunk/src/invert_limb.h [src/invert_limb.h] improved __gmpfr_invert_limb* for 64-bit limb ------------------------------------------------------------------------ r11206 | zimmerma | 2017-01-17 11:04:25 +0000 (Tue, 17 Jan 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] use ADD_LIMB macro, and fixed comment ------------------------------------------------------------------------ r11205 | vlefevre | 2017-01-17 10:51:28 +0000 (Tue, 17 Jan 2017) | 5 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] MPFR_PARSE_DIRECTORY macro definition: workaround if the realpath command is not found. Suggestion by Trevor Spiteri: https://sympa.inria.fr/sympa/arc/mpfr/2017-01/msg00013.html Note: I had to modify the patch to use quadrigraphs, otherwise the generated configure file was invalid. ------------------------------------------------------------------------ r11204 | zimmerma | 2017-01-17 10:35:43 +0000 (Tue, 17 Jan 2017) | 2 lines Changed paths: M /trunk/tests/tdiv.c [tdiv.c] added code to exercise mpfr_div2_approx ------------------------------------------------------------------------ r11203 | zimmerma | 2017-01-16 16:49:01 +0000 (Mon, 16 Jan 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] new variant of mpfr_div2_approx() ------------------------------------------------------------------------ r11202 | vlefevre | 2017-01-13 23:59:23 +0000 (Fri, 13 Jan 2017) | 2 lines Changed paths: M /trunk/src/invert_limb.h [src/invert_limb.h] Fit on 80 columns (one line was over the POSIX line-length limit of 2047 characters). ------------------------------------------------------------------------ r11201 | vlefevre | 2017-01-13 23:43:26 +0000 (Fri, 13 Jan 2017) | 2 lines Changed paths: M /trunk/src/invert_limb.h [src/invert_limb.h] Correction in __gmpfr_invert_limb for 32-bit ABI: _d was used before being defined. ------------------------------------------------------------------------ r11200 | zimmerma | 2017-01-13 23:24:20 +0000 (Fri, 13 Jan 2017) | 2 lines Changed paths: M /trunk/src/invert_limb.h [invert_limb.h] added invert_limb code for 32-bit ------------------------------------------------------------------------ r11199 | vlefevre | 2017-01-13 15:18:34 +0000 (Fri, 13 Jan 2017) | 4 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Improved a line based on analysis (+ timings I've done on x86_64 with GCC and Clang give better results, though they cannot be conclusive since the gain is too small compared to other possible causes of variations). ------------------------------------------------------------------------ r11198 | vlefevre | 2017-01-13 14:40:29 +0000 (Fri, 13 Jan 2017) | 3 lines Changed paths: M /trunk/tools/mbench/Makefile [tools/mbench/Makefile] Added -static to CFLAGS in order to avoid a link error when MPFR has been built with Clang (linking is done with .a libraries, i.e. static libraries). ------------------------------------------------------------------------ r11197 | vlefevre | 2017-01-13 10:53:51 +0000 (Fri, 13 Jan 2017) | 4 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Replaced "return 0;" by "MPFR_RET(0);" to emphasize on the fact that we return a ternary value (code instrumentation may also be easier later). Note: this is equivalent since the macro expands to 0 != 0 ? ... : 0, which gives 0 via trivial optimization. ------------------------------------------------------------------------ r11196 | vlefevre | 2017-01-13 10:44:44 +0000 (Fri, 13 Jan 2017) | 3 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Improvements in mpfr_add1sp1; added a TODO. Note for rb -> bp[0]: the generated code is the same, but the source is more readable (-> rb has only one meaning). ------------------------------------------------------------------------ r11195 | vlefevre | 2017-01-13 00:51:29 +0000 (Fri, 13 Jan 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] C90 compatibility (avoid initializer elements not computable at load time). ------------------------------------------------------------------------ r11194 | zimmerma | 2017-01-12 23:20:22 +0000 (Thu, 12 Jan 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] added some alternate code for mpfr_div2_approx (disabled for now) ------------------------------------------------------------------------ r11193 | zimmerma | 2017-01-12 21:40:50 +0000 (Thu, 12 Jan 2017) | 4 lines Changed paths: M /trunk/src/frac.c M /trunk/src/mpfr-gmp.h M /trunk/src/round_raw_generic.c M /trunk/src/set_uj.c M /trunk/src/strtofr.c M /trunk/src/sub1sp.c M /trunk/src/sum.c fixed bug in urandomb.c reported by Dominic Chen (https://sympa.inria.fr/sympa/arc/mpfr/2017-01/msg00011.html) and replaced MPN_COPY_INCR/MPN_COPY_DECR by mpn_copyi/mpn_copyd ------------------------------------------------------------------------ r11192 | zimmerma | 2017-01-12 21:19:12 +0000 (Thu, 12 Jan 2017) | 3 lines Changed paths: M /trunk/src/div.c [src/div.c] small improvement in div_1 and div_2: force all precisions to be equal, then we cannot have rb <> 0 and sb = 0 ------------------------------------------------------------------------ r11191 | zimmerma | 2017-01-12 17:24:36 +0000 (Thu, 12 Jan 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] improved case p=127 (or two-limb case with hard to round case) ------------------------------------------------------------------------ r11190 | vlefevre | 2017-01-12 14:26:36 +0000 (Thu, 12 Jan 2017) | 1 line Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Added a TODO: slightly better code? ------------------------------------------------------------------------ r11189 | zimmerma | 2017-01-12 13:30:28 +0000 (Thu, 12 Jan 2017) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] improve mpfr_div_1 for precision 63 ------------------------------------------------------------------------ r11188 | vlefevre | 2017-01-12 10:17:49 +0000 (Thu, 12 Jan 2017) | 1 line Changed paths: M /trunk/src/rndna.c [src/rndna.c] Updated comments. ------------------------------------------------------------------------ r11187 | zimmerma | 2017-01-12 10:16:40 +0000 (Thu, 12 Jan 2017) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] improved mpfr_sqrt2_approx() ------------------------------------------------------------------------ r11186 | vlefevre | 2017-01-12 08:59:23 +0000 (Thu, 12 Jan 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Typographic correction (including generated spaces). ------------------------------------------------------------------------ r11185 | vlefevre | 2017-01-10 16:17:05 +0000 (Tue, 10 Jan 2017) | 5 lines Changed paths: A /trunk/doc/add-with-carry.c M /trunk/src/mpfr-impl.h M /trunk/src/sqr.c Improvement of additions with carry. * Added doc/add-with-carry.c showing how to do an addition with carry in C (to make the compiler understand the code). * src/mpfr-impl.h: added ADD_LIMB macro (addition with carry). * src/sqr.c: use this ADD_LIMB macro to improve the generated code. ------------------------------------------------------------------------ r11184 | zimmerma | 2017-01-10 15:20:00 +0000 (Tue, 10 Jan 2017) | 2 lines Changed paths: M /trunk/src/sqr.c [src/sqr.c] 2 calls to umul_ppmm are enough in mpfr_sqr_2 in most cases ------------------------------------------------------------------------ r11183 | zimmerma | 2017-01-10 13:56:38 +0000 (Tue, 10 Jan 2017) | 3 lines Changed paths: M /trunk/src/div.c M /trunk/src/sub1sp.c [src/div.c] added FIXME [src/sub1sp.c] added comments ------------------------------------------------------------------------ r11182 | zimmerma | 2017-01-10 10:10:32 +0000 (Tue, 10 Jan 2017) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] made code coherent with comment ------------------------------------------------------------------------ r11181 | vlefevre | 2017-01-10 09:58:49 +0000 (Tue, 10 Jan 2017) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Improved comment from r11180. ------------------------------------------------------------------------ r11180 | zimmerma | 2017-01-10 09:48:30 +0000 (Tue, 10 Jan 2017) | 3 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] improved error bound for mpfr_sqrt2_approx, with known direction of error ------------------------------------------------------------------------ r11178 | vlefevre | 2017-01-10 02:35:23 +0000 (Tue, 10 Jan 2017) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Fixed other two bugs in special code for 3 limbs. TODO: non-regression tests should be added for both. ------------------------------------------------------------------------ r11177 | vlefevre | 2017-01-10 02:17:03 +0000 (Tue, 10 Jan 2017) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Fixed some bugs in special code for 3 limbs. ------------------------------------------------------------------------ r11176 | vlefevre | 2017-01-10 01:17:54 +0000 (Tue, 10 Jan 2017) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Simplified a test. ------------------------------------------------------------------------ r11173 | zimmerma | 2017-01-09 21:10:56 +0000 (Mon, 09 Jan 2017) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] added special code for 3 limbs ------------------------------------------------------------------------ r11171 | vlefevre | 2017-01-09 16:58:51 +0000 (Mon, 09 Jan 2017) | 1 line Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Fixed too large shift count in r11170 (code for 3 limbs). ------------------------------------------------------------------------ r11170 | zimmerma | 2017-01-09 16:32:29 +0000 (Mon, 09 Jan 2017) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] added special code for 3 limbs ------------------------------------------------------------------------ r11169 | zimmerma | 2017-01-09 14:41:14 +0000 (Mon, 09 Jan 2017) | 2 lines Changed paths: M /trunk/src/sqr.c [src/sqr.c] added special code for 3 limbs ------------------------------------------------------------------------ r11167 | vlefevre | 2017-01-09 13:57:41 +0000 (Mon, 09 Jan 2017) | 1 line Changed paths: M /trunk/tests/tsub1sp.c [tests/tsub1sp.c] Fixed a return type. ------------------------------------------------------------------------ r11166 | vlefevre | 2017-01-09 13:46:44 +0000 (Mon, 09 Jan 2017) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated note added in r11165. ------------------------------------------------------------------------ r11165 | vlefevre | 2017-01-09 13:44:44 +0000 (Mon, 09 Jan 2017) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about cross-compilation and test under Wine, with references to bugs in autoconf and dash. ------------------------------------------------------------------------ r11164 | zimmerma | 2017-01-09 10:53:20 +0000 (Mon, 09 Jan 2017) | 2 lines Changed paths: M /trunk/tests/tmul.c [tests/tmul.c] fixed typo ------------------------------------------------------------------------ r11162 | zimmerma | 2017-01-09 08:51:42 +0000 (Mon, 09 Jan 2017) | 3 lines Changed paths: M /trunk/src/sub1sp.c M /trunk/tests/tsub1sp.c [src/sub1sp.c] fixed bug in mpfr_sub1sp2 when exponent diff. is GMP_NUMB_BITS [tests/tsub1sp.c] added testcase ------------------------------------------------------------------------ r11161 | vlefevre | 2017-01-09 01:22:26 +0000 (Mon, 09 Jan 2017) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Bug fix in mpfr_mul_3; tmul no longer fails (64-bit ABI). ------------------------------------------------------------------------ r11160 | vlefevre | 2017-01-09 01:17:03 +0000 (Mon, 09 Jan 2017) | 1 line Changed paths: M /trunk/tests/tmul.c [tests/tmul.c] Added test of mpfr_mul on 1 to 3 limbs. Currently fails. ------------------------------------------------------------------------ r11159 | vlefevre | 2017-01-08 23:45:49 +0000 (Sun, 08 Jan 2017) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Define aq = MPFR_GET_PREC (a), and use this. ------------------------------------------------------------------------ r11158 | zimmerma | 2017-01-08 22:22:36 +0000 (Sun, 08 Jan 2017) | 4 lines Changed paths: M /trunk/src/mul.c M /trunk/src/sqrt.c M /trunk/src/sub1sp.c [src/mul.c] added mpfr_mul_3 [src/sqrt.c] renamed internal functions [src/sub1sp.c] cosmetic change ------------------------------------------------------------------------ r11157 | zimmerma | 2017-01-07 07:57:37 +0000 (Sat, 07 Jan 2017) | 3 lines Changed paths: M /trunk/src/exp.c M /trunk/src/sqrt.c [src/exp.c] avoid using a full limb as precision [src/sqrt.c] removed obsolete comment ------------------------------------------------------------------------ r11156 | zimmerma | 2017-01-07 07:46:02 +0000 (Sat, 07 Jan 2017) | 2 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] avoid precision = GMP_NUMB_BITS ------------------------------------------------------------------------ r11155 | zimmerma | 2017-01-07 07:26:12 +0000 (Sat, 07 Jan 2017) | 2 lines Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] added comment ------------------------------------------------------------------------ r11154 | vlefevre | 2017-01-06 15:17:12 +0000 (Fri, 06 Jan 2017) | 1 line Changed paths: M /trunk/tools/mbench/README [tools/mbench/README] Say how to disable a non-working library. ------------------------------------------------------------------------ r11152 | zimmerma | 2017-01-06 06:59:41 +0000 (Fri, 06 Jan 2017) | 3 lines Changed paths: M /trunk/src/div.c [src/div.c] fixed previous commit: mpfr_div_1 and mpfr_div_2 also work for GMP_NUMB_BITS <> 64, only some fast code inside is not defined ------------------------------------------------------------------------ r11150 | vlefevre | 2017-01-05 23:29:35 +0000 (Thu, 05 Jan 2017) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Use mpfr_limb_ptr instead of mp_ptr. ------------------------------------------------------------------------ r11149 | vlefevre | 2017-01-05 23:27:43 +0000 (Thu, 05 Jan 2017) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Fix for GMP_NUMB_BITS != 64. ------------------------------------------------------------------------ r11148 | zimmerma | 2017-01-05 21:13:50 +0000 (Thu, 05 Jan 2017) | 2 lines Changed paths: M /trunk/src/div.c M /trunk/src/invert_limb.h [src/div.c] faster division for 2 limbs ------------------------------------------------------------------------ r11147 | vlefevre | 2017-01-05 12:28:53 +0000 (Thu, 05 Jan 2017) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Coding style. ------------------------------------------------------------------------ r11146 | vlefevre | 2017-01-05 12:25:59 +0000 (Thu, 05 Jan 2017) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Simplification. ------------------------------------------------------------------------ r11145 | vlefevre | 2017-01-05 12:22:47 +0000 (Thu, 05 Jan 2017) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Replaced a MPFR_ASSERTN by MPFR_STAT_STATIC_ASSERT. ------------------------------------------------------------------------ r11144 | vlefevre | 2017-01-05 12:17:32 +0000 (Thu, 05 Jan 2017) | 1 line Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] Correction for 64-bit limb with 32-bit unsigned long. ------------------------------------------------------------------------ r11143 | vlefevre | 2017-01-05 11:27:53 +0000 (Thu, 05 Jan 2017) | 1 line Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] Fix when GMP_NUMB_BITS != 64. ------------------------------------------------------------------------ r11142 | zimmerma | 2017-01-05 10:38:44 +0000 (Thu, 05 Jan 2017) | 2 lines Changed paths: M /trunk/src/div_ui.c M /trunk/tests/tdiv_ui.c last fix was incomplete ------------------------------------------------------------------------ r11141 | zimmerma | 2017-01-05 09:43:59 +0000 (Thu, 05 Jan 2017) | 3 lines Changed paths: M /trunk/src/div_ui.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_ui.c [src/div_ui.c] fixed a bug in mpfr_div_ui (also affects mpfr_div since it calls mpfr_div_ui when the divisor has a few bits) ------------------------------------------------------------------------ r11140 | zimmerma | 2017-01-05 07:51:15 +0000 (Thu, 05 Jan 2017) | 4 lines Changed paths: M /trunk/src/div.c M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/round_near_x.c M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/tests/tdiv_ui.c fixed underflow bug by replacing !MPFR_IS_LIKE_RNDZ by new macro MPFR_IS_LIKE_RNDA: for RNDN, !MPFR_IS_LIKE_RNDZ was true, while new macro MPFR_IS_LIKE_RNDA is false ------------------------------------------------------------------------ r11139 | vlefevre | 2017-01-04 19:39:41 +0000 (Wed, 04 Jan 2017) | 3 lines Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Added a test that triggers an assertion failure in a reduced exponent range (found from the generic tests with GMP_CHECK_RANDOMIZE=1483628702). ------------------------------------------------------------------------ r11138 | vlefevre | 2017-01-04 19:28:48 +0000 (Wed, 04 Jan 2017) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Added debug messages for overflow & underflow tests. ------------------------------------------------------------------------ r11137 | vlefevre | 2017-01-04 19:03:49 +0000 (Wed, 04 Jan 2017) | 1 line Changed paths: M /trunk/tests/tdiv_ui.c [tests/tdiv_ui.c] Added a comment on new test (doesn't fail). ------------------------------------------------------------------------ r11136 | zimmerma | 2017-01-04 18:04:18 +0000 (Wed, 04 Jan 2017) | 2 lines Changed paths: M /trunk/tests/tdiv_ui.c [tdiv_ui.c] added new test ------------------------------------------------------------------------ r11130 | vlefevre | 2017-01-03 11:46:41 +0000 (Tue, 03 Jan 2017) | 1 line Changed paths: M /trunk/src/invert_limb.h [src/invert_limb.h] Removed an unused variable. ------------------------------------------------------------------------ r11129 | zimmerma | 2017-01-03 10:58:02 +0000 (Tue, 03 Jan 2017) | 3 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/div.c D /trunk/src/invert_limb.c A /trunk/src/invert_limb.h M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h use a macro instead of a function for __gmpfr_invert_limb and __gmpfr_invert_limb_approx saves 2-3 cycles ------------------------------------------------------------------------ r11118 | vlefevre | 2017-01-01 01:35:42 +0000 (Sun, 01 Jan 2017) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11117 | vlefevre | 2017-01-01 01:34:35 +0000 (Sun, 01 Jan 2017) | 5 lines Changed paths: M /trunk/BUGS M /trunk/INSTALL M /trunk/Makefile.am M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/FAQ.html M /trunk/doc/Makefile.am M /trunk/doc/README.dev M /trunk/doc/check-typography M /trunk/doc/faq.xsl M /trunk/doc/mpfr.texi M /trunk/examples/can_round.c M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c M /trunk/src/Makefile.am M /trunk/src/abort_prec_max.c M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/asin.c M /trunk/src/asinh.c M /trunk/src/atan.c M /trunk/src/atan2.c M /trunk/src/atanh.c M /trunk/src/bernoulli.c M /trunk/src/buildopt.c M /trunk/src/cache.c M /trunk/src/cbrt.c M /trunk/src/check.c M /trunk/src/clear.c M /trunk/src/clears.c M /trunk/src/cmp.c M /trunk/src/cmp2.c M /trunk/src/cmp_abs.c M /trunk/src/cmp_d.c M /trunk/src/cmp_ld.c M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c M /trunk/src/comparisons.c M /trunk/src/const_catalan.c M /trunk/src/const_euler.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/constant.c M /trunk/src/copysign.c M /trunk/src/cos.c M /trunk/src/cosh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/digamma.c M /trunk/src/dim.c M /trunk/src/div.c M /trunk/src/div_2exp.c M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/div_d.c M /trunk/src/div_ui.c M /trunk/src/dump.c M /trunk/src/eint.c M /trunk/src/eq.c M /trunk/src/erandom.c M /trunk/src/erf.c M /trunk/src/erfc.c M /trunk/src/exceptions.c M /trunk/src/exp.c M /trunk/src/exp10.c M /trunk/src/exp2.c M /trunk/src/exp3.c M /trunk/src/exp_2.c M /trunk/src/expm1.c M /trunk/src/extract.c M /trunk/src/factorial.c M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_sint.c M /trunk/src/fits_slong.c M /trunk/src/fits_sshort.c M /trunk/src/fits_u.h M /trunk/src/fits_uint.c M /trunk/src/fits_uintmax.c M /trunk/src/fits_ulong.c M /trunk/src/fits_ushort.c M /trunk/src/fma.c M /trunk/src/fmma.c M /trunk/src/fms.c M /trunk/src/fpif.c M /trunk/src/frac.c M /trunk/src/free_cache.c M /trunk/src/frexp.c M /trunk/src/gamma.c M /trunk/src/gamma_inc.c M /trunk/src/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/generic/coverage/mparam.h M /trunk/src/generic/mparam.h M /trunk/src/get_d.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_float128.c M /trunk/src/get_flt.c M /trunk/src/get_ld.c M /trunk/src/get_si.c M /trunk/src/get_sj.c M /trunk/src/get_str.c M /trunk/src/get_ui.c M /trunk/src/get_uj.c M /trunk/src/get_z.c M /trunk/src/get_z_exp.c M /trunk/src/gmp_op.c M /trunk/src/grandom.c M /trunk/src/hppa/mparam.h M /trunk/src/hypot.c M /trunk/src/ia64/mparam.h M /trunk/src/ieee_floats.h M /trunk/src/init.c M /trunk/src/init2.c M /trunk/src/inits.c M /trunk/src/inits2.c M /trunk/src/inp_str.c M /trunk/src/int_ceil_log2.c M /trunk/src/invert_limb.c M /trunk/src/isinf.c M /trunk/src/isinteger.c M /trunk/src/isnan.c M /trunk/src/isnum.c M /trunk/src/isqrt.c M /trunk/src/isregular.c M /trunk/src/iszero.c M /trunk/src/jn.c M /trunk/src/jyn_asympt.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/log_ui.c M /trunk/src/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c M /trunk/src/mips/mparam.h M /trunk/src/modf.c M /trunk/src/mp_clz_tab.c M /trunk/src/mparam_h.in M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr-cvers.h M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-intmax.h M /trunk/src/mpfr-longlong.h M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/src/mpfr-sassert.h M /trunk/src/mpfr-thread.h M /trunk/src/mpfr.h M /trunk/src/mpn_exp.c M /trunk/src/mul.c M /trunk/src/mul_2exp.c M /trunk/src/mul_2si.c M /trunk/src/mul_2ui.c M /trunk/src/mul_d.c M /trunk/src/mul_ui.c M /trunk/src/mulders.c M /trunk/src/neg.c M /trunk/src/next.c M /trunk/src/nrandom.c M /trunk/src/out_str.c M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_ui.c M /trunk/src/pow_z.c M /trunk/src/powerof2.c M /trunk/src/powerpc32/mparam.h M /trunk/src/powerpc64/mparam.h M /trunk/src/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/random_deviate.c M /trunk/src/random_deviate.h M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.c M /trunk/src/rndna.c M /trunk/src/root.c M /trunk/src/round_near_x.c M /trunk/src/round_p.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/scale2.c M /trunk/src/sec.c M /trunk/src/sech.c M /trunk/src/set.c M /trunk/src/set_d.c M /trunk/src/set_d64.c M /trunk/src/set_dfl_prec.c M /trunk/src/set_exp.c M /trunk/src/set_f.c M /trunk/src/set_float128.c M /trunk/src/set_flt.c M /trunk/src/set_inf.c M /trunk/src/set_ld.c M /trunk/src/set_nan.c M /trunk/src/set_prc_raw.c M /trunk/src/set_prec.c M /trunk/src/set_q.c M /trunk/src/set_rnd.c M /trunk/src/set_si.c M /trunk/src/set_si_2exp.c M /trunk/src/set_sj.c M /trunk/src/set_str.c M /trunk/src/set_str_raw.c M /trunk/src/set_ui.c M /trunk/src/set_ui_2exp.c M /trunk/src/set_uj.c M /trunk/src/set_z.c M /trunk/src/set_z_exp.c M /trunk/src/set_zero.c M /trunk/src/setmax.c M /trunk/src/setmin.c M /trunk/src/setsign.c M /trunk/src/sgn.c M /trunk/src/si_op.c M /trunk/src/signbit.c M /trunk/src/sin.c M /trunk/src/sin_cos.c M /trunk/src/sinh.c M /trunk/src/sinh_cosh.c M /trunk/src/sparc64/mparam.h M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sqrt_tab.h M /trunk/src/sqrt_ui.c M /trunk/src/stack_interface.c M /trunk/src/strtofr.c M /trunk/src/sub.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sub_d.c M /trunk/src/sub_ui.c M /trunk/src/subnormal.c M /trunk/src/sum.c M /trunk/src/swap.c M /trunk/src/tan.c M /trunk/src/tanh.c M /trunk/src/ubf.c M /trunk/src/uceil_exp2.c M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c M /trunk/src/ui_div.c M /trunk/src/ui_pow.c M /trunk/src/ui_pow_ui.c M /trunk/src/ui_sub.c M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/src/vasprintf.c M /trunk/src/version.c M /trunk/src/volatile.c M /trunk/src/x86/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/corei5/mparam.h M /trunk/src/x86_64/pentium4/mparam.h M /trunk/src/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tests/Makefile.am M /trunk/tests/cmp_str.c M /trunk/tests/data/digamma M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/random2.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c M /trunk/tests/tabort_prec_max.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tai.c M /trunk/tests/talloc-cache.c M /trunk/tests/talloc.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tassert.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terandom.c M /trunk/tests/terandom_chisq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfpif.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tfrexp.c M /trunk/tests/tgamma.c M /trunk/tests/tgamma_inc.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/tgrandom.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tlog_ui.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tnrandom.c M /trunk/tests/tnrandom_chisq.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trandom_deviate.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/trndna.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_float128.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstdint.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tvalist.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tools/bench/Makefile.am M /trunk/tools/bench/benchtime.h M /trunk/tools/bench/mpfrbench.c M /trunk/tools/ck-clz_tab M /trunk/tools/ck-copyright-notice M /trunk/tools/ck-mparam M /trunk/tools/ck-news M /trunk/tools/ck-version-info M /trunk/tools/get_patches.sh M /trunk/tune/Makefile.am M /trunk/tune/bidimensional_sample.c M /trunk/tune/speed.c M /trunk/tune/tuneup.c Copyright notice update: added 2017 with perl -pi -e 's/ (\d{4}-)?(2016)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh, reverting the tools/mbench directory (not distributed with MPFR). Removed 2016 from the example in the doc/README.dev file. ------------------------------------------------------------------------ r11116 | vlefevre | 2016-12-31 04:01:05 +0000 (Sat, 31 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqr.c [src/sqr.c] Bug fixes (portability): replaced left shift of a value that can be negative by a multiplication by 2. ------------------------------------------------------------------------ r11115 | vlefevre | 2016-12-31 03:40:00 +0000 (Sat, 31 Dec 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] C90 compatibility. ------------------------------------------------------------------------ r11114 | vlefevre | 2016-12-31 03:28:01 +0000 (Sat, 31 Dec 2016) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] C90 compatibility. ------------------------------------------------------------------------ r11113 | vlefevre | 2016-12-31 03:17:51 +0000 (Sat, 31 Dec 2016) | 1 line Changed paths: M /trunk/src/invert_limb.c [src/invert_limb.c] Removed unused variable. ------------------------------------------------------------------------ r11112 | zimmerma | 2016-12-30 17:23:49 +0000 (Fri, 30 Dec 2016) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] small speedup in mpfr_mul_2 by not computing the product b0*c0 ------------------------------------------------------------------------ r11111 | zimmerma | 2016-12-30 16:39:13 +0000 (Fri, 30 Dec 2016) | 3 lines Changed paths: M /trunk/src/mul.c M /trunk/src/sqr.c [src/mul.c] fixed typo in comment [src/sqr.c] likewise ------------------------------------------------------------------------ r11110 | zimmerma | 2016-12-30 15:56:31 +0000 (Fri, 30 Dec 2016) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/sqr.c [src/mul.c] fixed regression for 1/2 limbs introduced in revision 11098: critical routines should not be exported, otherwise we lose a few cycles (maybe they are inlined by the compiler) ------------------------------------------------------------------------ r11109 | zimmerma | 2016-12-30 14:25:47 +0000 (Fri, 30 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c M /trunk/src/invert_limb.c M /trunk/src/mpfr-impl.h [src/div.c] further improvement in mpfr_div_1() ------------------------------------------------------------------------ r11108 | zimmerma | 2016-12-30 13:16:21 +0000 (Fri, 30 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] use an approximate quotient in mpfr_div_1() ------------------------------------------------------------------------ r11107 | zimmerma | 2016-12-30 12:19:40 +0000 (Fri, 30 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] simplify mpfr_div_1() ------------------------------------------------------------------------ r11106 | zimmerma | 2016-12-30 09:10:24 +0000 (Fri, 30 Dec 2016) | 5 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/div.c A /trunk/src/invert_limb.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h [src/invert_limb.c] new file for __gmpfr_invert_limb internal function (only provided so far for 64-bit limb) [src/div.c] mpfr_div_1 and mpfr_div_2 don't require --enable-gmp-internals any more ------------------------------------------------------------------------ r11105 | zimmerma | 2016-12-30 07:51:35 +0000 (Fri, 30 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt_tab.h [sqrt_tab.h] better file description ------------------------------------------------------------------------ r11104 | vlefevre | 2016-12-29 15:32:45 +0000 (Thu, 29 Dec 2016) | 1 line Changed paths: M /trunk/acinclude.m4 M /trunk/src/div.c Improvement concerning the _mulx_u64 intrinsic. ------------------------------------------------------------------------ r11103 | zimmerma | 2016-12-29 11:05:18 +0000 (Thu, 29 Dec 2016) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/div.c [src/div.c] replace GMP's invert_limb (internal) by own code ------------------------------------------------------------------------ r11101 | vlefevre | 2016-12-29 03:06:30 +0000 (Thu, 29 Dec 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Replaced constant MPFR_ASSERTD by MPFR_STAT_STATIC_ASSERT. ------------------------------------------------------------------------ r11098 | zimmerma | 2016-12-28 12:24:13 +0000 (Wed, 28 Dec 2016) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/sqr.c M /trunk/tools/mbench/mfv5-mpfr.cc [src/sqr.c] use special code for 1 and 2 limbs [mbench] added mpfr_sqr ------------------------------------------------------------------------ r11097 | zimmerma | 2016-12-28 10:25:31 +0000 (Wed, 28 Dec 2016) | 4 lines Changed paths: M /trunk/src/sqrt.c M /trunk/src/sqrt_tab.h [src/sqrt.c] faster sqrt code for 2 limbs and 64-bit limb (removed special code for 32-bit limb) [src/sqrt_tab.h] new table for mpn_sqrtrem4_approx ------------------------------------------------------------------------ r11096 | zimmerma | 2016-12-28 09:20:24 +0000 (Wed, 28 Dec 2016) | 2 lines Changed paths: M /trunk/tests/tlog.c [tlog.c] missing printf() ------------------------------------------------------------------------ r11095 | vlefevre | 2016-12-27 10:53:16 +0000 (Tue, 27 Dec 2016) | 2 lines Changed paths: M /trunk/NEWS [NEWS] Mention that mpfr_get_str now also sets the inexact flag when the conversion is inexact (completing r11073). ------------------------------------------------------------------------ r11094 | vlefevre | 2016-12-27 10:33:09 +0000 (Tue, 27 Dec 2016) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] Be stronger in mpfr_round_nearest_away documentation (as the ternary value is used each time the last bit on p+1 bits is not 0, i.e. in about half cases). ------------------------------------------------------------------------ r11093 | zimmerma | 2016-12-27 08:18:54 +0000 (Tue, 27 Dec 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] added stuff in mpfr_round_nearest_away documentation ------------------------------------------------------------------------ r11092 | vlefevre | 2016-12-27 02:33:59 +0000 (Tue, 27 Dec 2016) | 1 line Changed paths: M /trunk/src/log.c [src/log.c] Added another FIXME concerning the error analysis. ------------------------------------------------------------------------ r11091 | vlefevre | 2016-12-27 02:20:57 +0000 (Tue, 27 Dec 2016) | 2 lines Changed paths: M /trunk/src/log.c [src/log.c] Added an assertion and a FIXME: error in the MPFR code or in the proof (error analysis). ------------------------------------------------------------------------ r11090 | vlefevre | 2016-12-27 01:58:54 +0000 (Tue, 27 Dec 2016) | 1 line Changed paths: M /trunk/src/log.c [src/log.c] Slight simplification / improvement. ------------------------------------------------------------------------ r11089 | vlefevre | 2016-12-27 01:16:53 +0000 (Tue, 27 Dec 2016) | 7 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] In Section "The logarithm function" (from r9046), removed everything concerning the AGM since this is not what is done in the MPFR code, where mpfr_agm is simply called (and this function already has its own description later). Note: The error analysis of mpfr_log can only be found in log.c, but seems incorrect (though the bounds may be valid); it was introduced in r416. ------------------------------------------------------------------------ r11087 | vlefevre | 2016-12-26 02:43:56 +0000 (Mon, 26 Dec 2016) | 2 lines Changed paths: M /trunk/src/log.c [src/log.c] Group constant terms together (GCC takes advantage of this, at least on x86_64). ------------------------------------------------------------------------ r11086 | vlefevre | 2016-12-26 02:30:02 +0000 (Mon, 26 Dec 2016) | 2 lines Changed paths: M /trunk/src/log.c [src/log.c] Check for integer overflow (no visible changes in standard configuration) + explanations. ------------------------------------------------------------------------ r11085 | vlefevre | 2016-12-26 02:17:10 +0000 (Mon, 26 Dec 2016) | 1 line Changed paths: M /trunk/src/log.c [src/log.c] Get the exponent of the input only once. ------------------------------------------------------------------------ r11075 | vlefevre | 2016-12-20 12:57:31 +0000 (Tue, 20 Dec 2016) | 2 lines Changed paths: M /trunk/src/sum.c [src/sum.c] Delay some assignments so that they are done just before the variables are used (this should have been done in r10467). ------------------------------------------------------------------------ r11073 | vlefevre | 2016-12-20 11:41:54 +0000 (Tue, 20 Dec 2016) | 4 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] For mpfr_get_str, explicitly say that the inexact flag is set iff the result is inexact (since this may not be obvious and this wasn't the case until now). In the compatibility section, mention this change. ------------------------------------------------------------------------ r11072 | vlefevre | 2016-12-20 11:35:11 +0000 (Tue, 20 Dec 2016) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] For mpfr_get_str, removed the note saying that the inexact flag is not set when the conversion is inexact: this is fixed in r11071. ------------------------------------------------------------------------ r11071 | vlefevre | 2016-12-20 11:17:31 +0000 (Tue, 20 Dec 2016) | 2 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] Corrected a comment and a test for inexactness (→ the new tget_str.c test no longer fails). ------------------------------------------------------------------------ r11068 | vlefevre | 2016-12-19 16:05:20 +0000 (Mon, 19 Dec 2016) | 1 line Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Added a comment. ------------------------------------------------------------------------ r11067 | vlefevre | 2016-12-19 15:46:38 +0000 (Mon, 19 Dec 2016) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Better indentation. ------------------------------------------------------------------------ r11066 | vlefevre | 2016-12-19 15:36:30 +0000 (Mon, 19 Dec 2016) | 1 line Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Replaced mpfr_cmp() == 0 by mpfr_equal_p(). ------------------------------------------------------------------------ r11065 | vlefevre | 2016-12-19 15:04:12 +0000 (Mon, 19 Dec 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r11064 | vlefevre | 2016-12-19 14:17:11 +0000 (Mon, 19 Dec 2016) | 3 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] Removed an obsolete comment, which came from r2757 (and even before, under another form); this comment no longer made any sense as the sign of dir is no longer tested. ------------------------------------------------------------------------ r11063 | vlefevre | 2016-12-19 14:00:20 +0000 (Mon, 19 Dec 2016) | 1 line Changed paths: M /trunk/src/get_str.c [src/get_str.c] Indentation fixed. ------------------------------------------------------------------------ r11062 | vlefevre | 2016-12-19 13:59:35 +0000 (Mon, 19 Dec 2016) | 6 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] Setting the inexact flag as done in r11060 was incorrect since the flags are restored. Moreover, this was done even when the Ziv loop was going to fail (it's not clear whether this was expected). Moved the test out of the Ziv loop, and update the copy of the flags instead of the flags that will be overwritten. Note: this still fails, but now for another reason. ------------------------------------------------------------------------ r11061 | vlefevre | 2016-12-19 13:36:28 +0000 (Mon, 19 Dec 2016) | 2 lines Changed paths: M /trunk/tests/tget_str.c [tests/tget_str.c] Check the inexact flag for mpfr_get_str. The test currently fails. ------------------------------------------------------------------------ r11060 | zimmerma | 2016-12-19 08:26:26 +0000 (Mon, 19 Dec 2016) | 2 lines Changed paths: M /trunk/src/get_str.c [get_str.c] inexact flag should now be correct in mpfr_get_str ------------------------------------------------------------------------ r11059 | zimmerma | 2016-12-19 08:08:19 +0000 (Mon, 19 Dec 2016) | 2 lines Changed paths: M /trunk/src/strtofr.c [strtofr.c] updated comment ------------------------------------------------------------------------ r11058 | vlefevre | 2016-12-18 22:47:20 +0000 (Sun, 18 Dec 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a short note about the default precision for Re. ------------------------------------------------------------------------ r11057 | zimmerma | 2016-12-18 18:27:18 +0000 (Sun, 18 Dec 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] added emin in comment about mpfr_round_nearest_away ------------------------------------------------------------------------ r11056 | zimmerma | 2016-12-18 09:01:59 +0000 (Sun, 18 Dec 2016) | 2 lines Changed paths: M /trunk/src/get_str.c M /trunk/src/strtofr.c fixed bug in mpfr_strtofr (and likely similar bug in mpfr_get_str) ------------------------------------------------------------------------ r11055 | zimmerma | 2016-12-17 22:22:54 +0000 (Sat, 17 Dec 2016) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c [tstrtofr.c] added test for bug in mpfr_strtofr() ------------------------------------------------------------------------ r11054 | vlefevre | 2016-12-17 02:27:05 +0000 (Sat, 17 Dec 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Added "do ... while (0)" in macro definition. ------------------------------------------------------------------------ r11053 | vlefevre | 2016-12-16 15:04:26 +0000 (Fri, 16 Dec 2016) | 1 line Changed paths: M /trunk/src/div.c Removed trailing whitespace. ------------------------------------------------------------------------ r11052 | vlefevre | 2016-12-16 14:54:14 +0000 (Fri, 16 Dec 2016) | 2 lines Changed paths: M /trunk/src/round_raw_generic.c [src/round_raw_generic.c] Completed the support for MPFR_RNDNA (set *inexp if use_inexp is true), from a patch by John P. Hartmann. ------------------------------------------------------------------------ r11051 | zimmerma | 2016-12-16 11:15:14 +0000 (Fri, 16 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c M /trunk/src/sqrt_tab.h new mpn_sqrtrem4_approx function (unused so far) ------------------------------------------------------------------------ r11048 | vlefevre | 2016-12-15 15:18:42 +0000 (Thu, 15 Dec 2016) | 1 line Changed paths: M /trunk/src/sin.c [src/sin.c] Handled a FIXME. ------------------------------------------------------------------------ r11047 | vlefevre | 2016-12-15 14:53:27 +0000 (Thu, 15 Dec 2016) | 1 line Changed paths: M /trunk/src/sqrt_tab.h [src/sqrt_tab.h] Added copyright notice. ------------------------------------------------------------------------ r11044 | zimmerma | 2016-12-15 08:28:05 +0000 (Thu, 15 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [sqrt.c] simplify code for GMP_NUMB_BITS = 64 ------------------------------------------------------------------------ r11042 | zimmerma | 2016-12-14 21:07:34 +0000 (Wed, 14 Dec 2016) | 2 lines Changed paths: M /trunk/src/mpfr-longlong.h better fix than r11025 ------------------------------------------------------------------------ r11041 | zimmerma | 2016-12-14 16:42:32 +0000 (Wed, 14 Dec 2016) | 3 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/sqrt.c A /trunk/src/sqrt_tab.h [sqrt_tab.h] new header file with table for mpn_sqrtrem2_approx() [sqrt.c] new version of mpn_sqrtrem2_approx() ------------------------------------------------------------------------ r11039 | zimmerma | 2016-12-14 10:52:58 +0000 (Wed, 14 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [sqrt.c] added mathematical error in mpn_sqrtrem2_approx() ------------------------------------------------------------------------ r11038 | zimmerma | 2016-12-14 07:40:46 +0000 (Wed, 14 Dec 2016) | 2 lines Changed paths: M /trunk/tests/tsprintf.c added non-regression test for bug fix in r11037 ------------------------------------------------------------------------ r11037 | vlefevre | 2016-12-14 03:22:12 +0000 (Wed, 14 Dec 2016) | 4 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Fixed a bug as spec.prec can be a negative number other than -1 (if such a value is given as an argument with ".*"). This is the probable cause of the assertion failure on: https://gforge.inria.fr/tracker/?func=detail&atid=619&aid=21056&group_id=136 ------------------------------------------------------------------------ r11036 | zimmerma | 2016-12-13 17:42:05 +0000 (Tue, 13 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [sqrt.c] faster version of mpn_sqrtrem2 for 64-bit limb ------------------------------------------------------------------------ r11035 | zimmerma | 2016-12-13 11:36:56 +0000 (Tue, 13 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [sqrt.c] approximate version of mpn_sqrtrem2, saves a few cycles in mpfr_sqrt1 ------------------------------------------------------------------------ r11034 | zimmerma | 2016-12-13 08:09:07 +0000 (Tue, 13 Dec 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/sub1sp.c [add/sub] added MPFR_UNLIKELY when adding one ulp changes the binade ------------------------------------------------------------------------ r11033 | vlefevre | 2016-12-12 17:53:57 +0000 (Mon, 12 Dec 2016) | 1 line Changed paths: M /trunk/src/sin.c [src/sin.c] Added missing word in r11032 comment. ------------------------------------------------------------------------ r11032 | vlefevre | 2016-12-12 17:53:02 +0000 (Mon, 12 Dec 2016) | 1 line Changed paths: M /trunk/src/sin.c [src/sin.c] Common/related subexpressions. Added a FIXME. ------------------------------------------------------------------------ r11031 | zimmerma | 2016-12-12 17:32:09 +0000 (Mon, 12 Dec 2016) | 2 lines Changed paths: M /trunk/src/cos.c M /trunk/src/exp_2.c M /trunk/src/log.c [cos.c,exp_2.c,log.c] improved initial precision for Ziv's strategy ------------------------------------------------------------------------ r11030 | zimmerma | 2016-12-12 17:01:19 +0000 (Mon, 12 Dec 2016) | 2 lines Changed paths: M /trunk/src/sin.c [sin.c] improved strategy for initial precision ------------------------------------------------------------------------ r11029 | zimmerma | 2016-12-12 16:43:39 +0000 (Mon, 12 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [sqrt.c] updated code and comments ------------------------------------------------------------------------ r11028 | zimmerma | 2016-12-12 15:26:22 +0000 (Mon, 12 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [sqrt.c] slightly improve mpn_rsqrtrem1() (and detailed error analysis) ------------------------------------------------------------------------ r11027 | zimmerma | 2016-12-12 10:25:51 +0000 (Mon, 12 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [sqrt.c] removed mpn_sqrtrem1 (no longer needed since r11023) ------------------------------------------------------------------------ r11026 | zimmerma | 2016-12-12 10:23:39 +0000 (Mon, 12 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [sqrt.c] fixed comments to be coherent with the code ------------------------------------------------------------------------ r11025 | zimmerma | 2016-12-12 09:04:19 +0000 (Mon, 12 Dec 2016) | 2 lines Changed paths: M /trunk/src/mpfr-longlong.h fixed https://gforge.inria.fr/tracker/?func=detail&atid=619&aid=21053&group_id=136 ------------------------------------------------------------------------ r11024 | vlefevre | 2016-12-09 19:55:12 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Corrected a comment (1 has exponent 1 and we support precision 1). ------------------------------------------------------------------------ r11023 | zimmerma | 2016-12-09 16:59:46 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [sqrt.c] no more special case for prec <= GMP_NUMB_BITS/2, and added comments ------------------------------------------------------------------------ r11022 | vlefevre | 2016-12-09 15:13:10 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Bug fix (replaced = by ==). Note: this kind of bug could be detected by avoiding extra parentheses. ------------------------------------------------------------------------ r11021 | vlefevre | 2016-12-09 15:01:25 +0000 (Fri, 09 Dec 2016) | 1 line Changed paths: M /trunk/src/div.c M /trunk/src/sqrt.c [src] Simplified ~MPFR_LIMB_ZERO to MPFR_LIMB_MAX. ------------------------------------------------------------------------ r11020 | zimmerma | 2016-12-09 14:55:31 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c [div.c] simplified mpfr_div_1 and mpfr_div_2 ------------------------------------------------------------------------ r11019 | zimmerma | 2016-12-09 14:34:20 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c [div.c] added comments and simplified code ------------------------------------------------------------------------ r11018 | zimmerma | 2016-12-09 13:53:45 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c [div.c] simplified code ------------------------------------------------------------------------ r11017 | zimmerma | 2016-12-09 13:50:55 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/mul.c M /trunk/tests/tmul.c likewise for mpfr_mul_2() ------------------------------------------------------------------------ r11016 | zimmerma | 2016-12-09 13:44:45 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/mul.c M /trunk/tests/tmul.c fixed bug in mpfr_mul_1() introduced in r11004 and added test case ------------------------------------------------------------------------ r11015 | zimmerma | 2016-12-09 13:14:56 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c [div.c] simplified underflow test in mpfr_div_1() ------------------------------------------------------------------------ r11014 | vlefevre | 2016-12-09 12:51:17 +0000 (Fri, 09 Dec 2016) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] underflow is unlikely! ------------------------------------------------------------------------ r11013 | vlefevre | 2016-12-09 12:48:20 +0000 (Fri, 09 Dec 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] overflow and underflow are unlikely! ------------------------------------------------------------------------ r11012 | zimmerma | 2016-12-09 12:42:08 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c [div.c] overflow and underflow are unlikely! ------------------------------------------------------------------------ r11011 | zimmerma | 2016-12-09 12:30:39 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c [div.c] slightly better code (less dependencies) for mpfr_div_1 when u0 >= v0 ------------------------------------------------------------------------ r11010 | zimmerma | 2016-12-09 12:02:19 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/div.c [div.c] simplified mpfr_div_1() code ------------------------------------------------------------------------ r11009 | zimmerma | 2016-12-09 11:52:44 +0000 (Fri, 09 Dec 2016) | 3 lines Changed paths: M /trunk/src/div.c [div.c] in mpfr_div_1, do not deal with the case where the precision is <= GMP_NUMB_BITS/2, to not slow down the general case ------------------------------------------------------------------------ r11008 | vlefevre | 2016-12-09 11:45:35 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] Slight improvement (but shouldn't affect the generated code with an optimizing compiler). ------------------------------------------------------------------------ r11007 | zimmerma | 2016-12-09 11:34:58 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/mul.c [mul.c] likewise for mpfr_mul_2() ------------------------------------------------------------------------ r11006 | zimmerma | 2016-12-09 11:31:52 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/mul.c [mul.c] simplified mpfr_mul_1() ------------------------------------------------------------------------ r11005 | zimmerma | 2016-12-09 10:50:30 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/mul.c M /trunk/tests/tmul.c fixed similar bug in mpfr_mul_2() + non-regression test ------------------------------------------------------------------------ r11004 | zimmerma | 2016-12-09 10:30:53 +0000 (Fri, 09 Dec 2016) | 3 lines Changed paths: M /trunk/src/mul.c M /trunk/tests/tmul.c [mul.c] simplified the code and fixed a bug [tmul.c] added non-regression test for fixed bug ------------------------------------------------------------------------ r11003 | zimmerma | 2016-12-09 10:10:42 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [sub1sp.c] added comment + assert ------------------------------------------------------------------------ r11002 | vlefevre | 2016-12-09 08:59:15 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h [src] Fixed bug introduced in r10964 with --with-gmp-build: move the numberof_const() definition from mpfr-gmp.h to mpfr-impl.h. ------------------------------------------------------------------------ r11001 | zimmerma | 2016-12-09 08:46:20 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c [add1sp.c] added comment ------------------------------------------------------------------------ r11000 | zimmerma | 2016-12-09 08:26:54 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c [add1sp.c] simplified mpfr_add1sp2() ------------------------------------------------------------------------ r10999 | zimmerma | 2016-12-09 07:54:55 +0000 (Fri, 09 Dec 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [sub1sp.c] in mpfr_sub1sp2(), compute a0 before a1 whenever possible ------------------------------------------------------------------------ r10998 | vlefevre | 2016-12-09 00:33:52 +0000 (Fri, 09 Dec 2016) | 1 line Changed paths: M /trunk/tools/mbench/mfv5.cc [tools/mbench/mfv5.cc] Fixed type. ------------------------------------------------------------------------ r10997 | zimmerma | 2016-12-08 17:16:48 +0000 (Thu, 08 Dec 2016) | 2 lines Changed paths: M /trunk/tools/mbench/timp.h [mbench] fixed typo ------------------------------------------------------------------------ r10995 | vlefevre | 2016-12-08 12:34:52 +0000 (Thu, 08 Dec 2016) | 1 line Changed paths: M /trunk/src/sub1sp.c M /trunk/tests/tcheck.c Replaced two ~0 with mp_limb_t target by MPFR_LIMB_MAX. ------------------------------------------------------------------------ r10994 | vlefevre | 2016-12-08 12:25:17 +0000 (Thu, 08 Dec 2016) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Added a test detecting code like ~0 (either an error or poorly written code). ------------------------------------------------------------------------ r10993 | zimmerma | 2016-12-08 11:00:19 +0000 (Thu, 08 Dec 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/sub1sp.c improved add1sp.c and sub1sp.c like in r10991 ------------------------------------------------------------------------ r10992 | zimmerma | 2016-12-08 10:59:09 +0000 (Thu, 08 Dec 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5.cc [mbench] set default max_exp to 1 (independent of number of bits per limb) ------------------------------------------------------------------------ r10991 | zimmerma | 2016-12-08 10:32:38 +0000 (Thu, 08 Dec 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [sub1sp.c] improved further ------------------------------------------------------------------------ r10990 | zimmerma | 2016-12-08 08:46:31 +0000 (Thu, 08 Dec 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5.cc [mbench] use mpfr_printf to print test numbers ------------------------------------------------------------------------ r10989 | zimmerma | 2016-12-08 08:23:26 +0000 (Thu, 08 Dec 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5.cc fixed bug in mfv5 (numbers used were 10 times too large) ------------------------------------------------------------------------ r10987 | zimmerma | 2016-12-07 16:21:48 +0000 (Wed, 07 Dec 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [sub1sp.c] corrected a comment, added another one ------------------------------------------------------------------------ r10986 | vlefevre | 2016-12-07 15:46:22 +0000 (Wed, 07 Dec 2016) | 1 line Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Typo in a comment. ------------------------------------------------------------------------ r10985 | vlefevre | 2016-12-07 15:35:15 +0000 (Wed, 07 Dec 2016) | 1 line Changed paths: M /trunk/src/pow.c [src/pow.c] Punctuation to make clear that there are 2 sentences. ------------------------------------------------------------------------ r10984 | zimmerma | 2016-12-07 15:29:27 +0000 (Wed, 07 Dec 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/sub1sp.c likewise r10983 ------------------------------------------------------------------------ r10983 | zimmerma | 2016-12-07 15:06:48 +0000 (Wed, 07 Dec 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c [add1sp.c] improved a conditional (if compiler is not smart enough) ------------------------------------------------------------------------ r10982 | zimmerma | 2016-12-07 13:14:33 +0000 (Wed, 07 Dec 2016) | 2 lines Changed paths: M /trunk/src/exp_2.c [exp_2.c] small improvements ------------------------------------------------------------------------ r10981 | vlefevre | 2016-12-07 12:13:21 +0000 (Wed, 07 Dec 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] MPFR_INT_CEIL_LOG2(x) macro: added a FIXME and an assertion concerning whether x <= ULONG_MAX or not. ------------------------------------------------------------------------ r10980 | vlefevre | 2016-12-07 11:52:48 +0000 (Wed, 07 Dec 2016) | 1 line Changed paths: M /trunk/src/pow.c [src/pow.c] Added an assertion. ------------------------------------------------------------------------ r10979 | zimmerma | 2016-12-07 11:51:24 +0000 (Wed, 07 Dec 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [algorithms.tex] fixed typo ------------------------------------------------------------------------ r10978 | zimmerma | 2016-12-07 11:10:01 +0000 (Wed, 07 Dec 2016) | 2 lines Changed paths: M /trunk/src/pow.c [pow.c] tuned starting precision (and removed obsolete comment) ------------------------------------------------------------------------ r10977 | zimmerma | 2016-12-07 10:42:04 +0000 (Wed, 07 Dec 2016) | 2 lines Changed paths: M /trunk/src/pow.c use MPFR_INT_CEIL_LOG2 ------------------------------------------------------------------------ r10973 | zimmerma | 2016-12-06 17:12:59 +0000 (Tue, 06 Dec 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5.cc M /trunk/tools/mbench/mfv5.h [mfv5] added option -e, for example use -e1 to avoid over/underflow in mpfr_pow ------------------------------------------------------------------------ r10972 | zimmerma | 2016-12-06 17:11:42 +0000 (Tue, 06 Dec 2016) | 3 lines Changed paths: M /trunk/src/pow.c [pow.c] reduced overhead of special cases (gives speedup of a factor of two for 53 bits of precision) ------------------------------------------------------------------------ r10970 | zimmerma | 2016-12-06 14:16:33 +0000 (Tue, 06 Dec 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5-mpfr.cc added mpfr_pow ------------------------------------------------------------------------ r10969 | vlefevre | 2016-12-06 08:22:02 +0000 (Tue, 06 Dec 2016) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Correction for zsh change after v5.2 (POSIX compat: "set -e; f() { false && true; }; f; echo OK" no longer prints OK). ------------------------------------------------------------------------ r10964 | vlefevre | 2016-11-29 16:06:33 +0000 (Tue, 29 Nov 2016) | 8 lines Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mulders.c Check that the numberof() macro is used on an array. * src/mpfr-gmp.h: define numberof_const() macro, equivalent to the old numberof() macro: no check, but constant expression; improved the numberof() macro to check that it is used on an array (since an array can silently be converted to a pointer in C). Note that potential failures are currently reported at run time. * src/mulders.c: replaced numberof by numberof_const in #define's (also removed a useless cast at the same time). ------------------------------------------------------------------------ r10963 | vlefevre | 2016-11-17 22:28:27 +0000 (Thu, 17 Nov 2016) | 2 lines Changed paths: M /trunk/src/set_ld.c M /trunk/tests/tset_ld.c [src/set_ld.c,tests/tset_ld.c] Updated comments, in particular concerning LDBL_MAX. ------------------------------------------------------------------------ r10961 | vlefevre | 2016-11-15 13:59:58 +0000 (Tue, 15 Nov 2016) | 3 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Added an overflow test that triggers a bug for double-double (IBM long double format). See: https://sympa.inria.fr/sympa/arc/mpfr/2016-11/msg00006.html ------------------------------------------------------------------------ r10960 | vlefevre | 2016-11-15 13:48:27 +0000 (Tue, 15 Nov 2016) | 5 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Fixed bugs for double-double (IBM long double format): * one from r8650, which could yield a spurious assertion failure in debug mode in case of underflow (with result 0); * one from r8972, which used the variable sign uninitialized and could yield a result with an incorrect sign. ------------------------------------------------------------------------ r10959 | vlefevre | 2016-11-15 13:16:04 +0000 (Tue, 15 Nov 2016) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Added a missing exit(1). ------------------------------------------------------------------------ r10958 | vlefevre | 2016-11-15 09:44:27 +0000 (Tue, 15 Nov 2016) | 7 lines Changed paths: M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tset_ld.c [tests] _GMP_IEEE_FLOATS was got rid of in r10150, but still used in the tests, meaning that some tests were no longer done. So, get rid of _GMP_IEEE_FLOATS also in the tests. Testing !defined(MPFR_ERRDIVZERO) or defined(HAVE_SIGNEDZ) should be sufficient, depending on the context (they were already used alone at some other places, so that new failures are unlikely); anyway, _GMP_IEEE_FLOATS was not the right macro to test. Only tget_set_d64.c has a specific change to use _MPFR_IEEE_FLOATS. ------------------------------------------------------------------------ r10957 | vlefevre | 2016-11-15 08:43:19 +0000 (Tue, 15 Nov 2016) | 2 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] For double-double (IBM long double format): test other special values, as this may be useful. ------------------------------------------------------------------------ r10956 | vlefevre | 2016-11-15 07:41:32 +0000 (Tue, 15 Nov 2016) | 4 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] For double-double (IBM long double format), the code was incorrect on large finite values, which are infinite as a double: (+inf) + (-inf) was computed, which is NaN (thanks to Rob for the report). Fixed this bug, with code clean up (not tested). ------------------------------------------------------------------------ r10954 | vlefevre | 2016-11-10 15:45:24 +0000 (Thu, 10 Nov 2016) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] Added a note about MinGW and libtool error "libobj name ... may not contain shell special characters.", with a solution. ------------------------------------------------------------------------ r10953 | vlefevre | 2016-11-09 04:27:57 +0000 (Wed, 09 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Final corrections. ------------------------------------------------------------------------ r10952 | vlefevre | 2016-11-09 03:52:03 +0000 (Wed, 09 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Another correction due to the rewrite for reuse support. ------------------------------------------------------------------------ r10951 | vlefevre | 2016-11-09 03:20:29 +0000 (Wed, 09 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Correction. ------------------------------------------------------------------------ r10944 | vlefevre | 2016-11-08 10:07:52 +0000 (Tue, 08 Nov 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Added a short explanation for halfway cases. ------------------------------------------------------------------------ r10943 | vlefevre | 2016-11-08 01:04:49 +0000 (Tue, 08 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Improved an example (from my ARITH-23 slides). ------------------------------------------------------------------------ r10942 | vlefevre | 2016-11-08 00:59:47 +0000 (Tue, 08 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] English usage. ------------------------------------------------------------------------ r10941 | vlefevre | 2016-11-07 14:17:28 +0000 (Mon, 07 Nov 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Explained the handling of halfway cases for sq = 1 (since the explanations for sq ≥ 2 are not valid for sq = 1). ------------------------------------------------------------------------ r10940 | vlefevre | 2016-11-07 14:06:50 +0000 (Mon, 07 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Minor update. ------------------------------------------------------------------------ r10939 | vlefevre | 2016-11-07 03:47:24 +0000 (Mon, 07 Nov 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Last corrections. Concerning the setting of the sign of the result, this changed with the support for precision 1 (see r10068). ------------------------------------------------------------------------ r10938 | vlefevre | 2016-11-07 03:03:06 +0000 (Mon, 07 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Correction (English). ------------------------------------------------------------------------ r10937 | vlefevre | 2016-11-07 02:41:11 +0000 (Mon, 07 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Correction about neg / sgn. ------------------------------------------------------------------------ r10936 | vlefevre | 2016-11-07 01:47:17 +0000 (Mon, 07 Nov 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Added details about the handling of halfway cases, as the rule is not obvious due to two's complement representation. ------------------------------------------------------------------------ r10935 | vlefevre | 2016-11-06 23:46:57 +0000 (Sun, 06 Nov 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Cosmetic change for consistency between lbit and rbit. ------------------------------------------------------------------------ r10934 | vlefevre | 2016-11-06 22:39:38 +0000 (Sun, 06 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Minor update. ------------------------------------------------------------------------ r10933 | vlefevre | 2016-11-04 13:55:53 +0000 (Fri, 04 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] A bit more explanations. ------------------------------------------------------------------------ r10932 | vlefevre | 2016-11-04 12:52:58 +0000 (Fri, 04 Nov 2016) | 3 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Corrected the usage of the HYPHEN-MINUS character (-): * If it is a minus sign, use U+2212 MINUS SIGN (as already done). * Do not use "-" after the "non" and "pre" prefixes. ------------------------------------------------------------------------ r10931 | vlefevre | 2016-11-04 10:32:55 +0000 (Fri, 04 Nov 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Minor improvement. ------------------------------------------------------------------------ r10929 | vlefevre | 2016-10-27 15:25:34 +0000 (Thu, 27 Oct 2016) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Replaced "TZ=UTC" by "TZ=GMT0" for portability. ------------------------------------------------------------------------ r10928 | vlefevre | 2016-10-27 13:54:43 +0000 (Thu, 27 Oct 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Added a note. ------------------------------------------------------------------------ r10927 | vlefevre | 2016-10-27 13:51:11 +0000 (Thu, 27 Oct 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update for the current code (support of reused arguments); some other improvements. ------------------------------------------------------------------------ r10926 | vlefevre | 2016-10-27 13:47:16 +0000 (Thu, 27 Oct 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Corrected 2 typos. ------------------------------------------------------------------------ r10925 | vlefevre | 2016-10-27 12:30:01 +0000 (Thu, 27 Oct 2016) | 5 lines Changed paths: M /trunk/src/sum.c [src/sum.c] Changed a MPN_COPY_DECR to MPN_COPY, which may be more efficient: as of r10464 (support for reused arguments), the memory used by the accumulator for the TMD resolution is no longer a part of the main accumulator, so that we now know that the memory blocks do not overlap. ------------------------------------------------------------------------ r10924 | vlefevre | 2016-10-26 13:46:28 +0000 (Wed, 26 Oct 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Corrected a comment from r10503. ------------------------------------------------------------------------ r10923 | vlefevre | 2016-10-26 13:39:20 +0000 (Wed, 26 Oct 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Moved/rewrote a comment (should have been done in r10467). ------------------------------------------------------------------------ r10922 | vlefevre | 2016-10-25 14:49:00 +0000 (Tue, 25 Oct 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Started the update for the code supporting reuse. ------------------------------------------------------------------------ r10920 | vlefevre | 2016-10-25 06:57:56 +0000 (Tue, 25 Oct 2016) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed r10916 (thanks to Eli Zaretskii for the report). ------------------------------------------------------------------------ r10918 | vlefevre | 2016-10-24 13:30:10 +0000 (Mon, 24 Oct 2016) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Improved a macro from r10916 (just in case...). ------------------------------------------------------------------------ r10916 | vlefevre | 2016-10-24 12:53:55 +0000 (Mon, 24 Oct 2016) | 7 lines Changed paths: M /trunk/src/const_catalan.c M /trunk/src/const_euler.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/exceptions.c M /trunk/src/mpfr-impl.h M /trunk/src/set_dfl_prec.c M /trunk/src/set_rnd.c [src] Support build as thread-safe DLL on Windows: clean-up. * Increased the use of macros to avoid some code duplication (with risks of typos) and to prevent the problems related to thread-safe DLL from appearing in the .c files. * The prototypes of the functions to access the address of a TLS variable are now defined. Otherwise one gets warnings: https://sympa.inria.fr/sympa/arc/mpfr/2016-10/msg00004.html ------------------------------------------------------------------------ r10915 | vlefevre | 2016-10-20 15:00:30 +0000 (Thu, 20 Oct 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Minor correction and improvement (English). ------------------------------------------------------------------------ r10914 | vlefevre | 2016-10-20 14:22:35 +0000 (Thu, 20 Oct 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] "a" → "an" before "additional iteration". ------------------------------------------------------------------------ r10912 | vlefevre | 2016-10-18 08:06:35 +0000 (Tue, 18 Oct 2016) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Updated a comment about bit-fields. ------------------------------------------------------------------------ r10902 | vlefevre | 2016-09-27 15:10:30 +0000 (Tue, 27 Sep 2016) | 8 lines Changed paths: M /trunk/src/init2.c M /trunk/src/mpfr-impl.h M /trunk/src/round_prec.c M /trunk/src/set_prec.c [src] * mpfr-impl.h: document the memory allocated for a significand; added a cast to avoid a direct conversion from mp_limb_t * to mp_size_t *. * init2.c, round_prec.c, set_prec.c: code clean-up by correcting the type expected for the second argument of MPFR_SET_MANT_PTR (this macro has a cast, so that this should not change anything, but the old type mpfr_limb_ptr was meaningless and confusing). ------------------------------------------------------------------------ r10890 | vlefevre | 2016-09-23 14:19:16 +0000 (Fri, 23 Sep 2016) | 1 line Changed paths: M /trunk/examples/version.c [examples/version.c] For MPFR >= 4, output float128 support info. ------------------------------------------------------------------------ r10888 | vlefevre | 2016-09-23 14:06:48 +0000 (Fri, 23 Sep 2016) | 1 line Changed paths: M /trunk/examples/version.c [examples/version.c] A bit more output. ------------------------------------------------------------------------ r10886 | vlefevre | 2016-09-23 13:47:14 +0000 (Fri, 23 Sep 2016) | 4 lines Changed paths: M /trunk/examples/version.c [examples/version.c] * Really support C++ compilers (tested with g++ 6.2.0). * Output information about the C implementation. * Detect MPIR (→ output information on MPIR instead of GMP). ------------------------------------------------------------------------ r10885 | vlefevre | 2016-09-23 13:14:12 +0000 (Fri, 23 Sep 2016) | 5 lines Changed paths: M /trunk/examples/version.c [examples/version.c] * Code simplification: support for MPFR versions less than 3.0 had already been dropped with the use of MPFR_RNDN. * For MPFR patches, output "[none]" when there are no patches. * Output mpfr_ptr size. ------------------------------------------------------------------------ r10884 | vlefevre | 2016-09-21 15:11:16 +0000 (Wed, 21 Sep 2016) | 2 lines Changed paths: M /trunk/src/sin_cos.c [src/sin_cos.c] Avoid the reuse of variables for two completely different things (with different orders of magnitude)! Changed types. ------------------------------------------------------------------------ r10883 | vlefevre | 2016-09-21 15:06:52 +0000 (Wed, 21 Sep 2016) | 3 lines Changed paths: M /trunk/src/exp3.c [src/exp3.c] Avoid the reuse of variables for two completely different things (with different orders of magnitude)! Added a cast to avoid a potential integer overflow (like in r10881). ------------------------------------------------------------------------ r10882 | vlefevre | 2016-09-21 15:05:07 +0000 (Wed, 21 Sep 2016) | 2 lines Changed paths: M /trunk/src/atan.c [src/atan.c] Avoid the reuse of variables for two completely different things (with different orders of magnitude)! Changed types. ------------------------------------------------------------------------ r10881 | vlefevre | 2016-09-21 13:54:01 +0000 (Wed, 21 Sep 2016) | 6 lines Changed paths: M /trunk/src/atan.c M /trunk/src/sin_cos.c [src/{atan.c,sin_cos.c}] Added casts to avoid potential integer overflows. Possible issue reported by David Binderman: https://sympa.inria.fr/sympa/arc/mpfr/2016-09/msg00029.html Note: From tests I've done on mpfr_atan, there would be issues with 16-bit int, but for 32-bit int, one could need several hundreds of billions of bits for the target precision. ------------------------------------------------------------------------ r10880 | vlefevre | 2016-09-21 11:34:52 +0000 (Wed, 21 Sep 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": updated paragraph about warnings. ------------------------------------------------------------------------ r10879 | vlefevre | 2016-09-21 11:12:23 +0000 (Wed, 21 Sep 2016) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] In the MPFR_RET macro, avoid the use of an integer in a boolean context (even though that this is not wrong in C). Fix after a bug report from David Binderman. Explanations: https://sympa.inria.fr/sympa/arc/mpfr/2016-09/msg00028.html ------------------------------------------------------------------------ r10878 | vlefevre | 2016-09-16 13:34:49 +0000 (Fri, 16 Sep 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Riemann Zeta function, case s < 1/2: added a paragraph on the sin(...) term of the reflection formula. ------------------------------------------------------------------------ r10877 | vlefevre | 2016-09-16 13:05:04 +0000 (Fri, 16 Sep 2016) | 1 line Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] More work on the Riemann Zeta function. ------------------------------------------------------------------------ r10876 | vlefevre | 2016-09-15 13:31:39 +0000 (Thu, 15 Sep 2016) | 4 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Riemann Zeta function, case s < 1/2: added a paragraph briefly describing how the precisions of the variables will be chosen (this is much more efficient than the current code when the target precision is much lower than the input precision). ------------------------------------------------------------------------ r10875 | vlefevre | 2016-09-15 13:17:58 +0000 (Thu, 15 Sep 2016) | 10 lines Changed paths: M /trunk/doc/algorithms.tex M /trunk/src/zeta.c Some improvements / corrections in the description / proof of the algorithm for the Riemann Zeta function. * doc/algorithms.tex, section on the Riemann Zeta function: the case s < 1/2 (reflection formula) is now in a new section, which needs to be completed (with the detailed algorithm and error analysis); case "s close to 0" added and now properly proved. * src/zeta.c: update of the comment for s close to 0 (the brief explanations were wrong for precision 1, and this was apparently not checked when we allowed this precision!), adding a reference to algorithms.tex for details. ------------------------------------------------------------------------ r10874 | vlefevre | 2016-09-14 14:35:33 +0000 (Wed, 14 Sep 2016) | 3 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] In "[[…]]" conditional expressions, replaced "=" by the preferred (and equivalent) form "==". Discussion: https://www.zsh.org/mla/workers/2016/msg01711.html ------------------------------------------------------------------------ r10872 | vlefevre | 2016-09-14 07:59:27 +0000 (Wed, 14 Sep 2016) | 1 line Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Improved code readability (related to r10871). ------------------------------------------------------------------------ r10871 | zimmerma | 2016-09-14 06:39:43 +0000 (Wed, 14 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] improved code (found by David Binderman using cppcheck) ------------------------------------------------------------------------ r10870 | vlefevre | 2016-09-14 01:09:00 +0000 (Wed, 14 Sep 2016) | 3 lines Changed paths: M /trunk/tools/announce-text [tools/announce-text] Use the 64-bit key ID instead of the 32-bit one since there are known collisions for 32-bit key ID's: https://evil32.com/ ------------------------------------------------------------------------ r10865 | vlefevre | 2016-09-13 15:11:11 +0000 (Tue, 13 Sep 2016) | 4 lines Changed paths: M /trunk/src/zeta.c M /trunk/tests/tzeta.c [src/zeta.c] Added a FIXME: bug in the error computation due to the use of the native double C type, which can yield an overflow. [tests/tzeta.c] Added a corresponding test case, which gives an assertion failure. ------------------------------------------------------------------------ r10864 | vlefevre | 2016-09-13 14:53:46 +0000 (Tue, 13 Sep 2016) | 3 lines Changed paths: M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c [src/{uceil_log2.c,ufloor_log2.c}] Added "MPFR_ASSERTN (exp < 1023);" to get an assertion failure on infinities (which do not have an exponent). ------------------------------------------------------------------------ r10863 | vlefevre | 2016-09-13 14:50:38 +0000 (Tue, 13 Sep 2016) | 1 line Changed paths: M /trunk/src/uceil_log2.c [src/uceil_log2.c] Code style. ------------------------------------------------------------------------ r10862 | vlefevre | 2016-09-13 14:46:08 +0000 (Tue, 13 Sep 2016) | 1 line Changed paths: M /trunk/src/ufloor_log2.c [src/ufloor_log2.c] Code style. ------------------------------------------------------------------------ r10861 | vlefevre | 2016-09-13 14:05:24 +0000 (Tue, 13 Sep 2016) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] Make explicit that we need to use lngamma. ------------------------------------------------------------------------ r10860 | vlefevre | 2016-09-13 13:58:51 +0000 (Tue, 13 Sep 2016) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] Updated comments on overflows / underflows. ------------------------------------------------------------------------ r10859 | vlefevre | 2016-09-13 09:02:16 +0000 (Tue, 13 Sep 2016) | 3 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] About internal underflows / cancellation: * Added comments to FIXME's. * Detect a potential integer overflow with MPFR_ASSERTN. ------------------------------------------------------------------------ r10851 | vlefevre | 2016-09-12 10:11:31 +0000 (Mon, 12 Sep 2016) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Moved a comment. ------------------------------------------------------------------------ r10850 | vlefevre | 2016-09-12 10:05:12 +0000 (Mon, 12 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Fixed print_binary (and no longer any failure with gcc -mpc64 on x86). ------------------------------------------------------------------------ r10849 | vlefevre | 2016-09-12 09:44:19 +0000 (Mon, 12 Sep 2016) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Corrected note in print_binary. ------------------------------------------------------------------------ r10848 | vlefevre | 2016-09-12 09:42:56 +0000 (Mon, 12 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Reverted r10847 (it was incomplete and I was testing the wrong code). ------------------------------------------------------------------------ r10847 | vlefevre | 2016-09-12 09:40:34 +0000 (Mon, 12 Sep 2016) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Fixed print_binary. ------------------------------------------------------------------------ r10846 | vlefevre | 2016-09-12 09:13:52 +0000 (Mon, 12 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Added a FIXME in print_binary, which can yield an incorrect output and return a wrong precision (causing the failure). ------------------------------------------------------------------------ r10845 | vlefevre | 2016-09-12 09:08:38 +0000 (Mon, 12 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Added a test that triggers a failure with gcc -mpc64 on x86 (64-bit ABI). ------------------------------------------------------------------------ r10844 | vlefevre | 2016-09-12 08:48:04 +0000 (Mon, 12 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Added some tests in case the rounding precision is smaller than MPFR_LDBL_MANT_DIG (e.g. with gcc -mpc64 on x86). ------------------------------------------------------------------------ r10843 | vlefevre | 2016-09-12 08:09:24 +0000 (Mon, 12 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] In print_binary, added an assertion that may fail with flush-to-zero on underflow (avoiding an infinite loop). ------------------------------------------------------------------------ r10842 | vlefevre | 2016-09-12 08:03:58 +0000 (Mon, 12 Sep 2016) | 4 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Simplified a condition in print_binary (BTW, the old condition was based on the fact that the rounding depended only on the exact result, which may not be the case when rounding is not completely specified, e.g. with double-double arithmetic like on PowerPC). ------------------------------------------------------------------------ r10841 | vlefevre | 2016-09-12 07:15:30 +0000 (Mon, 12 Sep 2016) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Replaced a condition by a simpler, equivalent one. ------------------------------------------------------------------------ r10840 | zimmerma | 2016-09-10 05:55:31 +0000 (Sat, 10 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] added note ------------------------------------------------------------------------ r10839 | zimmerma | 2016-09-09 14:41:49 +0000 (Fri, 09 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] get rid of C99-only stuff ------------------------------------------------------------------------ r10838 | vlefevre | 2016-09-09 14:32:14 +0000 (Fri, 09 Sep 2016) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Removed a variable that is no longer used. ------------------------------------------------------------------------ r10837 | vlefevre | 2016-09-09 12:49:59 +0000 (Fri, 09 Sep 2016) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] FIXME: nextafterl and ilogbl are C99 only. ------------------------------------------------------------------------ r10836 | zimmerma | 2016-09-09 11:13:31 +0000 (Fri, 09 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] fixed computation of smallest subnormal using nextafterl ------------------------------------------------------------------------ r10835 | zimmerma | 2016-09-09 11:09:48 +0000 (Fri, 09 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] added warning ------------------------------------------------------------------------ r10834 | zimmerma | 2016-09-09 10:52:27 +0000 (Fri, 09 Sep 2016) | 3 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] fixed print_binary() for when the rounding precision is less than the precision of long double ------------------------------------------------------------------------ r10833 | vlefevre | 2016-09-09 09:02:16 +0000 (Fri, 09 Sep 2016) | 2 lines Changed paths: M /trunk/src/get_ld.c M /trunk/tests/tset_ld.c [src/get_ld.c] Replaced FIXME by an explanation of the current behavior. [tests/tset_ld.c] Added a FIXME as a consequence. ------------------------------------------------------------------------ r10832 | vlefevre | 2016-09-09 00:23:59 +0000 (Fri, 09 Sep 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about NetBSD. ------------------------------------------------------------------------ r10829 | vlefevre | 2016-09-08 16:37:56 +0000 (Thu, 08 Sep 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Corrected a spelling mistake. ------------------------------------------------------------------------ r10828 | vlefevre | 2016-09-08 16:15:18 +0000 (Thu, 08 Sep 2016) | 1 line Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Updated FIXME (mention subnormals). ------------------------------------------------------------------------ r10827 | vlefevre | 2016-09-08 15:48:59 +0000 (Thu, 08 Sep 2016) | 1 line Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Updated FIXME (this is NetBSD 5.1). ------------------------------------------------------------------------ r10826 | vlefevre | 2016-09-08 15:35:19 +0000 (Thu, 08 Sep 2016) | 1 line Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Added a FIXME, in particular for NetBSD. ------------------------------------------------------------------------ r10825 | vlefevre | 2016-09-08 15:17:10 +0000 (Thu, 08 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Avoid a freeze in print_binary under NetBSD due to excess precision in LDBL_MAX (we do not run the test in this case). ------------------------------------------------------------------------ r10824 | zimmerma | 2016-09-08 14:22:04 +0000 (Thu, 08 Sep 2016) | 3 lines Changed paths: M /trunk/src/sqrt.c M /trunk/tests/tsqrt.c [src/sqrt.c] fixed bug in mpfr_sqrt2 [tests/tsqrt.c] added non-regression test ------------------------------------------------------------------------ r10823 | vlefevre | 2016-09-08 13:57:26 +0000 (Thu, 08 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] The print_binary function is freezing on a NetBSD machine; let's start with some improvements (assertions...). ------------------------------------------------------------------------ r10822 | vlefevre | 2016-09-08 13:31:38 +0000 (Thu, 08 Sep 2016) | 1 line Changed paths: M /trunk/tests/tabs.c [tests/tabs.c] Removed mpfr_test_init (not needed here). ------------------------------------------------------------------------ r10821 | vlefevre | 2016-09-08 13:30:35 +0000 (Thu, 08 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Moved mpfr_test_init at the right place (like tget_d.c, tset_d.c, etc.). ------------------------------------------------------------------------ r10820 | zimmerma | 2016-09-08 13:30:14 +0000 (Thu, 08 Sep 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] divsp1 -> div_1 ------------------------------------------------------------------------ r10819 | vlefevre | 2016-09-08 13:24:00 +0000 (Thu, 08 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Fixed a loop in case an extended range is used (there are issues on a NetBSD machine, and this could be a cause). ------------------------------------------------------------------------ r10818 | vlefevre | 2016-09-08 13:19:12 +0000 (Thu, 08 Sep 2016) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Corrected a type (due to a printf with %ld). ------------------------------------------------------------------------ r10817 | zimmerma | 2016-09-08 13:14:30 +0000 (Thu, 08 Sep 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] divsp1 -> div_1, divsp2 -> div_2 (not necessarily same precision) ------------------------------------------------------------------------ r10816 | zimmerma | 2016-09-08 13:12:14 +0000 (Thu, 08 Sep 2016) | 3 lines Changed paths: M /trunk/src/mul.c [src/mul.c] mulsp1 -> mul_1, mulsp2 -> mul_2 (the precision of operands is not necessarily the same) ------------------------------------------------------------------------ r10813 | vlefevre | 2016-09-08 00:15:19 +0000 (Thu, 08 Sep 2016) | 1 line Changed paths: M /trunk/src/get_d.c M /trunk/src/get_ld.c [src/{get_d,get_ld}.c] Use MPFR_ALIAS. ------------------------------------------------------------------------ r10812 | vlefevre | 2016-09-07 12:35:33 +0000 (Wed, 07 Sep 2016) | 9 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Improved the fix done in r10808: The mpfr_set_emin value is not changed, but let's make the LDBL_MIN_EXP and LDBL_MAX_EXP values appear as expected. Note: The code for x86 extended precision first appeared in r3226 with the usual emin and emax values, as found in the IEEE 754-1985 standard (bounds) or on . But MPFR uses a different convention, with a significand between 1/2 and 1 instead of between 1 and 2, so that these values were off by 1. The emax one was fixed in r6101, but the error on emin remained undetected. ------------------------------------------------------------------------ r10811 | vlefevre | 2016-09-07 09:39:52 +0000 (Wed, 07 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] The bug_20160907 test is valid only with HAVE_LDOUBLE_IEEE_EXT_LITTLE. ------------------------------------------------------------------------ r10810 | vlefevre | 2016-09-07 08:20:28 +0000 (Wed, 07 Sep 2016) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] Updated FIXME: also suggest a scaling. ------------------------------------------------------------------------ r10809 | zimmerma | 2016-09-07 07:58:43 +0000 (Wed, 07 Sep 2016) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] check more numbers in bug_20160907() ------------------------------------------------------------------------ r10808 | zimmerma | 2016-09-07 07:38:09 +0000 (Wed, 07 Sep 2016) | 2 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] fixed bug reported by Walter Mascarenhas ------------------------------------------------------------------------ r10807 | zimmerma | 2016-09-07 07:28:32 +0000 (Wed, 07 Sep 2016) | 3 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] added test that triggers bug in mpfr_get_ld (https://sympa.inria.fr/sympa/arc/mpfr/2016-09/msg00005.html) ------------------------------------------------------------------------ r10806 | vlefevre | 2016-09-07 01:12:06 +0000 (Wed, 07 Sep 2016) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] Updated FIXME with a suggestion. ------------------------------------------------------------------------ r10805 | vlefevre | 2016-09-07 01:05:34 +0000 (Wed, 07 Sep 2016) | 3 lines Changed paths: M /trunk/src/zeta.c M /trunk/tests/tzeta.c [src/zeta.c] Added a FIXME: An overflow in gamma(s1) does not imply that Zeta(s) will overflow. [tests/tzeta.c] Added a test that triggers this bug with a 32-bit ABI. ------------------------------------------------------------------------ r10804 | vlefevre | 2016-09-07 00:25:25 +0000 (Wed, 07 Sep 2016) | 3 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Concerning GCC's AddressSanitizer (-fsanitize=address), mention that LD_PRELOAD needs to be unset (or -static-libasan needs to be used, but does not work yet). ------------------------------------------------------------------------ r10802 | zimmerma | 2016-09-06 14:04:02 +0000 (Tue, 06 Sep 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] l -> \ell ------------------------------------------------------------------------ r10801 | zimmerma | 2016-09-06 13:58:27 +0000 (Tue, 06 Sep 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] du -> {\mathrm d}u ------------------------------------------------------------------------ r10800 | zimmerma | 2016-09-06 13:45:18 +0000 (Tue, 06 Sep 2016) | 2 lines Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] added FIXME ------------------------------------------------------------------------ r10799 | vlefevre | 2016-09-06 13:08:38 +0000 (Tue, 06 Sep 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Avoid a warning due to an unused variable with GMP_NUMB_BITS == 32. ------------------------------------------------------------------------ r10798 | vlefevre | 2016-09-06 12:33:16 +0000 (Tue, 06 Sep 2016) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed m4_pattern_forbid argument to avoid an error with recent ax_pthread.m4 (such as in Debian's autoconf-archive 20160320-1, which has just appeared in unstable). ------------------------------------------------------------------------ r10797 | vlefevre | 2016-09-06 11:46:31 +0000 (Tue, 06 Sep 2016) | 1 line Changed paths: M /trunk/src/zeta.c [src/zeta.c] Updated FIXME. ------------------------------------------------------------------------ r10796 | zimmerma | 2016-09-06 11:10:56 +0000 (Tue, 06 Sep 2016) | 2 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] added FIXME ------------------------------------------------------------------------ r10795 | zimmerma | 2016-09-06 06:57:17 +0000 (Tue, 06 Sep 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] added alternate code for mpn_sqrtrem4 (disabled for now) ------------------------------------------------------------------------ r10794 | zimmerma | 2016-09-05 15:46:32 +0000 (Mon, 05 Sep 2016) | 2 lines Changed paths: M /trunk/src/div.c M /trunk/src/mpfr-gmp.h move macros from div.c to mpfr-gmp.h ------------------------------------------------------------------------ r10790 | vlefevre | 2016-09-05 09:07:28 +0000 (Mon, 05 Sep 2016) | 3 lines Changed paths: M /trunk/TODO M /trunk/tests/tzeta.c About the tzeta timing issue (since r9848): * TODO: updated item on tzeta. * tests/tzeta.c: updated FIXME for test_generic. ------------------------------------------------------------------------ r10789 | vlefevre | 2016-09-05 08:50:16 +0000 (Mon, 05 Sep 2016) | 7 lines Changed paths: M /trunk/TODO [TODO] Updated item on tzeta: * removed the old problem: the fact that the traces for the trunk and for r9954 are different is normal (fixes in mpfr_can_round affecting tgeneric.c), and the timings depend on GMP_CHECK_RANDOMIZE and seem equivalent in average with "test_generic (..., 5);" in both cases; * added the fact that tzeta has been much slower since r9848, at least with the x86 32-bit ABI. ------------------------------------------------------------------------ r10775 | vlefevre | 2016-09-02 07:07:31 +0000 (Fri, 02 Sep 2016) | 1 line Changed paths: M /trunk/src/sqrt.c Removed trailing whitespace. ------------------------------------------------------------------------ r10774 | zimmerma | 2016-09-01 08:45:19 +0000 (Thu, 01 Sep 2016) | 13 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] new code for 2 limbs on 64-bit machines, giving speedup of almost a factor of two: bavette.loria.fr (Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz) numactl --physcpubind=0 ./mfv5 -p113 mpfr_sqrt 3.1.4: mpfr_sqrt: 234 / 243.72 / 258 4.0-dev: mpfr_sqrt: 122 / 127.63 / 136 ------------------------------------------------------------------------ r10773 | zimmerma | 2016-08-31 08:54:41 +0000 (Wed, 31 Aug 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] fixed error triggered by previous commit ------------------------------------------------------------------------ r10772 | zimmerma | 2016-08-31 08:50:17 +0000 (Wed, 31 Aug 2016) | 3 lines Changed paths: M /trunk/src/div.c M /trunk/tests/tdiv.c [src/div.c] added missing assertion [tests/tdiv.c] added test case that make new assertion fail (with --enable-assert --enable-gmp-internals on a 64-bit machine) ------------------------------------------------------------------------ r10771 | zimmerma | 2016-08-31 06:38:33 +0000 (Wed, 31 Aug 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] fixed bug found by Vincent ------------------------------------------------------------------------ r10770 | vlefevre | 2016-08-31 00:06:31 +0000 (Wed, 31 Aug 2016) | 2 lines Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Added a test triggering an assertion failure with "--enable-assert --enable-gmp-internals". ------------------------------------------------------------------------ r10769 | vlefevre | 2016-08-30 23:01:03 +0000 (Tue, 30 Aug 2016) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Update. ------------------------------------------------------------------------ r10768 | vlefevre | 2016-08-30 22:58:50 +0000 (Tue, 30 Aug 2016) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Untabified. Clarified a comment. ------------------------------------------------------------------------ r10767 | zimmerma | 2016-08-30 14:18:00 +0000 (Tue, 30 Aug 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] document mpn_sqrtrem2() ------------------------------------------------------------------------ r10766 | zimmerma | 2016-08-30 14:09:59 +0000 (Tue, 30 Aug 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] don't use mpfr_divsp1 and mpfr_divsp2 when MPFR_GENERIC_ABI is defined ------------------------------------------------------------------------ r10765 | zimmerma | 2016-08-30 12:10:24 +0000 (Tue, 30 Aug 2016) | 3 lines Changed paths: M /trunk/src/div.c M /trunk/tests/tdiv.c [src/div.c] faster code for 2 limbs [tests/tdiv.c] added special test for 2 limbs ------------------------------------------------------------------------ r10764 | vlefevre | 2016-08-30 07:21:07 +0000 (Tue, 30 Aug 2016) | 7 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c [tests] Define global variable tests_memory_disabled, which needs to be set when the memory.c allocators (to track memory leaks) must not be used; i.e., setting it disables the calls to tests_memory_start() and tests_memory_end(). In tests.c, it is initialized to 0 (unset), except when mini-gmp is used (same behavior as before this commit). Programs that test GMP's mp_set_memory_functions() need to set this variable before calling tests_start_mpfr(). ------------------------------------------------------------------------ r10763 | vlefevre | 2016-08-29 15:35:16 +0000 (Mon, 29 Aug 2016) | 4 lines Changed paths: A /trunk/tests/talloc-cache.c Added tests/talloc-cache.c (not run by "make check") testing multiple calls to mp_set_memory_functions. It yields a crash in the MPFR trunk, which is unexpected with the current code. However, in the 3.1 branch, r9467 fixed the crash as expected. ------------------------------------------------------------------------ r10762 | zimmerma | 2016-08-29 14:20:09 +0000 (Mon, 29 Aug 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] added Sage code used to generate the bipartite tables ------------------------------------------------------------------------ r10761 | vlefevre | 2016-08-29 13:50:47 +0000 (Mon, 29 Aug 2016) | 1 line Changed paths: M /trunk/tests/talloc.c [tests/talloc.c] Added a warning about new tests. ------------------------------------------------------------------------ r10760 | zimmerma | 2016-08-29 13:20:14 +0000 (Mon, 29 Aug 2016) | 2 lines Changed paths: M /trunk/src/atan.c [src/atan.c] fixed TODOs, and simplified code ------------------------------------------------------------------------ r10759 | vlefevre | 2016-08-29 13:09:50 +0000 (Mon, 29 Aug 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a FIXME comment about memory allocation. ------------------------------------------------------------------------ r10758 | vlefevre | 2016-08-29 12:55:26 +0000 (Mon, 29 Aug 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r10757 | vlefevre | 2016-08-29 12:54:47 +0000 (Mon, 29 Aug 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Done in r10756: unify is_power_of_two() and mpfr_powerof2_raw(). ------------------------------------------------------------------------ r10756 | zimmerma | 2016-08-29 08:15:17 +0000 (Mon, 29 Aug 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/powerof2.c M /trunk/src/round_prec.c unified is_power_of_two() and mpfr_powerof2_raw() ------------------------------------------------------------------------ r10755 | zimmerma | 2016-08-29 07:49:12 +0000 (Mon, 29 Aug 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] improved documentation of mpfr_free_cache() ------------------------------------------------------------------------ r10754 | vlefevre | 2016-08-28 17:48:57 +0000 (Sun, 28 Aug 2016) | 1 line Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Improved a test now that mpfr_can_round is exact. ------------------------------------------------------------------------ r10753 | vlefevre | 2016-08-28 00:12:04 +0000 (Sun, 28 Aug 2016) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Added a warning about r10749. ------------------------------------------------------------------------ r10752 | vlefevre | 2016-08-27 23:53:19 +0000 (Sat, 27 Aug 2016) | 6 lines Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] Various corrections/improvements: * Unified the return, making sure that temporary memory is no longer used after MPFR_TMP_FREE(marker), which was not the case in some places. * C90 compatibility. * Minor improvements (use of MPFR_PREC2LIMBS, code on 78 columns...). ------------------------------------------------------------------------ r10751 | vlefevre | 2016-08-27 23:01:59 +0000 (Sat, 27 Aug 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Added: unify is_power_of_two() and mpfr_powerof2_raw()? ------------------------------------------------------------------------ r10750 | vlefevre | 2016-08-27 22:58:07 +0000 (Sat, 27 Aug 2016) | 3 lines Changed paths: M /trunk/src/atan2.c M /trunk/src/mpfr-impl.h [src/atan2.c] Replaced the use of the MPFR_IS_POWER_OF_2(x) macro by a more efficient solution based on mpfr_powerof2_raw(). [src/mpfr-impl.h] Removed the now obsolete MPFR_IS_POWER_OF_2 macro. ------------------------------------------------------------------------ r10749 | zimmerma | 2016-08-26 12:49:48 +0000 (Fri, 26 Aug 2016) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] added comment about GMP memory allocation functions ------------------------------------------------------------------------ r10748 | zimmerma | 2016-08-25 07:22:38 +0000 (Thu, 25 Aug 2016) | 3 lines Changed paths: M /trunk/src/round_p.c [src/round_p.c] since mpfr_can_round is now always correct, we cannot compare it blindly to mpfr_round_p any more ------------------------------------------------------------------------ r10747 | zimmerma | 2016-08-24 15:48:39 +0000 (Wed, 24 Aug 2016) | 2 lines Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] fixed mpfr_can_round() so that all tests of tcan_round pass ------------------------------------------------------------------------ r10746 | zimmerma | 2016-08-23 12:38:22 +0000 (Tue, 23 Aug 2016) | 2 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] more information in case of error in check_can_round() ------------------------------------------------------------------------ r10744 | vlefevre | 2016-08-22 18:53:46 +0000 (Mon, 22 Aug 2016) | 1 line Changed paths: M /trunk/tools/mbench/mfv5.cc [tools/mbench/mfv5.cc] Fixed code (C++11 compatibility). ------------------------------------------------------------------------ r10743 | vlefevre | 2016-08-22 13:57:53 +0000 (Mon, 22 Aug 2016) | 4 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Added a comprehensive test of mpfr_can_round, based on a naive implementation. Note: if the exit() is removed, many cases are failing, for both kinds of answers (there might also remain an error in my test...). ------------------------------------------------------------------------ r10741 | vlefevre | 2016-08-19 14:34:01 +0000 (Fri, 19 Aug 2016) | 1 line Changed paths: M /trunk/TODO [TODO] More thoughts about mpz_t caching (mpz_t pool). ------------------------------------------------------------------------ r10740 | vlefevre | 2016-08-19 13:59:11 +0000 (Fri, 19 Aug 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Issues with mpz_t caching. ------------------------------------------------------------------------ r10739 | vlefevre | 2016-08-19 12:07:55 +0000 (Fri, 19 Aug 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Update about mpz_t caching (mpz_t pool). ------------------------------------------------------------------------ r10738 | vlefevre | 2016-08-19 11:55:31 +0000 (Fri, 19 Aug 2016) | 2 lines Changed paths: M /trunk/src/atan.c [src/atan.c] Added TODO's to use mpz_init2 instead mpz_init: I could check that without "mpz_t cache" (pool), this makes the code faster. ------------------------------------------------------------------------ r10737 | vlefevre | 2016-08-19 11:52:01 +0000 (Fri, 19 Aug 2016) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about memory reallocations; recommend mpz_init2 with the estimated maximum size instead of mpz_init. ------------------------------------------------------------------------ r10736 | vlefevre | 2016-08-19 08:54:30 +0000 (Fri, 19 Aug 2016) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Updated the error message on incorrect MPFR version. ------------------------------------------------------------------------ r10735 | vlefevre | 2016-08-19 08:36:16 +0000 (Fri, 19 Aug 2016) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Added note on Solaris and the LD_OPTIONS environment variable. ------------------------------------------------------------------------ r10734 | vlefevre | 2016-08-11 16:32:23 +0000 (Thu, 11 Aug 2016) | 3 lines Changed paths: M /trunk/tools/coverage [tools/coverage] Added a warning: on a machine shared with other users, by running this script, the account can easily be compromised due to a libtool bug. ------------------------------------------------------------------------ r10732 | vlefevre | 2016-08-06 23:24:24 +0000 (Sat, 06 Aug 2016) | 3 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Moved MPFR_DEPRECATED before __MPFR_DECLSPEC for compatibility with MSVC (and documented this requirement). Thanks to Brian Gladman for the information. ------------------------------------------------------------------------ r10731 | vlefevre | 2016-08-04 23:31:17 +0000 (Thu, 04 Aug 2016) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about the C++11 compatibility issue with a string literal immediately followed by a macro name. ------------------------------------------------------------------------ r10727 | vlefevre | 2016-08-04 15:06:52 +0000 (Thu, 04 Aug 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-longlong.h M /trunk/src/rec_sqrt.c M /trunk/tests/reuse.c M /trunk/tests/tadd1sp.c M /trunk/tests/taway.c Fixed remaining macros with missing "do" … "while (0)", detected with mpfrlint. There were no consequences except spurious null statements. ------------------------------------------------------------------------ r10726 | vlefevre | 2016-08-04 15:02:00 +0000 (Thu, 04 Aug 2016) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Added a comment. ------------------------------------------------------------------------ r10725 | vlefevre | 2016-08-04 13:43:31 +0000 (Thu, 04 Aug 2016) | 5 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Added a test detecting (unsafe) macros of the form: #define FOO { ... } The following form is preferred in most of the cases to avoid spurious null statements: #define FOO do { ... } while (0) ------------------------------------------------------------------------ r10724 | vlefevre | 2016-08-04 13:17:31 +0000 (Thu, 04 Aug 2016) | 2 lines Changed paths: M /trunk/tests/tsi_op.c [tests/tsi_op.c] Fixed a macro. There were no consequences except spurious null statements. ------------------------------------------------------------------------ r10723 | vlefevre | 2016-08-04 12:30:53 +0000 (Thu, 04 Aug 2016) | 1 line Changed paths: M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c [tests/tset_{si,sj}.c] Style improvements. Added a comment. ------------------------------------------------------------------------ r10721 | vlefevre | 2016-08-04 12:17:34 +0000 (Thu, 04 Aug 2016) | 2 lines Changed paths: M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c [tests/tset_{si,sj}.c] Fixed macros. There were no consequences except spurious null statements. ------------------------------------------------------------------------ r10719 | vlefevre | 2016-08-04 01:48:33 +0000 (Thu, 04 Aug 2016) | 5 lines Changed paths: M /trunk/tests/tpow_z.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tsi_op.c [tests] C++ compatibility: avoid errors with "g++ -std=c++11" or later. Note that as of GCC 6, "the default mode for C++ is now -std=gnu++14 instead of -std=gnu++98" . So, this fixes the failures in the build of the MPFR tests with g++ from GCC 6 without particular options. ------------------------------------------------------------------------ r10718 | vlefevre | 2016-08-03 16:23:55 +0000 (Wed, 03 Aug 2016) | 1 line Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] mpfr_can_round_raw: added another FIXME. ------------------------------------------------------------------------ r10717 | vlefevre | 2016-08-03 16:02:40 +0000 (Wed, 03 Aug 2016) | 2 lines Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] mpfr_can_round_raw: added an assertion, corrected a condition in a comment, and added comments, showing a new bug. ------------------------------------------------------------------------ r10716 | vlefevre | 2016-08-02 15:25:58 +0000 (Tue, 02 Aug 2016) | 1 line Changed paths: M /trunk/tests/tmul.c [tests/tmul.c] Various corrections and improvements in test_underflow. ------------------------------------------------------------------------ r10714 | vlefevre | 2016-08-02 11:04:48 +0000 (Tue, 02 Aug 2016) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Mark mpfr_grandom as deprecated (this had already been done in mpfr.texi r8548). ------------------------------------------------------------------------ r10713 | vlefevre | 2016-08-02 10:29:36 +0000 (Tue, 02 Aug 2016) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Suggest MPFR_EXPERIMENTAL for experimental functions. ------------------------------------------------------------------------ r10712 | vlefevre | 2016-08-01 12:40:38 +0000 (Mon, 01 Aug 2016) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Correction in the info about the C implementation. ------------------------------------------------------------------------ r10711 | vlefevre | 2016-08-01 12:26:15 +0000 (Mon, 01 Aug 2016) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Corrections in the info about the C implementation. ------------------------------------------------------------------------ r10710 | vlefevre | 2016-08-01 09:56:19 +0000 (Mon, 01 Aug 2016) | 3 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Corrected a bound in the proof of mpfr_sqrt1 (one-limb precisions), related to the right shift of a negative value. Added a warning and a TODO about such an operation. ------------------------------------------------------------------------ r10709 | vlefevre | 2016-08-01 09:06:06 +0000 (Mon, 01 Aug 2016) | 6 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Enable mpfr_sqrt1 code for one-limb precisions (which depends on implementation-defined features of the C standard) only when __GNUC__ is defined, as it is known to be correct with GCC and compatible compilers, but nothing is known yet for other compilers. Removed the corresponding FIXME and added a note. In the future, a configure test could be used as an alternative solution. ------------------------------------------------------------------------ r10708 | vlefevre | 2016-08-01 08:37:09 +0000 (Mon, 01 Aug 2016) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output more information about the C implementation. ------------------------------------------------------------------------ r10707 | vlefevre | 2016-07-31 17:39:38 +0000 (Sun, 31 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Fixed some portability issues. ------------------------------------------------------------------------ r10706 | vlefevre | 2016-07-31 17:32:32 +0000 (Sun, 31 Jul 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Fix if mp_limb_t > unsigned long (this fixed failures with mingw-w64). ------------------------------------------------------------------------ r10705 | vlefevre | 2016-07-31 17:30:28 +0000 (Sun, 31 Jul 2016) | 3 lines Changed paths: M /trunk/src/cos.c M /trunk/src/lngamma.c [src/lngamma.c] Fix in case mp_limb_t is more than twice as large as unsigned long (that would make it at least 128 bits). [src/cos.c] Made code similar to the rest of the code. ------------------------------------------------------------------------ r10704 | vlefevre | 2016-07-31 17:19:43 +0000 (Sun, 31 Jul 2016) | 2 lines Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Improved a comment (to make it closer to what correct C code should be), avoiding a false positive with mpfrlint. ------------------------------------------------------------------------ r10703 | vlefevre | 2016-07-31 17:15:31 +0000 (Sun, 31 Jul 2016) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect possibly wrong code with some C/GMP implementations, related to shifts and integer types. ------------------------------------------------------------------------ r10702 | vlefevre | 2016-07-31 16:17:46 +0000 (Sun, 31 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Completed the FIXME (another portability issue). ------------------------------------------------------------------------ r10701 | vlefevre | 2016-07-31 00:39:14 +0000 (Sun, 31 Jul 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Added a FIXME. The current code for prec < GMP_NUMB_BITS is not portable. ------------------------------------------------------------------------ r10700 | vlefevre | 2016-07-31 00:27:31 +0000 (Sun, 31 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Fixed code for implementations with 16-bit int's. ------------------------------------------------------------------------ r10699 | vlefevre | 2016-07-31 00:23:11 +0000 (Sun, 31 Jul 2016) | 1 line Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] Fixed output bug in a test. ------------------------------------------------------------------------ r10698 | zimmerma | 2016-07-29 13:46:09 +0000 (Fri, 29 Jul 2016) | 10 lines Changed paths: M /trunk/NEWS M /trunk/src/mul.c [src/mul.c] speedup for 2 limbs: numactl --physcpubind=0 ./mfv5 -p113 mpfr_mul 3.1.5-dev: mpfr_mul: 45 / 61.60 / 84 4.0-dev: mpfr_mul: 30 / 32.15 / 36 [NEWS] mention that speedup ------------------------------------------------------------------------ r10697 | zimmerma | 2016-07-29 13:42:10 +0000 (Fri, 29 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] fixed bug in mpfr_sub1sp2 ------------------------------------------------------------------------ r10696 | zimmerma | 2016-07-29 12:44:56 +0000 (Fri, 29 Jul 2016) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] removed useless code ------------------------------------------------------------------------ r10695 | zimmerma | 2016-07-29 12:33:12 +0000 (Fri, 29 Jul 2016) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] code simplification ------------------------------------------------------------------------ r10694 | zimmerma | 2016-07-29 12:21:15 +0000 (Fri, 29 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] another code simplification ------------------------------------------------------------------------ r10693 | zimmerma | 2016-07-29 12:16:38 +0000 (Fri, 29 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] code simplification ------------------------------------------------------------------------ r10692 | zimmerma | 2016-07-29 12:06:05 +0000 (Fri, 29 Jul 2016) | 2 lines Changed paths: M /trunk/NEWS [NEWS] mention speedup in mpfr_add and mpfr_sub for 2 limbs ------------------------------------------------------------------------ r10691 | zimmerma | 2016-07-29 12:03:28 +0000 (Fri, 29 Jul 2016) | 10 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] faster code for 2 limbs. Results with mbench (numactl --physcpubind=0 ./mfv5 -p113 mpfr_sub): 3.1.5-dev: mpfr_sub: 36 / 65.33 / 81 4.0-dev: mpfr_sub: 24 / 33.00 / 36 ------------------------------------------------------------------------ r10690 | zimmerma | 2016-07-28 15:09:21 +0000 (Thu, 28 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tmul.c [tests/tmul.c] fixed wrong test ------------------------------------------------------------------------ r10689 | vlefevre | 2016-07-28 13:50:35 +0000 (Thu, 28 Jul 2016) | 3 lines Changed paths: M /trunk/tests/reuse.c [tests/reuse.c] Perform each reuse test on 1 to 5 limbs, with a random number of trailing bits. This allows one to test code specific to 1 or 2 limbs. ------------------------------------------------------------------------ r10688 | zimmerma | 2016-07-28 11:39:10 +0000 (Thu, 28 Jul 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] fixed issues found with --enable-assert=full ------------------------------------------------------------------------ r10687 | zimmerma | 2016-07-27 19:53:02 +0000 (Wed, 27 Jul 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] new code to deal with p in [GMP_NUMB_BITS+1,2*GMP_NUMB_BITS-1] ------------------------------------------------------------------------ r10686 | vlefevre | 2016-07-27 15:05:21 +0000 (Wed, 27 Jul 2016) | 9 lines Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] Various minor improvements: * Added a MPFR_ASSERTN since mpfr_can_round is a function in the API. * Changed error variables to be more consistent with the context. * Removed unnecessary code (casts...) about the error: it came from round.c r1574, where types were different at that time. * Made err2 (the old err) local to a small block to make sure that it will not be used by mistake instead of err in future changes. * Made equivalent expressions appear under the same form: (rnd1 == rnd2 || rnd2 == MPFR_RNDN) && err - 2 >= prec ------------------------------------------------------------------------ r10685 | vlefevre | 2016-07-27 14:28:44 +0000 (Wed, 27 Jul 2016) | 1 line Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] Changed precision variables to be like SSA. ------------------------------------------------------------------------ r10684 | vlefevre | 2016-07-27 14:17:36 +0000 (Wed, 27 Jul 2016) | 2 lines Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] Simplified code, making it more similar to code that has just been fixed. ------------------------------------------------------------------------ r10683 | vlefevre | 2016-07-27 14:08:48 +0000 (Wed, 27 Jul 2016) | 1 line Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] Removed useless parentheses. ------------------------------------------------------------------------ r10682 | vlefevre | 2016-07-27 14:05:16 +0000 (Wed, 27 Jul 2016) | 1 line Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] Added an assertion for "default:". ------------------------------------------------------------------------ r10681 | vlefevre | 2016-07-27 13:28:39 +0000 (Wed, 27 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] In test_simple, output p (which is variable), not prec (which is always 4). ------------------------------------------------------------------------ r10680 | zimmerma | 2016-07-27 13:21:14 +0000 (Wed, 27 Jul 2016) | 3 lines Changed paths: M /trunk/src/round_prec.c M /trunk/tests/tcan_round.c [src/round_prec.c] fixed bug in mpfr_can_round for 2^e when rnd1=rnd2 and err > prec + 1 (was returning 0 instead of 1) ------------------------------------------------------------------------ r10679 | vlefevre | 2016-07-27 09:30:13 +0000 (Wed, 27 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Added a simple test that fails as a consequence of r9883 (this could be observed on tzeta before r10678 in tgeneric.c). ------------------------------------------------------------------------ r10678 | vlefevre | 2016-07-27 02:36:08 +0000 (Wed, 27 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Improvement: When the result is exact, it can always be rounded (while mpfr_can_round can fail). ------------------------------------------------------------------------ r10677 | vlefevre | 2016-07-27 01:47:43 +0000 (Wed, 27 Jul 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Updated item about tzeta. ------------------------------------------------------------------------ r10676 | zimmerma | 2016-07-26 18:03:08 +0000 (Tue, 26 Jul 2016) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] update (feedback from Bill Hart) ------------------------------------------------------------------------ r10675 | vlefevre | 2016-07-26 17:12:59 +0000 (Tue, 26 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Replaced mp_ptr by mpfr_limb_ptr (as usual). ------------------------------------------------------------------------ r10674 | zimmerma | 2016-07-26 16:24:09 +0000 (Tue, 26 Jul 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5-mpfr.cc [mbench/mfv5-mpfr.cc] patch to allow using it with older versions of MPFR (say branch 3.1) ------------------------------------------------------------------------ r10673 | zimmerma | 2016-07-26 15:04:35 +0000 (Tue, 26 Jul 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] fixed mpn_sqrtrem2 for 32-bit limb ------------------------------------------------------------------------ r10672 | vlefevre | 2016-07-26 14:26:58 +0000 (Tue, 26 Jul 2016) | 1 line Changed paths: M /trunk/tests/tzeta.c [tests/tzeta.c] Added a FIXME so that r10667 can be reverted. ------------------------------------------------------------------------ r10671 | vlefevre | 2016-07-26 14:24:04 +0000 (Tue, 26 Jul 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Updated item about tzeta. ------------------------------------------------------------------------ r10670 | vlefevre | 2016-07-26 14:06:10 +0000 (Tue, 26 Jul 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Added item about the fix of mpfr_can_round in r9883 and tzeta. ------------------------------------------------------------------------ r10669 | vlefevre | 2016-07-26 12:26:57 +0000 (Tue, 26 Jul 2016) | 7 lines Changed paths: M /trunk/doc/README.dev M /trunk/src/sqrt.c New MPFR_GENERIC_ABI macro to test the generic code, not tied to a particular ABI (e.g. GMP_NUMB_BITS value), so that such code has a chance to be tested on current machines. * doc/README.dev: added brief documentation. * src/sqrt.c: enable mpfr_sqrt1 (optimization for one-limb precisions, currently when GMP_NUMB_BITS is 32 or 64) only when MPFR_GENERIC_ABI is not defined. ------------------------------------------------------------------------ r10668 | vlefevre | 2016-07-26 12:16:38 +0000 (Tue, 26 Jul 2016) | 3 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] * Changed mp_ptr to mpfr_limb_ptr. * Untabified and removed trailing spaces. ------------------------------------------------------------------------ r10667 | zimmerma | 2016-07-26 11:34:38 +0000 (Tue, 26 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tzeta.c [tests/tzeta.c] reduced test time ------------------------------------------------------------------------ r10666 | zimmerma | 2016-07-26 11:30:00 +0000 (Tue, 26 Jul 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] adapted mpn_sqrtrem1 for GMP_NUMB_BITS=32 ------------------------------------------------------------------------ r10665 | vlefevre | 2016-07-25 14:36:06 +0000 (Mon, 25 Jul 2016) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Corrected hint for mingw (use --build instead of --host). ------------------------------------------------------------------------ r10664 | zimmerma | 2016-07-25 13:22:25 +0000 (Mon, 25 Jul 2016) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added hint for mingw ------------------------------------------------------------------------ r10662 | zimmerma | 2016-07-25 11:51:11 +0000 (Mon, 25 Jul 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] fixed temporary patch for 32-bit computers ------------------------------------------------------------------------ r10661 | vlefevre | 2016-07-25 10:01:24 +0000 (Mon, 25 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Typo in comment. ------------------------------------------------------------------------ r10660 | vlefevre | 2016-07-25 09:58:38 +0000 (Mon, 25 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Updated FIXME's. This is still incorrect with 32-bit limbs. ------------------------------------------------------------------------ r10659 | zimmerma | 2016-07-25 08:18:29 +0000 (Mon, 25 Jul 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] temporary fix for 32-bit limbs ------------------------------------------------------------------------ r10657 | vlefevre | 2016-07-22 15:17:56 +0000 (Fri, 22 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tadd.c [tests/tadd.c] Improved coding style and messages (do not mix up "inexact flag" and "ternary value"!). ------------------------------------------------------------------------ r10642 | vlefevre | 2016-07-22 10:34:40 +0000 (Fri, 22 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Added another FIXME comment for 32-bit machines. ------------------------------------------------------------------------ r10641 | vlefevre | 2016-07-22 10:32:47 +0000 (Fri, 22 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Added other FIXME comments for 32-bit machines. ------------------------------------------------------------------------ r10640 | vlefevre | 2016-07-20 15:26:40 +0000 (Wed, 20 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Added FIXME comments for 32-bit machines. ------------------------------------------------------------------------ r10639 | vlefevre | 2016-07-20 15:11:11 +0000 (Wed, 20 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] C90 compatibility. ------------------------------------------------------------------------ r10638 | vlefevre | 2016-07-20 14:47:22 +0000 (Wed, 20 Jul 2016) | 1 line Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Fixed minor (mainly style) issues found by mpfrlint. ------------------------------------------------------------------------ r10637 | vlefevre | 2016-07-20 14:35:16 +0000 (Wed, 20 Jul 2016) | 5 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] * Added --msg option to err-if-output function to optionally output a message explaining what to do in case of error. * Added this option to 3 err-if-output calls (errors with src/sqrt.c r10636). ------------------------------------------------------------------------ r10636 | zimmerma | 2016-07-20 13:57:32 +0000 (Wed, 20 Jul 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] new speedup for 1/2 and 1 limb ------------------------------------------------------------------------ r10632 | zimmerma | 2016-07-19 16:09:37 +0000 (Tue, 19 Jul 2016) | 2 lines Changed paths: M /trunk/NEWS [NEWS] mention speedup in mpfr_sqrt ------------------------------------------------------------------------ r10631 | zimmerma | 2016-07-19 16:08:38 +0000 (Tue, 19 Jul 2016) | 4 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] faster code for small precision (on tomate.loria.fr, 45 cycles for prec=24 instead of 161 before, and 108 cycles for prec=53 instead of 165 with 3.1.4) ------------------------------------------------------------------------ r10628 | zimmerma | 2016-07-18 08:10:24 +0000 (Mon, 18 Jul 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] removed duplicate prototype (cf revision 10625) ------------------------------------------------------------------------ r10627 | zimmerma | 2016-07-18 08:04:21 +0000 (Mon, 18 Jul 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] yet another speedup ------------------------------------------------------------------------ r10626 | zimmerma | 2016-07-18 07:19:29 +0000 (Mon, 18 Jul 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] small improvement ------------------------------------------------------------------------ r10625 | vlefevre | 2016-07-18 00:46:29 +0000 (Mon, 18 Jul 2016) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Declare __gmpn_invert_limb if used (in order to avoid an error with g++ for the tests). ------------------------------------------------------------------------ r10624 | zimmerma | 2016-07-17 19:46:38 +0000 (Sun, 17 Jul 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] removed wrong assertions (and added comments to explain why) ------------------------------------------------------------------------ r10623 | vlefevre | 2016-07-15 12:57:18 +0000 (Fri, 15 Jul 2016) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Added a FIXME (assertion failure). ------------------------------------------------------------------------ r10622 | vlefevre | 2016-07-15 12:43:03 +0000 (Fri, 15 Jul 2016) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Untabified. ------------------------------------------------------------------------ r10621 | vlefevre | 2016-07-15 12:40:22 +0000 (Fri, 15 Jul 2016) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Update concerning GMP internals. ------------------------------------------------------------------------ r10620 | zimmerma | 2016-07-15 10:07:06 +0000 (Fri, 15 Jul 2016) | 2 lines Changed paths: M /trunk/configure.ac M /trunk/src/sub1sp.c [src/sub1sp.c] implement use of __gmpn_rsblsh_n (disabled for now) ------------------------------------------------------------------------ r10619 | zimmerma | 2016-07-15 09:12:54 +0000 (Fri, 15 Jul 2016) | 2 lines Changed paths: M /trunk/NEWS M /trunk/configure.ac M /trunk/src/div.c [src/div.c] only use __gmpn_invert_limb with --enable-gmp-internals ------------------------------------------------------------------------ r10618 | vlefevre | 2016-07-14 20:54:00 +0000 (Thu, 14 Jul 2016) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/tests/tcmp_ld.c [src/mpfr-impl.h] Require to be included in order to be able to use the "long double macros and typedef" part. Moved the IEEE_FLOAT128_MANT_DIG macro definition out of this part. [tests/tcmp_ld.c] Added missing #include . ------------------------------------------------------------------------ r10617 | vlefevre | 2016-07-14 16:04:42 +0000 (Thu, 14 Jul 2016) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Added a FIXME as __gmpn_invert_limb is a GMP internal. ------------------------------------------------------------------------ r10616 | zimmerma | 2016-07-14 14:56:00 +0000 (Thu, 14 Jul 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] speedup for precision < GMP_NUMB_BITS/2 (by almost a factor 2) ------------------------------------------------------------------------ r10615 | zimmerma | 2016-07-14 14:31:21 +0000 (Thu, 14 Jul 2016) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] added comment ------------------------------------------------------------------------ r10614 | zimmerma | 2016-07-14 14:14:48 +0000 (Thu, 14 Jul 2016) | 2 lines Changed paths: M /trunk/src/div.c M /trunk/src/mpfr-longlong.h [src/div.c] new faster code for 1 limb ------------------------------------------------------------------------ r10613 | zimmerma | 2016-07-14 07:44:07 +0000 (Thu, 14 Jul 2016) | 3 lines Changed paths: M /trunk/src/cmp_ld.c M /trunk/src/get_ld.c M /trunk/src/set_ld.c [src/cmp_ld.c] include float.h so that MPFR_LDBL_MANT_DIG is correctly defined [src/get_ld.c,src/set_ld.c] added comment ------------------------------------------------------------------------ r10612 | zimmerma | 2016-07-13 15:03:21 +0000 (Wed, 13 Jul 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] removed obsolete comment since we no longer use __udiv_qrnnd_ld ------------------------------------------------------------------------ r10611 | zimmerma | 2016-07-13 14:22:34 +0000 (Wed, 13 Jul 2016) | 3 lines Changed paths: M /trunk/src/div.c M /trunk/src/mpfr-longlong.h [src/div.c] changed __udiv_qrnnd_ld into __udiv_qrnnd_preinv (no dependency any more on long double) ------------------------------------------------------------------------ r10610 | vlefevre | 2016-07-09 07:38:22 +0000 (Sat, 09 Jul 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] Do not use __udiv_qrnnd_ld for MPFR_LDBL_MANT_DIG > 64. Added a comment about __udiv_qrnnd_ld. ------------------------------------------------------------------------ r10609 | vlefevre | 2016-07-09 07:27:06 +0000 (Sat, 09 Jul 2016) | 1 line Changed paths: M /trunk/src/mpfr-longlong.h [src/mpfr-longlong.h] Typo. ------------------------------------------------------------------------ r10608 | vlefevre | 2016-07-09 07:24:15 +0000 (Sat, 09 Jul 2016) | 1 line Changed paths: M /trunk/src/mpfr-longlong.h [src/mpfr-longlong.h] C89 compatibility. ------------------------------------------------------------------------ r10607 | zimmerma | 2016-07-08 15:34:15 +0000 (Fri, 08 Jul 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] speedup using __udiv_qrnnd_ld ------------------------------------------------------------------------ r10606 | zimmerma | 2016-07-08 15:26:19 +0000 (Fri, 08 Jul 2016) | 2 lines Changed paths: M /trunk/src/mpfr-longlong.h [src/mpfr-longlong.h] contributed __udiv_qrnnd_ld variant ------------------------------------------------------------------------ r10605 | zimmerma | 2016-07-08 13:50:01 +0000 (Fri, 08 Jul 2016) | 3 lines Changed paths: M /trunk/src/div.c M /trunk/src/mul.c [src/div.c] new special code for 1 limb [src/mul.c] fixed corner case near underflow ------------------------------------------------------------------------ r10604 | zimmerma | 2016-07-08 13:10:12 +0000 (Fri, 08 Jul 2016) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] fixed detection of rounding away ------------------------------------------------------------------------ r10603 | zimmerma | 2016-07-08 12:50:31 +0000 (Fri, 08 Jul 2016) | 3 lines Changed paths: M /trunk/src/mul.c M /trunk/tests/tmul.c [src/mul.c] fixed underflow *after* rounding [tests/tmul.c] fixed a test ------------------------------------------------------------------------ r10602 | zimmerma | 2016-07-08 12:45:05 +0000 (Fri, 08 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tmul.c [tests/tmul.c] added underflow test for directed rounding too ------------------------------------------------------------------------ r10601 | zimmerma | 2016-07-08 12:24:28 +0000 (Fri, 08 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tmul.c [tests/tmul.c] added test for underflow after rounding (reveals bug in mul.c) ------------------------------------------------------------------------ r10600 | vlefevre | 2016-07-08 11:57:26 +0000 (Fri, 08 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Clarified comment (it's better not to mention underflow before rounding because it is not considered at all in MPFR). ------------------------------------------------------------------------ r10599 | zimmerma | 2016-07-08 11:36:15 +0000 (Fri, 08 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] added comment about underflow before/after rounding ------------------------------------------------------------------------ r10598 | zimmerma | 2016-07-08 08:27:48 +0000 (Fri, 08 Jul 2016) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] changed MPFR_PREC into MPFR_GET_PREC ------------------------------------------------------------------------ r10597 | zimmerma | 2016-07-07 12:35:28 +0000 (Thu, 07 Jul 2016) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] removed a call to MPFR_LIKELY which is unlikely... ------------------------------------------------------------------------ r10596 | vlefevre | 2016-07-07 11:36:33 +0000 (Thu, 07 Jul 2016) | 1 line Changed paths: M /trunk/NEWS [NEWS] i.e. → e.g. ------------------------------------------------------------------------ r10595 | vlefevre | 2016-07-07 11:26:32 +0000 (Thu, 07 Jul 2016) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Replaced mp_ptr by mpfr_limb_ptr (as usual). ------------------------------------------------------------------------ r10594 | vlefevre | 2016-07-07 11:22:04 +0000 (Thu, 07 Jul 2016) | 4 lines Changed paths: M /trunk/src/add1sp.c M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] Added tests with EXP(b) < EXP(c), as there are no such restrictions on the exponents for mpfr_add1sp. [src/add1sp.c] Fixed mpfr_add1sp when b and c have different signs and EXP(b) < EXP(c). ------------------------------------------------------------------------ r10593 | zimmerma | 2016-07-07 11:08:04 +0000 (Thu, 07 Jul 2016) | 2 lines Changed paths: M /trunk/NEWS [NEWS] speedup in mpfr_mul for one limb (minus 1 bit) ------------------------------------------------------------------------ r10592 | zimmerma | 2016-07-07 11:01:33 +0000 (Thu, 07 Jul 2016) | 9 lines Changed paths: M /trunk/src/mul.c [src/mul.c] speed-up of mpfr_mul for 1 limb (1 limb - 1 bit for the result). Results of mbench for 53 bits on Intel i5-4590: before: mpfr_mul: 33 / 37.12 / 42 after: mpfr_mul: 18 / 20.63 / 24 ------------------------------------------------------------------------ r10591 | vlefevre | 2016-07-07 10:23:34 +0000 (Thu, 07 Jul 2016) | 2 lines Changed paths: M /trunk/src/add1.c [src/add1.c] Corrected a comment as in practice, b and c do not necessarily have the same sign (when called by mpfr_sub). ------------------------------------------------------------------------ r10590 | zimmerma | 2016-07-07 08:15:00 +0000 (Thu, 07 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] added assertions ------------------------------------------------------------------------ r10589 | vlefevre | 2016-07-06 23:32:19 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/tests/tadd.c [tests/tadd.c] C++ compatibility. ------------------------------------------------------------------------ r10588 | vlefevre | 2016-07-06 23:29:08 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] Do not use != 0 on predicate function. ------------------------------------------------------------------------ r10587 | zimmerma | 2016-07-06 20:03:26 +0000 (Wed, 06 Jul 2016) | 3 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] removed special code for n = 1, now that we have a special function mpfr_sub1sp1 ------------------------------------------------------------------------ r10586 | zimmerma | 2016-07-06 14:30:09 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tadd.c [tests/tadd.c] revert mpfr_add to test_add ------------------------------------------------------------------------ r10585 | zimmerma | 2016-07-06 14:16:37 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] fixed two bugs in mpfr_add1sp1 ------------------------------------------------------------------------ r10584 | zimmerma | 2016-07-06 14:15:43 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] added one hard-coded test ------------------------------------------------------------------------ r10583 | zimmerma | 2016-07-06 14:07:34 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tadd.c [tests/tadd.c] last commit was wrong ------------------------------------------------------------------------ r10582 | zimmerma | 2016-07-06 13:54:52 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tadd.c improved check_overflow() ------------------------------------------------------------------------ r10581 | vlefevre | 2016-07-06 13:38:53 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/src/urandom.c [src/urandom.c] Fixed uninitialized emin for nbits == 1 (thanks GCC's -Werror=maybe-uninitialized). ------------------------------------------------------------------------ r10580 | zimmerma | 2016-07-06 13:02:48 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/src/urandom.c [src/urandom.c] should now be ok for nbits = 1 ------------------------------------------------------------------------ r10579 | vlefevre | 2016-07-06 12:30:34 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Change most mpfr_urandomb to mpfr_urandom in the tests? ------------------------------------------------------------------------ r10578 | vlefevre | 2016-07-06 12:16:04 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Improved an error message. ------------------------------------------------------------------------ r10577 | vlefevre | 2016-07-06 12:13:03 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Corrected English usage in error message. ------------------------------------------------------------------------ r10576 | vlefevre | 2016-07-06 12:03:37 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Small precision check: replaced 2 by MPFR_PREC_MIN. ------------------------------------------------------------------------ r10575 | zimmerma | 2016-07-06 11:47:20 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/src/urandom.c [src/urandom.c] fixed urandom for a precision of 1 bit ------------------------------------------------------------------------ r10574 | vlefevre | 2016-07-06 11:14:42 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] About random tests: avoid mpfr_urandomb!!! ------------------------------------------------------------------------ r10573 | vlefevre | 2016-07-06 11:09:59 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] Use mpfr_urandom instead of mpfr_urandomb. This triggers an assertion failure in urandomb.c. ------------------------------------------------------------------------ r10572 | vlefevre | 2016-07-06 11:03:20 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] Reordered variables. Removed a redundant test. ------------------------------------------------------------------------ r10571 | vlefevre | 2016-07-06 10:30:13 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] In check_random, check the flags too. ------------------------------------------------------------------------ r10570 | vlefevre | 2016-07-06 10:26:40 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/tests/tadd1sp.c [tests/tadd1sp.c] Test negative numbers too. ------------------------------------------------------------------------ r10569 | vlefevre | 2016-07-06 10:15:17 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/src/sub1sp.c M /trunk/tests/tsub1sp.c Removed trailing spaces. ------------------------------------------------------------------------ r10568 | zimmerma | 2016-07-06 09:02:12 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c added comment ------------------------------------------------------------------------ r10567 | zimmerma | 2016-07-06 08:58:06 +0000 (Wed, 06 Jul 2016) | 3 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] removed special cases for n=1 in mpfr_add1sp, now that we have a special routine mpfr_add1sp1 ------------------------------------------------------------------------ r10566 | zimmerma | 2016-07-06 07:31:04 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5.cc [mbench/mfv5.cc] added RNDA and fixed typo ------------------------------------------------------------------------ r10565 | vlefevre | 2016-07-06 01:52:11 +0000 (Wed, 06 Jul 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5-mpfr.cc M /trunk/tools/mbench/mfv5.cc M /trunk/tools/mbench/mfv5.h The rounding mode can now be passed in argument with the -r option (patch by Patrick Pélissier). ------------------------------------------------------------------------ r10564 | vlefevre | 2016-07-06 01:43:45 +0000 (Wed, 06 Jul 2016) | 1 line Changed paths: M /trunk/src/add1sp.c M /trunk/src/sub1sp.c Removed MPFR_HOT_FUNCTION_ATTR for mpfr_add1sp1 and mpfr_sub1sp1. ------------------------------------------------------------------------ r10563 | vlefevre | 2016-07-05 19:15:18 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/tests/tadd.c [tests/tadd.c] Added FIXME comment: there are many tests, but the ternary value and the flags are not tested! ------------------------------------------------------------------------ r10562 | vlefevre | 2016-07-05 19:06:28 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/mpfr-impl.h M /trunk/src/sub1sp.c Functions mpfr_add1sp1 and mpfr_sub1sp1 are called only from the files where they are defined, thus can be static. ------------------------------------------------------------------------ r10561 | vlefevre | 2016-07-05 19:02:43 +0000 (Tue, 05 Jul 2016) | 1 line Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Removed unused variable. ------------------------------------------------------------------------ r10560 | zimmerma | 2016-07-05 15:09:25 +0000 (Tue, 05 Jul 2016) | 9 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] new special code for 1 limb. In 3.1.4 we add with mfv5: mpfr_add: 30 / 49.30 / 90 now we have: mpfr_add: 24 / 28.18 / 30 ------------------------------------------------------------------------ r10559 | zimmerma | 2016-07-05 15:07:58 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] added comment ------------------------------------------------------------------------ r10558 | vlefevre | 2016-07-05 14:08:11 +0000 (Tue, 05 Jul 2016) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Another improvement (suggested by Paul). ------------------------------------------------------------------------ r10557 | vlefevre | 2016-07-05 13:34:01 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Improved readability. With Debian's gcc-snapshot, this is equivalent, and with tcc, the generated code is shorter. ------------------------------------------------------------------------ r10556 | vlefevre | 2016-07-05 13:19:11 +0000 (Tue, 05 Jul 2016) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] No longer depend on the representation of 0. ------------------------------------------------------------------------ r10555 | vlefevre | 2016-07-05 13:15:10 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Various improvements in the coding style: readability, consistency, GNU coding style. ------------------------------------------------------------------------ r10554 | zimmerma | 2016-07-05 12:38:42 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/doc/README.dev [README.dev] added documentation about mpfr-gfx ------------------------------------------------------------------------ r10553 | zimmerma | 2016-07-05 12:35:00 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mpfr-gfx.c [mbench/mpfr-gfx.c] change of syntax of gnuplot ------------------------------------------------------------------------ r10552 | zimmerma | 2016-07-05 12:07:48 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c M /trunk/tests/tsub1sp.c [src/sub1sp.c] removed dead code, and improved coverage to 100% ------------------------------------------------------------------------ r10551 | vlefevre | 2016-07-05 09:45:01 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Removed incorrect MPFR_SET_EXP (the value was incorrect and the real MPFR_SET_EXP is done later, after underflow checking). ------------------------------------------------------------------------ r10550 | vlefevre | 2016-07-05 09:35:33 +0000 (Tue, 05 Jul 2016) | 1 line Changed paths: M /trunk/tests/tsub1sp.c [tests/tsub1sp.c] Added missing printf arguments. ------------------------------------------------------------------------ r10548 | zimmerma | 2016-07-05 06:58:19 +0000 (Tue, 05 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] fixed some FIXMEs ------------------------------------------------------------------------ r10547 | vlefevre | 2016-07-04 23:05:29 +0000 (Mon, 04 Jul 2016) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Added a FIXME. ------------------------------------------------------------------------ r10546 | vlefevre | 2016-07-04 22:58:52 +0000 (Mon, 04 Jul 2016) | 3 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Avoid a -Wmaybe-uninitialized warning from GCC by declaring a variable as initialized (the code is correct, GCC isn't just smart enough). ------------------------------------------------------------------------ r10545 | vlefevre | 2016-07-04 22:28:43 +0000 (Mon, 04 Jul 2016) | 1 line Changed paths: M /trunk/src/sub1sp.c Removed trailing spaces. ------------------------------------------------------------------------ r10544 | vlefevre | 2016-07-04 22:27:44 +0000 (Mon, 04 Jul 2016) | 3 lines Changed paths: M /trunk/Makefile.am A /trunk/tools/ck-clz_tab M /trunk/tools/mpfrlint Added tools/ck-clz_tab sh script to check the __clz_tab sizes (to detect issues like the one fixed in r10542). Run this script in dist-hook (Makefile.am) and in mpfrlint. ------------------------------------------------------------------------ r10543 | zimmerma | 2016-07-04 16:00:22 +0000 (Mon, 04 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c resolved a FIXME ------------------------------------------------------------------------ r10542 | zimmerma | 2016-07-04 14:50:53 +0000 (Mon, 04 Jul 2016) | 2 lines Changed paths: M /trunk/src/mp_clz_tab.c fixed bug reported by ------------------------------------------------------------------------ r10541 | vlefevre | 2016-07-04 13:39:10 +0000 (Mon, 04 Jul 2016) | 2 lines Changed paths: M /trunk/src/exceptions.c [src/exceptions.c] Added a comment for mpfr_underflow: historical reason for the choice of the behavior with MPFR_RNDN. ------------------------------------------------------------------------ r10540 | zimmerma | 2016-07-04 11:09:26 +0000 (Mon, 04 Jul 2016) | 2 lines Changed paths: M /trunk/src/sub1sp.c code simplification (suggested by Vincent) ------------------------------------------------------------------------ r10539 | zimmerma | 2016-07-04 10:36:16 +0000 (Mon, 04 Jul 2016) | 2 lines Changed paths: M /trunk/NEWS M /trunk/src/mpfr-impl.h M /trunk/src/sub1sp.c M /trunk/tests/texceptions.c M /trunk/tests/tsub1sp.c speedup of mpfr_sub for same precision < GMP_NUMB_BITS ------------------------------------------------------------------------ r10538 | vlefevre | 2016-07-01 00:56:37 +0000 (Fri, 01 Jul 2016) | 1 line Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Corrected indentation. ------------------------------------------------------------------------ r10537 | vlefevre | 2016-07-01 00:51:59 +0000 (Fri, 01 Jul 2016) | 1 line Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Added comments. ------------------------------------------------------------------------ r10536 | vlefevre | 2016-07-01 00:47:19 +0000 (Fri, 01 Jul 2016) | 1 line Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Added comments. ------------------------------------------------------------------------ r10535 | zimmerma | 2016-06-30 07:57:08 +0000 (Thu, 30 Jun 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/sub1sp.c optimize mpfr_add (and mpfr_sub, not yet finished) for 1 limb ------------------------------------------------------------------------ r10534 | vlefevre | 2016-06-29 12:17:49 +0000 (Wed, 29 Jun 2016) | 1 line Changed paths: M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/mpfr-impl.h M /trunk/src/sub.c Renamed macro MPFR_EXP_LESS_P to MPFR_UBF_EXP_LESS_P. ------------------------------------------------------------------------ r10533 | vlefevre | 2016-06-29 12:16:16 +0000 (Wed, 29 Jun 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] Fixed bug introduced in r10530 when MPFR_WANT_ASSERT >= 2 (--enable-assert=full). ------------------------------------------------------------------------ r10532 | vlefevre | 2016-06-29 12:11:44 +0000 (Wed, 29 Jun 2016) | 1 line Changed paths: M /trunk/src/add1.c [src/add1.c] Re-added the MPFR_ASSERTD. The culprit seems to be r10530. ------------------------------------------------------------------------ r10531 | vlefevre | 2016-06-29 12:09:05 +0000 (Wed, 29 Jun 2016) | 1 line Changed paths: M /trunk/src/add1.c [src/add1.c] Reverted r10529, which now fails. That's strange. ------------------------------------------------------------------------ r10530 | zimmerma | 2016-06-29 12:00:06 +0000 (Wed, 29 Jun 2016) | 2 lines Changed paths: M /trunk/src/add.c M /trunk/src/add1sp.c mpfr_add1sp does not assume any more EXP(b) >= EXP(c) ------------------------------------------------------------------------ r10529 | vlefevre | 2016-06-29 11:49:30 +0000 (Wed, 29 Jun 2016) | 1 line Changed paths: M /trunk/src/add1.c [src/add1.c] Added a MPFR_ASSERTD. ------------------------------------------------------------------------ r10528 | zimmerma | 2016-06-29 09:56:17 +0000 (Wed, 29 Jun 2016) | 2 lines Changed paths: M /trunk/src/add1sp.c still faster code for 1 limb ------------------------------------------------------------------------ r10527 | zimmerma | 2016-06-29 09:14:57 +0000 (Wed, 29 Jun 2016) | 3 lines Changed paths: M /trunk/src/add1sp.c merged r10522 from faithful branch + other special-code for 1 limb: the worst case for mpfr_add in 53 limbs decreases from 70 to 60 cycles ------------------------------------------------------------------------ r10525 | zimmerma | 2016-06-29 08:08:35 +0000 (Wed, 29 Jun 2016) | 2 lines Changed paths: M /trunk/src/add1.c added comment that EXP(b) >= EXP(c) ------------------------------------------------------------------------ r10523 | vlefevre | 2016-06-27 17:08:25 +0000 (Mon, 27 Jun 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Changed "hole" to "gap". ------------------------------------------------------------------------ r10519 | vlefevre | 2016-06-25 00:47:35 +0000 (Sat, 25 Jun 2016) | 1 line Changed paths: M /trunk/autogen.sh [autogen.sh] Treat autoreconf warnings as errors. ------------------------------------------------------------------------ r10518 | vlefevre | 2016-06-24 23:55:21 +0000 (Fri, 24 Jun 2016) | 3 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Some improvements. In particular, avoid two successive calls to mpfr_cmpabs on the same arguments (the compiler doesn't know that it could optimize, as the function is not pure). ------------------------------------------------------------------------ r10509 | vlefevre | 2016-06-24 14:21:13 +0000 (Fri, 24 Jun 2016) | 1 line Changed paths: M /trunk/src/add1sp.c M /trunk/src/sub1sp.c Cosmetic change (whitespace). ------------------------------------------------------------------------ r10506 | vlefevre | 2016-06-24 14:06:17 +0000 (Fri, 24 Jun 2016) | 3 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/sub1sp.c [src/add1sp.c] For MPFR_WANT_ASSERT >= 2 (--enable-assert=full), test the flags too and replaced "mpfr_cmp" by "! mpfr_equal_p". [src/sub1sp.c] Make it similar to add1sp.c for MPFR_WANT_ASSERT >= 2. ------------------------------------------------------------------------ r10504 | vlefevre | 2016-06-24 13:44:21 +0000 (Fri, 24 Jun 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r10503 | vlefevre | 2016-06-24 12:17:25 +0000 (Fri, 24 Jun 2016) | 3 lines Changed paths: M /trunk/src/sum.c [src/sum.c] Made the code a bit more natural: change of pos to neg (an indirect consequence of the support of reused arguments). Some other minor related changes. ------------------------------------------------------------------------ r10501 | vlefevre | 2016-06-24 10:17:40 +0000 (Fri, 24 Jun 2016) | 5 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/sum.c The support of reused arguments in mpfr_sum is now complete, without any visible regressions in the timings (which are unfortunately too inaccurate to see anything). * doc/mpfr.texi: removed sentences about the previous limitation. * src/sum.c: removed the corresponding FIXME/TODO comment. ------------------------------------------------------------------------ r10500 | vlefevre | 2016-06-24 10:11:10 +0000 (Fri, 24 Jun 2016) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Test the support of reused arguments. ------------------------------------------------------------------------ r10493 | vlefevre | 2016-06-23 11:17:51 +0000 (Thu, 23 Jun 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a comment for MPFR_RNDRAW_GEN about the use of the exponent field of the destination. ------------------------------------------------------------------------ r10477 | vlefevre | 2016-06-17 15:38:51 +0000 (Fri, 17 Jun 2016) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Coding style: added spaces. ------------------------------------------------------------------------ r10476 | vlefevre | 2016-06-17 15:17:34 +0000 (Fri, 17 Jun 2016) | 3 lines Changed paths: M /trunk/TODO [TODO] Suggest the use the keyword "static" in array indices of parameter declarations with C99 compilers (6.7.5.3p7) when the pointer is expected not to be null. ------------------------------------------------------------------------ r10468 | vlefevre | 2016-06-15 09:46:29 +0000 (Wed, 15 Jun 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update (GCC trunk → GCC 5). ------------------------------------------------------------------------ r10467 | vlefevre | 2016-06-13 09:06:29 +0000 (Mon, 13 Jun 2016) | 2 lines Changed paths: M /trunk/src/sum.c [src/sum.c] Copy the significand to the destination after resolving the TMD in order to support reused arguments. ------------------------------------------------------------------------ r10466 | vlefevre | 2016-06-13 06:40:25 +0000 (Mon, 13 Jun 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Improved a comment. ------------------------------------------------------------------------ r10465 | vlefevre | 2016-06-10 13:58:34 +0000 (Fri, 10 Jun 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Corrected a MPFR_LOG_MSG modified in the latest change. ------------------------------------------------------------------------ r10464 | vlefevre | 2016-06-10 13:47:29 +0000 (Fri, 10 Jun 2016) | 5 lines Changed paths: M /trunk/doc/sum.txt M /trunk/src/sum.c [src/sum.c] For the future support of reused arguments: TMD resolution is now done in a specific TMD accumulator, allocated at the same time as the main accumulator. This TMD accumulator currently just takes at most 2 limbs in practice, so that's not a problem. [doc/sum.txt] Added TODO for things that will change. ------------------------------------------------------------------------ r10463 | vlefevre | 2016-06-09 14:30:32 +0000 (Thu, 09 Jun 2016) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Define mpfr_ueexp_t (needed for r10462). ------------------------------------------------------------------------ r10462 | vlefevre | 2016-06-09 14:09:11 +0000 (Thu, 09 Jun 2016) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Do not use "%zu" with printf (added in r10460). ------------------------------------------------------------------------ r10461 | vlefevre | 2016-06-09 12:41:16 +0000 (Thu, 09 Jun 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Document environment variables that affect the tests. ------------------------------------------------------------------------ r10460 | vlefevre | 2016-06-09 12:15:14 +0000 (Thu, 09 Jun 2016) | 6 lines Changed paths: M /trunk/tests/memory.c M /trunk/tests/mpfr-test.h M /trunk/tests/tversion.c Other changes concerning the memory limit for the tests. * Export the tests_memory_limit variable so that it can be accessed in test programs (e.g. read by tversion as mentioned below, or modified by a test program when executed with particular arguments). * In tversion, print a warning when the memory limit has been modified (with the MPFR_TESTS_MEMORY_LIMIT environment variable). ------------------------------------------------------------------------ r10459 | vlefevre | 2016-06-09 11:51:52 +0000 (Thu, 09 Jun 2016) | 3 lines Changed paths: M /trunk/tests/memory.c [tests/memory.c] The MPFR_TESTS_MEMORY_LIMIT environment variable can now contain an integer specifying the memory limit for the tests, or 0 for unlimited, the default still being 2^22 = 4 MB. ------------------------------------------------------------------------ r10457 | vlefevre | 2016-06-08 12:28:43 +0000 (Wed, 08 Jun 2016) | 4 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Improved check3: * Also do the tests with output precision MPFR_PREC_MIN; this completes the value coverage for tsum. * Also compare the flags. ------------------------------------------------------------------------ r10456 | vlefevre | 2016-06-08 12:06:57 +0000 (Wed, 08 Jun 2016) | 4 lines Changed paths: M /trunk/tests/tsum.c Value coverage for tsum: After r9984 to differentiate sq > MPFR_PREC_MIN and sq == MPFR_PREC_MIN, 42 tests were not done for sq == MPFR_PREC_MIN on a 64-bit machine. In the check4 test, changed a 2 to MPFR_PREC_MIN. This reduces to 12 tests that are not done. ------------------------------------------------------------------------ r10454 | vlefevre | 2016-06-07 17:27:04 +0000 (Tue, 07 Jun 2016) | 18 lines Changed paths: M /trunk M /trunk/src/Makefile.am M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/cmp2.c M /trunk/src/fmma.c M /trunk/src/log_ui.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/print_raw.c M /trunk/src/sub.c M /trunk/src/sub1.c A /trunk/src/ubf.c (from /branches/ubf/src/ubf.c:10453) M /trunk/src/vasprintf.c M /trunk/tests/tacosh.c M /trunk/tests/texp.c M /trunk/tests/tfmma.c M /trunk/tests/tpow.c M /trunk/tests/tpow_z.c M /trunk/tests/tsprintf.c M /trunk/tests/tsub1sp.c Merged the "ubf" branch into the trunk: * limited implementation of "unbounded floats" (numbers with a mpz_t exponent), which could be completed in the future, in particular to handle intermediate overflows/underflows in polynomial evaluation; * rewrote mpfr_fmma and mpfr_fmms to use them, and added tests; * restored the MPFR 3.1- exponent range for compatibility; * restored some tests that were based on this exponent range. The choice for the UBF implementation was to use a compatible structure: the same as the mpfr_t one, with an additional field at the end, used only when the exponent field _mpfr_exp has some special value. Thus some functions such as addition and subtraction just needed minor changes to support UBF, and no code was duplicated. This means that on MPFR numbers (the usual case), one has a few more tests than before, but with known branch probabilities. In practice, this should not be visible, at least in most applications. This was more or less confirmed by timings (even with many additions/subtractions in low precision, this was difficult to say, as timings were influenced by various parameters that we cannot control). ------------------------------------------------------------------------ r10452 | vlefevre | 2016-06-07 10:22:03 +0000 (Tue, 07 Jun 2016) | 1 line Changed paths: M /trunk/tools/mbench/Makefile [tools/mbench/Makefile] Added multiarch support for GMP. ------------------------------------------------------------------------ r10449 | vlefevre | 2016-06-07 07:26:52 +0000 (Tue, 07 Jun 2016) | 3 lines Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Removed tests of native %'g and %'f (from r8292) as the ' flag is an extension from Single UNIX Specification and in particular, they fail with MinGW under Wine. ------------------------------------------------------------------------ r10447 | vlefevre | 2016-06-07 00:44:17 +0000 (Tue, 07 Jun 2016) | 1 line Changed paths: M /trunk/tests/tlgamma.c [tests/tlgamma.c] Typo in comment. ------------------------------------------------------------------------ r10446 | vlefevre | 2016-06-07 00:23:13 +0000 (Tue, 07 Jun 2016) | 1 line Changed paths: M /trunk/src/uceil_log2.c [src/uceil_log2.c] Added a comment. Cosmetic changes. ------------------------------------------------------------------------ r10445 | vlefevre | 2016-06-07 00:18:47 +0000 (Tue, 07 Jun 2016) | 1 line Changed paths: M /trunk/tests/tlgamma.c [tests/tlgamma.c] Corrected updated comment from r10444. ------------------------------------------------------------------------ r10444 | vlefevre | 2016-06-06 23:45:31 +0000 (Mon, 06 Jun 2016) | 1 line Changed paths: M /trunk/tests/tlgamma.c [tests/tlgamma.c] Updated comment of the test added in r10442. ------------------------------------------------------------------------ r10443 | vlefevre | 2016-06-06 23:43:44 +0000 (Mon, 06 Jun 2016) | 7 lines Changed paths: M /trunk/src/uceil_log2.c [src/uceil_log2.c] Correction in __gmpfr_ceil_log2, avoiding an incorrect result with tcc: x.s.exp is declared as an unsigned bit-field, so that tcc considers that x.s.exp - 1023 is unsigned. However, since all the values of x.s.exp are representable in an int, according to the integer promotion rules, x.s.exp should be converted to an int, so that the subtraction is signed. So, this appears to be a bug in tcc. ------------------------------------------------------------------------ r10442 | vlefevre | 2016-06-06 23:09:17 +0000 (Mon, 06 Jun 2016) | 3 lines Changed paths: M /trunk/tests/tlgamma.c [tests/tlgamma.c] Added a test causing a "too much memory" error with tcc 0.9.27~git20151227.933c223-1 (there's already one in special(), but this one is a simpler, standalone test). ------------------------------------------------------------------------ r10440 | vlefevre | 2016-06-06 16:19:21 +0000 (Mon, 06 Jun 2016) | 4 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] When checking if __float128 is available, we now also check whether C99 constants (in particular the __float128 ones, such as 0x1.fp+16383q) are supported since this is now required with the __float128 support. ------------------------------------------------------------------------ r10435 | vlefevre | 2016-06-06 12:15:56 +0000 (Mon, 06 Jun 2016) | 2 lines Changed paths: M /trunk/src/add1.c [src/add1.c] Simplified code: removed fb = 1 since it was already 1 in the "if (fb > 0)" branch. ------------------------------------------------------------------------ r10434 | vlefevre | 2016-06-06 10:59:02 +0000 (Mon, 06 Jun 2016) | 3 lines Changed paths: M /trunk/src/set_float128.c [src/set_float128.c] Fix: removed the divisions by zero, replacing them by comparisons with the maximum finite binary128 number. Changes to be similar to the handling of infinities in "src/set_ld.c". ------------------------------------------------------------------------ r10433 | vlefevre | 2016-06-06 10:07:47 +0000 (Mon, 06 Jun 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Faithful rounding: small correction. ------------------------------------------------------------------------ r10432 | vlefevre | 2016-06-06 09:28:17 +0000 (Mon, 06 Jun 2016) | 2 lines Changed paths: M /trunk/TODO [TODO] Added "faithful rounding", with information about its definition and implementation. ------------------------------------------------------------------------ r10431 | vlefevre | 2016-06-03 15:51:24 +0000 (Fri, 03 Jun 2016) | 1 line Changed paths: M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h [src/{fits_intmax.c,fits_s.h}] In comments, fit → fits. ------------------------------------------------------------------------ r10430 | vlefevre | 2016-06-03 15:30:53 +0000 (Fri, 03 Jun 2016) | 3 lines Changed paths: M /trunk/src/set_float128.c [src/set_float128.c] Added FIXME comment: The mpfr_set_float128 code generates a divide-by-zero exception. Suggest a solution. Note: this is detected with "-DMPFR_TESTS_DIVBYZERO -DMPFR_ERRDIVZERO". ------------------------------------------------------------------------ r10429 | vlefevre | 2016-06-03 15:02:05 +0000 (Fri, 03 Jun 2016) | 3 lines Changed paths: M /trunk/tests/tset_float128.c [tests/tset_float128.c] Take into account failures in division by 0 and absence of signed zeros. Also fixed the code checking the sign of 0 (mpfr_sgn cannot be used for that since it returns 0 for ±0). ------------------------------------------------------------------------ r10426 | vlefevre | 2016-06-03 14:19:33 +0000 (Fri, 03 Jun 2016) | 2 lines Changed paths: M /trunk/src/set_d.c [src/set_d.c] Added some assertions and fixed a 32-bit shift count when GMP_NUMB_BITS == 32. ------------------------------------------------------------------------ r10424 | vlefevre | 2016-06-03 13:54:29 +0000 (Fri, 03 Jun 2016) | 1 line Changed paths: M /trunk/tests/tset_float128.c [tests/tset_float128.c] C++ compatibility. ------------------------------------------------------------------------ r10423 | vlefevre | 2016-06-03 13:50:17 +0000 (Fri, 03 Jun 2016) | 1 line Changed paths: M /trunk/tests/tlog.c [tests/tlog.c] Added a cast to mpfr_rnd_t for C++ compatibility. ------------------------------------------------------------------------ r10417 | zimmerma | 2016-06-03 12:26:21 +0000 (Fri, 03 Jun 2016) | 2 lines Changed paths: M /trunk/TODO added reference for Lambert W function ------------------------------------------------------------------------ r10396 | vlefevre | 2016-06-02 14:34:35 +0000 (Thu, 02 Jun 2016) | 2 lines Changed paths: M /trunk/src/exceptions.c [src/exceptions.c] Fixed the MPFR_LOG_FUNC in mpfr_underflow and mpfr_overflow (x is not an input in these functions). ------------------------------------------------------------------------ r10395 | vlefevre | 2016-06-02 14:26:51 +0000 (Thu, 02 Jun 2016) | 4 lines Changed paths: M /trunk/src/sub1.c [src/sub1.c] In r10347, logging was introduced instead of #ifdef DEBUG and printf. Removed 2 MPFR_LOG_VAR, as the variable is not normalized yet. Re-added #ifdef DEBUG for the MPFR_LOG_MSG's since this may be too low level and not much useful except in case of bugs. ------------------------------------------------------------------------ r10390 | zimmerma | 2016-05-30 14:06:51 +0000 (Mon, 30 May 2016) | 2 lines Changed paths: M /trunk/src/sub1.c fixed typos ------------------------------------------------------------------------ r10386 | vlefevre | 2016-05-30 07:53:27 +0000 (Mon, 30 May 2016) | 2 lines Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Added comments for check_max_almosteven (latest test case, added in r10383). ------------------------------------------------------------------------ r10383 | vlefevre | 2016-05-29 18:40:42 +0000 (Sun, 29 May 2016) | 10 lines Changed paths: M /trunk/src/sub1.c M /trunk/tests/tsub.c [src/sub1.c] Fixed bug in mpfr_sub1 (real subtraction a = b - c, with |b| > |c|): In MPFR_RNDN (round-to-nearest mode), when * |b| is the midpoint between the maximum finite number in the precision of a and 2^emax (the maximum finite number + 1 ulp), which is possible only if PREC(b) > PREC(a), * c is small enough (i.e. no overlap with a and b), mpfr_sub1 returns an infinity (with overflow flag set) instead of ± the maximum number (no overflow). The cause is that an overflow is generated too early, in an intermediate rounding. [tests/tsub.c] Added test cases. ------------------------------------------------------------------------ r10378 | vlefevre | 2016-05-25 20:16:08 +0000 (Wed, 25 May 2016) | 1 line Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] Changes for ISO C90 compatibility. ------------------------------------------------------------------------ r10377 | vlefevre | 2016-05-25 20:13:30 +0000 (Wed, 25 May 2016) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] For _MPFR_IEEE_FLOATS, changed bit-field type from unsigned long, which is implementation-defined, to unsigned int. ------------------------------------------------------------------------ r10376 | vlefevre | 2016-05-25 19:46:12 +0000 (Wed, 25 May 2016) | 1 line Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] Added an assertion. ------------------------------------------------------------------------ r10375 | vlefevre | 2016-05-25 19:44:17 +0000 (Wed, 25 May 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed bug introduced in r10327, giving: error: ISO C does not allow extra ';' outside of a function [-Wpedantic] ------------------------------------------------------------------------ r10374 | zimmerma | 2016-05-25 18:39:24 +0000 (Wed, 25 May 2016) | 2 lines Changed paths: M /trunk/src/log_ui.c improved mpfr_log_ui ------------------------------------------------------------------------ r10373 | zimmerma | 2016-05-25 17:26:55 +0000 (Wed, 25 May 2016) | 2 lines Changed paths: M /trunk/tests/memory.c added comment ------------------------------------------------------------------------ r10372 | vlefevre | 2016-05-25 11:46:34 +0000 (Wed, 25 May 2016) | 2 lines Changed paths: M /trunk/TODO [TODO] mpfr_ai efficiency: also mention mpfr.texi (the issue with large arguments has always been documented). ------------------------------------------------------------------------ r10371 | vlefevre | 2016-05-25 11:42:32 +0000 (Wed, 25 May 2016) | 2 lines Changed paths: M /trunk/TODO [TODO] mpfr_ai efficiency: mention tests/tai.c (the REDUCE_EMAX was added in r6734). ------------------------------------------------------------------------ r10370 | zimmerma | 2016-05-25 09:59:51 +0000 (Wed, 25 May 2016) | 2 lines Changed paths: M /trunk/TODO added item about efficiency of mpfr_ai for large arguments ------------------------------------------------------------------------ r10369 | vlefevre | 2016-05-25 07:57:59 +0000 (Wed, 25 May 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Also clarified the use of "configure". ------------------------------------------------------------------------ r10368 | vlefevre | 2016-05-25 07:55:48 +0000 (Wed, 25 May 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Clarified the use of "autogen.sh". ------------------------------------------------------------------------ r10367 | zimmerma | 2016-05-25 07:32:01 +0000 (Wed, 25 May 2016) | 2 lines Changed paths: M /trunk/tools/nightly-test use autogen.sh ------------------------------------------------------------------------ r10366 | zimmerma | 2016-05-25 07:03:11 +0000 (Wed, 25 May 2016) | 2 lines Changed paths: M /trunk/tools/nightly-test added libtoolize (needed for AX_PTHREAD) ------------------------------------------------------------------------ r10365 | vlefevre | 2016-05-24 23:44:24 +0000 (Tue, 24 May 2016) | 1 line Changed paths: M /trunk/tests/tlog_ui.c [tests/tlog_ui.c] Improved a test function. ------------------------------------------------------------------------ r10364 | vlefevre | 2016-05-24 23:01:42 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed the use of m4_pattern_forbid: the argument must be quoted, otherwise the macro is expanded when defined. ------------------------------------------------------------------------ r10363 | zimmerma | 2016-05-24 21:37:31 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/src/log_ui.c small improvements to log_ui (still slower than log for large precision) ------------------------------------------------------------------------ r10362 | vlefevre | 2016-05-24 20:47:59 +0000 (Tue, 24 May 2016) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Detect whether the AX_PTHREAD macro is left unexpanded. ------------------------------------------------------------------------ r10361 | zimmerma | 2016-05-24 19:27:42 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/tests/tconst_log2.c use rounding to nearest by default in "tconst_log2 prec" ------------------------------------------------------------------------ r10360 | zimmerma | 2016-05-24 19:02:07 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/tests/tlog.c minor changes to allow ./tlog xxx prec ------------------------------------------------------------------------ r10359 | zimmerma | 2016-05-24 18:46:35 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/tests/tgeneric.c M /trunk/tests/tlog_ui.c added generic tests for mpfr_log_ui + compare with mpfr_log ------------------------------------------------------------------------ r10356 | vlefevre | 2016-05-24 15:48:56 +0000 (Tue, 24 May 2016) | 4 lines Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/random_deviate.h M /trunk/tests/mpfr-test.h Removed _MPFR_PROTO with the following Perl script on the .h files. while (<>) { if ($c) { die if /_MPFR_PROTO/; s/^( {$c}) */$1/; s/\) *\)/)/ and undef $c } elsif (s/^(.*)(_MPFR_PROTO *\()\(/$1(/) { s/\) *\)/)/ or $c = 1 + length $1 } print } ------------------------------------------------------------------------ r10355 | vlefevre | 2016-05-24 15:26:21 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Re-added AM_PROG_AR in case Microsoft lib.exe is used (without this, "automake --warnings=all" gives a warning). ------------------------------------------------------------------------ r10354 | vlefevre | 2016-05-24 15:13:15 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Replaced the obsolete ACX_PTHREAD by AX_PTHREAD (done with "autoupdate acinclude.m4"). ------------------------------------------------------------------------ r10353 | vlefevre | 2016-05-24 15:03:30 +0000 (Tue, 24 May 2016) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] Moved LT_INIT near the top for --enable-lto, and removed AM_PROG_AR (no longer needed as done by LT_INIT) and AC_PROG_RANLIB (obsoleted by LT_INIT). ------------------------------------------------------------------------ r10352 | vlefevre | 2016-05-24 14:41:52 +0000 (Tue, 24 May 2016) | 1 line Changed paths: M /trunk/src/ieee_floats.h M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h Avoid some warnings with "gcc -Wundef". ------------------------------------------------------------------------ r10351 | vlefevre | 2016-05-24 14:27:06 +0000 (Tue, 24 May 2016) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Removed a FIXME fixed in r4482. ------------------------------------------------------------------------ r10349 | vlefevre | 2016-05-24 13:58:57 +0000 (Tue, 24 May 2016) | 1 line Changed paths: M /trunk/src/mpfr-longlong.h [src/mpfr-longlong.h] Update from GMP 6.1.0. ------------------------------------------------------------------------ r10348 | vlefevre | 2016-05-24 12:55:15 +0000 (Tue, 24 May 2016) | 1 line Changed paths: M /trunk/src/mpfr-cvers.h [src/mpfr-cvers.h] Fixed typo in a macro (thanks to Patrick Pélissier). ------------------------------------------------------------------------ r10347 | vlefevre | 2016-05-24 12:47:22 +0000 (Tue, 24 May 2016) | 4 lines Changed paths: M /trunk/src/sub1.c [src/sub1.c] Various minor improvements: * Some changes related to the exponents and diff_exp. * Coding style + use of IS_POW2. * Use logging instead of #ifdef DEBUG and printf. ------------------------------------------------------------------------ r10346 | zimmerma | 2016-05-24 12:26:13 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/doc/README.dev M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/cmp2.c M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/mul_2ui.c M /trunk/src/mul_ui.c M /trunk/src/rint.c M /trunk/src/round_raw_generic.c M /trunk/src/set.c M /trunk/src/set_prec.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c removed too aggressive MPFR_LIKELY/MPFR_UNLIKELY (see README.dev) ------------------------------------------------------------------------ r10345 | vlefevre | 2016-05-24 10:47:12 +0000 (Tue, 24 May 2016) | 1 line Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac Added optional LTO support (from a patch by Patrick Pélissier). ------------------------------------------------------------------------ r10344 | vlefevre | 2016-05-24 10:27:33 +0000 (Tue, 24 May 2016) | 3 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/free_cache.c Corrected mpfr_free_cache behavior when WANT_SHARED_CACHE is defined to make it consistent with the behavior when WANT_SHARED_CACHE is not defined (patch by Patrick Pélissier). ------------------------------------------------------------------------ r10342 | vlefevre | 2016-05-24 10:00:00 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Correction on r10338: use src_fopen instead of fopen and check fp (just like with FILE_NAME_R). ------------------------------------------------------------------------ r10339 | zimmerma | 2016-05-24 09:19:44 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/tests/Makefile.am A /trunk/tests/mpfrtest2.dat added new (read-only) test file for mpfr_fpif_import ------------------------------------------------------------------------ r10338 | zimmerma | 2016-05-24 09:18:36 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/tests/tfpif.c added tests for mpfr_fpif_import with precision > MPFR_PREC_MAX ------------------------------------------------------------------------ r10336 | vlefevre | 2016-05-24 08:19:17 +0000 (Tue, 24 May 2016) | 1 line Changed paths: M /trunk/NEWS Updated NEWS about shared caches. ------------------------------------------------------------------------ r10335 | vlefevre | 2016-05-24 08:17:02 +0000 (Tue, 24 May 2016) | 1 line Changed paths: M /trunk/INSTALL M /trunk/NEWS M /trunk/VERSION M /trunk/configure.ac M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am M /trunk/src/mpfr.h M /trunk/src/version.c MPFR 3.2(.x) → 4.0(.x) ------------------------------------------------------------------------ r10334 | vlefevre | 2016-05-24 00:31:26 +0000 (Tue, 24 May 2016) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi [NEWS] New function mpfr_buildopt_sharedcache_p in MPFR 3.2. [doc/mpfr.texi] New function mpfr_buildopt_sharedcache_p. Minor changes. ------------------------------------------------------------------------ r10333 | vlefevre | 2016-05-23 23:52:58 +0000 (Mon, 23 May 2016) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] About the MPFR_DECL_INIT_CACHE macro: * Added a FIXME comment about a possible warning due to a missing field initializer; suggest 2 possible solutions. * Improved code readability. ------------------------------------------------------------------------ r10332 | vlefevre | 2016-05-23 22:41:26 +0000 (Mon, 23 May 2016) | 1 line Changed paths: M /trunk/src/free_cache.c [src/free_cache.c] Avoid duplicated source code for maintainability. ------------------------------------------------------------------------ r10331 | vlefevre | 2016-05-23 22:27:29 +0000 (Mon, 23 May 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrections about caches. ------------------------------------------------------------------------ r10330 | vlefevre | 2016-05-23 22:13:44 +0000 (Mon, 23 May 2016) | 2 lines Changed paths: M /trunk/src/mpfr-thread.h [src/mpfr-thread.h] For #error, use a string literal as a single preprocessing-token. ------------------------------------------------------------------------ r10329 | vlefevre | 2016-05-23 22:06:24 +0000 (Mon, 23 May 2016) | 1 line Changed paths: M /trunk/src/mpfr-thread.h [src/mpfr-thread.h] Coding style. ------------------------------------------------------------------------ r10328 | vlefevre | 2016-05-23 22:02:48 +0000 (Mon, 23 May 2016) | 1 line Changed paths: M /trunk/src/cache.c M /trunk/src/free_cache.c M /trunk/tests/tconst_pi.c Minor comment & coding style corrections on r10327. ------------------------------------------------------------------------ r10327 | vlefevre | 2016-05-23 16:12:32 +0000 (Mon, 23 May 2016) | 1 line Changed paths: M /trunk/TODO M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/README.dev M /trunk/doc/mpfr.texi M /trunk/src/buildopt.c M /trunk/src/cache.c M /trunk/src/free_cache.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-thread.h M /trunk/src/mpfr.h M /trunk/tests/memory.c M /trunk/tests/tconst_pi.c M /trunk/tests/tests.c Added shared cache support (from a patch by Patrick Pélissier). ------------------------------------------------------------------------ r10326 | zimmerma | 2016-05-23 15:55:42 +0000 (Mon, 23 May 2016) | 2 lines Changed paths: M /trunk/tests/tfpif.c added tests for mpfr_fpif in precision 1 ------------------------------------------------------------------------ r10321 | vlefevre | 2016-05-23 14:17:58 +0000 (Mon, 23 May 2016) | 1 line Changed paths: M /trunk/src/gmp_op.c M /trunk/src/pow_z.c M /trunk/src/set_f.c M /trunk/src/set_q.c M /trunk/src/set_z_exp.c ABS(SIZ(x)) → ABSIZ(x) ------------------------------------------------------------------------ r10319 | zimmerma | 2016-05-23 13:08:04 +0000 (Mon, 23 May 2016) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h redefine mpfr_init_set_xxx with mpz_t pool, otherwise the pool is not used for those calls ------------------------------------------------------------------------ r10313 | zimmerma | 2016-05-23 09:59:58 +0000 (Mon, 23 May 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h added comment about MPFR_MY_MPZ_INIT ------------------------------------------------------------------------ r10312 | vlefevre | 2016-05-23 09:54:47 +0000 (Mon, 23 May 2016) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Replaced a comment by a MPFR_ASSERTD. ------------------------------------------------------------------------ r10311 | vlefevre | 2016-05-23 09:46:33 +0000 (Mon, 23 May 2016) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Code simplification. ------------------------------------------------------------------------ r10310 | vlefevre | 2016-05-23 09:36:14 +0000 (Mon, 23 May 2016) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Replaced a comment by a MPFR_ASSERTD. ------------------------------------------------------------------------ r10309 | vlefevre | 2016-05-23 08:28:07 +0000 (Mon, 23 May 2016) | 5 lines Changed paths: M /trunk/src/print_raw.c [src/print_raw.c] Changes for mpfr_print_binary / mpfr_dump: * Support out-of-range exponents as this function is mainly for debugging purpose (TODO: add some warning for such exponents). See: https://sympa.inria.fr/sympa/arc/mpfr/2016-01/msg00061.html * Support _MPFR_EXP_FORMAT == 4 (format used for testing). ------------------------------------------------------------------------ r10308 | vlefevre | 2016-05-22 22:27:26 +0000 (Sun, 22 May 2016) | 3 lines Changed paths: M /trunk/AUTHORS M /trunk/BUGS M /trunk/COPYING M /trunk/COPYING.LESSER M /trunk/ChangeLog M /trunk/INSTALL M /trunk/Makefile.am M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/VERSION M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/FAQ.html M /trunk/doc/README.dev M /trunk/doc/algorithms.bib M /trunk/doc/algorithms.tex M /trunk/doc/faq.xsl M /trunk/doc/fdl.texi M /trunk/doc/mpfr.texi M /trunk/doc/update-faq M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c M /trunk/other/cputime.h M /trunk/other/div-short.c M /trunk/src/Makefile.am M /trunk/src/abort_prec_max.c M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/asin.c M /trunk/src/asinh.c M /trunk/src/atan.c M /trunk/src/atan2.c M /trunk/src/atanh.c M /trunk/src/bernoulli.c M /trunk/src/buildopt.c M /trunk/src/cache.c M /trunk/src/cbrt.c M /trunk/src/check.c M /trunk/src/clear.c M /trunk/src/clears.c M /trunk/src/cmp.c M /trunk/src/cmp2.c M /trunk/src/cmp_abs.c M /trunk/src/cmp_d.c M /trunk/src/cmp_ld.c M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c M /trunk/src/comparisons.c M /trunk/src/const_catalan.c M /trunk/src/const_euler.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/constant.c M /trunk/src/copysign.c M /trunk/src/cos.c M /trunk/src/cosh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/digamma.c M /trunk/src/dim.c M /trunk/src/div.c M /trunk/src/div_2exp.c M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/div_d.c M /trunk/src/div_ui.c M /trunk/src/dump.c M /trunk/src/eint.c M /trunk/src/eq.c M /trunk/src/erandom.c M /trunk/src/erf.c M /trunk/src/erfc.c M /trunk/src/exceptions.c M /trunk/src/exp.c M /trunk/src/exp10.c M /trunk/src/exp2.c M /trunk/src/exp3.c M /trunk/src/exp_2.c M /trunk/src/expm1.c M /trunk/src/extract.c M /trunk/src/factorial.c M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_sint.c M /trunk/src/fits_slong.c M /trunk/src/fits_sshort.c M /trunk/src/fits_u.h M /trunk/src/fits_uint.c M /trunk/src/fits_uintmax.c M /trunk/src/fits_ulong.c M /trunk/src/fits_ushort.c M /trunk/src/fma.c M /trunk/src/fms.c M /trunk/src/fpif.c M /trunk/src/frac.c M /trunk/src/free_cache.c M /trunk/src/frexp.c M /trunk/src/gamma.c M /trunk/src/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/get_d.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_float128.c M /trunk/src/get_flt.c M /trunk/src/get_ld.c M /trunk/src/get_si.c M /trunk/src/get_sj.c M /trunk/src/get_str.c M /trunk/src/get_ui.c M /trunk/src/get_uj.c M /trunk/src/get_z.c M /trunk/src/get_z_exp.c M /trunk/src/gmp_op.c M /trunk/src/hypot.c M /trunk/src/ieee_floats.h M /trunk/src/init.c M /trunk/src/init2.c M /trunk/src/inits.c M /trunk/src/inits2.c M /trunk/src/inp_str.c M /trunk/src/int_ceil_log2.c M /trunk/src/isinf.c M /trunk/src/isinteger.c M /trunk/src/isnan.c M /trunk/src/isnum.c M /trunk/src/isqrt.c M /trunk/src/isregular.c M /trunk/src/iszero.c M /trunk/src/jn.c M /trunk/src/jyn_asympt.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c M /trunk/src/modf.c M /trunk/src/mp_clz_tab.c M /trunk/src/mparam_h.in M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr-cvers.h M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-longlong.h M /trunk/src/mpfr-thread.h M /trunk/src/mpfr.h M /trunk/src/mpn_exp.c M /trunk/src/mul.c M /trunk/src/mul_2exp.c M /trunk/src/mul_2si.c M /trunk/src/mul_2ui.c M /trunk/src/mul_d.c M /trunk/src/mul_ui.c M /trunk/src/mulders.c M /trunk/src/neg.c M /trunk/src/next.c M /trunk/src/out_str.c M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_ui.c M /trunk/src/pow_z.c M /trunk/src/powerof2.c M /trunk/src/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.c M /trunk/src/root.c M /trunk/src/round_near_x.c M /trunk/src/round_p.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/scale2.c M /trunk/src/sec.c M /trunk/src/sech.c M /trunk/src/set.c M /trunk/src/set_d.c M /trunk/src/set_d64.c M /trunk/src/set_dfl_prec.c M /trunk/src/set_exp.c M /trunk/src/set_f.c M /trunk/src/set_flt.c M /trunk/src/set_inf.c M /trunk/src/set_ld.c M /trunk/src/set_nan.c M /trunk/src/set_prc_raw.c M /trunk/src/set_prec.c M /trunk/src/set_q.c M /trunk/src/set_rnd.c M /trunk/src/set_si.c M /trunk/src/set_si_2exp.c M /trunk/src/set_sj.c M /trunk/src/set_str.c M /trunk/src/set_str_raw.c M /trunk/src/set_ui.c M /trunk/src/set_ui_2exp.c M /trunk/src/set_uj.c M /trunk/src/set_z.c M /trunk/src/set_z_exp.c M /trunk/src/set_zero.c M /trunk/src/setmax.c M /trunk/src/setmin.c M /trunk/src/setsign.c M /trunk/src/sgn.c M /trunk/src/si_op.c M /trunk/src/signbit.c M /trunk/src/sin.c M /trunk/src/sin_cos.c M /trunk/src/sinh.c M /trunk/src/sinh_cosh.c M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sqrt_ui.c M /trunk/src/stack_interface.c M /trunk/src/strtofr.c M /trunk/src/sub.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sub_d.c M /trunk/src/sub_ui.c M /trunk/src/subnormal.c M /trunk/src/sum.c M /trunk/src/swap.c M /trunk/src/tan.c M /trunk/src/tanh.c M /trunk/src/uceil_exp2.c M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c M /trunk/src/ui_div.c M /trunk/src/ui_pow.c M /trunk/src/ui_pow_ui.c M /trunk/src/ui_sub.c M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/src/vasprintf.c M /trunk/src/version.c M /trunk/src/volatile.c M /trunk/src/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tests/Makefile.am M /trunk/tests/RRTest.c M /trunk/tests/cmp_str.c M /trunk/tests/inp_str.dat M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/random2.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tai.c M /trunk/tests/talloc.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstdint.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tools/check_inits_clears M /trunk/tools/coverage M /trunk/tools/mbench/generate.c M /trunk/tools/mbench/mfv5.h M /trunk/tools/mbench/mpfr-gfx.c M /trunk/tools/mbench/mpfr-v4.c M /trunk/tools/mbench/mpfr-v6.c M /trunk/tools/mbench/timp.h M /trunk/tools/update-version M /trunk/tune/speed.c M /trunk/tune/tuneup.c Removed svn:keywords properties: they are not used, we do not plan to use them (such a feature does not exist in other VCS), and they may break things if used by mistake. ------------------------------------------------------------------------ r10307 | vlefevre | 2016-05-22 22:06:00 +0000 (Sun, 22 May 2016) | 1 line Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] Corrections and improvements in random_test. ------------------------------------------------------------------------ r10306 | vlefevre | 2016-05-22 21:55:56 +0000 (Sun, 22 May 2016) | 1 line Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] Replaced mpfr_cmp by the stronger mpfr_equal_p. ------------------------------------------------------------------------ r10303 | vlefevre | 2016-05-22 09:58:51 +0000 (Sun, 22 May 2016) | 3 lines Changed paths: M /trunk/tests/tadd_ui.c M /trunk/tests/tsub_ui.c [tests] * tadd_ui.c: clean-up (a boolean test doesn't need "!= 0"). * tsub_ui.c: check that the NaN flag is set on NaN. ------------------------------------------------------------------------ r10302 | vlefevre | 2016-05-22 09:31:34 +0000 (Sun, 22 May 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added IS_SIGNED macro to check whether an integer type (after integer promotion) is signed; and use it for MPFR_EXP_IN_RANGE. ------------------------------------------------------------------------ r10301 | vlefevre | 2016-05-20 14:26:39 +0000 (Fri, 20 May 2016) | 2 lines Changed paths: M /trunk/src/ui_sub.c [src/ui_sub.c] Improved code style and assertions, making mpfr_ui_sub more like mpfr_add_ui and mpfr_sub_ui. Added comments. ------------------------------------------------------------------------ r10300 | vlefevre | 2016-05-20 14:17:57 +0000 (Fri, 20 May 2016) | 2 lines Changed paths: M /trunk/src/add_ui.c M /trunk/src/sub_ui.c Partly rewrote mpfr_add_ui and mpfr_sub_ui (more similar to the mpfr_ui_sub code), solving the failures. ------------------------------------------------------------------------ r10299 | vlefevre | 2016-05-20 11:43:07 +0000 (Fri, 20 May 2016) | 3 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Check NaN argument, mainly in order to check the NaN flag when the result is NaN (almost all cases). This makes both tadd_ui (ignoring the new test done in r10298) and tsub_ui fail. ------------------------------------------------------------------------ r10298 | zimmerma | 2016-05-19 15:52:25 +0000 (Thu, 19 May 2016) | 2 lines Changed paths: M /trunk/tests/tadd_ui.c added test case for bug reported by Rob (sisyphus1@optusnet.com.au) ------------------------------------------------------------------------ r10297 | vlefevre | 2016-05-19 14:34:44 +0000 (Thu, 19 May 2016) | 1 line Changed paths: M /trunk/src/fmma.c [src/fmma.c] Added FIXME comments. ------------------------------------------------------------------------ r10296 | vlefevre | 2016-05-18 15:31:02 +0000 (Wed, 18 May 2016) | 1 line Changed paths: M /trunk/src/check.c M /trunk/src/fpif.c M /trunk/src/mpfr-impl.h M /trunk/src/urandomb.c Added MPFR_EXP_IN_RANGE macro, and replaced some tests to use it. ------------------------------------------------------------------------ r10295 | vlefevre | 2016-05-18 15:26:17 +0000 (Wed, 18 May 2016) | 1 line Changed paths: M /trunk/src/fma.c [src/fma.c] Minor code simplification. ------------------------------------------------------------------------ r10294 | vlefevre | 2016-05-17 23:34:48 +0000 (Tue, 17 May 2016) | 4 lines Changed paths: M /trunk/src/exp.c M /trunk/src/get_str.c M /trunk/src/mpfr-impl.h M /trunk/src/pow.c Improved code related to mpfr_set_exp_t: * Define MPFR_EXP_LIMB_SIZE macro (size of mpfr_exp_t in limbs) and use it. * src/pow.c: replaced a mpfr_init2 by MPFR_TMP_INIT1. ------------------------------------------------------------------------ r10293 | zimmerma | 2016-05-17 09:40:21 +0000 (Tue, 17 May 2016) | 2 lines Changed paths: M /trunk/tests/tget_set_d64.c added comment about printing decimal floats ------------------------------------------------------------------------ r10292 | vlefevre | 2016-05-13 15:24:50 +0000 (Fri, 13 May 2016) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Minor improvements. ------------------------------------------------------------------------ r10291 | vlefevre | 2016-05-12 00:29:43 +0000 (Thu, 12 May 2016) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Added a comment about GMP CC/CFLAGS detection. ------------------------------------------------------------------------ r10290 | vlefevre | 2016-05-12 00:16:35 +0000 (Thu, 12 May 2016) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Better GMP CC/CFLAGS detection (based on a patch by Patrick Pélissier). ------------------------------------------------------------------------ r10289 | zimmerma | 2016-05-11 14:38:59 +0000 (Wed, 11 May 2016) | 2 lines Changed paths: M /trunk/configure.ac add -P option to cpp when detecting CC/CFLAGS in gmp.h (workaround for gcc-5) ------------------------------------------------------------------------ r10288 | vlefevre | 2016-05-04 15:54:30 +0000 (Wed, 04 May 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r10286 | vlefevre | 2016-05-04 14:14:23 +0000 (Wed, 04 May 2016) | 3 lines Changed paths: M /trunk/Makefile.am M /trunk/doc/Makefile.am [doc/Makefile.am] Reverted the change done in r10283 as the mpfr.info file was always rebuilt. [Makefile.am] Execute check-typography from dist-hook instead. ------------------------------------------------------------------------ r10285 | vlefevre | 2016-05-04 14:01:31 +0000 (Wed, 04 May 2016) | 3 lines Changed paths: M /trunk/Makefile.am M /trunk/doc/check-typography [Makefile.am] Add doc/check-typography to the tarball as it is needed to rebuild the mpfr.info file if the mpfr.texi file is modified. [doc/check-typography] Added copyright notice and explanations. ------------------------------------------------------------------------ r10284 | vlefevre | 2016-05-04 13:44:59 +0000 (Wed, 04 May 2016) | 1 line Changed paths: M /trunk/doc/check-typography [doc/check-typography] Removed useless parentheses. ------------------------------------------------------------------------ r10283 | vlefevre | 2016-05-04 13:41:11 +0000 (Wed, 04 May 2016) | 10 lines Changed paths: M /trunk/doc/Makefile.am A /trunk/doc/check-typography M /trunk/doc/mpfr.texi M /trunk/tools/mpfrlint Detect typography ambiguities in doc/mpfr.texi ASAP: to avoid errors due to implicit rules, it is better to explicitly make clear whether a punctuation mark ends or does not end a sentence. * Added doc/check-typography sh script to detect such typography ambiguities. * doc/Makefile.am: automatically execute this script before mpfr.info is rebuilt; fail with explanations in case there are ambiguities. * doc/mpfr.texi: avoid typography ambiguities. * tools/mpfrlint: replaced the old typography check by a call to the check-typography script (which does more checks). ------------------------------------------------------------------------ r10282 | vlefevre | 2016-05-04 11:20:28 +0000 (Wed, 04 May 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Typographic correction on the latest addition. ------------------------------------------------------------------------ r10281 | vlefevre | 2016-05-04 11:17:11 +0000 (Wed, 04 May 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] The MPFR_ and mpfr_ prefixes are reserved for MPFR. ------------------------------------------------------------------------ r10278 | vlefevre | 2016-04-25 13:11:11 +0000 (Mon, 25 Apr 2016) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Clean-up. ------------------------------------------------------------------------ r10276 | vlefevre | 2016-04-21 12:36:10 +0000 (Thu, 21 Apr 2016) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] Improved the GMP CC/CFLAGS detection: the test for $cpp was not checking whether gmp.h could actually be included, so that the code was outputting "yes" even when gmp.h was not installed. ------------------------------------------------------------------------ r10273 | vlefevre | 2016-04-21 09:23:27 +0000 (Thu, 21 Apr 2016) | 1 line Changed paths: M /trunk/NEWS [NEWS] Added: Limited pkg-config support. ------------------------------------------------------------------------ r10272 | vlefevre | 2016-04-21 08:37:29 +0000 (Thu, 21 Apr 2016) | 1 line Changed paths: M /trunk M /trunk/Makefile.am M /trunk/README M /trunk/configure.ac M /trunk/doc/mpfr.texi A /trunk/mpfr.pc.in Added pkg-config support (patch from Kip Warner + some changes). ------------------------------------------------------------------------ r10271 | zimmerma | 2016-04-20 11:48:14 +0000 (Wed, 20 Apr 2016) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h typo ------------------------------------------------------------------------ r10270 | vlefevre | 2016-04-20 11:47:20 +0000 (Wed, 20 Apr 2016) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Improved warning message for the "long double" test. ------------------------------------------------------------------------ r10269 | vlefevre | 2016-04-20 11:44:45 +0000 (Wed, 20 Apr 2016) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] "double format" test: changed the AC_MSG_ERROR (when not recognized) to AC_MSG_WARN (like with long double). ------------------------------------------------------------------------ r10268 | vlefevre | 2016-04-20 11:39:31 +0000 (Wed, 20 Apr 2016) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] No longer include in the "double format" test (it is unnecessary and doesn't exist everywhere). ------------------------------------------------------------------------ r10267 | vlefevre | 2016-04-20 11:35:26 +0000 (Wed, 20 Apr 2016) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Typo. ------------------------------------------------------------------------ r10263 | vlefevre | 2016-04-13 19:37:36 +0000 (Wed, 13 Apr 2016) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Updated a comment about Cygwin and Unix. ------------------------------------------------------------------------ r10262 | vlefevre | 2016-04-09 11:20:32 +0000 (Sat, 09 Apr 2016) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Fixed bug triggered when the command for err-if-output has empty arguments (this does not occur yet). ------------------------------------------------------------------------ r10261 | vlefevre | 2016-04-08 23:39:28 +0000 (Fri, 08 Apr 2016) | 3 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output the status of the __GMP_LIBGMP_DLL and MPFR_WIN_THREAD_SAFE_DLL macros (since unreliable consistency checks have been removed in r10260). ------------------------------------------------------------------------ r10260 | vlefevre | 2016-04-08 23:17:07 +0000 (Fri, 08 Apr 2016) | 8 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Removed the detection of possible inconsistencies under Unix because the tests could yield spurious errors with Cygwin32 or other similar implementations. Moreover, such tests were used for debugging purpose or to detect potential problems in the environment, thus were not really useful for the end user. They were initially added in the win-thread-safe-dll branch (r9682, following a problem found in r9680). One alternative for checking by the MPFR developers would be to output the status of some internal macros in tversion. ------------------------------------------------------------------------ r10259 | vlefevre | 2016-04-08 16:02:39 +0000 (Fri, 08 Apr 2016) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Use err-if-output also for external checkers. ------------------------------------------------------------------------ r10258 | vlefevre | 2016-04-08 15:56:20 +0000 (Fri, 08 Apr 2016) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Better choice of a variable name. ------------------------------------------------------------------------ r10257 | zimmerma | 2016-04-08 15:55:03 +0000 (Fri, 08 Apr 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h revert changeset 10255 ------------------------------------------------------------------------ r10256 | vlefevre | 2016-04-08 15:28:59 +0000 (Fri, 08 Apr 2016) | 4 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] * Switched to zsh. * Much more meaningful error messages. * Fix: in the mpfr.texi punctuation test, ignore the comments. ------------------------------------------------------------------------ r10255 | zimmerma | 2016-04-08 14:10:47 +0000 (Fri, 08 Apr 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h patch for Cygwin (cf https://trac.sagemath.org/ticket/20380) ------------------------------------------------------------------------ r10254 | vlefevre | 2016-04-08 07:58:49 +0000 (Fri, 08 Apr 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r10253 | vlefevre | 2016-04-07 15:10:30 +0000 (Thu, 07 Apr 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/dump.c [doc/mpfr.texi] Document mpfr_dump (which has always been there). [src/dump.c] Added a comment (with TODO). ------------------------------------------------------------------------ r10252 | vlefevre | 2016-04-07 13:59:37 +0000 (Thu, 07 Apr 2016) | 2 lines Changed paths: M /trunk/src/sub1.c M /trunk/tests/reuse.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tasin.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tcmp2.c M /trunk/tests/tcos.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teq.c M /trunk/tests/terf.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/tfactorial.c M /trunk/tests/tgamma.c M /trunk/tests/tgmpop.c M /trunk/tests/tlgamma.c M /trunk/tests/tlngamma.c M /trunk/tests/tmul_ui.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/trandom.c M /trunk/tests/tset_d.c M /trunk/tests/tset_str.c M /trunk/tests/tsqrt.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_ui.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_pow.c M /trunk/tests/turandom.c M /trunk/tests/tzeta.c Replaced various instances of mpfr_print_binary + newline (sometimes missing) by mpfr_dump. ------------------------------------------------------------------------ r10251 | vlefevre | 2016-04-07 13:43:13 +0000 (Thu, 07 Apr 2016) | 1 line Changed paths: M /trunk/tests/tgmpop.c M /trunk/tests/tset_q.c [tests] Fixed typo in error messages. ------------------------------------------------------------------------ r10249 | vlefevre | 2016-04-01 13:44:10 +0000 (Fri, 01 Apr 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Mention ISO/IEC JTC 1/SC 22/WG 21 N3060 (C++ special functions). ------------------------------------------------------------------------ r10247 | vlefevre | 2016-03-29 01:37:38 +0000 (Tue, 29 Mar 2016) | 9 lines Changed paths: M /trunk/INSTALL [INSTALL] Removed incorrect note about NetBSD/alpha: The configure script distributed with the MPFR 3.1.4 tarball does not contain anything related to the -mieee GCC option; this just seems to be a particular pkgsrc issue for NetBSD: http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/mk/platform/NetBSD.mk?rev=1.48&content-type=text/x-cvsweb-markup https://www.google.fr/search?q=pkgsrc+%22mieee%22 where -mieee is added. The -mieee-with-inexact option added in the MPFR 3.1 branch might yield the same error with the buggy GCC versions, but this is now obsolete in the trunk (the code was removed in r10152). ------------------------------------------------------------------------ r10246 | zimmerma | 2016-03-25 09:09:41 +0000 (Fri, 25 Mar 2016) | 2 lines Changed paths: M /trunk/INSTALL added note about NetBSD/alpha ------------------------------------------------------------------------ r10245 | vlefevre | 2016-03-16 15:22:31 +0000 (Wed, 16 Mar 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Added a summary of the timings, copied from: ^/misc/sum-timings/results/ReadMe@10244 ------------------------------------------------------------------------ r10235 | vlefevre | 2016-03-15 12:28:46 +0000 (Tue, 15 Mar 2016) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Updated comment of bug20160315 after fix in 3.1 branch. ------------------------------------------------------------------------ r10233 | vlefevre | 2016-03-15 11:58:47 +0000 (Tue, 15 Mar 2016) | 2 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Added bug20160315 (this bug appears when porting sum.c for MPFR 3.1.4 but does not appear in the trunk). ------------------------------------------------------------------------ r10232 | vlefevre | 2016-03-14 16:11:12 +0000 (Mon, 14 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Some clarification in the TMD case. ------------------------------------------------------------------------ r10231 | vlefevre | 2016-03-14 13:59:53 +0000 (Mon, 14 Mar 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Added a proof that the choice for the size ts of the temporary area is sufficient. ------------------------------------------------------------------------ r10230 | vlefevre | 2016-03-14 01:48:55 +0000 (Mon, 14 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Replaced e by ε for the error (e is already used). ------------------------------------------------------------------------ r10229 | vlefevre | 2016-03-14 01:24:52 +0000 (Mon, 14 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update about t' in the error analysis. ------------------------------------------------------------------------ r10228 | vlefevre | 2016-03-14 00:43:03 +0000 (Mon, 14 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] More about the notion of exponent in two's complement. ------------------------------------------------------------------------ r10227 | vlefevre | 2016-03-13 23:59:54 +0000 (Sun, 13 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update about sum_raw (with a correction of a typo). ------------------------------------------------------------------------ r10226 | vlefevre | 2016-03-10 17:05:09 +0000 (Thu, 10 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Rewrote paragraph about limitations. ------------------------------------------------------------------------ r10225 | vlefevre | 2016-03-10 16:33:10 +0000 (Thu, 10 Mar 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Corrected comment: 32/64-bit machine → 32/64-bit ABI. ------------------------------------------------------------------------ r10224 | vlefevre | 2016-03-10 16:20:29 +0000 (Thu, 10 Mar 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Use UPDATE_MINEXP when necessary; added comments. ------------------------------------------------------------------------ r10223 | vlefevre | 2016-03-10 16:09:38 +0000 (Thu, 10 Mar 2016) | 2 lines Changed paths: M /trunk/src/sum.c [src/sum.c] Added a comment about corner cases involving huge precisions, which should never occur in practice. ------------------------------------------------------------------------ r10222 | vlefevre | 2016-03-10 15:10:51 +0000 (Thu, 10 Mar 2016) | 5 lines Changed paths: M /trunk/src/sum.c [src/sum.c] * Added some MPFR_ASSERTD that correspond to properties used in the proof corrected in doc/sum.txt r10221. * Added a test for corner cases that will/can probably never occur in practice. ------------------------------------------------------------------------ r10221 | vlefevre | 2016-03-10 15:05:04 +0000 (Thu, 10 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Improved explanations and corrected a proof. ------------------------------------------------------------------------ r10220 | vlefevre | 2016-03-10 12:47:09 +0000 (Thu, 10 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Added a figure. ------------------------------------------------------------------------ r10219 | vlefevre | 2016-03-10 10:37:18 +0000 (Thu, 10 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Clarifications. ------------------------------------------------------------------------ r10218 | vlefevre | 2016-03-09 16:21:44 +0000 (Wed, 09 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] GMP → the current version of GMP (6.1.0). ------------------------------------------------------------------------ r10217 | vlefevre | 2016-03-09 15:48:16 +0000 (Wed, 09 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Another clarification. ------------------------------------------------------------------------ r10216 | vlefevre | 2016-03-09 15:44:38 +0000 (Wed, 09 Mar 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Clarification about a reiteration in sum_raw with explanation closer to the code. ------------------------------------------------------------------------ r10215 | vlefevre | 2016-03-09 15:07:02 +0000 (Wed, 09 Mar 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Clarification of comments about "sum.txt". ------------------------------------------------------------------------ r10214 | vlefevre | 2016-03-09 14:59:16 +0000 (Wed, 09 Mar 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Added comments and an MPFR_ASSERTD for sum_raw(). ------------------------------------------------------------------------ r10213 | vlefevre | 2016-03-09 14:37:33 +0000 (Wed, 09 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Clarification. ------------------------------------------------------------------------ r10212 | vlefevre | 2016-03-09 13:34:09 +0000 (Wed, 09 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update (mainly related to two's complement). ------------------------------------------------------------------------ r10211 | vlefevre | 2016-03-09 09:17:27 +0000 (Wed, 09 Mar 2016) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] More information about MinGW and __USE_MINGW_ANSI_STDIO. ------------------------------------------------------------------------ r10210 | vlefevre | 2016-03-08 15:57:43 +0000 (Tue, 08 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Corrected 2 typos found by PZ. ------------------------------------------------------------------------ r10209 | vlefevre | 2016-03-08 14:50:02 +0000 (Tue, 08 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Added commas. ------------------------------------------------------------------------ r10208 | vlefevre | 2016-03-08 14:45:41 +0000 (Tue, 08 Mar 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Added info about an exact zero result and IEEE 754 / 1788. ------------------------------------------------------------------------ r10207 | vlefevre | 2016-03-08 09:55:59 +0000 (Tue, 08 Mar 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] A bit more about the choice of two's complement for the accumulator. ------------------------------------------------------------------------ r10206 | vlefevre | 2016-03-08 09:22:27 +0000 (Tue, 08 Mar 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Explanation concerning the choice of two's complement for the accumulator. ------------------------------------------------------------------------ r10198 | vlefevre | 2016-03-04 14:30:37 +0000 (Fri, 04 Mar 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about MinGW and __USE_MINGW_ANSI_STDIO. ------------------------------------------------------------------------ r10196 | vlefevre | 2016-03-04 14:07:22 +0000 (Fri, 04 Mar 2016) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Some improvement about MinGW and __USE_MINGW_ANSI_STDIO. ------------------------------------------------------------------------ r10195 | vlefevre | 2016-03-04 13:58:05 +0000 (Fri, 04 Mar 2016) | 1 line Changed paths: M /trunk/TODO [TODO] With MinGW, build with -D__USE_MINGW_ANSI_STDIO by default? ------------------------------------------------------------------------ r10194 | vlefevre | 2016-03-03 10:13:32 +0000 (Thu, 03 Mar 2016) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Improved --help messages for decimal-float and float128 (a bit like what was done for thread-safe). ------------------------------------------------------------------------ r10193 | zimmerma | 2016-03-03 10:00:06 +0000 (Thu, 03 Mar 2016) | 2 lines Changed paths: M /trunk/NEWS updated NEWS for decimal floats and __float128 ------------------------------------------------------------------------ r10192 | zimmerma | 2016-03-03 09:56:24 +0000 (Thu, 03 Mar 2016) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac set --enable-float128 to "autodetect" by default (like --enable-decimal-float) ------------------------------------------------------------------------ r10191 | vlefevre | 2016-03-02 17:15:13 +0000 (Wed, 02 Mar 2016) | 1 line Changed paths: M /trunk/TODO [TODO] For testing the lack of subnormal support. ------------------------------------------------------------------------ r10190 | vlefevre | 2016-03-02 16:56:27 +0000 (Wed, 02 Mar 2016) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Also fixed the test for subnormal double-precision numbers, in case an extended precision / exponent range is used (however the test is not guaranteed with non-conforming compilers). ------------------------------------------------------------------------ r10189 | vlefevre | 2016-03-02 16:51:19 +0000 (Wed, 02 Mar 2016) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed test for subnormal single-precision numbers. ------------------------------------------------------------------------ r10188 | zimmerma | 2016-03-02 16:47:54 +0000 (Wed, 02 Mar 2016) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/tget_flt.c added a separate configure test for subnormals in the "float" format ------------------------------------------------------------------------ r10187 | vlefevre | 2016-03-02 16:39:38 +0000 (Wed, 02 Mar 2016) | 1 line Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac [acinclude.m4,configure.ac] Various fixes in error messages. ------------------------------------------------------------------------ r10186 | vlefevre | 2016-03-02 15:52:47 +0000 (Wed, 02 Mar 2016) | 1 line Changed paths: M /trunk/TODO [TODO] Update ICC detection. ------------------------------------------------------------------------ r10185 | zimmerma | 2016-03-02 15:24:12 +0000 (Wed, 02 Mar 2016) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac autodetect support for decimal floats (as suggested in revision 10179) ------------------------------------------------------------------------ r10183 | vlefevre | 2016-03-02 14:56:01 +0000 (Wed, 02 Mar 2016) | 1 line Changed paths: M /trunk/src/ieee_floats.h [src/ieee_floats.h] Comment update. ------------------------------------------------------------------------ r10182 | vlefevre | 2016-03-02 14:47:32 +0000 (Wed, 02 Mar 2016) | 2 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Another improvement, just in case Clang no longer defines __GNUC__ in the future. ------------------------------------------------------------------------ r10181 | vlefevre | 2016-03-02 14:43:31 +0000 (Wed, 02 Mar 2016) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Improved output of compiler information. ------------------------------------------------------------------------ r10180 | vlefevre | 2016-03-02 14:18:27 +0000 (Wed, 02 Mar 2016) | 4 lines Changed paths: M /trunk/src/ieee_floats.h [src/ieee_floats.h] No longer use a NaN memory representation because it was fixed thus could be either a qNaN or a sNaN, depending on the machine. Moreover the choice is to generate a qNaN, in particular due to lack of sNaN support by compilers. ------------------------------------------------------------------------ r10179 | vlefevre | 2016-03-02 13:59:12 +0000 (Wed, 02 Mar 2016) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac Do not build with decimal float by default as it is not standard (a better behavior could be to auto-detect). ------------------------------------------------------------------------ r10178 | vlefevre | 2016-03-02 10:02:37 +0000 (Wed, 02 Mar 2016) | 1 line Changed paths: M /trunk/src/ieee_floats.h M /trunk/src/mpfr-impl.h Updated comments about DBL_NAN, dbl_nan.d and qNaN / sNaN encoding. ------------------------------------------------------------------------ r10177 | vlefevre | 2016-03-02 01:03:56 +0000 (Wed, 02 Mar 2016) | 1 line Changed paths: M /trunk/src/get_flt.c [src/get_flt.c] Updated FIXME comment: idea of a solution... ------------------------------------------------------------------------ r10175 | vlefevre | 2016-03-02 00:49:43 +0000 (Wed, 02 Mar 2016) | 2 lines Changed paths: M /trunk/src/get_flt.c [src/get_flt.c] FIXME: The code assumes the IEEE-754 binary32 format with subnormal support. ------------------------------------------------------------------------ r10173 | vlefevre | 2016-03-02 00:29:46 +0000 (Wed, 02 Mar 2016) | 2 lines Changed paths: M /trunk/tests/tget_flt.c [tests/tget_flt.c] Do tests that may involve subnormals only if HAVE_DENORMS is defined. ------------------------------------------------------------------------ r10172 | vlefevre | 2016-03-01 17:17:13 +0000 (Tue, 01 Mar 2016) | 5 lines Changed paths: M /trunk/src/set_d64.c M /trunk/src/set_float128.c M /trunk/src/set_ld.c [src/set_*.c] Use the DOUBLE_ISNAN macro for _Decimal64, __float128 and long double like what is done for double; on platforms where d != d is not wrongly optimized to false, this should not change anything. Also added some MPFR_UNLIKELY for special cases of _Decimal64 and __float128, as this is already done for double and long double. ------------------------------------------------------------------------ r10171 | vlefevre | 2016-03-01 16:59:07 +0000 (Tue, 01 Mar 2016) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect some uses of "x != x" and "x == x". ------------------------------------------------------------------------ r10170 | zimmerma | 2016-03-01 16:34:35 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/tests/tversion.c recognize icc (which might define __GNUC__) ------------------------------------------------------------------------ r10169 | vlefevre | 2016-03-01 16:07:33 +0000 (Tue, 01 Mar 2016) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a comment about non-IEEE-754 environment. ------------------------------------------------------------------------ r10168 | zimmerma | 2016-03-01 15:46:05 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/src/ieee_floats.h HAVE_DOUBLE_IEEE_LITTLE_SWAPPED is not supported ------------------------------------------------------------------------ r10165 | vlefevre | 2016-03-01 15:37:17 +0000 (Tue, 01 Mar 2016) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] Quote the argument of all AC_MSG_RESULT and AC_MSG_ERROR when it is longer than a word, as already done in most cases (this is safer in case we modify the text and add a comma). ------------------------------------------------------------------------ r10164 | vlefevre | 2016-03-01 15:19:46 +0000 (Tue, 01 Mar 2016) | 1 line Changed paths: M /trunk/tests/tset_float128.c [tests/tset_float128.c] Better cast. ------------------------------------------------------------------------ r10163 | zimmerma | 2016-03-01 15:08:50 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/tests/tget_flt.c M /trunk/tests/tset_float128.c use DOUBLE_ISNAN() instead of f == f ------------------------------------------------------------------------ r10162 | zimmerma | 2016-03-01 14:31:01 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/tools/cfarm.sh updated ------------------------------------------------------------------------ r10161 | zimmerma | 2016-03-01 14:23:02 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/INSTALL updated paragraph on AIX/PowerPC ------------------------------------------------------------------------ r10160 | zimmerma | 2016-03-01 14:19:57 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/tests/tget_flt.c added more details in case of error ------------------------------------------------------------------------ r10159 | zimmerma | 2016-03-01 14:08:10 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/configure.ac harmonize configure message against GMP ------------------------------------------------------------------------ r10158 | zimmerma | 2016-03-01 12:16:25 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/tools/cfarm.sh updated with mpfr-3.1.4-rc2 ------------------------------------------------------------------------ r10157 | zimmerma | 2016-03-01 10:48:18 +0000 (Tue, 01 Mar 2016) | 3 lines Changed paths: M /trunk/configure.ac M /trunk/src/mpfr-gmp.h fixed detection of "double" format, and removed HAVE_DOUBLE_IEEE_LITTLE_SWAPPED, since we have no machine to test it ------------------------------------------------------------------------ r10156 | zimmerma | 2016-03-01 10:19:54 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h removed leftover debug statement ------------------------------------------------------------------------ r10155 | vlefevre | 2016-03-01 10:14:28 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/doc/README.dev Removed "The IEEE code for double needs GMP internal files." from doc/README.dev as this is no longer the case since r10150. ------------------------------------------------------------------------ r10154 | zimmerma | 2016-03-01 08:53:40 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/NEWS speedup in mpfr_set_d and mpfr_get_d ------------------------------------------------------------------------ r10153 | zimmerma | 2016-03-01 08:52:21 +0000 (Tue, 01 Mar 2016) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h improved detection of decimal floats removed (obsolete?) #define XDEBUG in mpfr-gmp.h ------------------------------------------------------------------------ r10152 | vlefevre | 2016-03-01 02:11:41 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Removed old code for Alpha (as suggested by Paul). It was no longer tested. ------------------------------------------------------------------------ r10151 | vlefevre | 2016-03-01 02:00:47 +0000 (Tue, 01 Mar 2016) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Added a FIXME comment about a possible misuse of AC_RUN_IFELSE programs that can return several values. ------------------------------------------------------------------------ r10150 | zimmerma | 2016-02-29 20:57:06 +0000 (Mon, 29 Feb 2016) | 3 lines Changed paths: M /trunk/configure.ac M /trunk/src/get_d64.c M /trunk/src/ieee_floats.h M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/scale2.c M /trunk/src/set_d.c M /trunk/src/set_d64.c M /trunk/src/uceil_exp2.c M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c get rid of dependency from GMP for _GMP_IEEE_FLOATS and ieee_double_extract enable decimal float by default ------------------------------------------------------------------------ r10147 | vlefevre | 2016-02-29 17:56:38 +0000 (Mon, 29 Feb 2016) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Also detect the use of ASSERT_ALWAYS (forbidden). ------------------------------------------------------------------------ r10145 | vlefevre | 2016-02-29 17:44:12 +0000 (Mon, 29 Feb 2016) | 1 line Changed paths: M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_ld_2exp.c Replaced the remaining ASSERT_ALWAYS by MPFR_ASSERTN. ------------------------------------------------------------------------ r10141 | vlefevre | 2016-02-29 09:49:50 +0000 (Mon, 29 Feb 2016) | 1 line Changed paths: M /trunk/NEWS [NEWS] Removed a useless note (as the ABI has already changed). ------------------------------------------------------------------------ r10137 | vlefevre | 2016-02-29 04:06:04 +0000 (Mon, 29 Feb 2016) | 2 lines Changed paths: M /trunk/NEWS [NEWS] Update about MinGW: "Added support for thread-safe DLL" as this was more than a fix of the test suite with r9684,9778. ------------------------------------------------------------------------ r10135 | vlefevre | 2016-02-29 03:52:18 +0000 (Mon, 29 Feb 2016) | 2 lines Changed paths: M /trunk/NEWS [NEWS] Added "MinGW: Avoid failures in the test suite for shared builds with TLS." (fix in r9891). ------------------------------------------------------------------------ r10134 | vlefevre | 2016-02-29 03:48:45 +0000 (Mon, 29 Feb 2016) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] Removed an obsolete sentence about MinGW and shared builds with TLS (the failures in the test suite were avoided in r9891). ------------------------------------------------------------------------ r10132 | vlefevre | 2016-02-29 00:55:52 +0000 (Mon, 29 Feb 2016) | 1 line Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Comment update. ------------------------------------------------------------------------ r10128 | vlefevre | 2016-02-25 15:24:32 +0000 (Thu, 25 Feb 2016) | 1 line Changed paths: M /trunk/src/clears.c M /trunk/src/fits_intmax.c M /trunk/src/fits_uintmax.c M /trunk/src/get_sj.c M /trunk/src/get_uj.c M /trunk/src/inits.c M /trunk/src/inits2.c M /trunk/src/printf.c M /trunk/src/set_sj.c M /trunk/src/set_uj.c M /trunk/src/vasprintf.c M /trunk/tests/tests.c M /trunk/tests/tfits.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tset_float128.c M /trunk/tests/tset_sj.c About "config.h" inclusion: code consistency; removed obsolete comment. ------------------------------------------------------------------------ r10127 | vlefevre | 2016-02-25 15:10:34 +0000 (Thu, 25 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output availability of intmax_t/uintmax_t based functions and *printf functions. ------------------------------------------------------------------------ r10126 | vlefevre | 2016-02-25 15:02:06 +0000 (Thu, 25 Feb 2016) | 1 line Changed paths: M /trunk/src/printf.c [src/printf.c] Added a blank line for more readability. ------------------------------------------------------------------------ r10125 | vlefevre | 2016-02-25 14:52:16 +0000 (Thu, 25 Feb 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about the "config.h" inclusion. ------------------------------------------------------------------------ r10124 | vlefevre | 2016-02-25 14:37:12 +0000 (Thu, 25 Feb 2016) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Let's group the features together. ------------------------------------------------------------------------ r10123 | vlefevre | 2016-02-25 14:35:26 +0000 (Thu, 25 Feb 2016) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output support status of modifiers in gmp_printf. ------------------------------------------------------------------------ r10122 | vlefevre | 2016-02-25 10:36:36 +0000 (Thu, 25 Feb 2016) | 1 line Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/buildopt.c M /trunk/src/mpfr.h M /trunk/tests/tversion.c Added mpfr_buildopt_float128_p function. ------------------------------------------------------------------------ r10121 | vlefevre | 2016-02-25 10:25:46 +0000 (Thu, 25 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Removed old comments. ------------------------------------------------------------------------ r10118 | vlefevre | 2016-02-24 16:21:47 +0000 (Wed, 24 Feb 2016) | 1 line Changed paths: M /trunk/tests/tset_str.c [tests/tset_str.c] Correction (with no noticeable effect). ------------------------------------------------------------------------ r10115 | vlefevre | 2016-02-24 14:11:12 +0000 (Wed, 24 Feb 2016) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] For codespell, skip the openout.* files, which are created by "make pdf". ------------------------------------------------------------------------ r10113 | vlefevre | 2016-02-24 11:15:44 +0000 (Wed, 24 Feb 2016) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Minor FIXME comment update. ------------------------------------------------------------------------ r10112 | vlefevre | 2016-02-24 10:36:02 +0000 (Wed, 24 Feb 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Updated introduction. ------------------------------------------------------------------------ r10111 | vlefevre | 2016-02-24 03:10:09 +0000 (Wed, 24 Feb 2016) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Check the files on the mpfr.org web server. ------------------------------------------------------------------------ r10110 | vlefevre | 2016-02-24 02:41:10 +0000 (Wed, 24 Feb 2016) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Added a comment. ------------------------------------------------------------------------ r10109 | vlefevre | 2016-02-24 02:34:29 +0000 (Wed, 24 Feb 2016) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Update for release candidates. ------------------------------------------------------------------------ r10105 | vlefevre | 2016-02-24 01:39:52 +0000 (Wed, 24 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Fixed a warning with "make info". ------------------------------------------------------------------------ r10101 | vlefevre | 2016-02-24 01:15:08 +0000 (Wed, 24 Feb 2016) | 4 lines Changed paths: M /trunk/Makefile.am A /trunk/tools/ck-news Added tools/ck-news Perl script to check the NEWS file. In Makefile.am: * run this script in dist-hook for "make dist"; * added this script to EXTRA_DIST as it is used in dist-hook. ------------------------------------------------------------------------ r10100 | vlefevre | 2016-02-24 00:14:35 +0000 (Wed, 24 Feb 2016) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Take into account $vers setting. ------------------------------------------------------------------------ r10099 | vlefevre | 2016-02-24 00:05:37 +0000 (Wed, 24 Feb 2016) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Replaced MD5 by SHA256. ------------------------------------------------------------------------ r10093 | vlefevre | 2016-02-23 22:08:16 +0000 (Tue, 23 Feb 2016) | 1 line Changed paths: M /trunk/tools/update-version [tools/update-version] Correction for new perl versions. ------------------------------------------------------------------------ r10092 | zimmerma | 2016-02-23 14:41:11 +0000 (Tue, 23 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi unified description of mpfr_eint ------------------------------------------------------------------------ r10089 | vlefevre | 2016-02-23 12:15:16 +0000 (Tue, 23 Feb 2016) | 4 lines Changed paths: M /trunk/src/cmp_d.c M /trunk/src/cmp_ld.c [src/{cmp_d.c,cmp_ld.c}] Bug fixes: mpfr_cmp_d (resp. mpfr_cmp_ld) was setting the NaN flag when the double (resp. long double) was a NaN and could return an incorrect result (assertion failure in debug mode) in reduced exponent range. ------------------------------------------------------------------------ r10088 | vlefevre | 2016-02-23 12:05:41 +0000 (Tue, 23 Feb 2016) | 1 line Changed paths: M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c [tests/{tcmp_d.c,tcmp_ld.c}] Added a test in reduced exponent range. ------------------------------------------------------------------------ r10087 | vlefevre | 2016-02-23 11:56:19 +0000 (Tue, 23 Feb 2016) | 1 line Changed paths: M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c [tests/{tcmp_d.c,tcmp_ld.c}] Full test of the flags for NaN → failure. ------------------------------------------------------------------------ r10086 | vlefevre | 2016-02-23 09:28:01 +0000 (Tue, 23 Feb 2016) | 1 line Changed paths: M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c [tests/{tcmp_d.c,tcmp_ld.c}] GNU coding style. ------------------------------------------------------------------------ r10085 | vlefevre | 2016-02-23 09:24:50 +0000 (Tue, 23 Feb 2016) | 1 line Changed paths: M /trunk/tests/tcmp_d.c [tests/tcmp_d.c] GNU coding style. ------------------------------------------------------------------------ r10084 | vlefevre | 2016-02-23 08:38:47 +0000 (Tue, 23 Feb 2016) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update about the suggestion to split the inputs for Demmel's algorithm. ------------------------------------------------------------------------ r10082 | vlefevre | 2016-02-22 14:13:07 +0000 (Mon, 22 Feb 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a reference to the build-multi script. ------------------------------------------------------------------------ r10080 | vlefevre | 2016-02-22 14:03:36 +0000 (Mon, 22 Feb 2016) | 1 line Changed paths: D /trunk/tools/build-multi Removed the tools/build-multi script (already in ^/misc). ------------------------------------------------------------------------ r10079 | vlefevre | 2016-02-22 13:59:11 +0000 (Mon, 22 Feb 2016) | 2 lines Changed paths: A /trunk/tools/build-multi Added tools/build-multi zsh script to build and install multiple MPFR versions, and add XML library descriptors for ABI Compliance Checker. ------------------------------------------------------------------------ r10077 | vlefevre | 2016-02-22 12:34:37 +0000 (Mon, 22 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tagm.c [tests/tagm.c] Also do the test with a = b in precision 2 (since the same bug occurs in the 3.1 branch, which doesn't support precision 1). ------------------------------------------------------------------------ r10076 | zimmerma | 2016-02-22 11:00:48 +0000 (Mon, 22 Feb 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex fixed error analysis for gamma_inc continued fraction ------------------------------------------------------------------------ r10074 | vlefevre | 2016-02-19 16:53:29 +0000 (Fri, 19 Feb 2016) | 3 lines Changed paths: M /trunk/tests/tfmod.c [tests/tfmod.c] Test that triggers the bug fixed in r10054: run it also in the extended exponent range in order to make the test fail when ported to the 3.1 branch. ------------------------------------------------------------------------ r10073 | vlefevre | 2016-02-19 16:35:48 +0000 (Fri, 19 Feb 2016) | 1 line Changed paths: M /trunk/tests/tfmod.c [tests/tfmod.c] Renamed a variable since it is not always NaN. ------------------------------------------------------------------------ r10072 | vlefevre | 2016-02-19 16:29:37 +0000 (Fri, 19 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tfmod.c [tests/tfmod.c] Added a test that triggers the bug fixed in r10054 without relying on test_generic failure. ------------------------------------------------------------------------ r10070 | zimmerma | 2016-02-19 08:02:46 +0000 (Fri, 19 Feb 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex added references in comment ------------------------------------------------------------------------ r10069 | zimmerma | 2016-02-18 17:52:47 +0000 (Thu, 18 Feb 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.bib M /trunk/doc/algorithms.tex added error analysis for gamma_inc with continued fraction (to be reviewed) ------------------------------------------------------------------------ r10068 | vlefevre | 2016-02-18 13:52:16 +0000 (Thu, 18 Feb 2016) | 1 line Changed paths: M /trunk/doc/sum.txt M /trunk/src/sum.c [doc/sum.txt,src/sum.c] mpfr_sum: added support for precision 1. ------------------------------------------------------------------------ r10067 | zimmerma | 2016-02-18 12:08:46 +0000 (Thu, 18 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi more precision about gamma_inc ------------------------------------------------------------------------ r10066 | zimmerma | 2016-02-18 09:31:53 +0000 (Thu, 18 Feb 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex added reference to series for incomplete gamma function ------------------------------------------------------------------------ r10065 | zimmerma | 2016-02-17 19:36:55 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tgamma_inc.c added tests for negative integer a ------------------------------------------------------------------------ r10064 | vlefevre | 2016-02-17 17:51:14 +0000 (Wed, 17 Feb 2016) | 3 lines Changed paths: M /trunk/tests/tfmod.c [tests/tfmod.c] Do not use a variable named nan to avoid confusion with the nan function of C99 (and possible obscure failures in the future, if we include ). ------------------------------------------------------------------------ r10063 | zimmerma | 2016-02-17 17:46:17 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex added reference to gamma_inc(-n,x) for current code ------------------------------------------------------------------------ r10062 | zimmerma | 2016-02-17 17:29:31 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tremquo.c added test to exercise bug fixed in revision 10056 ------------------------------------------------------------------------ r10061 | zimmerma | 2016-02-17 17:28:47 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tfmod.c fixed one test ------------------------------------------------------------------------ r10060 | zimmerma | 2016-02-17 16:25:25 +0000 (Wed, 17 Feb 2016) | 3 lines Changed paths: M /trunk/src/agm.c M /trunk/tests/tagm.c fixed bug in mpfr_agm in case a=b but result cannot be exactly represented in the target precision: ternary value was wrongly set to 0 ------------------------------------------------------------------------ r10059 | vlefevre | 2016-02-17 16:12:57 +0000 (Wed, 17 Feb 2016) | 1 line Changed paths: M /trunk/src/rem1.c Removed trailing spaces. ------------------------------------------------------------------------ r10058 | zimmerma | 2016-02-17 15:53:37 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tgamma_inc.c reduce the time of tgamma_inc ------------------------------------------------------------------------ r10057 | zimmerma | 2016-02-17 15:53:24 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tgeneric.c fixed the number of special tests for 2-argument functions ------------------------------------------------------------------------ r10056 | zimmerma | 2016-02-17 15:39:49 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/src/rem1.c fixed stupid error in revision 10054 ------------------------------------------------------------------------ r10055 | vlefevre | 2016-02-17 15:23:25 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Removed mpfr_sum_sort declaration, as this internal function had been removed in r9370. ------------------------------------------------------------------------ r10054 | zimmerma | 2016-02-17 15:17:20 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/src/rem1.c M /trunk/tests/tfmod.c avoid computing with huge integers in mpfr_fmod when x/y is very small ------------------------------------------------------------------------ r10053 | vlefevre | 2016-02-17 15:00:01 +0000 (Wed, 17 Feb 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update about the old mpfr_sum implementation. ------------------------------------------------------------------------ r10052 | zimmerma | 2016-02-17 14:19:48 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi Clarify the status of mpfr_gamma_inc for the MPFR 3.2 release. ------------------------------------------------------------------------ r10051 | vlefevre | 2016-02-17 13:06:46 +0000 (Wed, 17 Feb 2016) | 3 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Fixed a typo in latest commit, and added min/max and max/min special tests for functions with 2 arguments. This triggers a failure in tfmod on 64-bit machines at least. ------------------------------------------------------------------------ r10050 | vlefevre | 2016-02-17 12:47:48 +0000 (Wed, 17 Feb 2016) | 1 line Changed paths: M /trunk/src/gamma_inc.c [src/gamma_inc.c] Improved assertions. ------------------------------------------------------------------------ r10049 | zimmerma | 2016-02-17 12:34:05 +0000 (Wed, 17 Feb 2016) | 4 lines Changed paths: M /trunk/src/gamma_inc.c M /trunk/tests/tgamma_inc.c M /trunk/tests/tgeneric.c now mpfr_gamma_inc(a,x) also works for 'a' a negative integer (however a and x should not be too large, we should implement Legendre's continued fraction for the general case) ------------------------------------------------------------------------ r10048 | zimmerma | 2016-02-17 12:26:53 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/src/eint.c M /trunk/tests/teint.c fixed issue in mpfr_eint ------------------------------------------------------------------------ r10047 | vlefevre | 2016-02-17 12:25:30 +0000 (Wed, 17 Feb 2016) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Added another assertion. ------------------------------------------------------------------------ r10046 | vlefevre | 2016-02-17 12:17:27 +0000 (Wed, 17 Feb 2016) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Added assertions and a comment. ------------------------------------------------------------------------ r10045 | vlefevre | 2016-02-17 12:07:49 +0000 (Wed, 17 Feb 2016) | 4 lines Changed paths: M /trunk/src/gamma.c [src/gamma.c] Removed useless saved_flags as flags are already saved by MPFR_SAVE_EXPO_MARK. Removed the comment about about emin/emax as emin <= 2 <= emax may not be sufficient (or may be suboptimal). After all, MPFR_SAVE_EXPO_* is the usual thing to do... ------------------------------------------------------------------------ r10044 | zimmerma | 2016-02-17 11:42:15 +0000 (Wed, 17 Feb 2016) | 2 lines Changed paths: M /trunk/src/gamma.c previous commit was incomplete ------------------------------------------------------------------------ r10043 | zimmerma | 2016-02-17 11:09:33 +0000 (Wed, 17 Feb 2016) | 3 lines Changed paths: M /trunk/src/gamma.c M /trunk/tests/tgamma.c fixed bug in mpfr_gamma: flags might be corrupted in case the argument was an integer fitting in an unsigned long ------------------------------------------------------------------------ r10042 | vlefevre | 2016-02-15 19:12:11 +0000 (Mon, 15 Feb 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about patches. ------------------------------------------------------------------------ r10038 | vlefevre | 2016-02-15 12:17:30 +0000 (Mon, 15 Feb 2016) | 1 line Changed paths: M /trunk/tests/troot.c [tests/troot.c] Compare root(x,2^h) with pow(x,2^(-h)). ------------------------------------------------------------------------ r10037 | vlefevre | 2016-02-15 11:45:26 +0000 (Mon, 15 Feb 2016) | 1 line Changed paths: M /trunk/tests/tpow.c Added bad_cases tests for mpfr_pow_ui and mpfr_pow_si. ------------------------------------------------------------------------ r10036 | vlefevre | 2016-02-15 11:37:34 +0000 (Mon, 15 Feb 2016) | 1 line Changed paths: M /trunk/tests/troot.c Added bad_cases tests for mpfr_root. ------------------------------------------------------------------------ r10034 | vlefevre | 2016-02-15 09:39:49 +0000 (Mon, 15 Feb 2016) | 3 lines Changed paths: M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_u.h [src/{fits_intmax.c,fits_s.h,fits_u.h}] Fixed mpfr_fits_* functions in a reduced exponent range and debug mode for non-integer numbers just above the positive limit. ------------------------------------------------------------------------ r10033 | vlefevre | 2016-02-15 09:36:58 +0000 (Mon, 15 Feb 2016) | 1 line Changed paths: M /trunk/tests/tfits.c [tests/tfits.c] Check a non-integer number just below a power of two. ------------------------------------------------------------------------ r10032 | vlefevre | 2016-02-15 09:17:47 +0000 (Mon, 15 Feb 2016) | 1 line Changed paths: M /trunk/tests/tfits.c [tests/tfits.c] Also run the tests in reduced exponent range. ------------------------------------------------------------------------ r10031 | vlefevre | 2016-02-15 01:50:08 +0000 (Mon, 15 Feb 2016) | 3 lines Changed paths: M /trunk/tests/tfits.c [tests/tfits.c] Added tests of non-integer values near the type limits. This triggers a flags failure for src/fits_* r9649, corresponding to the bug fixed in r9650 (there were no tests for this bug yet). ------------------------------------------------------------------------ r10030 | vlefevre | 2016-02-15 01:23:34 +0000 (Mon, 15 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tfits.c [tests/tfits.c] Increased code reuse so that tests could be improved more easily (not everything is tested yet). ------------------------------------------------------------------------ r10028 | vlefevre | 2016-02-12 13:52:48 +0000 (Fri, 12 Feb 2016) | 1 line Changed paths: M /trunk/tests/tconst_log2.c [tests/tconst_log2.c] Correction for C++ compilers. ------------------------------------------------------------------------ r10027 | vlefevre | 2016-02-12 13:50:03 +0000 (Fri, 12 Feb 2016) | 1 line Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Correction for C++ compilers. Code formatting. ------------------------------------------------------------------------ r10025 | vlefevre | 2016-02-12 13:20:59 +0000 (Fri, 12 Feb 2016) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Coding style. ------------------------------------------------------------------------ r10024 | vlefevre | 2016-02-12 13:18:16 +0000 (Fri, 12 Feb 2016) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Added a TODO for value coverage tests. ------------------------------------------------------------------------ r10022 | vlefevre | 2016-02-12 11:42:12 +0000 (Fri, 12 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a comment about mpfr_gamma_inc. ------------------------------------------------------------------------ r10021 | vlefevre | 2016-02-12 10:33:13 +0000 (Fri, 12 Feb 2016) | 1 line Changed paths: M /trunk/tests/tgamma_inc.c [tests/tgamma_inc.c] Added a TODO. ------------------------------------------------------------------------ r10020 | vlefevre | 2016-02-12 10:07:36 +0000 (Fri, 12 Feb 2016) | 4 lines Changed paths: M /trunk/src/gamma_inc.c [src/gamma_inc.c] Detect internal overflow in order to avoid taking all the memory of the machine, but it is currently not supported: assertion failure. This was occurring with a = 2^32 and x = 2^(-32) on 32-bit machines (see change in r10019). ------------------------------------------------------------------------ r10019 | zimmerma | 2016-02-12 09:21:57 +0000 (Fri, 12 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tgamma_inc.c reduced a test with large arguments ------------------------------------------------------------------------ r10018 | vlefevre | 2016-02-11 13:59:33 +0000 (Thu, 11 Feb 2016) | 1 line Changed paths: M /trunk/src/gamma_inc.c [src/gamma_inc.c] Improved type consistency to avoid integer overflow. ------------------------------------------------------------------------ r10017 | vlefevre | 2016-02-11 13:54:47 +0000 (Thu, 11 Feb 2016) | 1 line Changed paths: M /trunk/src/gamma_inc.c [src/gamma_inc.c] Added some assertions to detect integer overflow. ------------------------------------------------------------------------ r10016 | vlefevre | 2016-02-11 12:46:30 +0000 (Thu, 11 Feb 2016) | 1 line Changed paths: M /trunk/tests/tgamma_inc.c [tests/tgamma_inc.c] C++/C99 comment → C89 comment. ------------------------------------------------------------------------ r10015 | vlefevre | 2016-02-11 12:44:49 +0000 (Thu, 11 Feb 2016) | 2 lines Changed paths: M /trunk/src/gmp_op.c [src/gmp_op.c] Fixed an assertion that made tgmpop fail on 32-bit machines (it became wrong with r9964 and --enable-assert). ------------------------------------------------------------------------ r10014 | vlefevre | 2016-02-10 09:31:39 +0000 (Wed, 10 Feb 2016) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Added a FIXME for precision 1 (recently added). ------------------------------------------------------------------------ r10013 | zimmerma | 2016-02-10 08:39:20 +0000 (Wed, 10 Feb 2016) | 2 lines Changed paths: M /trunk/src/gamma_inc.c added formula for gamma_inc(-n,x) ------------------------------------------------------------------------ r10012 | zimmerma | 2016-02-09 14:16:17 +0000 (Tue, 09 Feb 2016) | 4 lines Changed paths: M /trunk/TODO removed item about speeding up const_euler: done since now for x=1.1, prec=16610, mpfr_const_euler takes only about 40% of the total time. For x=1.1 and prec=100000 it takes only about 14% of the total time. ------------------------------------------------------------------------ r10011 | zimmerma | 2016-02-09 14:06:42 +0000 (Tue, 09 Feb 2016) | 2 lines Changed paths: M /trunk/src/gamma_inc.c M /trunk/tests/tgamma_inc.c fixed the call to mpfr_eint() in gamma_inc, added some tests for gamma_inc ------------------------------------------------------------------------ r10010 | zimmerma | 2016-02-09 13:35:39 +0000 (Tue, 09 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/eint.c M /trunk/tests/teint.c now mpfr_eint() returns -E1(-x) for x < 0 ------------------------------------------------------------------------ r10008 | vlefevre | 2016-02-09 09:55:51 +0000 (Tue, 09 Feb 2016) | 2 lines Changed paths: M /trunk/src/eint.c M /trunk/tests/teint.c [src/eint.c] Fixed eint(-inf). [tests/teint.c] Added a corresponding test. ------------------------------------------------------------------------ r10007 | vlefevre | 2016-02-09 02:17:21 +0000 (Tue, 09 Feb 2016) | 1 line Changed paths: M /trunk/src/si_op.c [src/si_op.c] Unified coding style and added logging. ------------------------------------------------------------------------ r10006 | vlefevre | 2016-02-09 02:10:22 +0000 (Tue, 09 Feb 2016) | 1 line Changed paths: M /trunk/src/div_ui.c M /trunk/src/mul_ui.c M /trunk/src/si_op.c M /trunk/src/ui_div.c [src] Moved si ops from mul_ui.c, div_ui.c and ui_div.c to si_op.c. ------------------------------------------------------------------------ r10005 | vlefevre | 2016-02-09 02:07:23 +0000 (Tue, 09 Feb 2016) | 4 lines Changed paths: M /trunk/src/ui_div.c [src/ui_div.c] Fixed bug in mpfr_si_div when the integer is LONG_MIN, visible when using an UB sanitizer (see r9999). Note: this integer value is not tested yet in the test suite due to the lack of generic tests for mpfr_si_div. ------------------------------------------------------------------------ r10004 | vlefevre | 2016-02-09 02:03:32 +0000 (Tue, 09 Feb 2016) | 1 line Changed paths: M /trunk/tests/tgeneric.c M /trunk/tests/tsi_op.c [tests/{tgeneric.c,tsi_op.c}] Added TODO. ------------------------------------------------------------------------ r10003 | vlefevre | 2016-02-09 01:44:53 +0000 (Tue, 09 Feb 2016) | 2 lines Changed paths: M /trunk/src/div_ui.c M /trunk/src/mul_ui.c [src/{div,mul}_ui.c] Fixed bug in mpfr_div_si and mpfr_mul_si when the integer is LONG_MIN, visible when using an UB sanitizer (see r9999). ------------------------------------------------------------------------ r10001 | vlefevre | 2016-02-09 01:31:17 +0000 (Tue, 09 Feb 2016) | 3 lines Changed paths: M /trunk/tests/tgeneric_ui.c [tests/tgeneric_ui.c] Added tests of the extreme integer values, so that tsi_op fails with a runtime error in si_op.c r9998 when using an UB sanitizer (bug fixed in r9999). ------------------------------------------------------------------------ r10000 | vlefevre | 2016-02-09 01:17:01 +0000 (Tue, 09 Feb 2016) | 1 line Changed paths: M /trunk/src/eint.c [src/eint.c] Code simplification. ------------------------------------------------------------------------ r9999 | vlefevre | 2016-02-09 01:08:25 +0000 (Tue, 09 Feb 2016) | 2 lines Changed paths: M /trunk/src/si_op.c [src/si_op.c] Fixed bug in mpfr_add_si, mpfr_sub_si and mpfr_si_sub when the integer is LONG_MIN, visible when using an UB sanitizer. ------------------------------------------------------------------------ r9998 | vlefevre | 2016-02-09 01:03:01 +0000 (Tue, 09 Feb 2016) | 1 line Changed paths: M /trunk/src/si_op.c [src/si_op.c] Code formatting. ------------------------------------------------------------------------ r9997 | vlefevre | 2016-02-09 01:01:01 +0000 (Tue, 09 Feb 2016) | 3 lines Changed paths: M /trunk/tests/teint.c [tests/teint.c] Added a test that triggers a runtime error at si_op.c:42:31 on an x86-64 Linux machine, using: CFLAGS="-fsanitize=undefined -fno-sanitize-recover" ------------------------------------------------------------------------ r9996 | vlefevre | 2016-02-09 00:33:32 +0000 (Tue, 09 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Typographic correction. ------------------------------------------------------------------------ r9995 | vlefevre | 2016-02-09 00:27:35 +0000 (Tue, 09 Feb 2016) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Avoid false positives in mp_exp_t check. ------------------------------------------------------------------------ r9994 | vlefevre | 2016-02-09 00:18:19 +0000 (Tue, 09 Feb 2016) | 2 lines Changed paths: M /trunk/src/eint.c [src/eint.c] Updated a FIXME (mpfr_set_exp_t was added in r4333 and completed in r5455), with typo from r6789 corrected. ------------------------------------------------------------------------ r9993 | vlefevre | 2016-02-09 00:02:40 +0000 (Tue, 09 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated Section "API Compatibility / Changed Functions": mpfr_eint changed in MPFR 3.2. ------------------------------------------------------------------------ r9992 | zimmerma | 2016-02-08 18:52:44 +0000 (Mon, 08 Feb 2016) | 2 lines Changed paths: M /trunk/NEWS M /trunk/TODO update NEWS/TODO with respect to E1 ------------------------------------------------------------------------ r9991 | zimmerma | 2016-02-08 18:41:55 +0000 (Mon, 08 Feb 2016) | 2 lines Changed paths: M /trunk/src/eint.c M /trunk/tests/teint.c oops, eint(x) was wrong for negative x with |x| >= 0.5 ------------------------------------------------------------------------ r9990 | zimmerma | 2016-02-08 18:30:52 +0000 (Mon, 08 Feb 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex M /trunk/doc/mpfr.texi M /trunk/src/eint.c M /trunk/src/gamma_inc.c M /trunk/src/mpfr-impl.h M /trunk/tests/teint.c now mpfr_eint(x) returns E1(x) for negative x ------------------------------------------------------------------------ r9989 | vlefevre | 2016-02-08 16:16:01 +0000 (Mon, 08 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Correction (spelling). ------------------------------------------------------------------------ r9988 | vlefevre | 2016-02-08 11:47:21 +0000 (Mon, 08 Feb 2016) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Clarified a bit more. ------------------------------------------------------------------------ r9986 | vlefevre | 2016-02-08 09:59:11 +0000 (Mon, 08 Feb 2016) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Added explanations concerning the check1 test. ------------------------------------------------------------------------ r9985 | vlefevre | 2016-02-08 09:39:13 +0000 (Mon, 08 Feb 2016) | 1 line Changed paths: M /trunk/tests/tsum.c Value coverage for tsum: reduce output length. ------------------------------------------------------------------------ r9984 | vlefevre | 2016-02-08 09:13:05 +0000 (Mon, 08 Feb 2016) | 1 line Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/sum.c M /trunk/tests/tsum.c Value coverage for tsum: differentiate sq > MPFR_PREC_MIN and not. ------------------------------------------------------------------------ r9983 | vlefevre | 2016-02-07 11:09:39 +0000 (Sun, 07 Feb 2016) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Source on 80 columns. ------------------------------------------------------------------------ r9982 | zimmerma | 2016-02-07 09:37:23 +0000 (Sun, 07 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tsum.c extended the check1() test, gives failure on 64-bit processor ------------------------------------------------------------------------ r9981 | zimmerma | 2016-02-07 09:04:52 +0000 (Sun, 07 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi fixed note ------------------------------------------------------------------------ r9980 | zimmerma | 2016-02-06 09:42:06 +0000 (Sat, 06 Feb 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex M /trunk/doc/mpfr.texi M /trunk/src/gamma_inc.c more work on gamma_inc ------------------------------------------------------------------------ r9979 | zimmerma | 2016-02-06 09:24:54 +0000 (Sat, 06 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi note about memory usage ------------------------------------------------------------------------ r9978 | vlefevre | 2016-02-05 17:09:48 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/src/gamma_inc.c [src/gamma_inc.c] Corrected protection against integer overflow (MPFR_PREC_IN_RANGE is just for debug mode). ------------------------------------------------------------------------ r9977 | vlefevre | 2016-02-05 17:03:04 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/src/gamma_inc.c [src/gamma_inc.c] Added protection against integer overflow (i.e. abort instead of getting incorrect results). ------------------------------------------------------------------------ r9976 | zimmerma | 2016-02-05 16:35:22 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex M /trunk/doc/mpfr.texi M /trunk/src/gamma_inc.c M /trunk/tests/tgamma_inc.c M /trunk/tests/tpow.c more work on gamma_inc (only remains the case a=0 and x>0 to implement) ------------------------------------------------------------------------ r9975 | vlefevre | 2016-02-05 16:20:10 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/tests/tsprintf.c Removed trailing spaces. ------------------------------------------------------------------------ r9974 | vlefevre | 2016-02-05 16:13:46 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/tests/troot.c [tests/troot.c] In exact_powers, check negative values too. ------------------------------------------------------------------------ r9973 | vlefevre | 2016-02-05 16:00:02 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/src/root.c [src/root.c] Code simplification. ------------------------------------------------------------------------ r9972 | vlefevre | 2016-02-05 15:45:47 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/TODO TODO update for fmma. ------------------------------------------------------------------------ r9971 | zimmerma | 2016-02-05 15:34:38 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tgamma.c M /trunk/tests/tset_str.c reduced emax ------------------------------------------------------------------------ r9970 | zimmerma | 2016-02-05 15:19:37 +0000 (Fri, 05 Feb 2016) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/root.c M /trunk/tests/troot.c added a test for exact powers for mpfr_root and fixed mpfr_root for negative x (and odd k) ------------------------------------------------------------------------ r9969 | vlefevre | 2016-02-05 14:19:10 +0000 (Fri, 05 Feb 2016) | 3 lines Changed paths: M /trunk/src/root.c [src/root.c] Corrected(?) the check for exact root by adding an exactness test for the inverse operation z^k (if unnecessary, it needs to be properly proved and documented). ------------------------------------------------------------------------ r9968 | vlefevre | 2016-02-05 14:09:48 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/src/root.c [src/root.c] Corrected a comment. ------------------------------------------------------------------------ r9967 | vlefevre | 2016-02-05 14:01:25 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/src/root.c [src/root.c] Some minor changes. Updated comments. ------------------------------------------------------------------------ r9966 | zimmerma | 2016-02-05 13:50:42 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/src/root.c check for an exact root in mpfr_root_aux ------------------------------------------------------------------------ r9965 | zimmerma | 2016-02-05 13:19:16 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/src/root.c M /trunk/tests/troot.c fixed bug in mpfr_root and inefficiency problem with large k ------------------------------------------------------------------------ r9964 | vlefevre | 2016-02-05 12:17:01 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] For MPFR_IS_PURE_FP(x), when x is a pure FP number, check that EXP(x) is in the current exponent range (debug mode). ------------------------------------------------------------------------ r9963 | vlefevre | 2016-02-05 12:15:10 +0000 (Fri, 05 Feb 2016) | 10 lines Changed paths: M /trunk/src/exceptions.c [src/exceptions.c] Some changes concerning mpfr_check_range: * Added a note about the case EXP(x) < MPFR_EMIN_MIN. * Do not use the MPFR_IS_PURE_FP() macro as this macro assumes that if the number is not a singular number, then it is really a pure FP number (some assertion checking may be done in debug mode), but this is not necessarily the case here. * Removed an incorrect comment and re-added the MPFR_UNLIKELY for the cases where EXP(x) is outside the exponent range. Indeed, mpfr_check_range is called at the end of most functions, and in most cases, there are no underflows / overflows. ------------------------------------------------------------------------ r9962 | vlefevre | 2016-02-05 11:44:26 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/tests/texp.c [tests/texp.c] Added FIXME, as the overflow test, which was specific to the 32-bit ABI, is no longer run. ------------------------------------------------------------------------ r9961 | vlefevre | 2016-02-05 11:38:46 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/tests/tacosh.c [tests/tacosh.c] Added a FIXME (huge values no longer tested at all). ------------------------------------------------------------------------ r9960 | vlefevre | 2016-02-05 11:23:30 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/src/fmma.c [src/fmma.c] Removed unused code. ------------------------------------------------------------------------ r9959 | zimmerma | 2016-02-05 11:10:20 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/tests/troot.c added code to compare mpfr_root with exp(log(x)/k) ------------------------------------------------------------------------ r9958 | zimmerma | 2016-02-05 10:21:25 +0000 (Fri, 05 Feb 2016) | 3 lines Changed paths: M /trunk/src/mpfr.h M /trunk/tests/tacosh.c M /trunk/tests/texp.c M /trunk/tests/tpow.c M /trunk/tests/tpow_z.c M /trunk/tests/tsub1sp.c reduce MPFR_EMAX_DEFAULT by 2, and modify some tests cases assuming MPFR_EMAX_DEFAULT=2^30-1 ------------------------------------------------------------------------ r9957 | zimmerma | 2016-02-05 09:54:31 +0000 (Fri, 05 Feb 2016) | 2 lines Changed paths: M /trunk/src/fmma.c M /trunk/src/mpfr-impl.h M /trunk/tests/tsprintf.c fixed fmma failure ------------------------------------------------------------------------ r9956 | vlefevre | 2016-02-05 08:57:06 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/src/exp.c [src/exp.c] Simplified exponent range setting in special case. ------------------------------------------------------------------------ r9955 | zimmerma | 2016-02-05 08:24:01 +0000 (Fri, 05 Feb 2016) | 3 lines Changed paths: M /trunk/src/exp.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tai.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/tcbrt.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/terf.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfmod.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.c M /trunk/tests/tgmpop.c M /trunk/tests/thypot.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tmul.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tpow.c M /trunk/tests/trec_sqrt.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsinh.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsub.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/tui_div.c M /trunk/tests/tui_sub.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tzeta.c changed test_generic() calls to start from MPFR_PREC_MIN instead of 2; this revealed a special-case code in mpfr_exp which didn't work for prec=1 ------------------------------------------------------------------------ r9954 | vlefevre | 2016-02-05 01:07:29 +0000 (Fri, 05 Feb 2016) | 1 line Changed paths: M /trunk/tests/trint.c [tests/trint.c] Do the significand parity test only for precision > 1. ------------------------------------------------------------------------ r9953 | zimmerma | 2016-02-04 20:01:26 +0000 (Thu, 04 Feb 2016) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi updated NEWS and mpfr.texi for MPFR_PREC_MIN=1 ------------------------------------------------------------------------ r9952 | zimmerma | 2016-02-04 19:03:05 +0000 (Thu, 04 Feb 2016) | 3 lines Changed paths: M /trunk/src/mpfr.h M /trunk/tests/tadd1sp.c M /trunk/tests/tfactorial.c M /trunk/tests/tget_f.c M /trunk/tests/tmul.c M /trunk/tests/tmul_ui.c M /trunk/tests/tpow.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsub1sp.c M /trunk/tests/tui_div.c MPFR_PREC_MIN is now 1, in accordance with the next revision of IEEE-754 fixed tests to start at MPFR_PREC_MIN instead of hard-coded value of 2 ------------------------------------------------------------------------ r9951 | zimmerma | 2016-02-04 18:31:40 +0000 (Thu, 04 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tsi_op.c fixed test which was assuming MPFR_PREC_MIN=2 ------------------------------------------------------------------------ r9950 | zimmerma | 2016-02-04 18:24:16 +0000 (Thu, 04 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tsub.c fixed to correctly check prec=1 ------------------------------------------------------------------------ r9949 | zimmerma | 2016-02-04 18:11:11 +0000 (Thu, 04 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tadd.c prepare for MPFR_PREC_MIN=1 ------------------------------------------------------------------------ r9948 | zimmerma | 2016-02-04 18:01:47 +0000 (Thu, 04 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tcheck.c fixed tcheck for MPFR_PREC_MIN=1 ------------------------------------------------------------------------ r9947 | zimmerma | 2016-02-04 17:54:02 +0000 (Thu, 04 Feb 2016) | 2 lines Changed paths: M /trunk/src/pow.c prepare mpfr_pow to work for precision 1 ------------------------------------------------------------------------ r9942 | vlefevre | 2016-02-04 15:09:06 +0000 (Thu, 04 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Mention the Caramba project-team. ------------------------------------------------------------------------ r9941 | vlefevre | 2016-02-04 15:04:52 +0000 (Thu, 04 Feb 2016) | 4 lines Changed paths: M /trunk/BUGS M /trunk/INSTALL M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/FAQ.html M /trunk/doc/README.dev M /trunk/doc/faq.xsl M /trunk/examples/can_round.c M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c M /trunk/src/abort_prec_max.c M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/asin.c M /trunk/src/asinh.c M /trunk/src/atan.c M /trunk/src/atan2.c M /trunk/src/atanh.c M /trunk/src/bernoulli.c M /trunk/src/buildopt.c M /trunk/src/cache.c M /trunk/src/cbrt.c M /trunk/src/check.c M /trunk/src/clear.c M /trunk/src/clears.c M /trunk/src/cmp.c M /trunk/src/cmp2.c M /trunk/src/cmp_abs.c M /trunk/src/cmp_d.c M /trunk/src/cmp_ld.c M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c M /trunk/src/comparisons.c M /trunk/src/const_catalan.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/constant.c M /trunk/src/copysign.c M /trunk/src/cos.c M /trunk/src/cosh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/digamma.c M /trunk/src/dim.c M /trunk/src/div.c M /trunk/src/div_2exp.c M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/div_d.c M /trunk/src/div_ui.c M /trunk/src/dump.c M /trunk/src/eint.c M /trunk/src/eq.c M /trunk/src/erf.c M /trunk/src/erfc.c M /trunk/src/exceptions.c M /trunk/src/exp.c M /trunk/src/exp10.c M /trunk/src/exp2.c M /trunk/src/exp3.c M /trunk/src/exp_2.c M /trunk/src/expm1.c M /trunk/src/extract.c M /trunk/src/factorial.c M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_sint.c M /trunk/src/fits_slong.c M /trunk/src/fits_sshort.c M /trunk/src/fits_u.h M /trunk/src/fits_uint.c M /trunk/src/fits_uintmax.c M /trunk/src/fits_ulong.c M /trunk/src/fits_ushort.c M /trunk/src/fma.c M /trunk/src/fmma.c M /trunk/src/fms.c M /trunk/src/frac.c M /trunk/src/free_cache.c M /trunk/src/frexp.c M /trunk/src/gamma.c M /trunk/src/gamma_inc.c M /trunk/src/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/get_d.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_float128.c M /trunk/src/get_flt.c M /trunk/src/get_ld.c M /trunk/src/get_si.c M /trunk/src/get_sj.c M /trunk/src/get_str.c M /trunk/src/get_ui.c M /trunk/src/get_uj.c M /trunk/src/get_z.c M /trunk/src/get_z_exp.c M /trunk/src/gmp_op.c M /trunk/src/grandom.c M /trunk/src/hypot.c M /trunk/src/ieee_floats.h M /trunk/src/init.c M /trunk/src/init2.c M /trunk/src/inits.c M /trunk/src/inits2.c M /trunk/src/inp_str.c M /trunk/src/int_ceil_log2.c M /trunk/src/isinf.c M /trunk/src/isinteger.c M /trunk/src/isnan.c M /trunk/src/isnum.c M /trunk/src/isqrt.c M /trunk/src/isregular.c M /trunk/src/iszero.c M /trunk/src/jn.c M /trunk/src/jyn_asympt.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/log_ui.c M /trunk/src/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c M /trunk/src/modf.c M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr-cvers.h M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-intmax.h M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/src/mpfr-sassert.h M /trunk/src/mpfr-thread.h M /trunk/src/mpfr.h M /trunk/src/mpn_exp.c M /trunk/src/mul.c M /trunk/src/mul_2exp.c M /trunk/src/mul_2si.c M /trunk/src/mul_2ui.c M /trunk/src/mul_d.c M /trunk/src/mul_ui.c M /trunk/src/mulders.c M /trunk/src/neg.c M /trunk/src/next.c M /trunk/src/out_str.c M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_ui.c M /trunk/src/pow_z.c M /trunk/src/powerof2.c M /trunk/src/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.c M /trunk/src/rndna.c M /trunk/src/root.c M /trunk/src/round_near_x.c M /trunk/src/round_p.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/scale2.c M /trunk/src/sec.c M /trunk/src/sech.c M /trunk/src/set.c M /trunk/src/set_d.c M /trunk/src/set_d64.c M /trunk/src/set_dfl_prec.c M /trunk/src/set_exp.c M /trunk/src/set_f.c M /trunk/src/set_float128.c M /trunk/src/set_flt.c M /trunk/src/set_inf.c M /trunk/src/set_ld.c M /trunk/src/set_nan.c M /trunk/src/set_prc_raw.c M /trunk/src/set_prec.c M /trunk/src/set_q.c M /trunk/src/set_rnd.c M /trunk/src/set_si.c M /trunk/src/set_si_2exp.c M /trunk/src/set_sj.c M /trunk/src/set_str.c M /trunk/src/set_str_raw.c M /trunk/src/set_ui.c M /trunk/src/set_ui_2exp.c M /trunk/src/set_uj.c M /trunk/src/set_z.c M /trunk/src/set_z_exp.c M /trunk/src/set_zero.c M /trunk/src/setmax.c M /trunk/src/setmin.c M /trunk/src/setsign.c M /trunk/src/sgn.c M /trunk/src/si_op.c M /trunk/src/signbit.c M /trunk/src/sin.c M /trunk/src/sin_cos.c M /trunk/src/sinh.c M /trunk/src/sinh_cosh.c M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sqrt_ui.c M /trunk/src/stack_interface.c M /trunk/src/strtofr.c M /trunk/src/sub.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sub_d.c M /trunk/src/sub_ui.c M /trunk/src/subnormal.c M /trunk/src/sum.c M /trunk/src/swap.c M /trunk/src/tan.c M /trunk/src/tanh.c M /trunk/src/uceil_exp2.c M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c M /trunk/src/ui_div.c M /trunk/src/ui_pow.c M /trunk/src/ui_pow_ui.c M /trunk/src/ui_sub.c M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/src/vasprintf.c M /trunk/src/version.c M /trunk/src/volatile.c M /trunk/src/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tests/cmp_str.c M /trunk/tests/data/digamma M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/random2.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c M /trunk/tests/tabort_prec_max.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tai.c M /trunk/tests/talloc.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tassert.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terandom.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tfrexp.c M /trunk/tests/tgamma.c M /trunk/tests/tgamma_inc.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/tgrandom.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tlog_ui.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tnrandom.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/trndna.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_float128.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstdint.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tvalist.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tools/bench/benchtime.h M /trunk/tools/bench/mpfrbench.c M /trunk/tools/get_patches.sh M /trunk/tune/bidimensional_sample.c M /trunk/tune/speed.c M /trunk/tune/tuneup.c Replaced Contributed by the AriC and Caramel projects by Contributed by the AriC and Caramba projects ------------------------------------------------------------------------ r9940 | zimmerma | 2016-02-04 13:42:12 +0000 (Thu, 04 Feb 2016) | 2 lines Changed paths: M /trunk/src/gamma_inc.c added comment about gamma_inc ------------------------------------------------------------------------ r9939 | vlefevre | 2016-02-04 12:42:29 +0000 (Thu, 04 Feb 2016) | 1 line Changed paths: M /trunk/src/gamma_inc.c [src/gamma_inc.c] Added assertions. ------------------------------------------------------------------------ r9938 | zimmerma | 2016-02-04 11:36:53 +0000 (Thu, 04 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/gamma_inc.c more work on gamma_inc ------------------------------------------------------------------------ r9937 | zimmerma | 2016-02-04 11:14:14 +0000 (Thu, 04 Feb 2016) | 2 lines Changed paths: M /trunk/src/gamma_inc.c fixed some special values for gamma_inc ------------------------------------------------------------------------ r9936 | vlefevre | 2016-02-03 18:27:47 +0000 (Wed, 03 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] FIXME: Clarify the status of mpfr_gamma_inc for the MPFR 3.2 release. ------------------------------------------------------------------------ r9935 | vlefevre | 2016-02-03 18:14:00 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: R /trunk/src/fmma.c (from /trunk/src/fmma.c:9933) R /trunk/src/log_ui.c (from /trunk/src/log_ui.c:9933) Retrieve the src/fmma.c and src/log_ui.c history. ------------------------------------------------------------------------ r9934 | zimmerma | 2016-02-03 17:58:35 +0000 (Wed, 03 Feb 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi R /trunk/src/fmma.c R /trunk/src/log_ui.c completed "Added Functions" section ------------------------------------------------------------------------ r9933 | vlefevre | 2016-02-03 17:51:11 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Typographic correction. ------------------------------------------------------------------------ r9932 | vlefevre | 2016-02-03 17:26:47 +0000 (Wed, 03 Feb 2016) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] Fixed bug introduced in r9902 and visible in the tests on 32-bit machines. ------------------------------------------------------------------------ r9931 | vlefevre | 2016-02-03 15:27:03 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: M /trunk/src/root.c [src/root.c] Added TODO for code rewrite (discussion between VL and PZ). ------------------------------------------------------------------------ r9930 | vlefevre | 2016-02-03 15:16:03 +0000 (Wed, 03 Feb 2016) | 2 lines Changed paths: M /trunk/tests/troot.c [tests/troot.c] Also check that root(0,0) is NaN to make sure that such special cases are considered in the right order in the implementation. ------------------------------------------------------------------------ r9929 | vlefevre | 2016-02-03 15:09:06 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Completed mpfr_root description: the 0th root gives NaN. ------------------------------------------------------------------------ r9928 | vlefevre | 2016-02-03 15:03:20 +0000 (Wed, 03 Feb 2016) | 2 lines Changed paths: M /trunk/src/root.c M /trunk/tests/troot.c [src/root.c,tests/troot.c] Removed obsolete code that was commented out; some cleanup. ------------------------------------------------------------------------ r9927 | vlefevre | 2016-02-03 14:55:55 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: M /trunk/src/root.c [src/root.c] Comment correction (again). ------------------------------------------------------------------------ r9926 | vlefevre | 2016-02-03 14:39:19 +0000 (Wed, 03 Feb 2016) | 2 lines Changed paths: M /trunk/src/root.c [src/root.c] Comment correction to avoid a variable name with several meanings. ------------------------------------------------------------------------ r9925 | vlefevre | 2016-02-03 14:26:09 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: M /trunk/src/root.c [src/root.c] Simplified code and corrected comment. ------------------------------------------------------------------------ r9924 | vlefevre | 2016-02-03 14:04:20 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: M /trunk/src/root.c [src/root.c] Corrected a comment and added an assertion (see r9923). ------------------------------------------------------------------------ r9923 | vlefevre | 2016-02-03 11:21:18 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: M /trunk/src/root.c [src/root.c] Added a FIXME comment. ------------------------------------------------------------------------ r9922 | vlefevre | 2016-02-03 10:29:22 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: M /trunk/tests/troot.c [tests/troot.c] Typo in a comment. ------------------------------------------------------------------------ r9921 | vlefevre | 2016-02-03 10:17:03 +0000 (Wed, 03 Feb 2016) | 3 lines Changed paths: M /trunk/tests/troot.c [tests/troot.c] Added tests showing a bug in mpfr_root on large integer arguments (found thanks to a bug in GNOME Calculator: ). ------------------------------------------------------------------------ r9920 | vlefevre | 2016-02-03 01:59:06 +0000 (Wed, 03 Feb 2016) | 1 line Changed paths: M /trunk/tests/tcan_round.c M /trunk/tests/tconst_log2.c Style: use RND_LOOP; mpfr_can_round returns a Boolean-like value. ------------------------------------------------------------------------ r9919 | vlefevre | 2016-02-02 17:30:33 +0000 (Tue, 02 Feb 2016) | 1 line Changed paths: M /trunk/src/erandom.c M /trunk/src/nrandom.c [src/{erandom.c,nrandom.c}] Updated a reference. ------------------------------------------------------------------------ r9917 | zimmerma | 2016-02-02 16:24:28 +0000 (Tue, 02 Feb 2016) | 2 lines Changed paths: M /trunk/src/sin_cos.c mpfr_can_round -> MPFR_CAN_ROUND ------------------------------------------------------------------------ r9916 | vlefevre | 2016-02-02 16:13:57 +0000 (Tue, 02 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated FIXME for mpfr_can_round. ------------------------------------------------------------------------ r9915 | vlefevre | 2016-02-02 16:05:26 +0000 (Tue, 02 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a FIXME for mpfr_can_round. Still incorrect... ------------------------------------------------------------------------ r9914 | vlefevre | 2016-02-02 15:53:35 +0000 (Tue, 02 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9913 | vlefevre | 2016-02-02 15:52:57 +0000 (Tue, 02 Feb 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected note about mpfr_can_round. ------------------------------------------------------------------------ r9912 | zimmerma | 2016-02-02 15:50:04 +0000 (Tue, 02 Feb 2016) | 2 lines Changed paths: M /trunk/src/const_log2.c M /trunk/tests/tconst_log2.c refactor the exhaustive search code in mpfr_const_log2 ------------------------------------------------------------------------ r9911 | zimmerma | 2016-02-02 14:24:16 +0000 (Tue, 02 Feb 2016) | 2 lines Changed paths: M /trunk/src/atan2.c mpfr_round_p -> MPFR_CAN_ROUND ------------------------------------------------------------------------ r9910 | zimmerma | 2016-02-02 14:15:44 +0000 (Tue, 02 Feb 2016) | 2 lines Changed paths: M /trunk/src/lngamma.c mpfr_can_round -> MPFR_CAN_ROUND ------------------------------------------------------------------------ r9909 | zimmerma | 2016-02-02 14:13:04 +0000 (Tue, 02 Feb 2016) | 2 lines Changed paths: M /trunk/src/factorial.c mpfr_can_round -> MPFR_CAN_ROUND ------------------------------------------------------------------------ r9908 | zimmerma | 2016-02-02 14:10:10 +0000 (Tue, 02 Feb 2016) | 2 lines Changed paths: M /trunk/src/const_log2.c M /trunk/src/exp3.c use MPFR_CAN_ROUND instead of mpfr_can_round/mpfr_round_p ------------------------------------------------------------------------ r9907 | zimmerma | 2016-02-02 14:02:26 +0000 (Tue, 02 Feb 2016) | 2 lines Changed paths: M /trunk/src/const_log2.c rounding test was wrong for rounding to nearest ------------------------------------------------------------------------ r9906 | zimmerma | 2016-02-02 13:43:07 +0000 (Tue, 02 Feb 2016) | 2 lines Changed paths: M /trunk/src/const_log2.c replace mpfr_can_round by mpfr_round_p ------------------------------------------------------------------------ r9905 | vlefevre | 2016-02-02 13:26:59 +0000 (Tue, 02 Feb 2016) | 2 lines Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] Added a TODO to improve the mpfr_can_round_raw efficiency by only doing a bit inspection (no mpn operations). ------------------------------------------------------------------------ r9904 | vlefevre | 2016-02-01 17:13:43 +0000 (Mon, 01 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Added test of mpfr_round_p with powers of two (similar to the one done in src/round_p.c for MPFR_WANT_ASSERT >= 2). ------------------------------------------------------------------------ r9903 | vlefevre | 2016-02-01 16:43:57 +0000 (Mon, 01 Feb 2016) | 2 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Updated description: mpfr_round_p is also tested in check_round_p (and will be in test_pow2). ------------------------------------------------------------------------ r9902 | zimmerma | 2016-02-01 16:06:36 +0000 (Mon, 01 Feb 2016) | 2 lines Changed paths: M /trunk/src/div.c M /trunk/src/round_p.c now mpfr_round_p() always requires normalized input ------------------------------------------------------------------------ r9901 | vlefevre | 2016-02-01 12:10:57 +0000 (Mon, 01 Feb 2016) | 1 line Changed paths: M /trunk/src/div.c [src/div.c] Added an assert based on comments in the code. ------------------------------------------------------------------------ r9900 | vlefevre | 2016-02-01 09:20:47 +0000 (Mon, 01 Feb 2016) | 1 line Changed paths: M /trunk/src/round_p.c [src/round_p.c] Some corrections in comment. ------------------------------------------------------------------------ r9899 | zimmerma | 2016-02-01 09:09:12 +0000 (Mon, 01 Feb 2016) | 2 lines Changed paths: M /trunk/src/round_p.c added a comment ------------------------------------------------------------------------ r9898 | vlefevre | 2016-01-31 23:59:34 +0000 (Sun, 31 Jan 2016) | 3 lines Changed paths: M /trunk/src/round_p.c [src/round_p.c] Fixed mpfr_round_p for MPFR_WANT_ASSERT >= 2, as mpfr_round_p accepts non-normalized inputs (as decided in r9897), but not mpfr_can_round_raw (as decided in r9883). ------------------------------------------------------------------------ r9897 | zimmerma | 2016-01-31 17:01:37 +0000 (Sun, 31 Jan 2016) | 2 lines Changed paths: M /trunk/src/div.c M /trunk/src/round_p.c the inputs of mpfr_round_p might not always be normalized ------------------------------------------------------------------------ r9896 | zimmerma | 2016-01-29 17:29:03 +0000 (Fri, 29 Jan 2016) | 2 lines Changed paths: M /trunk/src/round_prec.c fixed FIXME ------------------------------------------------------------------------ r9893 | vlefevre | 2016-01-29 14:26:51 +0000 (Fri, 29 Jan 2016) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Improved consistency in messages. ------------------------------------------------------------------------ r9892 | vlefevre | 2016-01-29 14:07:18 +0000 (Fri, 29 Jan 2016) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated instructions on how to cross-compile MPFR for MinGW (i586-mingw32msvc) and test it under Wine. ------------------------------------------------------------------------ r9891 | vlefevre | 2016-01-29 13:45:57 +0000 (Fri, 29 Jan 2016) | 10 lines Changed paths: M /trunk/doc/README.dev M /trunk/tests/memory.c M /trunk/tests/mpfr-test.h M /trunk/tests/terandom.c M /trunk/tests/tests.c M /trunk/tests/tgrandom.c M /trunk/tests/tnrandom.c M /trunk/tests/tset_str.c M /trunk/tests/tsum.c M /trunk/tools/mpfrlint Cleanup of memory allocation in the tests: * only tests_allocate, tests_reallocate and tests_free should be used (now exported instead of mpfr_default_allocate, etc.); * this is now mentioned in doc/README.dev; * added checks to tools/mpfrlint (heuristics as usual). Note: This follows the discussion at https://sympa.inria.fr/sympa/arc/mpfr/2015-12/msg00055.html and should solve these problems under MS Windows (mingw32), though this cleanup is more general than an attempt to fix a Windows issue. ------------------------------------------------------------------------ r9890 | zimmerma | 2016-01-29 10:11:08 +0000 (Fri, 29 Jan 2016) | 2 lines Changed paths: M /trunk/src/round_prec.c fixed case when prec > bn * GMP_NUMB_BITS and directed rounding ------------------------------------------------------------------------ r9889 | zimmerma | 2016-01-29 07:13:37 +0000 (Fri, 29 Jan 2016) | 2 lines Changed paths: M /trunk/tests/tcan_round.c typo ------------------------------------------------------------------------ r9888 | vlefevre | 2016-01-28 14:26:01 +0000 (Thu, 28 Jan 2016) | 1 line Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Updated comment and corrected condition on prec. ------------------------------------------------------------------------ r9887 | vlefevre | 2016-01-28 13:56:53 +0000 (Thu, 28 Jan 2016) | 1 line Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Updated comments. ------------------------------------------------------------------------ r9886 | vlefevre | 2016-01-28 13:27:09 +0000 (Thu, 28 Jan 2016) | 5 lines Changed paths: M /trunk/src/round_p.c [src/round_p.c] Added an assertion (similar to what was added to mpfr_can_round_raw). This triggers failures, which could also be detected with MPFR_WANT_ASSERT >= 2, due to the fact that mpfr_div can internally generate a number that is not normalized before a rounding test. ------------------------------------------------------------------------ r9885 | vlefevre | 2016-01-28 13:17:52 +0000 (Thu, 28 Jan 2016) | 1 line Changed paths: M /trunk/src/round_prec.c [src/round_prec.c] Updated comments. ------------------------------------------------------------------------ r9884 | zimmerma | 2016-01-28 12:17:32 +0000 (Thu, 28 Jan 2016) | 2 lines Changed paths: M /trunk/src/round_prec.c M /trunk/tests/tcan_round.c more work on mpfr_can_round ------------------------------------------------------------------------ r9883 | zimmerma | 2016-01-28 09:20:45 +0000 (Thu, 28 Jan 2016) | 2 lines Changed paths: M /trunk/src/exp3.c M /trunk/src/round_prec.c M /trunk/tests/tcan_round.c fixed bug in mpfr_can_round for input = 2^k ------------------------------------------------------------------------ r9882 | vlefevre | 2016-01-27 16:24:48 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Replaced "Rounding Related Functions" by "Rounding-Related Functions" (thanks to Keith Briggs for the remark). ------------------------------------------------------------------------ r9881 | vlefevre | 2016-01-27 16:05:28 +0000 (Wed, 27 Jan 2016) | 3 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Added tests for powers of two. This triggers errors. I may have done mistakes, but at least x = 2^32, j = 32, r1=MPFR_RNDN, r2=MPFR_RNDN seems buggy. ------------------------------------------------------------------------ r9880 | zimmerma | 2016-01-27 15:12:56 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/examples/can_round.c simplified ------------------------------------------------------------------------ r9879 | zimmerma | 2016-01-27 14:28:25 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi another detail ------------------------------------------------------------------------ r9878 | vlefevre | 2016-01-27 14:27:26 +0000 (Wed, 27 Jan 2016) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected mpfr_can_round description again as the possible difference is on 0+ = 2^(emin-1), not about overflow. Let's just say "assuming an unbounded exponent range". ------------------------------------------------------------------------ r9877 | vlefevre | 2016-01-27 13:57:12 +0000 (Wed, 27 Jan 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected mpfr_can_round description (about overflow). ------------------------------------------------------------------------ r9876 | zimmerma | 2016-01-27 13:43:16 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi yet another improvement ------------------------------------------------------------------------ r9875 | zimmerma | 2016-01-27 13:37:09 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi improved documentation ------------------------------------------------------------------------ r9874 | vlefevre | 2016-01-27 13:24:42 +0000 (Wed, 27 Jan 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Clarified change in r9873. ------------------------------------------------------------------------ r9873 | zimmerma | 2016-01-27 12:48:07 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi improve documentation of mpfr_can_round ------------------------------------------------------------------------ r9872 | zimmerma | 2016-01-27 12:03:22 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/examples/can_round.c also print the rounded value ------------------------------------------------------------------------ r9871 | zimmerma | 2016-01-27 11:15:01 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi added pointer to examples/can_round.c ------------------------------------------------------------------------ r9870 | vlefevre | 2016-01-27 10:51:08 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/examples/can_round.c [examples/can_round.c] Removed the useless #include and replaced the internal mpfr_dump by mpfr_printf. ------------------------------------------------------------------------ r9869 | zimmerma | 2016-01-27 10:50:12 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi improved documentation of mpfr_can_round ------------------------------------------------------------------------ r9868 | zimmerma | 2016-01-27 10:44:29 +0000 (Wed, 27 Jan 2016) | 2 lines Changed paths: M /trunk/Makefile.am A /trunk/examples/can_round.c added example on how to use mpfr_can_round ------------------------------------------------------------------------ r9865 | zimmerma | 2016-01-21 21:50:49 +0000 (Thu, 21 Jan 2016) | 2 lines Changed paths: M /trunk/TODO mention mpfr_set/get_decimal128 for the future (low priority for now) ------------------------------------------------------------------------ r9864 | vlefevre | 2016-01-21 15:43:35 +0000 (Thu, 21 Jan 2016) | 1 line Changed paths: M /trunk/src/round_p.c [src/round_p.c] Code formatting. ------------------------------------------------------------------------ r9863 | zimmerma | 2016-01-21 13:12:33 +0000 (Thu, 21 Jan 2016) | 2 lines Changed paths: M /trunk/TODO added remark about Ei vs E1 ------------------------------------------------------------------------ r9861 | vlefevre | 2016-01-21 09:13:26 +0000 (Thu, 21 Jan 2016) | 1 line Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] Improved bug20160120. ------------------------------------------------------------------------ r9859 | vlefevre | 2016-01-21 00:31:32 +0000 (Thu, 21 Jan 2016) | 2 lines Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] In bug20160120, check the validity of the result with mpfr_check first, because the mpfr_sqrt was generating invalid data. ------------------------------------------------------------------------ r9858 | zimmerma | 2016-01-20 21:08:21 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/src/sqrt.c M /trunk/tests/tsqrt.c fixed bug in mpfr_sqrt reported by Fredrik Johansson ------------------------------------------------------------------------ r9857 | zimmerma | 2016-01-20 17:05:02 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/tests/tsqrt.c added test case for bug reported by Fredrik Johansson ------------------------------------------------------------------------ r9856 | zimmerma | 2016-01-20 15:36:35 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/src/zeta.c added FIXME ------------------------------------------------------------------------ r9854 | vlefevre | 2016-01-20 15:25:01 +0000 (Wed, 20 Jan 2016) | 1 line Changed paths: M /trunk/tests/tzeta.c [tests/tzeta.c] Added casts for printf. ------------------------------------------------------------------------ r9853 | vlefevre | 2016-01-20 15:19:23 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/tests/tzeta.c [tests/tzeta.c] Some corrections. Made the input value of the latest test clear (avoiding a long string at the same time). ------------------------------------------------------------------------ r9852 | zimmerma | 2016-01-20 15:03:30 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex M /trunk/src/zeta.c M /trunk/tests/tzeta.c fixed bug for zeta(s) with s near an even negative integer ------------------------------------------------------------------------ r9851 | vlefevre | 2016-01-20 14:52:31 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Instructions on how to cross-compile MPFR for MinGW (i586-mingw32msvc) and test it under Wine. ------------------------------------------------------------------------ r9850 | vlefevre | 2016-01-20 14:27:43 +0000 (Wed, 20 Jan 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Typo. ------------------------------------------------------------------------ r9848 | vlefevre | 2016-01-20 13:52:38 +0000 (Wed, 20 Jan 2016) | 8 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Improved the generic tests in order to trigger the mpfr_jn bug found by Fredrik Johansson (r9841) and potential similar bugs: For half cases, the precision of the inputs was modified to be smaller than the base precision (for the result). Here, this rule is changed so that if the base precision is small (< 16), then the precision of the inputs is chosen to be significantly *larger* than the base precision in general. Note: With this improvement, both tj0 and tj1 fail in r9840. ------------------------------------------------------------------------ r9847 | zimmerma | 2016-01-20 10:11:48 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/TODO added references ------------------------------------------------------------------------ r9846 | zimmerma | 2016-01-20 09:58:51 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex added section about gamma_inc ------------------------------------------------------------------------ r9844 | zimmerma | 2016-01-20 08:54:09 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/doc/algorithms.tex M /trunk/src/jyn_asympt.c M /trunk/tests/tj0.c fixed bug found by Fredrik Johansson ------------------------------------------------------------------------ r9843 | zimmerma | 2016-01-20 08:11:55 +0000 (Wed, 20 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi added reference for eint ------------------------------------------------------------------------ r9842 | vlefevre | 2016-01-20 02:57:40 +0000 (Wed, 20 Jan 2016) | 1 line Changed paths: M /trunk/tests/tj0.c [tests/tj0.c] Avoid mpfr_set_d. ------------------------------------------------------------------------ r9841 | zimmerma | 2016-01-19 21:53:16 +0000 (Tue, 19 Jan 2016) | 2 lines Changed paths: M /trunk/tests/tj0.c added bug found by Fredrik Johansson in mpfr_j0 ------------------------------------------------------------------------ r9840 | zimmerma | 2016-01-19 21:25:55 +0000 (Tue, 19 Jan 2016) | 2 lines Changed paths: M /trunk/NEWS added mpfr_gamma_inc ------------------------------------------------------------------------ r9839 | vlefevre | 2016-01-19 15:28:24 +0000 (Tue, 19 Jan 2016) | 1 line Changed paths: M /trunk/src/gamma_inc.c [src/gamma_inc.c] Use MPFR_ARE_SINGULAR. ------------------------------------------------------------------------ r9838 | zimmerma | 2016-01-19 13:29:47 +0000 (Tue, 19 Jan 2016) | 2 lines Changed paths: M /trunk/src/gamma_inc.c deal with the case where one of a or x is not regular ------------------------------------------------------------------------ r9837 | vlefevre | 2016-01-19 09:59:16 +0000 (Tue, 19 Jan 2016) | 1 line Changed paths: M /trunk/tools/nightly-test [tools/nightly-test] Corrected tests. ------------------------------------------------------------------------ r9835 | zimmerma | 2016-01-19 08:42:53 +0000 (Tue, 19 Jan 2016) | 2 lines Changed paths: M /trunk/TODO added reference ------------------------------------------------------------------------ r9834 | zimmerma | 2016-01-18 13:41:18 +0000 (Mon, 18 Jan 2016) | 2 lines Changed paths: M /trunk/TODO added the incomplete beta function ------------------------------------------------------------------------ r9833 | zimmerma | 2016-01-18 08:50:53 +0000 (Mon, 18 Jan 2016) | 2 lines Changed paths: M /trunk/TODO incomplete Gamma is now available ------------------------------------------------------------------------ r9832 | zimmerma | 2016-01-18 08:28:50 +0000 (Mon, 18 Jan 2016) | 2 lines Changed paths: M /trunk/tools/nightly-test switch to bash and add --enable-decimal-float ------------------------------------------------------------------------ r9831 | zimmerma | 2016-01-18 08:25:25 +0000 (Mon, 18 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mini-gmp minor modification of documentation for mini-gmp ------------------------------------------------------------------------ r9830 | zimmerma | 2016-01-18 08:23:53 +0000 (Mon, 18 Jan 2016) | 2 lines Changed paths: M /trunk/Makefile.am added target "make bench" ------------------------------------------------------------------------ r9829 | zimmerma | 2016-01-17 19:27:09 +0000 (Sun, 17 Jan 2016) | 2 lines Changed paths: M /trunk/tests/tgamma.c M /trunk/tests/tgamma_inc.c allow tgamma x prec to print gamma(x) to prec bits ------------------------------------------------------------------------ r9828 | vlefevre | 2016-01-17 01:05:44 +0000 (Sun, 17 Jan 2016) | 1 line Changed paths: M /trunk/tests [tests] Added tgamma_inc to svn:ignore property. ------------------------------------------------------------------------ r9827 | vlefevre | 2016-01-17 00:55:54 +0000 (Sun, 17 Jan 2016) | 1 line Changed paths: M /trunk/TODO TODO update. ------------------------------------------------------------------------ r9826 | vlefevre | 2016-01-17 00:48:16 +0000 (Sun, 17 Jan 2016) | 1 line Changed paths: M /trunk/src/fmma.c [src/fmma.c] Removed trailing spaces. ------------------------------------------------------------------------ r9825 | vlefevre | 2016-01-17 00:46:30 +0000 (Sun, 17 Jan 2016) | 1 line Changed paths: M /trunk/tests/tgamma_inc.c [tests/tgamma_inc.c] Portability correction. ------------------------------------------------------------------------ r9824 | vlefevre | 2016-01-17 00:43:48 +0000 (Sun, 17 Jan 2016) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Improved a comment. ------------------------------------------------------------------------ r9823 | vlefevre | 2016-01-17 00:37:32 +0000 (Sun, 17 Jan 2016) | 1 line Changed paths: M /trunk/src/gamma_inc.c [src/gamma_inc.c] Various corrections. ------------------------------------------------------------------------ r9822 | zimmerma | 2016-01-16 09:37:34 +0000 (Sat, 16 Jan 2016) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am A /trunk/src/gamma_inc.c M /trunk/src/mpfr.h M /trunk/tests/Makefile.am M /trunk/tests/tgamma.c A /trunk/tests/tgamma_inc.c first version of incomplete Gamma function (work in progress) ------------------------------------------------------------------------ r9821 | vlefevre | 2016-01-16 09:24:34 +0000 (Sat, 16 Jan 2016) | 1 line Changed paths: M /trunk/TODO TODO for correctly rounded polynomials (like fmma). ------------------------------------------------------------------------ r9820 | zimmerma | 2016-01-16 08:29:34 +0000 (Sat, 16 Jan 2016) | 2 lines Changed paths: M /trunk/src/fmma.c M /trunk/tests/tfmma.c try to fix bugs in fmma (work in progress) ------------------------------------------------------------------------ r9819 | vlefevre | 2016-01-15 16:30:07 +0000 (Fri, 15 Jan 2016) | 2 lines Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] Added a FIXME comment: mpfr_log_ui is much slower than mpfr_log on some values of n, e.g. around ULONG_MAX/3. ------------------------------------------------------------------------ r9818 | vlefevre | 2016-01-15 16:18:35 +0000 (Fri, 15 Jan 2016) | 1 line Changed paths: M /trunk/tests/tlog_ui.c [tests/tlog_ui.c] Added tests for n around ULONG_MAX/3. ------------------------------------------------------------------------ r9817 | vlefevre | 2016-01-15 16:06:29 +0000 (Fri, 15 Jan 2016) | 1 line Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] Fixed the computation of p. ------------------------------------------------------------------------ r9816 | vlefevre | 2016-01-15 15:13:07 +0000 (Fri, 15 Jan 2016) | 4 lines Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] Removed a mpz_sub_ui(...,1) to match the comment. This -1 came from the previous code, but this doesn't change the value of k because a multiple of 3 cannot be a power of 2. Also renamed a variable. ------------------------------------------------------------------------ r9815 | vlefevre | 2016-01-15 15:07:32 +0000 (Fri, 15 Jan 2016) | 3 lines Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] Compute the value of k without rounding (if n was larger than 2^53 or even 2^24 due to dynamic x87 precision, the result could be wrong) and overflow (3 * n doesn't always fit in a limb). ------------------------------------------------------------------------ r9814 | vlefevre | 2016-01-15 11:30:54 +0000 (Fri, 15 Jan 2016) | 1 line Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] Added assertions. ------------------------------------------------------------------------ r9813 | vlefevre | 2016-01-15 11:14:08 +0000 (Fri, 15 Jan 2016) | 1 line Changed paths: M /trunk/tests/tlog_ui.c [tests/tlog_ui.c] Added tests for n around LONG_MAX. ------------------------------------------------------------------------ r9812 | vlefevre | 2016-01-15 09:59:26 +0000 (Fri, 15 Jan 2016) | 1 line Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] Replaced a comment by an assertion. ------------------------------------------------------------------------ r9811 | vlefevre | 2016-01-15 09:52:33 +0000 (Fri, 15 Jan 2016) | 1 line Changed paths: M /trunk/src/log_ui.c [src/log_ui.c] Added a FIXME (integer overflow for large n). ------------------------------------------------------------------------ r9810 | vlefevre | 2016-01-15 09:50:55 +0000 (Fri, 15 Jan 2016) | 14 lines Changed paths: M /trunk/tests/tlog_ui.c [tests/tlog_ui.c] * In the loop, do not test n = 0 and n = 1, because mpfr_can_round always fails for these values, so that the test is pointless. * Check that mpfr_can_round no longer fails (this is possible as we are not doing random tests, i.e. the tested values are known); the additional precision for y had to be increased. * Also test large values of n (ULONG_MAX down to ULONG_MAX-19). When GCC's run-time sanitizer -fsanitize=undefined -fno-sanitize-recover is used, it signals an error for large values of n. * The reference values y are obtained with mpfr_log instead of mpfr_log_ui: indeed we need a different implementation from the tested function, otherwise only the rounding is tested! Without GCC's run-time sanitizer, this shows that mpfr_log_ui is buggy for large values of n. ------------------------------------------------------------------------ r9809 | vlefevre | 2016-01-15 02:26:55 +0000 (Fri, 15 Jan 2016) | 1 line Changed paths: M /trunk/tests [tests] Added tfmma and tlog_ui to svn:ignore property. ------------------------------------------------------------------------ r9808 | vlefevre | 2016-01-15 02:21:43 +0000 (Fri, 15 Jan 2016) | 2 lines Changed paths: M /trunk/src/fmma.c [src/fmma.c] Use MPFR_SET_EXP to get an assertion failure in case of out-of-range exponent instead of uncontrolled behavior. ------------------------------------------------------------------------ r9807 | vlefevre | 2016-01-15 02:11:51 +0000 (Fri, 15 Jan 2016) | 1 line Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] Added tests that trigger an error. ------------------------------------------------------------------------ r9806 | vlefevre | 2016-01-15 01:39:44 +0000 (Fri, 15 Jan 2016) | 1 line Changed paths: M /trunk/src/fma.c [src/fma.c] Added a comment for the new code. ------------------------------------------------------------------------ r9805 | vlefevre | 2016-01-14 23:06:22 +0000 (Thu, 14 Jan 2016) | 1 line Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Tests in lexicographic order. ------------------------------------------------------------------------ r9804 | zimmerma | 2016-01-14 20:46:59 +0000 (Thu, 14 Jan 2016) | 2 lines Changed paths: M /trunk/tests/reuse.c M /trunk/tests/tadd_d.c M /trunk/tests/taway.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv_d.c M /trunk/tests/tfmod.c M /trunk/tests/tfprintf.c M /trunk/tests/tinternals.c M /trunk/tests/tli2.c M /trunk/tests/tmodf.c M /trunk/tests/tmul_d.c M /trunk/tests/tpow_all.c M /trunk/tests/tprintf.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsub_d.c M /trunk/tests/tzeta_ui.c in tests, removed #if MPFR_VERSION >= MPFR_VERSION_NUM(2,x,y) ------------------------------------------------------------------------ r9803 | zimmerma | 2016-01-14 20:45:36 +0000 (Thu, 14 Jan 2016) | 2 lines Changed paths: M /trunk/tests/Makefile.am forgot in last commit ------------------------------------------------------------------------ r9802 | zimmerma | 2016-01-14 20:43:39 +0000 (Thu, 14 Jan 2016) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am A /trunk/src/log_ui.c M /trunk/src/mpfr.h A /trunk/tests/tlog_ui.c added new function mpfr_log_ui ------------------------------------------------------------------------ r9801 | zimmerma | 2016-01-13 09:18:05 +0000 (Wed, 13 Jan 2016) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5-mpfr.cc adapted to 3- and 4-argument functions (using patch from Patrick Pelissier) ------------------------------------------------------------------------ r9800 | vlefevre | 2016-01-12 17:44:31 +0000 (Tue, 12 Jan 2016) | 1 line Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] C++ compatibility. ------------------------------------------------------------------------ r9799 | vlefevre | 2016-01-12 17:39:15 +0000 (Tue, 12 Jan 2016) | 1 line Changed paths: M /trunk/tests/tfmma.c [tests/tfmma.c] Fixed type in printf. ------------------------------------------------------------------------ r9798 | vlefevre | 2016-01-12 17:36:29 +0000 (Tue, 12 Jan 2016) | 1 line Changed paths: M /trunk/src/fmma.c [src/fmma.c] Replaced mp_ptr by mpfr_limb_ptr (as usual). ------------------------------------------------------------------------ r9797 | vlefevre | 2016-01-12 16:38:21 +0000 (Tue, 12 Jan 2016) | 1 line Changed paths: M /trunk/tests/tfmma.c Really replaced mpfr_printf by printf. ------------------------------------------------------------------------ r9796 | zimmerma | 2016-01-12 15:50:48 +0000 (Tue, 12 Jan 2016) | 2 lines Changed paths: M /trunk/src/fmma.c give copyright to FSF ------------------------------------------------------------------------ r9795 | zimmerma | 2016-01-12 14:13:09 +0000 (Tue, 12 Jan 2016) | 2 lines Changed paths: M /trunk/tests/tfmma.c replaced mpfr_printf calls ------------------------------------------------------------------------ r9794 | zimmerma | 2016-01-12 14:12:52 +0000 (Tue, 12 Jan 2016) | 2 lines Changed paths: M /trunk/src/fmma.c changed copyright (I'm the sole author of this part of the code) ------------------------------------------------------------------------ r9793 | zimmerma | 2016-01-12 12:29:04 +0000 (Tue, 12 Jan 2016) | 2 lines Changed paths: A /trunk/src/fmma.c A /trunk/tests/tfmma.c forgot two files ------------------------------------------------------------------------ r9792 | vlefevre | 2016-01-12 12:13:20 +0000 (Tue, 12 Jan 2016) | 1 line Changed paths: M /trunk/src/fma.c [src/fma.c] C89 compatibility correction. ------------------------------------------------------------------------ r9791 | vlefevre | 2016-01-12 12:00:23 +0000 (Tue, 12 Jan 2016) | 1 line Changed paths: M /trunk/src/fma.c [src/fma.c] Replaced mp_ptr by mpfr_limb_ptr (as usual). ------------------------------------------------------------------------ r9788 | zimmerma | 2016-01-10 21:39:53 +0000 (Sun, 10 Jan 2016) | 4 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am M /trunk/src/fma.c M /trunk/src/mpfr.h M /trunk/tests/Makefile.am M /trunk/tools/mbench/mfv5-mpfr.cc speedup in mpfr_fma and mpfr_fms new functions mpfr_fmma and mpfr_fmms modified mbench/fma to compute b*c+c instead of b*b+c (b*c+d would be better) ------------------------------------------------------------------------ r9787 | vlefevre | 2016-01-08 15:22:26 +0000 (Fri, 08 Jan 2016) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added info about the parallel test harness. ------------------------------------------------------------------------ r9786 | vlefevre | 2016-01-08 15:17:02 +0000 (Fri, 08 Jan 2016) | 4 lines Changed paths: M /trunk/doc/README.dev M /trunk/tests/Makefile.am Updated documentation related to valgrind or other wrapper for the tests due to the fact that Automake 1.13+ generates a parallel test harness. * doc/README.dev: replaced VALGRIND by LOG_COMPILER. * tests/Makefile.am: added a comment mentioning LOG_COMPILER. ------------------------------------------------------------------------ r9784 | zimmerma | 2016-01-05 07:58:46 +0000 (Tue, 05 Jan 2016) | 2 lines Changed paths: M /trunk/tools/bench/mpfrbench.c mpfrbench: use clock() when getrusage() is not available ------------------------------------------------------------------------ r9783 | vlefevre | 2016-01-02 01:32:58 +0000 (Sat, 02 Jan 2016) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] Added a note about tuning MPFR: For the current GMP version (6.1.0), a Unix-like OS is required. ------------------------------------------------------------------------ r9780 | vlefevre | 2016-01-01 02:17:19 +0000 (Fri, 01 Jan 2016) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9779 | vlefevre | 2016-01-01 02:15:38 +0000 (Fri, 01 Jan 2016) | 5 lines Changed paths: M /trunk/BUGS M /trunk/INSTALL M /trunk/Makefile.am M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/FAQ.html M /trunk/doc/Makefile.am M /trunk/doc/README.dev M /trunk/doc/faq.xsl M /trunk/doc/mpfr.texi M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c M /trunk/src/Makefile.am M /trunk/src/abort_prec_max.c M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/asin.c M /trunk/src/asinh.c M /trunk/src/atan.c M /trunk/src/atan2.c M /trunk/src/atanh.c M /trunk/src/bernoulli.c M /trunk/src/buildopt.c M /trunk/src/cache.c M /trunk/src/cbrt.c M /trunk/src/check.c M /trunk/src/clear.c M /trunk/src/clears.c M /trunk/src/cmp.c M /trunk/src/cmp2.c M /trunk/src/cmp_abs.c M /trunk/src/cmp_d.c M /trunk/src/cmp_ld.c M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c M /trunk/src/comparisons.c M /trunk/src/const_catalan.c M /trunk/src/const_euler.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/constant.c M /trunk/src/copysign.c M /trunk/src/cos.c M /trunk/src/cosh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/digamma.c M /trunk/src/dim.c M /trunk/src/div.c M /trunk/src/div_2exp.c M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/div_d.c M /trunk/src/div_ui.c M /trunk/src/dump.c M /trunk/src/eint.c M /trunk/src/eq.c M /trunk/src/erandom.c M /trunk/src/erf.c M /trunk/src/erfc.c M /trunk/src/exceptions.c M /trunk/src/exp.c M /trunk/src/exp10.c M /trunk/src/exp2.c M /trunk/src/exp3.c M /trunk/src/exp_2.c M /trunk/src/expm1.c M /trunk/src/extract.c M /trunk/src/factorial.c M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_sint.c M /trunk/src/fits_slong.c M /trunk/src/fits_sshort.c M /trunk/src/fits_u.h M /trunk/src/fits_uint.c M /trunk/src/fits_uintmax.c M /trunk/src/fits_ulong.c M /trunk/src/fits_ushort.c M /trunk/src/fma.c M /trunk/src/fms.c M /trunk/src/fpif.c M /trunk/src/frac.c M /trunk/src/free_cache.c M /trunk/src/frexp.c M /trunk/src/gamma.c M /trunk/src/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/generic/coverage/mparam.h M /trunk/src/generic/mparam.h M /trunk/src/get_d.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_float128.c M /trunk/src/get_flt.c M /trunk/src/get_ld.c M /trunk/src/get_si.c M /trunk/src/get_sj.c M /trunk/src/get_str.c M /trunk/src/get_ui.c M /trunk/src/get_uj.c M /trunk/src/get_z.c M /trunk/src/get_z_exp.c M /trunk/src/gmp_op.c M /trunk/src/grandom.c M /trunk/src/hppa/mparam.h M /trunk/src/hypot.c M /trunk/src/ia64/mparam.h M /trunk/src/ieee_floats.h M /trunk/src/init.c M /trunk/src/init2.c M /trunk/src/inits.c M /trunk/src/inits2.c M /trunk/src/inp_str.c M /trunk/src/int_ceil_log2.c M /trunk/src/isinf.c M /trunk/src/isinteger.c M /trunk/src/isnan.c M /trunk/src/isnum.c M /trunk/src/isqrt.c M /trunk/src/isregular.c M /trunk/src/iszero.c M /trunk/src/jn.c M /trunk/src/jyn_asympt.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c M /trunk/src/mips/mparam.h M /trunk/src/modf.c M /trunk/src/mp_clz_tab.c M /trunk/src/mparam_h.in M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr-cvers.h M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-intmax.h M /trunk/src/mpfr-longlong.h M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/src/mpfr-sassert.h M /trunk/src/mpfr-thread.h M /trunk/src/mpfr.h M /trunk/src/mpn_exp.c M /trunk/src/mul.c M /trunk/src/mul_2exp.c M /trunk/src/mul_2si.c M /trunk/src/mul_2ui.c M /trunk/src/mul_d.c M /trunk/src/mul_ui.c M /trunk/src/mulders.c M /trunk/src/neg.c M /trunk/src/next.c M /trunk/src/nrandom.c M /trunk/src/out_str.c M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_ui.c M /trunk/src/pow_z.c M /trunk/src/powerof2.c M /trunk/src/powerpc32/mparam.h M /trunk/src/powerpc64/mparam.h M /trunk/src/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/random_deviate.c M /trunk/src/random_deviate.h M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.c M /trunk/src/rndna.c M /trunk/src/root.c M /trunk/src/round_near_x.c M /trunk/src/round_p.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/scale2.c M /trunk/src/sec.c M /trunk/src/sech.c M /trunk/src/set.c M /trunk/src/set_d.c M /trunk/src/set_d64.c M /trunk/src/set_dfl_prec.c M /trunk/src/set_exp.c M /trunk/src/set_f.c M /trunk/src/set_float128.c M /trunk/src/set_flt.c M /trunk/src/set_inf.c M /trunk/src/set_ld.c M /trunk/src/set_nan.c M /trunk/src/set_prc_raw.c M /trunk/src/set_prec.c M /trunk/src/set_q.c M /trunk/src/set_rnd.c M /trunk/src/set_si.c M /trunk/src/set_si_2exp.c M /trunk/src/set_sj.c M /trunk/src/set_str.c M /trunk/src/set_str_raw.c M /trunk/src/set_ui.c M /trunk/src/set_ui_2exp.c M /trunk/src/set_uj.c M /trunk/src/set_z.c M /trunk/src/set_z_exp.c M /trunk/src/set_zero.c M /trunk/src/setmax.c M /trunk/src/setmin.c M /trunk/src/setsign.c M /trunk/src/sgn.c M /trunk/src/si_op.c M /trunk/src/signbit.c M /trunk/src/sin.c M /trunk/src/sin_cos.c M /trunk/src/sinh.c M /trunk/src/sinh_cosh.c M /trunk/src/sparc64/mparam.h M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sqrt_ui.c M /trunk/src/stack_interface.c M /trunk/src/strtofr.c M /trunk/src/sub.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sub_d.c M /trunk/src/sub_ui.c M /trunk/src/subnormal.c M /trunk/src/sum.c M /trunk/src/swap.c M /trunk/src/tan.c M /trunk/src/tanh.c M /trunk/src/uceil_exp2.c M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c M /trunk/src/ui_div.c M /trunk/src/ui_pow.c M /trunk/src/ui_pow_ui.c M /trunk/src/ui_sub.c M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/src/vasprintf.c M /trunk/src/version.c M /trunk/src/volatile.c M /trunk/src/x86/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/corei5/mparam.h M /trunk/src/x86_64/pentium4/mparam.h M /trunk/src/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tests/Makefile.am M /trunk/tests/cmp_str.c M /trunk/tests/data/digamma M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/random2.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c M /trunk/tests/tabort_prec_max.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tai.c M /trunk/tests/talloc.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tassert.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terandom.c M /trunk/tests/terandom_chisq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfpif.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tfrexp.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/tgrandom.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tnrandom.c M /trunk/tests/tnrandom_chisq.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trandom_deviate.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/trndna.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_float128.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstdint.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tvalist.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tools/bench/Makefile.am M /trunk/tools/bench/benchtime.h M /trunk/tools/bench/mpfrbench.c M /trunk/tools/ck-copyright-notice M /trunk/tools/ck-mparam M /trunk/tools/ck-version-info M /trunk/tools/get_patches.sh M /trunk/tune/Makefile.am M /trunk/tune/bidimensional_sample.c M /trunk/tune/speed.c M /trunk/tune/tuneup.c Copyright notice update: added 2016 with perl -pi -e 's/ (\d{4}-)?(2015)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh (the m4 and tools/mbench directories were not modified). Removed 2015 from the example in the doc/README.dev file. ------------------------------------------------------------------------ r9778 | vlefevre | 2015-12-28 23:51:22 +0000 (Mon, 28 Dec 2015) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed MPFR_WIN_THREAD_SAFE_DLL definition (patch by Patrick Pélissier). ------------------------------------------------------------------------ r9777 | vlefevre | 2015-12-27 23:56:07 +0000 (Sun, 27 Dec 2015) | 6 lines Changed paths: M /trunk/tests/mpf_compat.h [tests/mpf_compat.h] Fix: File "inp_str.dat" could not be opened with builds outside the source directory (objdir different from srcdir). This did not generate an error, but prevented a test from being done. Now that mpfr-test.h is included via the mpf_compat.c or mpfr_compat.c file (there does not seem to be a valid reason not to include it), we can use src_fopen to open the file in all cases. ------------------------------------------------------------------------ r9775 | vlefevre | 2015-12-27 13:54:59 +0000 (Sun, 27 Dec 2015) | 1 line Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c M /trunk/tests/tversion.c [tests] In tversion.c, output the locale too (if supported). ------------------------------------------------------------------------ r9774 | vlefevre | 2015-12-27 13:50:21 +0000 (Sun, 27 Dec 2015) | 1 line Changed paths: M /trunk/tests/tinp_str.c [tests/tinp_str.c] Added a blank line. ------------------------------------------------------------------------ r9773 | vlefevre | 2015-12-27 13:31:56 +0000 (Sun, 27 Dec 2015) | 4 lines Changed paths: M /trunk/tests/inp_str.dat M /trunk/tests/mpf_compat.h M /trunk/tests/tinp_str.c [tests] * inp_str.dat: added a locale-independent line at the beginning of the file (useful for mpf_compat). * mpf_compat.h, tinp_str.c: update because of this change. ------------------------------------------------------------------------ r9772 | vlefevre | 2015-12-27 11:51:58 +0000 (Sun, 27 Dec 2015) | 3 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Improved src_fopen description (do not use the term "src directory" because there is a directory named "src", but this is not what is referred here). ------------------------------------------------------------------------ r9771 | vlefevre | 2015-12-26 13:52:07 +0000 (Sat, 26 Dec 2015) | 2 lines Changed paths: M /trunk/tests/mpf_compat.h [tests/mpf_compat.h] Fix: changed "inp_str.data" to "inp_str.dat" due to the file rename in r8120 (otherwise nothing is tested). ------------------------------------------------------------------------ r9770 | vlefevre | 2015-12-26 11:41:11 +0000 (Sat, 26 Dec 2015) | 8 lines Changed paths: M /trunk/tests/mpf_compat.h [tests/mpf_compat.h] For mpf_set_str and mpf_init_set_str, avoid strings with ".", since for GMP the decimal separator is locale dependent (the tests can be run in non-C locales on purpose in order to detect issues in various locales), so that for the mpf_compat test, the conversion fails and the mpf value x is set to 0 (which can yield other problems, such as with mpf_div (y, x, x), which raises an exception). Note: this problem appeared in r9157, where tests_start_mpfr() was added to mpf_compat.h (the locale setting is done in this function). ------------------------------------------------------------------------ r9769 | zimmerma | 2015-12-18 08:24:39 +0000 (Fri, 18 Dec 2015) | 2 lines Changed paths: M /trunk/tests/mpfr-test.h patch from Patrick Pelissier (for MinGW) ------------------------------------------------------------------------ r9768 | vlefevre | 2015-12-15 07:47:43 +0000 (Tue, 15 Dec 2015) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Corrections for C++. ------------------------------------------------------------------------ r9767 | vlefevre | 2015-12-14 16:38:00 +0000 (Mon, 14 Dec 2015) | 1 line Changed paths: M /trunk/INSTALL Removed trailing spaces. ------------------------------------------------------------------------ r9766 | zimmerma | 2015-12-14 13:59:43 +0000 (Mon, 14 Dec 2015) | 2 lines Changed paths: M /trunk/INSTALL review by Rob (sisyphus1@optusnet.com.au) ------------------------------------------------------------------------ r9765 | zimmerma | 2015-12-14 11:55:44 +0000 (Mon, 14 Dec 2015) | 2 lines Changed paths: M /trunk/INSTALL removed obsolete parts (?) for MinGW ------------------------------------------------------------------------ r9764 | zimmerma | 2015-12-14 11:52:10 +0000 (Mon, 14 Dec 2015) | 2 lines Changed paths: M /trunk/INSTALL new text for Windows/Visual Studio/Visual C++ part contributed by Brian Gladman ------------------------------------------------------------------------ r9763 | vlefevre | 2015-12-14 11:12:18 +0000 (Mon, 14 Dec 2015) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Switch to UTF-8. ------------------------------------------------------------------------ r9762 | zimmerma | 2015-12-14 09:38:00 +0000 (Mon, 14 Dec 2015) | 2 lines Changed paths: M /trunk/INSTALL changes proposed by Alexander (sav_ix@ukr.net) ------------------------------------------------------------------------ r9761 | vlefevre | 2015-12-14 08:55:12 +0000 (Mon, 14 Dec 2015) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Correction. ------------------------------------------------------------------------ r9760 | zimmerma | 2015-12-14 08:47:26 +0000 (Mon, 14 Dec 2015) | 2 lines Changed paths: M /trunk/tests/tsum.c clock() should work everywhere ------------------------------------------------------------------------ r9759 | vlefevre | 2015-12-14 08:40:26 +0000 (Mon, 14 Dec 2015) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] The timing test from r9753 in POSIX-only. ------------------------------------------------------------------------ r9758 | vlefevre | 2015-12-14 08:02:45 +0000 (Mon, 14 Dec 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9757 | zimmerma | 2015-12-14 07:56:59 +0000 (Mon, 14 Dec 2015) | 2 lines Changed paths: M /trunk/INSTALL update INSTALL file ------------------------------------------------------------------------ r9756 | zimmerma | 2015-12-14 07:39:10 +0000 (Mon, 14 Dec 2015) | 2 lines Changed paths: M /trunk/INSTALL -D__USE_MINGW_ANSI_STDIO is needed for GMP only ------------------------------------------------------------------------ r9755 | vlefevre | 2015-12-11 16:46:48 +0000 (Fri, 11 Dec 2015) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Updated comment about overlapping between input and output. ------------------------------------------------------------------------ r9754 | zimmerma | 2015-12-11 16:15:14 +0000 (Fri, 11 Dec 2015) | 2 lines Changed paths: M /trunk/doc/mpfr.texi document that (currently) mpfr_sum doesn't allow overlap ------------------------------------------------------------------------ r9753 | zimmerma | 2015-12-11 15:49:29 +0000 (Fri, 11 Dec 2015) | 2 lines Changed paths: M /trunk/tests/tsum.c timing test to compare mpfr_sum and naive algorithm (without correct rounding) ------------------------------------------------------------------------ r9751 | zimmerma | 2015-12-11 13:39:41 +0000 (Fri, 11 Dec 2015) | 2 lines Changed paths: M /trunk/INSTALL update wrt -D__USE_MINGW_ANSI_STDIO ------------------------------------------------------------------------ r9750 | zimmerma | 2015-12-11 13:24:51 +0000 (Fri, 11 Dec 2015) | 2 lines Changed paths: M /trunk/INSTALL note about MinGW and TLS support ------------------------------------------------------------------------ r9749 | zimmerma | 2015-12-11 08:54:39 +0000 (Fri, 11 Dec 2015) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c improving error message ------------------------------------------------------------------------ r9747 | zimmerma | 2015-12-10 20:59:26 +0000 (Thu, 10 Dec 2015) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c added comment and message for errors under MinGW ------------------------------------------------------------------------ r9745 | vlefevre | 2015-12-03 10:17:09 +0000 (Thu, 03 Dec 2015) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Updated a comment about clang and division by 0. ------------------------------------------------------------------------ r9742 | vlefevre | 2015-11-11 01:43:00 +0000 (Wed, 11 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update. ------------------------------------------------------------------------ r9741 | vlefevre | 2015-11-11 01:25:12 +0000 (Wed, 11 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update. ------------------------------------------------------------------------ r9740 | vlefevre | 2015-11-11 00:48:50 +0000 (Wed, 11 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Minor correction. ------------------------------------------------------------------------ r9739 | vlefevre | 2015-11-10 17:00:22 +0000 (Tue, 10 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Minor correction. ------------------------------------------------------------------------ r9738 | vlefevre | 2015-11-10 16:29:45 +0000 (Tue, 10 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Minor correction. ------------------------------------------------------------------------ r9737 | vlefevre | 2015-11-10 15:59:51 +0000 (Tue, 10 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update. ------------------------------------------------------------------------ r9736 | vlefevre | 2015-11-10 13:12:45 +0000 (Tue, 10 Nov 2015) | 2 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Clarification: avoid the word "iteration" for the loop over the inputs, when possible. ------------------------------------------------------------------------ r9735 | vlefevre | 2015-11-10 12:57:20 +0000 (Tue, 10 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update. ------------------------------------------------------------------------ r9734 | vlefevre | 2015-11-10 09:03:17 +0000 (Tue, 10 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update. ------------------------------------------------------------------------ r9733 | vlefevre | 2015-11-10 01:30:55 +0000 (Tue, 10 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update. ------------------------------------------------------------------------ r9732 | vlefevre | 2015-11-09 16:28:57 +0000 (Mon, 09 Nov 2015) | 2 lines Changed paths: M /trunk/src/sum.c [src/sum.c] Added a FIXME comment about the reuse of an input for the output. ------------------------------------------------------------------------ r9731 | vlefevre | 2015-11-06 23:17:31 +0000 (Fri, 06 Nov 2015) | 1 line Changed paths: M /trunk/NEWS M /trunk/configure.ac M /trunk/src/mpfr-gmp.h GMP 5.0.0 or newer is required (instead of 4.2.0). ------------------------------------------------------------------------ r9730 | vlefevre | 2015-11-06 15:11:12 +0000 (Fri, 06 Nov 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Major and final update (complete rewrite). ------------------------------------------------------------------------ r9729 | vlefevre | 2015-11-06 02:49:03 +0000 (Fri, 06 Nov 2015) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Added a TODO. ------------------------------------------------------------------------ r9728 | vlefevre | 2015-11-06 02:16:50 +0000 (Fri, 06 Nov 2015) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Bug fixed (MPN_COPY_INCR instead of MPN_COPY_DECR). ------------------------------------------------------------------------ r9727 | vlefevre | 2015-11-05 15:55:00 +0000 (Thu, 05 Nov 2015) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Minor comment correction. ------------------------------------------------------------------------ r9726 | vlefevre | 2015-11-05 12:43:51 +0000 (Thu, 05 Nov 2015) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Added another assertion (checked). ------------------------------------------------------------------------ r9725 | vlefevre | 2015-11-05 12:12:14 +0000 (Thu, 05 Nov 2015) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Added assertions (checked). ------------------------------------------------------------------------ r9724 | vlefevre | 2015-11-04 10:29:01 +0000 (Wed, 04 Nov 2015) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Added a comment. ------------------------------------------------------------------------ r9723 | vlefevre | 2015-11-04 10:17:08 +0000 (Wed, 04 Nov 2015) | 2 lines Changed paths: M /trunk/TODO [TODO] In tsum, add testcases for mpfr_sum triggering the bug fixed in r9722. ------------------------------------------------------------------------ r9722 | vlefevre | 2015-11-04 10:07:06 +0000 (Wed, 04 Nov 2015) | 2 lines Changed paths: M /trunk/src/sum.c [src/sum.c] Bug fix: an error bound was too large to compute the sign of the secondary term (when the TMD occurs). ------------------------------------------------------------------------ r9721 | vlefevre | 2015-11-03 14:17:15 +0000 (Tue, 03 Nov 2015) | 2 lines Changed paths: M /trunk/tests/tstdint.c M /trunk/tests/tvalist.c [tests/{tstdint.c,tvalist.c}] Updated and improved comment about the test of partial + full inclusion. ------------------------------------------------------------------------ r9720 | vlefevre | 2015-11-03 11:17:16 +0000 (Tue, 03 Nov 2015) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] C code starting with # (preprocessor directives) must not be indented. ------------------------------------------------------------------------ r9718 | zimmerma | 2015-11-03 10:52:52 +0000 (Tue, 03 Nov 2015) | 2 lines Changed paths: M /trunk/configure.ac M /trunk/doc/mini-gmp M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-mini-gmp.h M /trunk/tests/tests.c M /trunk/tests/tstdint.c M /trunk/tests/tvalist.c M /trunk/tests/tversion.c simplify the configuration with mini-gmp ------------------------------------------------------------------------ r9717 | vlefevre | 2015-10-30 15:52:37 +0000 (Fri, 30 Oct 2015) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Updated comment for sum_raw(). ------------------------------------------------------------------------ r9716 | zimmerma | 2015-10-30 10:28:21 +0000 (Fri, 30 Oct 2015) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.h better definition of GMP_NUMB_BITS ------------------------------------------------------------------------ r9715 | zimmerma | 2015-10-29 18:55:09 +0000 (Thu, 29 Oct 2015) | 2 lines Changed paths: M /trunk/src/mulders.c update description of file ------------------------------------------------------------------------ r9710 | vlefevre | 2015-10-29 13:36:15 +0000 (Thu, 29 Oct 2015) | 1 line Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Improved comment about the mpfr_divhigh_n_basecase bug. ------------------------------------------------------------------------ r9708 | zimmerma | 2015-10-29 12:29:44 +0000 (Thu, 29 Oct 2015) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c M /trunk/tests/terandom_chisq.c M /trunk/tests/tnrandom_chisq.c M /trunk/tests/trandom_deviate.c more tests do work with mini-gmp (from GMP 6.1.0-rc1) ------------------------------------------------------------------------ r9707 | vlefevre | 2015-10-29 12:17:04 +0000 (Thu, 29 Oct 2015) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] For the tests on the source files, ignore everything related to mini-gmp, not just the src/mini-gmp.[ch] files. ------------------------------------------------------------------------ r9706 | vlefevre | 2015-10-29 12:06:19 +0000 (Thu, 29 Oct 2015) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": mention -DMPFR_TUNE_COVERAGE. ------------------------------------------------------------------------ r9705 | vlefevre | 2015-10-29 12:02:17 +0000 (Thu, 29 Oct 2015) | 1 line Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Updated comment about the mpfr_divhigh_n_basecase bug. ------------------------------------------------------------------------ r9704 | zimmerma | 2015-10-29 09:44:03 +0000 (Thu, 29 Oct 2015) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c fixed replacement for mpn_neg (return value was wrong) ------------------------------------------------------------------------ r9703 | zimmerma | 2015-10-29 08:31:48 +0000 (Thu, 29 Oct 2015) | 2 lines Changed paths: M /trunk/doc/mini-gmp M /trunk/src/free_cache.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/src/urandomb.c adapt for mini-gmp (from GMP 6.1.0-rc1) ------------------------------------------------------------------------ r9702 | zimmerma | 2015-10-29 06:57:07 +0000 (Thu, 29 Oct 2015) | 2 lines Changed paths: M /trunk/src/bernoulli.c M /trunk/src/div.c replace obsolete mpz_div_2exp function by mpz_xdiv_q_2exp ------------------------------------------------------------------------ r9701 | zimmerma | 2015-10-28 17:33:01 +0000 (Wed, 28 Oct 2015) | 2 lines Changed paths: M /trunk/doc/mini-gmp M /trunk/src/free_cache.c M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h adapt mini-gmp stuff to GMP 6.1.0-rc1 ------------------------------------------------------------------------ r9700 | zimmerma | 2015-10-28 16:39:50 +0000 (Wed, 28 Oct 2015) | 2 lines Changed paths: M /trunk/src/const_euler.c replace obsolete mpz_div by mpz_tdiv_q ------------------------------------------------------------------------ r9699 | zimmerma | 2015-10-27 12:20:39 +0000 (Tue, 27 Oct 2015) | 3 lines Changed paths: M /trunk/src/mulders.c M /trunk/tests/tdiv.c fix bug reported by Ricky Farr (https://sympa.inria.fr/sympa/arc/mpfr/2015-10/msg00023.html) ------------------------------------------------------------------------ r9697 | vlefevre | 2015-10-22 14:34:29 +0000 (Thu, 22 Oct 2015) | 2 lines Changed paths: M /trunk/autogen.sh [autogen.sh] Restore the INSTALL file also if the process receives a usual signal (SIGHUP, SIGINT, SIGQUIT or SIGTERM). ------------------------------------------------------------------------ r9696 | vlefevre | 2015-10-22 12:37:52 +0000 (Thu, 22 Oct 2015) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Added a comment about compiler info. ------------------------------------------------------------------------ r9695 | vlefevre | 2015-10-22 12:25:43 +0000 (Thu, 22 Oct 2015) | 3 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Instead of __GNUC__, __GNUC_MINOR__ and __GNUC_PATCHLEVEL__, output __VERSION__, which gives more information (for GCC development versions and ICC). ------------------------------------------------------------------------ r9694 | vlefevre | 2015-10-21 11:41:57 +0000 (Wed, 21 Oct 2015) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Updated comment for sum_raw(). ------------------------------------------------------------------------ r9693 | vlefevre | 2015-09-15 14:29:32 +0000 (Tue, 15 Sep 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a comment about mpfr_get_{si,ui,sj,uj} and flags. ------------------------------------------------------------------------ r9692 | vlefevre | 2015-09-15 14:02:41 +0000 (Tue, 15 Sep 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9691 | vlefevre | 2015-09-15 13:59:49 +0000 (Tue, 15 Sep 2015) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Changed "returned value" to "return value" when this is the value returned by the C function (synonymous, but sometimes less ambiguous). ------------------------------------------------------------------------ r9690 | vlefevre | 2015-09-15 13:55:46 +0000 (Tue, 15 Sep 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] For r9689, "returned value" → "return value". ------------------------------------------------------------------------ r9689 | vlefevre | 2015-09-15 13:51:33 +0000 (Tue, 15 Sep 2015) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Completed the specification of mpfr_get_{si,ui,sj,uj} and mpfr_get_z (inexact flag, and returned value for mpfr_get_z). ------------------------------------------------------------------------ r9688 | vlefevre | 2015-09-15 12:16:15 +0000 (Tue, 15 Sep 2015) | 6 lines Changed paths: M /trunk/tests/tget_z.c [tests/tget_z.c] Fixed and improved the check_one() test. * The input value was modified at each iteration, giving z = 0 very quickly, so that not much was tested in practice; in particular, the third argument of mpz_fdiv_q_2exp in mpfr_get_z was never properly tested (since it has no effect for z = 0). * Added various tests of the flags. ------------------------------------------------------------------------ r9687 | vlefevre | 2015-09-15 09:25:20 +0000 (Tue, 15 Sep 2015) | 1 line Changed paths: M /trunk/tests/tget_z.c [tests/tget_z.c] Optimized the check_one() test. ------------------------------------------------------------------------ r9684 | vlefevre | 2015-09-10 20:54:35 +0000 (Thu, 10 Sep 2015) | 5 lines Changed paths: M /trunk M /trunk/src/const_catalan.c M /trunk/src/const_euler.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/exceptions.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-thread.h M /trunk/src/set_dfl_prec.c M /trunk/src/set_rnd.c Merged the win-thread-safe-dll branch: support build as thread-safe DLL on Windows: changes from Stephan Tolksdorf https://gforge.inria.fr/tracker/download.php/136/619/19537/4980/changes.zip + a correction and some consistency checks. See MPFR bug 19537 on: https://gforge.inria.fr/tracker/index.php?func=detail&aid=19537&group_id=136&atid=619 ------------------------------------------------------------------------ r9675 | vlefevre | 2015-09-10 00:17:06 +0000 (Thu, 10 Sep 2015) | 1 line Changed paths: M /trunk/src/mpfr-impl.h M /trunk/tests/mpfr-test.h M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c Include config.h when need be. ------------------------------------------------------------------------ r9674 | vlefevre | 2015-09-07 09:15:01 +0000 (Mon, 07 Sep 2015) | 1 line Changed paths: M /trunk/TODO [TODO] Updated mpz_t caching item, suggesting mpz_init2 instead. ------------------------------------------------------------------------ r9673 | vlefevre | 2015-09-07 08:59:49 +0000 (Mon, 07 Sep 2015) | 5 lines Changed paths: M /trunk/TODO [TODO] Added: check whether mpz_t caching is necessary (this was committed in r8911). In short, timings should be done with -static (this wasn't clear), they may depend on the malloc implementation, and after a look at the source, the difference in the timings with mpz_t caching is surprising and should be explained. ------------------------------------------------------------------------ r9672 | vlefevre | 2015-09-04 10:02:57 +0000 (Fri, 04 Sep 2015) | 3 lines Changed paths: M /trunk/tools/ck-copyright-notice [tools/ck-copyright-notice] Check src/mparam_h.in instead of the generated (and not distributed) src/mparam.h file; this is also useful to avoid an error after running "make tune". ------------------------------------------------------------------------ r9671 | zimmerma | 2015-09-04 09:57:08 +0000 (Fri, 04 Sep 2015) | 2 lines Changed paths: M /trunk/tools/bench/Makefile.am distribute the mpfrbench README ------------------------------------------------------------------------ r9670 | zimmerma | 2015-09-04 09:48:35 +0000 (Fri, 04 Sep 2015) | 2 lines Changed paths: A /trunk/tools/bench/README add a README for mpfrbench ------------------------------------------------------------------------ r9669 | vlefevre | 2015-09-04 09:39:10 +0000 (Fri, 04 Sep 2015) | 1 line Changed paths: M /trunk/tune/tuneup.c More details in a comment about assertions via tuneup. ------------------------------------------------------------------------ r9668 | zimmerma | 2015-09-04 09:23:58 +0000 (Fri, 04 Sep 2015) | 2 lines Changed paths: M /trunk/tune/tuneup.c fixed failed assertion during "make tune" ------------------------------------------------------------------------ r9667 | vlefevre | 2015-08-25 22:10:40 +0000 (Tue, 25 Aug 2015) | 1 line Changed paths: M /trunk/tests/tget_z.c [tests/tget_z.c] Flags testing. ------------------------------------------------------------------------ r9666 | vlefevre | 2015-08-25 20:43:35 +0000 (Tue, 25 Aug 2015) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated a URL. ------------------------------------------------------------------------ r9663 | vlefevre | 2015-08-25 17:22:30 +0000 (Tue, 25 Aug 2015) | 1 line Changed paths: M /trunk/tests/tstdint.c [tests/tstdint.c] Support MPFR_PRINTF_MAXLM. ------------------------------------------------------------------------ r9662 | vlefevre | 2015-08-25 16:44:08 +0000 (Tue, 25 Aug 2015) | 1 line Changed paths: M /trunk/tests/tget_sj.c [tests/tget_sj.c] Support MPFR_PRINTF_MAXLM. ------------------------------------------------------------------------ r9661 | vlefevre | 2015-08-25 16:36:24 +0000 (Tue, 25 Aug 2015) | 1 line Changed paths: M /trunk/tests/tget_sj.c [tests/tget_sj.c] Typo. ------------------------------------------------------------------------ r9660 | vlefevre | 2015-08-25 16:24:23 +0000 (Tue, 25 Aug 2015) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Instead of checking whether the 'j' printf length modifier is working, try to find one that works. ------------------------------------------------------------------------ r9659 | vlefevre | 2015-08-25 15:17:22 +0000 (Tue, 25 Aug 2015) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Check whether the 'j' printf length modifier is working. ------------------------------------------------------------------------ r9658 | vlefevre | 2015-08-25 12:25:03 +0000 (Tue, 25 Aug 2015) | 1 line Changed paths: M /trunk/tests/tget_sj.c [tests/tget_sj.c] Improved check_erange (more flags testing). ------------------------------------------------------------------------ r9657 | vlefevre | 2015-08-25 11:45:22 +0000 (Tue, 25 Aug 2015) | 1 line Changed paths: M /trunk/tests/tget_sj.c [tests/tget_sj.c] Improved check_sj and check_uj even more. ------------------------------------------------------------------------ r9656 | vlefevre | 2015-08-25 11:31:08 +0000 (Tue, 25 Aug 2015) | 1 line Changed paths: M /trunk/tests/tget_sj.c [tests/tget_sj.c] Improved check_sj and check_uj (flags testing). ------------------------------------------------------------------------ r9655 | vlefevre | 2015-08-24 15:48:24 +0000 (Mon, 24 Aug 2015) | 1 line Changed paths: M /trunk/tests/tfits.c [tests/tfits.c] New tests at the limits of the types. ------------------------------------------------------------------------ r9654 | vlefevre | 2015-08-24 15:38:14 +0000 (Mon, 24 Aug 2015) | 2 lines Changed paths: M /trunk/tests/tfits.c [tests/tfits.c] For the mpfr_fits_{uintmax,intmax}_p functions, check that the flags are not modified and added tests of -Inf and -0. ------------------------------------------------------------------------ r9653 | vlefevre | 2015-08-24 15:23:55 +0000 (Mon, 24 Aug 2015) | 2 lines Changed paths: M /trunk/tests/tfits.c [tests/tfits.c] For the mpfr_fits_{u,s}{long,int,short}_p functions, check that the flags are not modified and added tests of -Inf and -0. ------------------------------------------------------------------------ r9652 | zimmerma | 2015-08-24 10:11:29 +0000 (Mon, 24 Aug 2015) | 2 lines Changed paths: M /trunk/src/mparam_h.in fixed the AMD K8 tuning (cf r8118) ------------------------------------------------------------------------ r9651 | vlefevre | 2015-08-24 06:44:57 +0000 (Mon, 24 Aug 2015) | 1 line Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] Improved NaN mpfr_get_si / mpfr_get_ui test. ------------------------------------------------------------------------ r9650 | vlefevre | 2015-08-24 01:37:59 +0000 (Mon, 24 Aug 2015) | 3 lines Changed paths: M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_u.h [src/{fits_intmax.c,fits_s.h,fits_u.h}] Fixed mpfr_fits_* functions: the flags could be modified, which made the new mpfr_get_{si,ui} tests fail (tests/tset_si.c r9649). ------------------------------------------------------------------------ r9649 | vlefevre | 2015-08-24 01:23:30 +0000 (Mon, 24 Aug 2015) | 1 line Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] Added mpfr_get_{si,ui} tests, including flags. ------------------------------------------------------------------------ r9648 | vlefevre | 2015-08-20 12:17:30 +0000 (Thu, 20 Aug 2015) | 3 lines Changed paths: M /trunk/src/mparam_h.in [src/mparam_h.in] Improved comment: __amd64__ is generic to all x86 processors with a 64-bit ABI (amd64, a.k.a. x86_64), thus suggest to move mparam.h files to more meaningful locations. ------------------------------------------------------------------------ r9645 | vlefevre | 2015-08-20 01:27:44 +0000 (Thu, 20 Aug 2015) | 4 lines Changed paths: M /trunk M /trunk/configure.ac [configure.ac] Added test for usability of gmp.h at link time (merged changeset r9644 from the 3.1 branch, with minor changes due to the fact that a known problem between GMP 4.1 and GCC 5 can no longer occur, now that we require GMP 4.2.0 or newer). ------------------------------------------------------------------------ r9642 | vlefevre | 2015-08-19 08:05:38 +0000 (Wed, 19 Aug 2015) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": mention abi-compliance-checker. ------------------------------------------------------------------------ r9638 | vlefevre | 2015-07-31 12:30:50 +0000 (Fri, 31 Jul 2015) | 3 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] Added an assertion (I get a build failure with gcc-snapshot 20150722-1 due to -Werror=array-bounds, but the code looks OK). Simplified test on: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67077 ------------------------------------------------------------------------ r9637 | zimmerma | 2015-07-31 07:22:03 +0000 (Fri, 31 Jul 2015) | 3 lines Changed paths: M /trunk/configure.ac M /trunk/src/mpfr-gmp.h M /trunk/src/sqrt.c remove usage of mpn_rootrem in mpfr_sqrt since now mpn_sqrtrem is faster (https://gmplib.org/list-archives/gmp-devel/2015-July/004074.html) ------------------------------------------------------------------------ r9636 | vlefevre | 2015-07-30 09:41:37 +0000 (Thu, 30 Jul 2015) | 1 line Changed paths: M /trunk/src/next.c [src/next.c] Added a note concerning the exceptions. ------------------------------------------------------------------------ r9632 | vlefevre | 2015-07-20 22:04:21 +0000 (Mon, 20 Jul 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9631 | vlefevre | 2015-07-20 21:56:04 +0000 (Mon, 20 Jul 2015) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output MPFR_VERSION_STRING too. ------------------------------------------------------------------------ r9630 | vlefevre | 2015-07-20 21:49:28 +0000 (Mon, 20 Jul 2015) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Check and output additional mpfr_buildopt_* info. ------------------------------------------------------------------------ r9629 | vlefevre | 2015-07-20 15:59:51 +0000 (Mon, 20 Jul 2015) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/rint.c M /trunk/tests/trint.c Added mpfr_rint_roundeven and mpfr_roundeven functions, with documentation and tests. ------------------------------------------------------------------------ r9619 | vlefevre | 2015-07-16 12:43:22 +0000 (Thu, 16 Jul 2015) | 5 lines Changed paths: M /trunk/tests/tfrexp.c [tests/tfrexp.c] * Replaced each mpfr_get_exp occurrence by the internal MPFR_GET_EXP macro in order to make sure that an assertion failure is triggered in case of singular number (see also the comment added in r9618). * Fixed the remaining problem due to an overflow and infinite value. ------------------------------------------------------------------------ r9618 | vlefevre | 2015-07-16 12:32:33 +0000 (Thu, 16 Jul 2015) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Added a comment about the drawback of the mpfr_get_exp() macro, defined in addition to the function. ------------------------------------------------------------------------ r9617 | vlefevre | 2015-07-15 14:22:19 +0000 (Wed, 15 Jul 2015) | 2 lines Changed paths: M /trunk/tests/tfrexp.c [tests/tfrexp.c] Simplification: merged the tests on the ternary values, the returned MPFR values and the flags. ------------------------------------------------------------------------ r9616 | vlefevre | 2015-07-15 14:17:12 +0000 (Wed, 15 Jul 2015) | 4 lines Changed paths: M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/mul_2si.c [src/{div_2si.c,div_2ui.c,mul_2si.c}] Fixed some underflow cases in rounding to nearest when the exact result is -2^(emin-2), i.e. the middle of 0 and the minimum negative number in absolute value (the correction in r5517 was incorrect/incomplete). ------------------------------------------------------------------------ r9615 | vlefevre | 2015-07-15 13:48:37 +0000 (Wed, 15 Jul 2015) | 1 line Changed paths: M /trunk/src/exceptions.c [src/exceptions.c] Added logging for mpfr_underflow and mpfr_overflow. ------------------------------------------------------------------------ r9614 | vlefevre | 2015-07-15 13:35:53 +0000 (Wed, 15 Jul 2015) | 2 lines Changed paths: M /trunk/tests/tmul_2exp.c [tests/tmul_2exp.c] Extended the underflow() test to negative numbers, triggering a new bug. ------------------------------------------------------------------------ r9613 | vlefevre | 2015-07-15 08:24:21 +0000 (Wed, 15 Jul 2015) | 1 line Changed paths: M /trunk/src/frexp.c [src/frexp.c] Added a comment. ------------------------------------------------------------------------ r9609 | vlefevre | 2015-07-02 10:45:20 +0000 (Thu, 02 Jul 2015) | 3 lines Changed paths: M /trunk/tools/build-patch [tools/build-patch] Rebuild the mpfr.info file if mpfr.texi has been modified, in order to take it into account in the patch. This is needed since the mpfr.info file is distributed in the tarball. ------------------------------------------------------------------------ r9604 | vlefevre | 2015-07-02 00:17:00 +0000 (Thu, 02 Jul 2015) | 3 lines Changed paths: M /trunk M /trunk/tools/mpfrlint [tools/mpfrlint] Check a Texinfo rule (Section "Ending a Sentence") with common words that end with a capital letter. (merged changeset r9603 from the 3.1 branch) ------------------------------------------------------------------------ r9601 | vlefevre | 2015-06-28 09:28:30 +0000 (Sun, 28 Jun 2015) | 1 line Changed paths: M /trunk/TODO [TODO] Updated URL of TS 18661-4. ------------------------------------------------------------------------ r9600 | vlefevre | 2015-06-26 13:59:12 +0000 (Fri, 26 Jun 2015) | 1 line Changed paths: M /trunk/src/frexp.c [src/frexp.c] Handle internal overflow. ------------------------------------------------------------------------ r9599 | vlefevre | 2015-06-26 13:46:55 +0000 (Fri, 26 Jun 2015) | 1 line Changed paths: M /trunk/tests/tfrexp.c [tests/tfrexp.c] Forgot a "exit (1);". ------------------------------------------------------------------------ r9598 | vlefevre | 2015-06-26 08:06:17 +0000 (Fri, 26 Jun 2015) | 1 line Changed paths: M /trunk/tests/tmul_2exp.c [tests/tmul_2exp.c] Overflow test: more output info; improved code. ------------------------------------------------------------------------ r9597 | vlefevre | 2015-06-26 07:57:49 +0000 (Fri, 26 Jun 2015) | 3 lines Changed paths: M /trunk/src/mul_2si.c M /trunk/tests/tmul_2exp.c [src/mul_2si.c] Fixed overflow case when n = 0. [tests/tmul_2exp.c] In the overflow test, check mpfr_mul_2ui and mpfr_mul_2si too (mpfr_mul_2ui was OK). ------------------------------------------------------------------------ r9596 | vlefevre | 2015-06-26 07:42:49 +0000 (Fri, 26 Jun 2015) | 2 lines Changed paths: M /trunk/src/div_2si.c M /trunk/tests/tmul_2exp.c [src/div_2si.c] Fixed overflow case when n = 0. [tests/tmul_2exp.c] In the overflow test, check mpfr_div_2si too. ------------------------------------------------------------------------ r9595 | vlefevre | 2015-06-26 07:28:10 +0000 (Fri, 26 Jun 2015) | 2 lines Changed paths: M /trunk/src/div_2ui.c M /trunk/tests/tmul_2exp.c [src/div_2ui.c] Fixed overflow case (can occur only when n = 0). [tests/tmul_2exp.c] Completed the overflow test. ------------------------------------------------------------------------ r9594 | vlefevre | 2015-06-26 00:33:56 +0000 (Fri, 26 Jun 2015) | 2 lines Changed paths: M /trunk/tests/tfrexp.c [tests/tfrexp.c] Added tests (currently fail due to the mpfr_div_2ui unhandled-overflow bug). ------------------------------------------------------------------------ r9593 | vlefevre | 2015-06-26 00:23:19 +0000 (Fri, 26 Jun 2015) | 2 lines Changed paths: M /trunk/tests/tmul_2exp.c [tests/tmul_2exp.c] Added tests where mpfr_div_2ui overflows, which is currently not handled. ------------------------------------------------------------------------ r9592 | vlefevre | 2015-06-26 00:00:58 +0000 (Fri, 26 Jun 2015) | 2 lines Changed paths: M /trunk/src/frexp.c [src/frexp.c] Fixed a bug occurring when the current exponent range does not contain 0. ------------------------------------------------------------------------ r9591 | vlefevre | 2015-06-25 21:33:30 +0000 (Thu, 25 Jun 2015) | 1 line Changed paths: M /trunk/src/check.c [src/check.c] Typo in a comment. ------------------------------------------------------------------------ r9588 | vlefevre | 2015-06-19 22:57:07 +0000 (Fri, 19 Jun 2015) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Update due to recent InriaForge upgrade. ------------------------------------------------------------------------ r9581 | vlefevre | 2015-06-16 15:38:37 +0000 (Tue, 16 Jun 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a paragraph about the multiple use of MPFR. ------------------------------------------------------------------------ r9580 | vlefevre | 2015-06-16 15:08:45 +0000 (Tue, 16 Jun 2015) | 1 line Changed paths: M /trunk/TODO [TODO] Added: use symbol versioning. ------------------------------------------------------------------------ r9575 | vlefevre | 2015-06-12 15:30:27 +0000 (Fri, 12 Jun 2015) | 3 lines Changed paths: M /trunk/doc/faq.xsl [doc/faq.xsl] Remove the indent="no" to get the same behavior as before when using libxslt 1.1.27+. See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718535#10 ------------------------------------------------------------------------ r9572 | vlefevre | 2015-06-12 13:55:51 +0000 (Fri, 12 Jun 2015) | 2 lines Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Improved the new underflow tests (test_underflow3) to test FMA(-x,y,-z). ------------------------------------------------------------------------ r9569 | vlefevre | 2015-06-12 13:27:00 +0000 (Fri, 12 Jun 2015) | 1 line Changed paths: M /trunk/src/fma.c [src/fma.c] Completely fixed the scaling in case of underflow. ------------------------------------------------------------------------ r9568 | vlefevre | 2015-06-12 01:00:03 +0000 (Fri, 12 Jun 2015) | 3 lines Changed paths: M /trunk/src/fma.c [src/fma.c] Partially fixed the scaling in case of underflow, corresponding to the testcase from r9566. Double rounding is not handled yet (failure triggered by r9567). ------------------------------------------------------------------------ r9567 | vlefevre | 2015-06-12 00:55:09 +0000 (Fri, 12 Jun 2015) | 5 lines Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Improved the new underflow tests (test_underflow3) to yield some cases with double rounding when scaling: If the only fix in src/fma.c is to change the rounding mode of the last mpfr_div_2ui (computing s / 2^scale) to rnd_mode, a new failure appears for n = 2, k = 4, s = -1, MPFR_RNDN. ------------------------------------------------------------------------ r9566 | vlefevre | 2015-06-12 00:25:11 +0000 (Fri, 12 Jun 2015) | 2 lines Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Corrected the new underflow tests to really generate underflows, showing a bug in mpfr_fma. ------------------------------------------------------------------------ r9565 | vlefevre | 2015-06-12 00:10:19 +0000 (Fri, 12 Jun 2015) | 1 line Changed paths: M /trunk/src/fma.c [src/fma.c] Added log messages. ------------------------------------------------------------------------ r9564 | vlefevre | 2015-06-12 00:09:18 +0000 (Fri, 12 Jun 2015) | 2 lines Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] The code removed in r9560 was actually necessary, but do this in a better way. ------------------------------------------------------------------------ r9563 | vlefevre | 2015-06-11 23:51:48 +0000 (Thu, 11 Jun 2015) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Added other underflow tests. ------------------------------------------------------------------------ r9562 | vlefevre | 2015-06-11 23:13:22 +0000 (Thu, 11 Jun 2015) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Some improvements. ------------------------------------------------------------------------ r9561 | vlefevre | 2015-06-11 23:08:40 +0000 (Thu, 11 Jun 2015) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] GNU coding style. ------------------------------------------------------------------------ r9560 | vlefevre | 2015-06-11 23:05:51 +0000 (Thu, 11 Jun 2015) | 1 line Changed paths: M /trunk/tests/tfma.c [tests/tfma.c] Removed code that isn't necessary. ------------------------------------------------------------------------ r9557 | vlefevre | 2015-06-11 08:48:04 +0000 (Thu, 11 Jun 2015) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": mention -DMPFR_COV_CHECK and -DMPFR_ALLOCA_MAX=0 tests. ------------------------------------------------------------------------ r9553 | vlefevre | 2015-06-10 23:46:47 +0000 (Wed, 10 Jun 2015) | 1 line Changed paths: M /trunk/tests/trandom.c [tests/trandom.c] Cleaner test, avoiding the explicit use of mpfr_rands. ------------------------------------------------------------------------ r9551 | vlefevre | 2015-06-10 14:25:57 +0000 (Wed, 10 Jun 2015) | 3 lines Changed paths: M /trunk/tests/trandom.c [tests/trandom.c] Improved latest change, as some other test already assume a fixed PRNG with GMP >= 4.2.0 (now the value of the last random number of the test is checked). ------------------------------------------------------------------------ r9550 | vlefevre | 2015-06-10 13:59:09 +0000 (Wed, 10 Jun 2015) | 7 lines Changed paths: M /trunk/tests/trandom.c [tests/trandom.c] * Get a non-zero fixed-point number whose first 32 bits are 0 with the default GMP PRNG. This corresponds to the case cnt == 0 && k != 0 in src/urandomb.c (fixed in r8762) with the 32-bit ABI. * Output a warning (with a fatal error when the MPFR_COV_CHECK macro is defined) if one doesn't get such a number, probably because the GMP PRNG has changed. ------------------------------------------------------------------------ r9545 | vlefevre | 2015-06-10 10:25:56 +0000 (Wed, 10 Jun 2015) | 4 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] The bug fixed in r9540 actually came from r9014, which incorrectly replaced MPFR_EXP by MPFR_SET_EXP. So, restored the previous code (re-adding the assertion check), keeping my comment from r9540 to explain why we don't use MPFR_SET_EXP. ------------------------------------------------------------------------ r9544 | vlefevre | 2015-06-10 09:21:02 +0000 (Wed, 10 Jun 2015) | 5 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Fixed overflow/underflow tests introduced in r9539: the tests were done in all rounding modes, but the code was incorrect if the exponent of the result depended on the rounding mode. So, the tests are now done only in the rounding mode previously selected. This should be sufficient to detect bugs. ------------------------------------------------------------------------ r9543 | vlefevre | 2015-06-10 08:48:24 +0000 (Wed, 10 Jun 2015) | 3 lines Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] For mpfr_lgamma and mpfr_lngamma, the exponent range was not restored in some cases (some large results). Bug introduced in r8917 (trunk only). ------------------------------------------------------------------------ r9542 | vlefevre | 2015-06-10 08:30:07 +0000 (Wed, 10 Jun 2015) | 9 lines Changed paths: M /trunk/src/cos.c M /trunk/src/sin.c [src/{cos.c,sin.c}] Fixed bug related to the exponent range, introduced in r6461 with the use of mpfr_sincos_fast. Details: For mpfr_sin, the exponent range was not restored, and restoring it before calling mpfr_sincos_fast as this was done for mpfr_cos did not work; indeed the source of this function shows that it needs an extended exponent range. So, changed both mpfr_cos and mpfr_sin to call mpfr_sincos_fast in the extended exponent range and restore the exponent range at the end, like in usual code. ------------------------------------------------------------------------ r9541 | vlefevre | 2015-06-10 08:14:01 +0000 (Wed, 10 Jun 2015) | 3 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Check whether the exponent range has been modified by the tested function (which should never happen). This check triggers failures in tlgamma, tlngamma and tsin. ------------------------------------------------------------------------ r9540 | vlefevre | 2015-06-10 07:50:21 +0000 (Wed, 10 Jun 2015) | 3 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Fixed assertion failure in reduced exponent range. Note: This could happen only in very specific exponent ranges, in particular, which do not include the number 1. ------------------------------------------------------------------------ r9539 | vlefevre | 2015-06-10 07:38:24 +0000 (Wed, 10 Jun 2015) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Added overflow/underflow tests (→ 4 failed tests). ------------------------------------------------------------------------ r9523 | vlefevre | 2015-06-08 00:46:52 +0000 (Mon, 08 Jun 2015) | 4 lines Changed paths: M /trunk/src/zeta_ui.c M /trunk/tests/tzeta_ui.c [src/zeta_ui.c] * Support reduced exponent range for the generic case. * Added logging. [tests/tzeta_ui.c] Added tests in reduced exponent range. ------------------------------------------------------------------------ r9521 | vlefevre | 2015-06-08 00:27:37 +0000 (Mon, 08 Jun 2015) | 1 line Changed paths: M /trunk/src/add_ui.c [src/add_ui.c] Fixed format string in MPFR_LOG_FUNC. ------------------------------------------------------------------------ r9520 | vlefevre | 2015-06-07 22:17:00 +0000 (Sun, 07 Jun 2015) | 1 line Changed paths: M /trunk/tests/tzeta_ui.c [tests/tzeta_ui.c] Code simplification. ------------------------------------------------------------------------ r9519 | vlefevre | 2015-06-07 22:11:52 +0000 (Sun, 07 Jun 2015) | 2 lines Changed paths: M /trunk/tests/tzeta_ui.c [tests/tzeta_ui.c] Test zeta(0) in reduced exponent range and all rounding modes. ------------------------------------------------------------------------ r9518 | vlefevre | 2015-06-07 21:54:01 +0000 (Sun, 07 Jun 2015) | 2 lines Changed paths: M /trunk/src/zeta_ui.c M /trunk/tests/tzeta_ui.c [src/zeta_ui.c] Fixed zeta(0) in reduced exponent range. [tests/tzeta_ui.c] Added testcase. ------------------------------------------------------------------------ r9514 | vlefevre | 2015-06-05 01:30:20 +0000 (Fri, 05 Jun 2015) | 1 line Changed paths: M /trunk/src/ui_div.c M /trunk/src/ui_sub.c [src/{ui_div.c,ui_sub.c}] Correction for reduced exponent range. ------------------------------------------------------------------------ r9513 | vlefevre | 2015-06-05 01:21:49 +0000 (Fri, 05 Jun 2015) | 1 line Changed paths: M /trunk/tests/tui_sub.c [tests/tui_sub.c] Check overflow. ------------------------------------------------------------------------ r9512 | vlefevre | 2015-06-05 01:07:43 +0000 (Fri, 05 Jun 2015) | 1 line Changed paths: M /trunk/tests/tui_div.c [tests/tui_div.c] Check overflow. ------------------------------------------------------------------------ r9511 | vlefevre | 2015-06-05 00:29:07 +0000 (Fri, 05 Jun 2015) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Removed useless parentheses. ------------------------------------------------------------------------ r9510 | vlefevre | 2015-06-05 00:22:02 +0000 (Fri, 05 Jun 2015) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Special cases with unsigned long argument. ------------------------------------------------------------------------ r9509 | vlefevre | 2015-06-05 00:13:04 +0000 (Fri, 05 Jun 2015) | 1 line Changed paths: M /trunk/tests/tpow_all.c [tests/tpow_all.c] Better flags output in error message. ------------------------------------------------------------------------ r9508 | vlefevre | 2015-06-04 13:27:07 +0000 (Thu, 04 Jun 2015) | 2 lines Changed paths: M /trunk/src/set_q.c [src/set_q.c] Added missing MPFR_SAVE_EXPO_FREE in case of preliminary overflow or underflow (extreme cases). ------------------------------------------------------------------------ r9507 | vlefevre | 2015-06-04 13:23:35 +0000 (Thu, 04 Jun 2015) | 2 lines Changed paths: M /trunk/src/set_q.c [src/set_q.c] Replaced a "return" by MPFR_RET: this is at least needed in the extreme case cd != 0, and safer in general. ------------------------------------------------------------------------ r9506 | vlefevre | 2015-06-04 13:20:10 +0000 (Thu, 04 Jun 2015) | 1 line Changed paths: M /trunk/tests/tset_q.c [tests/tset_q.c] Check the flags. ------------------------------------------------------------------------ r9505 | vlefevre | 2015-06-04 11:19:31 +0000 (Thu, 04 Jun 2015) | 1 line Changed paths: M /trunk/src/mul_ui.c [src/mul_ui.c] Fixed bug in mpfr_mul_ui/si: the inexact flag wasn't set. ------------------------------------------------------------------------ r9504 | vlefevre | 2015-06-04 11:17:52 +0000 (Thu, 04 Jun 2015) | 2 lines Changed paths: M /trunk/tests/tadd_ui.c M /trunk/tests/tdiv_ui.c M /trunk/tests/tmul_ui.c M /trunk/tests/tsub_ui.c [tests/t{add,div,mul,sub}_ui.c] Replaced tgeneric_ui.c by tgeneric.c, showing a bug in mpfr_mul_ui (missing inexact flag). ------------------------------------------------------------------------ r9503 | vlefevre | 2015-06-04 11:02:39 +0000 (Thu, 04 Jun 2015) | 2 lines Changed paths: M /trunk/tests/tui_div.c M /trunk/tests/tui_sub.c [tests/{tui_div.c,tui_sub.c}] Added generic tests, yielding assertion failures (due to a reduced exponent range) when assertions are checked. ------------------------------------------------------------------------ r9502 | vlefevre | 2015-06-04 10:50:16 +0000 (Thu, 04 Jun 2015) | 4 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Major clean-up, with some minor corrections. Added support for unsigned long argument, which can be the first or the second one (another intent is to replace tgeneric_ui.c, which does fewer tests concerning the flags). ------------------------------------------------------------------------ r9500 | vlefevre | 2015-06-04 10:08:05 +0000 (Thu, 04 Jun 2015) | 1 line Changed paths: M /trunk/tests/tdiv_d.c [tests/tdiv_d.c] Corrected the tested function for the generic tests. ------------------------------------------------------------------------ r9498 | vlefevre | 2015-06-04 10:03:18 +0000 (Thu, 04 Jun 2015) | 1 line Changed paths: M /trunk/tests/td_div.c [tests/td_div.c] Corrected the tested function for the generic tests. ------------------------------------------------------------------------ r9497 | vlefevre | 2015-06-04 02:17:10 +0000 (Thu, 04 Jun 2015) | 1 line Changed paths: M /trunk/tests/tui_sub.c [tests/tui_sub.c] Minor improvements. ------------------------------------------------------------------------ r9495 | vlefevre | 2015-06-04 02:03:41 +0000 (Thu, 04 Jun 2015) | 1 line Changed paths: M /trunk/tests/tgeneric_ui.c [tests/tgeneric_ui.c] Added missing \n. Minor improvements. ------------------------------------------------------------------------ r9494 | vlefevre | 2015-06-04 01:58:27 +0000 (Thu, 04 Jun 2015) | 1 line Changed paths: M /trunk/tests/tui_div.c [tests/tui_div.c] Minor improvements. ------------------------------------------------------------------------ r9492 | vlefevre | 2015-06-03 14:23:00 +0000 (Wed, 03 Jun 2015) | 1 line Changed paths: M /trunk/tests/trint.c [tests/trint.c] Corrected the description (copy-paste error in r9473). ------------------------------------------------------------------------ r9489 | vlefevre | 2015-06-03 12:03:05 +0000 (Wed, 03 Jun 2015) | 1 line Changed paths: M /trunk/src/rint.c [src/rint.c] Handle reduced exponent range. ------------------------------------------------------------------------ r9488 | vlefevre | 2015-06-03 11:48:05 +0000 (Wed, 03 Jun 2015) | 2 lines Changed paths: M /trunk/tests/trint.c [tests/trint.c] Extend basic_tests from [56,72] to [1,72] since i < 4 (|x| < 1) are special cases in the implementation. ------------------------------------------------------------------------ r9487 | vlefevre | 2015-06-03 11:40:21 +0000 (Wed, 03 Jun 2015) | 2 lines Changed paths: M /trunk/tests/trint.c [tests/trint.c] Also run BASIC_TEST in reduced exponent range (emin = emax = EXP(x)). ------------------------------------------------------------------------ r9486 | vlefevre | 2015-06-03 11:30:39 +0000 (Wed, 03 Jun 2015) | 2 lines Changed paths: M /trunk/tests/trint.c [tests/trint.c] Also run BASIC_TEST2 in reduced exponent range (emin = emax = EXP(x)). ------------------------------------------------------------------------ r9485 | vlefevre | 2015-06-03 00:45:28 +0000 (Wed, 03 Jun 2015) | 1 line Changed paths: M /trunk/src/rint.c [src/rint.c] Added a comment about the mpfr_rint_* functions. ------------------------------------------------------------------------ r9484 | vlefevre | 2015-06-03 00:32:23 +0000 (Wed, 03 Jun 2015) | 4 lines Changed paths: M /trunk/src/rint.c [src/rint.c] Simplified and fixed the mpfr_rint_* functions: in some corner cases, an intermediate overflow would not be propagated. No testcases added for this particular problem since huge precision numbers would be involved. ------------------------------------------------------------------------ r9482 | vlefevre | 2015-06-02 11:39:37 +0000 (Tue, 02 Jun 2015) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added description of the flags for the mpfr_rint, mpfr_ceil, mpfr_floor, mpfr_round, mpfr_trunc functions. ------------------------------------------------------------------------ r9481 | vlefevre | 2015-06-01 13:44:02 +0000 (Mon, 01 Jun 2015) | 1 line Changed paths: M /trunk/tests/trint.c [tests/trint.c] In the basic tests, test the flags. ------------------------------------------------------------------------ r9480 | vlefevre | 2015-05-31 09:58:46 +0000 (Sun, 31 May 2015) | 1 line Changed paths: M /trunk/tests/trint.c [tests/trint.c] Corrections for r9476 and r9477. ------------------------------------------------------------------------ r9478 | vlefevre | 2015-05-31 09:46:50 +0000 (Sun, 31 May 2015) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] For the gcc compiler, better choice of the -W flags when the selected language is C++ (e.g. when CC=g++). ------------------------------------------------------------------------ r9477 | vlefevre | 2015-05-29 15:22:19 +0000 (Fri, 29 May 2015) | 2 lines Changed paths: M /trunk/tests/trint.c [tests/trint.c] Added basic tests of the mpfr_{trunc,floor,ceil,round} functions. ------------------------------------------------------------------------ r9476 | vlefevre | 2015-05-29 11:26:20 +0000 (Fri, 29 May 2015) | 1 line Changed paths: M /trunk/tests/trint.c [tests/trint.c] Added basic tests of the mpfr_rint_* functions. ------------------------------------------------------------------------ r9474 | vlefevre | 2015-05-29 11:18:57 +0000 (Fri, 29 May 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added blank lines to improve readability. ------------------------------------------------------------------------ r9473 | vlefevre | 2015-05-29 10:26:25 +0000 (Fri, 29 May 2015) | 2 lines Changed paths: M /trunk/tests/trint.c [tests/trint.c] Updated the description (test_generic_round is now tested, which wasn't done at all before). ------------------------------------------------------------------------ r9472 | vlefevre | 2015-05-29 10:24:17 +0000 (Fri, 29 May 2015) | 6 lines Changed paths: M /trunk/tests/trint.c [tests/trint.c] Added generic tests for the mpfr_rint_* functions. Since all numbers in ]0,1/2[ round to the same value, in order to avoid redundant tests, increased the TEST_RANDOM_EMIN value to -20 and set TEST_RANDOM_ALWAYS_SCALE to 1. Note: only these new tests generate an error if the change of the exponent range is no longer done in these mpfr_rint_* functions. ------------------------------------------------------------------------ r9471 | vlefevre | 2015-05-29 10:19:18 +0000 (Fri, 29 May 2015) | 10 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c M /trunk/tests/tfprintf.c M /trunk/tests/tgeneric.c M /trunk/tests/tprintf.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsum.c [tests] Added always_scale argument (boolean) to tests_default_random() so that when it is true, scaling is always performed on random numbers generated by mpfr_urandomb(), instead of preferring numbers of the order of magnitude of 1 for half outputs. This will be useful for mpfr_rint_* tests. For tgeneric.c, the value of this argument is controlled by a new macro TEST_RANDOM_ALWAYS_SCALE (0 by default, which corresponds to the current behavior). For the other tests that call tests_default_random(), the argument is set to 0, so that the behavior remains the same. ------------------------------------------------------------------------ r9469 | vlefevre | 2015-05-29 08:54:33 +0000 (Fri, 29 May 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a remark concerning the mpfr_rint_* functions. ------------------------------------------------------------------------ r9466 | vlefevre | 2015-05-28 11:11:31 +0000 (Thu, 28 May 2015) | 8 lines Changed paths: M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h [src] Fixed allocation issue for multithreaded applications: https://sympa.inria.fr/sympa/arc/mpfr/2015-05/msg00001.html * mpfr-gmp.{c,h}: made mpfr_allocate_func, mpfr_reallocate_func and mpfr_free_func thread-local; updated MPFR_GET_MEMFUNC to execute mp_get_memory_functions only when these pointers have not been set to the actual function pointers yet. * mpfr-impl.h: #include "mpfr-thread.h" earlier (before mpfr-gmp.h, where MPFR_THREAD_ATTR is now used). ------------------------------------------------------------------------ r9461 | vlefevre | 2015-05-25 17:59:11 +0000 (Mon, 25 May 2015) | 4 lines Changed paths: M /trunk/src/mpfr-gmp.c [src/mpfr-gmp.c] Replaced mpfr_allocate_func and mpfr_free_func by __gmp_allocate_func and __gmp_free_func in mpfr_tmp_allocate and mpfr_tmp_free respectively, fixing the crash in talloc. See: https://sympa.inria.fr/sympa/arc/mpfr/2015-05/msg00001.html ------------------------------------------------------------------------ r9460 | vlefevre | 2015-05-25 17:07:27 +0000 (Mon, 25 May 2015) | 2 lines Changed paths: M /trunk/tests/talloc.c [tests/talloc.c] Avoid a failure with --with-gmp-build due to the fact that the MPFR_ALLOCA_MAX macro is not defined in this case. ------------------------------------------------------------------------ r9459 | vlefevre | 2015-05-23 23:56:17 +0000 (Sat, 23 May 2015) | 4 lines Changed paths: M /trunk/doc/README.dev A /trunk/libtool-tcc-rpath.patch Added libtool-tcc-rpath.patch from https://lists.gnu.org/archive/html/libtool-patches/2015-05/msg00000.html so that tcc can be used with libtool 2.4.3 to 2.4.6. In doc/README.dev, documented how to use this patch (before a release). ------------------------------------------------------------------------ r9457 | vlefevre | 2015-05-23 23:37:14 +0000 (Sat, 23 May 2015) | 1 line Changed paths: M /trunk/src/erandom.c M /trunk/src/fpif.c M /trunk/src/frexp.c M /trunk/src/get_float128.c Added svn:keywords on some .c files for consistency. ------------------------------------------------------------------------ r9456 | vlefevre | 2015-05-23 23:35:29 +0000 (Sat, 23 May 2015) | 1 line Changed paths: M /trunk/tests/terandom_chisq.c M /trunk/tests/tnrandom_chisq.c M /trunk/tests/tvalist.c Removed the few svn:mime-type properties on .c files for consistency. ------------------------------------------------------------------------ r9455 | vlefevre | 2015-05-23 23:32:46 +0000 (Sat, 23 May 2015) | 7 lines Changed paths: M /trunk/tests M /trunk/tests/Makefile.am A /trunk/tests/talloc.c [tests] Added talloc.c and updated check_PROGRAMS in Makefile.am. This test detects an allocation bug added in r8813, which occurs if mpfr_tmp_allocate() is invoked before __gmp_allocate_func when the GMP build is not used (thus this bug is not visible in most code since mpfr_init2 is generally called first, directly or not, and it uses __gmp_allocate_func). Details: https://sympa.inria.fr/sympa/arc/mpfr/2015-05/msg00001.html ------------------------------------------------------------------------ r9453 | vlefevre | 2015-05-23 23:06:07 +0000 (Sat, 23 May 2015) | 3 lines Changed paths: M /trunk/tests/tstdint.c M /trunk/tests/tvalist.c [tests/{tstdint.c,tvalist.c}] Added missing #include "mpfr-test.h" (detected with gcc -Werror=implicit-function-declaration), needed since r9447. ------------------------------------------------------------------------ r9451 | vlefevre | 2015-05-22 18:15:24 +0000 (Fri, 22 May 2015) | 1 line Changed paths: M /trunk/src/mpfr-gmp.c [src/mpfr-gmp.c] Code formatting. ------------------------------------------------------------------------ r9450 | vlefevre | 2015-05-22 17:56:53 +0000 (Fri, 22 May 2015) | 1 line Changed paths: M /trunk/tests/tstckintc.c [tests/tstckintc.c] Fixed undefined behavior (invalid pointer). ------------------------------------------------------------------------ r9449 | vlefevre | 2015-05-22 17:50:09 +0000 (Fri, 22 May 2015) | 2 lines Changed paths: M /trunk/doc/README.dev M /trunk/src/mpfr-gmp.h Define MPFR_ALLOCA_MAX macro: Maximum size for the use of alloca by temporary allocations (default: 16384). ------------------------------------------------------------------------ r9447 | vlefevre | 2015-05-22 09:21:21 +0000 (Fri, 22 May 2015) | 2 lines Changed paths: M /trunk/tests/tstdint.c M /trunk/tests/tvalist.c [tests/{tstdint.c,tvalist.c}] Use tests_start_mpfr / tests_end_mpfr, in particular to detect a wrong MPFR version (due to a libtool bug). ------------------------------------------------------------------------ r9445 | vlefevre | 2015-05-21 15:08:10 +0000 (Thu, 21 May 2015) | 2 lines Changed paths: M /trunk/autogen.sh [autogen.sh] Exit with the exit status of autoreconf. Thus a failure will be noticed more easily. ------------------------------------------------------------------------ r9443 | vlefevre | 2015-05-21 14:12:33 +0000 (Thu, 21 May 2015) | 1 line Changed paths: M /trunk/NEWS [NEWS] Update. ------------------------------------------------------------------------ r9440 | vlefevre | 2015-05-21 11:49:48 +0000 (Thu, 21 May 2015) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Added a comment about memmove and memset being considered to be missing when gcc -Werror is used, because of a "conflicting types for built-in function" error. ------------------------------------------------------------------------ r9438 | vlefevre | 2015-05-21 11:10:09 +0000 (Thu, 21 May 2015) | 5 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Various corrections in the tests: * MPFR_CHECK_MP_LIMB_T_VS_LONG was always failing due to a typo. * MPFR_FUNC_GMP_PRINTF_SPEC: missing #include for strcmp. * Replaced rint by nearbyint in messages (as nearbyint is tested). * Avoid warnings to avoid failures when -Werror is used. ------------------------------------------------------------------------ r9416 | vlefevre | 2015-05-20 15:42:02 +0000 (Wed, 20 May 2015) | 2 lines Changed paths: M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tget_d.c [tests/{tcmp_d.c,tcmp_ld.c,tget_d.c}] Avoid warnings concerning unused variables when MPFR_ERRDIVZERO is defined (useful with -Werror). ------------------------------------------------------------------------ r9415 | vlefevre | 2015-05-20 15:30:46 +0000 (Wed, 20 May 2015) | 2 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Avoid a warning concerning an unused variable when HAVE_DENORMS is not defined (useful with -Werror). ------------------------------------------------------------------------ r9402 | vlefevre | 2015-05-19 15:37:15 +0000 (Tue, 19 May 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved mpfr_swap description again. ------------------------------------------------------------------------ r9401 | vlefevre | 2015-05-19 15:19:52 +0000 (Tue, 19 May 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Correction and improvements in the formatting. ------------------------------------------------------------------------ r9400 | vlefevre | 2015-05-19 14:31:45 +0000 (Tue, 19 May 2015) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a warning for mpfr_set_prec and mpfr_prec_round about allocation issue, as these functions change the precision of x. ------------------------------------------------------------------------ r9399 | vlefevre | 2015-05-19 13:59:35 +0000 (Tue, 19 May 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Typo in the latest change. ------------------------------------------------------------------------ r9398 | vlefevre | 2015-05-19 13:53:33 +0000 (Tue, 19 May 2015) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Rewrote the mpfr_swap description. This should solve the documentation issue reported on: https://gforge.inria.fr/tracker/index.php?func=detail&aid=18954&group_id=136&atid=619 ------------------------------------------------------------------------ r9396 | vlefevre | 2015-05-18 13:02:23 +0000 (Mon, 18 May 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Update (preliminary steps). ------------------------------------------------------------------------ r9393 | vlefevre | 2015-05-13 13:39:37 +0000 (Wed, 13 May 2015) | 1 line Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] Started the rewrite of the doc. ------------------------------------------------------------------------ r9392 | vlefevre | 2015-05-06 10:21:19 +0000 (Wed, 06 May 2015) | 1 line Changed paths: M /trunk/NEWS [NEWS] Update concerning mpfr_sum. ------------------------------------------------------------------------ r9391 | vlefevre | 2015-05-06 10:20:37 +0000 (Wed, 06 May 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Update concerning mpfr_sum. ------------------------------------------------------------------------ r9390 | vlefevre | 2015-05-06 09:08:08 +0000 (Wed, 06 May 2015) | 3 lines Changed paths: M /trunk/doc/sum.txt [doc/sum.txt] The specification of the sign of a zero result only applies to an exact zero, of course (for an inexact zero result, the usual rule of the rounding mode is applied). ------------------------------------------------------------------------ r9388 | vlefevre | 2015-05-06 07:18:49 +0000 (Wed, 06 May 2015) | 2 lines Changed paths: M /trunk/tests/terandom_chisq.c M /trunk/tests/tnrandom_chisq.c [tests/t[ne]random_chisq.c] Fixed memory leak (detected by GCC's AddressSanitizer). ------------------------------------------------------------------------ r9387 | vlefevre | 2015-05-06 07:10:07 +0000 (Wed, 06 May 2015) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": Test with GCC's AddressSanitizer (-fsanitize=address). ------------------------------------------------------------------------ r9386 | vlefevre | 2015-05-06 07:09:05 +0000 (Wed, 06 May 2015) | 3 lines Changed paths: M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c [tests/tabort_defalloc*.c] Disable the tests if __SANITIZE_ADDRESS__ is defined, i.e. when GCC's AddressSanitizer is used, because it reports the error before GMP can do the abort. ------------------------------------------------------------------------ r9385 | vlefevre | 2015-05-05 14:13:11 +0000 (Tue, 05 May 2015) | 7 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Make tests_default_random() more intuitive, avoiding automatic changes of the current exponent range in some cases: instead of adding some random exponent in [emin,emax] to the exponent of the random number x in ]0,1[, force this random exponent to be the one of x, so that its exponent is guaranteed to be in [emin,emax]. This avoids a failure in tsum due to the fact that the exponent range was changed automatically (and not restored). ------------------------------------------------------------------------ r9384 | vlefevre | 2015-05-05 13:35:16 +0000 (Tue, 05 May 2015) | 4 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] In cancel(), increase the number of tests from 8 to 1000. This is much more, but the test is fast compare to other ones so that the running time increases by a few percents only. And this triggers a new bug: the exponent range is not restored (on a 64-bit machine). ------------------------------------------------------------------------ r9383 | vlefevre | 2015-05-05 13:19:14 +0000 (Tue, 05 May 2015) | 7 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Changes in cancel(): * The fail-test was x[n] > bound instead of |x[n]| > bound, so that some failures could be missed. * More output in case of failure. * Handle underflow in the bound computation. This fixes an incorrect failure due to a bound rounded toward zero instead of toward +inf with GMP_CHECK_RANDOMIZE=1431478020 (found by the nightly tests). ------------------------------------------------------------------------ r9382 | vlefevre | 2015-05-05 08:15:35 +0000 (Tue, 05 May 2015) | 3 lines Changed paths: M /trunk/tools/nightly-test [tools/nightly-test] Run "make check" with VERBOSE=1 in order to have tests/test-suite.log output in case of failure, now that Automake 1.13+ is used. ------------------------------------------------------------------------ r9381 | vlefevre | 2015-04-28 09:32:11 +0000 (Tue, 28 Apr 2015) | 1 line Changed paths: M /trunk/doc/sum.txt M /trunk/src/sum.c Added a TODO about mpfr_sum. ------------------------------------------------------------------------ r9380 | vlefevre | 2015-04-24 09:49:21 +0000 (Fri, 24 Apr 2015) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Updated a comment about Automake 1.13. ------------------------------------------------------------------------ r9379 | vlefevre | 2015-04-24 09:27:03 +0000 (Fri, 24 Apr 2015) | 1 line Changed paths: M /trunk/Makefile.am [Makefile.am] Updated comment about ACLOCAL_AMFLAGS. ------------------------------------------------------------------------ r9378 | vlefevre | 2015-04-24 08:57:14 +0000 (Fri, 24 Apr 2015) | 2 lines Changed paths: M /trunk/TODO [TODO] Suggest to move some macro definitions from acinclude.m4 to the m4 directory as suggested by the Automake manual. ------------------------------------------------------------------------ r9376 | vlefevre | 2015-04-23 13:31:31 +0000 (Thu, 23 Apr 2015) | 3 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Grouped everything about the test suite near the end of this file. Added information about how the test suite works since the full Automake 1.13 support (r8821). ------------------------------------------------------------------------ r9375 | vlefevre | 2015-04-23 11:39:17 +0000 (Thu, 23 Apr 2015) | 5 lines Changed paths: M /trunk/INSTALL M /trunk/configure.ac M /trunk/doc/mpfr.texi To take into account that Automake 1.13 or later will be used: * doc/mpfr.texi, INSTALL: updates related to "make check". * configure.ac: require Automake 1.13 since the documentation now assumes that 1.13 or later is used (and because previous Automake versions are no longer tested). ------------------------------------------------------------------------ r9373 | vlefevre | 2015-04-10 11:07:47 +0000 (Fri, 10 Apr 2015) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mention the complete rewrite of function mpfr_sum. ------------------------------------------------------------------------ r9372 | vlefevre | 2015-04-10 09:17:51 +0000 (Fri, 10 Apr 2015) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Added a comment about the latest fixed bug. ------------------------------------------------------------------------ r9370 | vlefevre | 2015-04-10 00:51:00 +0000 (Fri, 10 Apr 2015) | 9 lines Changed paths: M /trunk M /trunk/doc/README.dev A /trunk/doc/sum.txt (from /branches/new-sum/doc/sum.txt:9369) M /trunk/src/mpfr-impl.h M /trunk/src/sum.c M /trunk/tests/tsum.c Merged the new-sum branch: * New feature for developers in order to improve the testsuite: value coverage checking (MPFR_COV_CHECK macro), allowing one to check whether some combinations of values are tested. See example of use in src/sum.c and tests/tsum.c files. * src/sum.c: full rewrite of mpfr_sum. Note: the documentation of the algorithm in doc/sum.txt is currently a bit obsolete. * tests/tsum.c: many new tests, some of them specifically written for the new algorithm and implementation. ------------------------------------------------------------------------ r9346 | vlefevre | 2015-03-20 14:06:52 +0000 (Fri, 20 Mar 2015) | 1 line Changed paths: M /trunk/tools/ck-copyright-notice [tools/ck-copyright-notice] Bug fix and improvements. ------------------------------------------------------------------------ r9345 | vlefevre | 2015-03-20 13:57:13 +0000 (Fri, 20 Mar 2015) | 1 line Changed paths: M /trunk/tools/ck-copyright-notice [tools/ck-copyright-notice] More checks. ------------------------------------------------------------------------ r9333 | vlefevre | 2015-03-06 13:57:53 +0000 (Fri, 06 Mar 2015) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added information on how to do type punning (something we already did, but with no justification yet). ------------------------------------------------------------------------ r9328 | vlefevre | 2015-02-27 10:16:42 +0000 (Fri, 27 Feb 2015) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] Avoid an unnecessary mpn_lshift after an mpn_sub_1 when the initial value was a power of two. ------------------------------------------------------------------------ r9327 | vlefevre | 2015-02-27 10:01:18 +0000 (Fri, 27 Feb 2015) | 1 line Changed paths: M /trunk/src/next.c [src/next.c] Avoid an unnecessary loop when the exponent decreases. ------------------------------------------------------------------------ r9306 | vlefevre | 2015-02-24 15:49:10 +0000 (Tue, 24 Feb 2015) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added SAFE_DIFF macro (safe difference). ------------------------------------------------------------------------ r9295 | vlefevre | 2015-02-21 15:26:49 +0000 (Sat, 21 Feb 2015) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed and improved some sign-related macros (some parentheses were missing). ------------------------------------------------------------------------ r9287 | vlefevre | 2015-02-18 14:19:03 +0000 (Wed, 18 Feb 2015) | 2 lines Changed paths: M /trunk/doc/README.dev M /trunk/src/logging.c M /trunk/src/mpfr-impl.h Logging: the log stream is flushed after each log output when the MPFR_LOG_FLUSH environment variable is set. ------------------------------------------------------------------------ r9286 | vlefevre | 2015-02-18 13:54:57 +0000 (Wed, 18 Feb 2015) | 1 line Changed paths: M /trunk/src/mpfr-impl.h Factorized the logging macros by moving tests inside LOG_PRINT. ------------------------------------------------------------------------ r9279 | vlefevre | 2015-02-13 08:50:28 +0000 (Fri, 13 Feb 2015) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9278 | vlefevre | 2015-02-13 08:31:08 +0000 (Fri, 13 Feb 2015) | 5 lines Changed paths: M /trunk/BUGS M /trunk/INSTALL M /trunk/Makefile.am M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/FAQ.html M /trunk/doc/Makefile.am M /trunk/doc/README.dev M /trunk/doc/faq.xsl M /trunk/doc/mpfr.texi M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c M /trunk/src/Makefile.am M /trunk/src/abort_prec_max.c M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/asin.c M /trunk/src/asinh.c M /trunk/src/atan.c M /trunk/src/atan2.c M /trunk/src/atanh.c M /trunk/src/bernoulli.c M /trunk/src/buildopt.c M /trunk/src/cache.c M /trunk/src/cbrt.c M /trunk/src/check.c M /trunk/src/clear.c M /trunk/src/clears.c M /trunk/src/cmp.c M /trunk/src/cmp2.c M /trunk/src/cmp_abs.c M /trunk/src/cmp_d.c M /trunk/src/cmp_ld.c M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c M /trunk/src/comparisons.c M /trunk/src/const_catalan.c M /trunk/src/const_euler.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/constant.c M /trunk/src/copysign.c M /trunk/src/cos.c M /trunk/src/cosh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/digamma.c M /trunk/src/dim.c M /trunk/src/div.c M /trunk/src/div_2exp.c M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/div_d.c M /trunk/src/div_ui.c M /trunk/src/dump.c M /trunk/src/eint.c M /trunk/src/eq.c M /trunk/src/erandom.c M /trunk/src/erf.c M /trunk/src/erfc.c M /trunk/src/exceptions.c M /trunk/src/exp.c M /trunk/src/exp10.c M /trunk/src/exp2.c M /trunk/src/exp3.c M /trunk/src/exp_2.c M /trunk/src/expm1.c M /trunk/src/extract.c M /trunk/src/factorial.c M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_sint.c M /trunk/src/fits_slong.c M /trunk/src/fits_sshort.c M /trunk/src/fits_u.h M /trunk/src/fits_uint.c M /trunk/src/fits_uintmax.c M /trunk/src/fits_ulong.c M /trunk/src/fits_ushort.c M /trunk/src/fma.c M /trunk/src/fms.c M /trunk/src/fpif.c M /trunk/src/frac.c M /trunk/src/free_cache.c M /trunk/src/frexp.c M /trunk/src/gamma.c M /trunk/src/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/generic/coverage/mparam.h M /trunk/src/generic/mparam.h M /trunk/src/get_d.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_float128.c M /trunk/src/get_flt.c M /trunk/src/get_ld.c M /trunk/src/get_si.c M /trunk/src/get_sj.c M /trunk/src/get_str.c M /trunk/src/get_ui.c M /trunk/src/get_uj.c M /trunk/src/get_z.c M /trunk/src/get_z_exp.c M /trunk/src/gmp_op.c M /trunk/src/grandom.c M /trunk/src/hppa/mparam.h M /trunk/src/hypot.c M /trunk/src/ia64/mparam.h M /trunk/src/ieee_floats.h M /trunk/src/init.c M /trunk/src/init2.c M /trunk/src/inits.c M /trunk/src/inits2.c M /trunk/src/inp_str.c M /trunk/src/int_ceil_log2.c M /trunk/src/isinf.c M /trunk/src/isinteger.c M /trunk/src/isnan.c M /trunk/src/isnum.c M /trunk/src/isqrt.c M /trunk/src/isregular.c M /trunk/src/iszero.c M /trunk/src/jn.c M /trunk/src/jyn_asympt.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c M /trunk/src/mips/mparam.h M /trunk/src/modf.c M /trunk/src/mp_clz_tab.c M /trunk/src/mparam_h.in M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr-cvers.h M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-intmax.h M /trunk/src/mpfr-longlong.h M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/src/mpfr-sassert.h M /trunk/src/mpfr-thread.h M /trunk/src/mpfr.h M /trunk/src/mpn_exp.c M /trunk/src/mul.c M /trunk/src/mul_2exp.c M /trunk/src/mul_2si.c M /trunk/src/mul_2ui.c M /trunk/src/mul_d.c M /trunk/src/mul_ui.c M /trunk/src/mulders.c M /trunk/src/neg.c M /trunk/src/next.c M /trunk/src/nrandom.c M /trunk/src/out_str.c M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_ui.c M /trunk/src/pow_z.c M /trunk/src/powerof2.c M /trunk/src/powerpc32/mparam.h M /trunk/src/powerpc64/mparam.h M /trunk/src/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/random_deviate.c M /trunk/src/random_deviate.h M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.c M /trunk/src/rndna.c M /trunk/src/root.c M /trunk/src/round_near_x.c M /trunk/src/round_p.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/scale2.c M /trunk/src/sec.c M /trunk/src/sech.c M /trunk/src/set.c M /trunk/src/set_d.c M /trunk/src/set_d64.c M /trunk/src/set_dfl_prec.c M /trunk/src/set_exp.c M /trunk/src/set_f.c M /trunk/src/set_float128.c M /trunk/src/set_flt.c M /trunk/src/set_inf.c M /trunk/src/set_ld.c M /trunk/src/set_nan.c M /trunk/src/set_prc_raw.c M /trunk/src/set_prec.c M /trunk/src/set_q.c M /trunk/src/set_rnd.c M /trunk/src/set_si.c M /trunk/src/set_si_2exp.c M /trunk/src/set_sj.c M /trunk/src/set_str.c M /trunk/src/set_str_raw.c M /trunk/src/set_ui.c M /trunk/src/set_ui_2exp.c M /trunk/src/set_uj.c M /trunk/src/set_z.c M /trunk/src/set_z_exp.c M /trunk/src/set_zero.c M /trunk/src/setmax.c M /trunk/src/setmin.c M /trunk/src/setsign.c M /trunk/src/sgn.c M /trunk/src/si_op.c M /trunk/src/signbit.c M /trunk/src/sin.c M /trunk/src/sin_cos.c M /trunk/src/sinh.c M /trunk/src/sinh_cosh.c M /trunk/src/sparc64/mparam.h M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sqrt_ui.c M /trunk/src/stack_interface.c M /trunk/src/strtofr.c M /trunk/src/sub.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sub_d.c M /trunk/src/sub_ui.c M /trunk/src/subnormal.c M /trunk/src/sum.c M /trunk/src/swap.c M /trunk/src/tan.c M /trunk/src/tanh.c M /trunk/src/uceil_exp2.c M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c M /trunk/src/ui_div.c M /trunk/src/ui_pow.c M /trunk/src/ui_pow_ui.c M /trunk/src/ui_sub.c M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/src/vasprintf.c M /trunk/src/version.c M /trunk/src/volatile.c M /trunk/src/x86/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/corei5/mparam.h M /trunk/src/x86_64/pentium4/mparam.h M /trunk/src/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tests/Makefile.am M /trunk/tests/cmp_str.c M /trunk/tests/data/digamma M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/random2.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c M /trunk/tests/tabort_prec_max.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tai.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tassert.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terandom.c M /trunk/tests/terandom_chisq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfpif.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tfrexp.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/tgrandom.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tnrandom.c M /trunk/tests/tnrandom_chisq.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trandom_deviate.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/trndna.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_float128.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstdint.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tvalist.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tools/bench/Makefile.am M /trunk/tools/bench/benchtime.h M /trunk/tools/bench/mpfrbench.c M /trunk/tools/ck-copyright-notice M /trunk/tools/ck-mparam M /trunk/tools/ck-version-info M /trunk/tools/get_patches.sh M /trunk/tune/Makefile.am M /trunk/tune/bidimensional_sample.c M /trunk/tune/speed.c M /trunk/tune/tuneup.c Copyright notice update: added 2015 with perl -pi -e 's/ (\d{4}-)?(2014)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh, reverting the tools/mbench directory (not distributed with MPFR). Removed 2014 from the example in the doc/README.dev file. ------------------------------------------------------------------------ r9270 | vlefevre | 2015-01-23 12:55:31 +0000 (Fri, 23 Jan 2015) | 1 line Changed paths: M /trunk/doc Added algorithms.fls (generated by latexmk) to svn:ignore property. ------------------------------------------------------------------------ r9269 | vlefevre | 2015-01-21 14:33:22 +0000 (Wed, 21 Jan 2015) | 2 lines Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Updated a mpfr_set_zero line for consistency and better readability. ------------------------------------------------------------------------ r9268 | vlefevre | 2015-01-21 14:28:52 +0000 (Wed, 21 Jan 2015) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Added mpfr_set_(inf|zero) tests on the sign. ------------------------------------------------------------------------ r9267 | vlefevre | 2015-01-21 14:24:24 +0000 (Wed, 21 Jan 2015) | 1 line Changed paths: M /trunk/tests/tset.c [tests/tset.c] More mpfr_set_inf tests. ------------------------------------------------------------------------ r9266 | vlefevre | 2015-01-21 14:22:35 +0000 (Wed, 21 Jan 2015) | 1 line Changed paths: M /trunk/tests/tset.c [tests/tset.c] More mpfr_set_zero tests. ------------------------------------------------------------------------ r9265 | vlefevre | 2015-01-21 13:47:03 +0000 (Wed, 21 Jan 2015) | 1 line Changed paths: M /trunk/tools/mbench/timp.h [tools/mbench/timp.h] Spelling mistake in a comment. ------------------------------------------------------------------------ r9255 | vlefevre | 2014-12-17 08:40:45 +0000 (Wed, 17 Dec 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9254 | vlefevre | 2014-12-16 14:30:01 +0000 (Tue, 16 Dec 2014) | 3 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi [NEWS] Added an item about improved caching. [NEWS,doc/mpfr.texi] In particular, mention the minimum of 10% increase of the precision (done in r8967). ------------------------------------------------------------------------ r9253 | vlefevre | 2014-12-16 14:08:19 +0000 (Tue, 16 Dec 2014) | 5 lines Changed paths: M /trunk/NEWS M /trunk/src/Makefile.am [NEWS] Note that the behavior of the mpfr_set_exp function changed. [src/Makefile.am] As this changed the ABI (the old, unwise behavior was documented), reset -version-info age. This is not that bad since there are other changes in the behavior, though regarded as bugs or previously undocumented behavior. ------------------------------------------------------------------------ r9245 | vlefevre | 2014-12-04 01:36:25 +0000 (Thu, 04 Dec 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Mention the tools/build-patch script. ------------------------------------------------------------------------ r9242 | zimmerma | 2014-12-03 18:02:02 +0000 (Wed, 03 Dec 2014) | 2 lines Changed paths: M /trunk/TODO pointed to Feature Request ------------------------------------------------------------------------ r9239 | zimmerma | 2014-11-24 06:54:55 +0000 (Mon, 24 Nov 2014) | 3 lines Changed paths: M /trunk/configure.ac fixed issue reported by Dan Grayson: https://gforge.inria.fr/tracker/?func=detail&atid=619&aid=18314&group_id=136 ------------------------------------------------------------------------ r9238 | vlefevre | 2014-11-13 00:31:08 +0000 (Thu, 13 Nov 2014) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Minor change concerning mp_limb_t. ------------------------------------------------------------------------ r9237 | vlefevre | 2014-11-12 08:40:25 +0000 (Wed, 12 Nov 2014) | 1 line Changed paths: M /trunk/acinclude.m4 M /trunk/src/exp_2.c Style improvements. ------------------------------------------------------------------------ r9236 | vlefevre | 2014-11-12 08:35:49 +0000 (Wed, 12 Nov 2014) | 1 line Changed paths: M /trunk/src/exp_2.c [src/exp_2.c] Improved t = 0 test. ------------------------------------------------------------------------ r9235 | vlefevre | 2014-11-12 08:31:09 +0000 (Wed, 12 Nov 2014) | 2 lines Changed paths: M /trunk/src/exp_2.c [src/exp_2.c] Fixed a bug added in r9233 (a case t = 0 was no longer taken into account). ------------------------------------------------------------------------ r9234 | vlefevre | 2014-11-12 08:26:50 +0000 (Wed, 12 Nov 2014) | 1 line Changed paths: M /trunk/src/exp_2.c [src/exp_2.c] GNU coding style. ------------------------------------------------------------------------ r9233 | zimmerma | 2014-11-11 20:22:55 +0000 (Tue, 11 Nov 2014) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/src/exp_2.c improve mpfr_exp2 (patch from Patrick Pelissier) ------------------------------------------------------------------------ r9232 | zimmerma | 2014-11-09 20:09:04 +0000 (Sun, 09 Nov 2014) | 2 lines Changed paths: M /trunk/src/atan.c M /trunk/src/mpfr-impl.h improve mpfr_atan for small precision (patch from Patrick Pelissier) ------------------------------------------------------------------------ r9231 | zimmerma | 2014-11-09 20:03:23 +0000 (Sun, 09 Nov 2014) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/Makefile.am added check for libquadmath (not used) ------------------------------------------------------------------------ r9230 | vlefevre | 2014-11-03 05:54:33 +0000 (Mon, 03 Nov 2014) | 2 lines Changed paths: M /trunk/src/cache.c [src/cache.c] Improved mpfr_clear_cache in case mpfr_free_cache is called often (like with GC-based systems). Patch by Patrick Pélissier. ------------------------------------------------------------------------ r9229 | vlefevre | 2014-11-03 05:48:02 +0000 (Mon, 03 Nov 2014) | 3 lines Changed paths: M /trunk/src/add_d.c M /trunk/src/cmp_d.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/div_d.c M /trunk/src/get_str.c M /trunk/src/mul_d.c M /trunk/src/sub_d.c M /trunk/src/ui_pow.c [src] Applied patch by Patrick Pélissier to allocate some constant-size MPFR numbers on the stack instead of using mpfr_init2, and replace some MPFR_ASSERTN by MPFR_ASSERTD. ------------------------------------------------------------------------ r9228 | vlefevre | 2014-10-31 10:08:50 +0000 (Fri, 31 Oct 2014) | 1 line Changed paths: M /trunk/src/get_str.c [src/get_str.c] Improved comments. ------------------------------------------------------------------------ r9227 | vlefevre | 2014-10-30 15:11:34 +0000 (Thu, 30 Oct 2014) | 2 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] Free the temporary memory allocated in the Ziv loop ASAP and at a single place (the code should be clearer like that). ------------------------------------------------------------------------ r9226 | vlefevre | 2014-10-30 14:41:34 +0000 (Thu, 30 Oct 2014) | 1 line Changed paths: M /trunk/src/get_str.c [src/get_str.c] Code refactoring. ------------------------------------------------------------------------ r9225 | vlefevre | 2014-10-30 14:28:43 +0000 (Thu, 30 Oct 2014) | 1 line Changed paths: M /trunk/tests/tget_str.c [tests/tget_str.c] Code formatting. ------------------------------------------------------------------------ r9224 | vlefevre | 2014-10-30 14:26:03 +0000 (Thu, 30 Oct 2014) | 3 lines Changed paths: M /trunk/tests/tget_str.c [tests/tget_str.c] Fixed a test that made mpfr_get_str crash with logging (even when the base is invalid, the MPFR number must be initialized). ------------------------------------------------------------------------ r9223 | vlefevre | 2014-10-30 13:50:34 +0000 (Thu, 30 Oct 2014) | 4 lines Changed paths: M /trunk/src/check.c M /trunk/src/get_str.c [src/check.c] Added a note saying that mpfr_check() must not be called on statically allocated numbers (only used inside MPFR). [src/get_str.c] Removed the "MPFR_ASSERTD (mpfr_check (p));" (added in previous commit) because of that. ------------------------------------------------------------------------ r9222 | vlefevre | 2014-10-30 13:30:15 +0000 (Thu, 30 Oct 2014) | 6 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] Added some logging (MPFR_LOG_*), which triggers a crash in tget_str with MPFR_LOG_ALL=1. An analysis with gdb shows that this is due to an invalid MPFR number in mpfr_ceil_mul(). Added a MPFR_ASSERTD (mpfr_check (p)); there, which fails in tget_str (this was the cause of the crash), even without logging. ------------------------------------------------------------------------ r9221 | vlefevre | 2014-10-29 08:46:26 +0000 (Wed, 29 Oct 2014) | 5 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/get_str.c M /trunk/tests/tget_str.c mpfr_get_str now sets the NaN flag on NaN input. See: https://sympa.inria.fr/sympa/arc/mpfr/2014-10/msg00013.html and https://gforge.inria.fr/tracker/index.php?func=detail&aid=18228&group_id=136&atid=619 Also completed the mpfr_get_str description in mpfr.texi concerning the special numbers and the exception flags. ------------------------------------------------------------------------ r9220 | vlefevre | 2014-10-28 12:21:52 +0000 (Tue, 28 Oct 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9219 | vlefevre | 2014-10-28 10:06:22 +0000 (Tue, 28 Oct 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Removed a spurious "an". ------------------------------------------------------------------------ r9218 | vlefevre | 2014-10-28 09:37:36 +0000 (Tue, 28 Oct 2014) | 1 line Changed paths: M /trunk/src/get_str.c [src/get_str.c] Improved style consistency. ------------------------------------------------------------------------ r9217 | vlefevre | 2014-10-28 09:31:54 +0000 (Tue, 28 Oct 2014) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] In the mpfr_get_str description, note that the type mpfr_exp_t is large enough to hold the exponent in all cases. ------------------------------------------------------------------------ r9216 | vlefevre | 2014-10-28 09:27:30 +0000 (Tue, 28 Oct 2014) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved mpfr_get_str description concerning the returned pointer (it was ambiguous in the case of an invalid base). ------------------------------------------------------------------------ r9212 | vlefevre | 2014-10-09 13:28:45 +0000 (Thu, 09 Oct 2014) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Updated the error message last changed. ------------------------------------------------------------------------ r9211 | vlefevre | 2014-10-09 13:24:56 +0000 (Thu, 09 Oct 2014) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Updated the error message last changed + comment. ------------------------------------------------------------------------ r9210 | vlefevre | 2014-10-08 11:59:40 +0000 (Wed, 08 Oct 2014) | 2 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Added a reference to the bug I've just reported against GNU Automake (completing the other references). ------------------------------------------------------------------------ r9209 | vlefevre | 2014-10-08 10:59:40 +0000 (Wed, 08 Oct 2014) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Updated the error message last changed. ------------------------------------------------------------------------ r9208 | vlefevre | 2014-10-07 13:33:33 +0000 (Tue, 07 Oct 2014) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Changed an error message. ------------------------------------------------------------------------ r9204 | vlefevre | 2014-09-09 00:17:47 +0000 (Tue, 09 Sep 2014) | 1 line Changed paths: M /trunk/tests/tget_set_d64.c M /trunk/tests/tset_float128.c [tests] Corrections for builds with "config.h". ------------------------------------------------------------------------ r9193 | vlefevre | 2014-08-22 15:23:52 +0000 (Fri, 22 Aug 2014) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Avoid false positives in the check of MPFR_LOG_MSG. ------------------------------------------------------------------------ r9187 | vlefevre | 2014-08-21 11:33:33 +0000 (Thu, 21 Aug 2014) | 1 line Changed paths: M /trunk/src/add.c M /trunk/src/exceptions.c M /trunk/src/fma.c M /trunk/src/hypot.c M /trunk/src/mul.c [src] Cleaner use of MPFR_SET_SIGN. ------------------------------------------------------------------------ r9178 | vlefevre | 2014-08-17 16:47:29 +0000 (Sun, 17 Aug 2014) | 1 line Changed paths: M /trunk/TODO [TODO] Added item on tests (mpfr.h macros vs mpfr-impl.h). ------------------------------------------------------------------------ r9177 | vlefevre | 2014-08-17 10:46:16 +0000 (Sun, 17 Aug 2014) | 3 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Fixed the mpfr_signbit() macro, which depended on mpfr-impl.h (the problem wasn't detected in the tests since mpfr-impl.h is included in them). Thanks to Rob for the bug report. ------------------------------------------------------------------------ r9164 | vlefevre | 2014-08-05 10:33:51 +0000 (Tue, 05 Aug 2014) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Improved check of MPFR_LOG_MSG. ------------------------------------------------------------------------ r9163 | vlefevre | 2014-08-05 10:19:02 +0000 (Tue, 05 Aug 2014) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Replaced {src,tests}/*.{c,h} by $srctests. ------------------------------------------------------------------------ r9162 | vlefevre | 2014-08-05 09:49:35 +0000 (Tue, 05 Aug 2014) | 1 line Changed paths: M /trunk/src/ai.c [src/ai.c] Corrected log messages. ------------------------------------------------------------------------ r9161 | vlefevre | 2014-08-05 09:34:26 +0000 (Tue, 05 Aug 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9160 | vlefevre | 2014-08-05 09:29:29 +0000 (Tue, 05 Aug 2014) | 6 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/vasprintf.c Update concerning the P type specifier for formatted output, since mpfr_prec_t was changed to a signed type in MPFR 3.0.0. * doc/mpfr.texi: d and i can be used (o, u, x, and X are still OK in practice since a mpfr_prec_t value is usually nonnegative); changed a "unsigned int" to "int". * src/vasprintf.c: updated a comment. ------------------------------------------------------------------------ r9158 | vlefevre | 2014-07-23 00:23:18 +0000 (Wed, 23 Jul 2014) | 1 line Changed paths: M /trunk/tests/mpf_compat.h [tests/mpf_compat.h] Fixed a bug (mpf_set_prec_raw usage with GMP/MPF). ------------------------------------------------------------------------ r9157 | vlefevre | 2014-07-23 00:12:35 +0000 (Wed, 23 Jul 2014) | 9 lines Changed paths: M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c [tests] * mpfr-test.h: no longer include right here since the included mpfr-impl.h does that and even better for C++. * mpf_compat.c, mpfr_compat.c: include mpfr-test.h as it does useful things (in particular, include config.h via mpfr-impl.h if there is one, and define __MPFR_TEST_H__ for mpfr-impl.h). * mpf_compat.h: no longer include some headers already included via mpfr-test.h (see above change); added tests_start_mpfr and tests_end_mpfr (showing memory inconsistency with mpf_compat). ------------------------------------------------------------------------ r9156 | vlefevre | 2014-07-20 22:05:51 +0000 (Sun, 20 Jul 2014) | 1 line Changed paths: M /trunk/src/get_str.c [src/get_str.c] Coding style: better code for a boolean. ------------------------------------------------------------------------ r9152 | vlefevre | 2014-07-10 13:31:18 +0000 (Thu, 10 Jul 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": check also without mpz_t caching. ------------------------------------------------------------------------ r9151 | vlefevre | 2014-07-10 13:13:31 +0000 (Thu, 10 Jul 2014) | 8 lines Changed paths: M /trunk/tools/ck-copyright-notice M /trunk/tools/mpfrlint [tools/ck-copyright-notice] Ignore src/mini-gmp.[ch] files. [tools/mpfrlint] * Ignore src/mini-gmp.[ch] files for some tests. * Check that __gmp[nz]_ functions are not used (with 2 exceptions), since this breaks the support of mini-gmp and may also break future/modified GMP versions. Note: only code added in r8911 (mpz_t caching) currently fails to follow this rule. ------------------------------------------------------------------------ r9150 | vlefevre | 2014-07-10 10:35:11 +0000 (Thu, 10 Jul 2014) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h Do not test include guards before a #include: the test must be done only in the included file itself. Note that some files such as mpfr.h may have multiple parts that could be enabled depending on the context, so that testing a guard before a #include may yield incorrect behavior. ------------------------------------------------------------------------ r9149 | vlefevre | 2014-07-09 01:17:18 +0000 (Wed, 09 Jul 2014) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated the list of macros used for building and checking MPFR. ------------------------------------------------------------------------ r9148 | vlefevre | 2014-07-09 01:11:57 +0000 (Wed, 09 Jul 2014) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Corrected a message. ------------------------------------------------------------------------ r9147 | vlefevre | 2014-07-08 10:22:09 +0000 (Tue, 08 Jul 2014) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/doc/README.dev M /trunk/tests/tests.c Renamed the MPFR_TEST_DIVBYZERO macro to MPFR_TESTS_DIVBYZERO for consistency with MPFR_TESTS_TIMEOUT. ------------------------------------------------------------------------ r9146 | vlefevre | 2014-07-07 16:18:16 +0000 (Mon, 07 Jul 2014) | 1 line Changed paths: M /trunk/tests/tadd_d.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv_d.c M /trunk/tests/tsub_d.c [tests] Minor improvements. ------------------------------------------------------------------------ r9145 | vlefevre | 2014-07-07 16:15:43 +0000 (Mon, 07 Jul 2014) | 1 line Changed paths: M /trunk/tests/reuse.c M /trunk/tests/taway.c [tests/reuse.c,tests/taway.c] Added mpfr_ai and mpfr_digamma. ------------------------------------------------------------------------ r9144 | vlefevre | 2014-07-07 16:13:47 +0000 (Mon, 07 Jul 2014) | 1 line Changed paths: M /trunk/tests/tmul_d.c [tests/tmul_d.c] Minor improvement. ------------------------------------------------------------------------ r9143 | vlefevre | 2014-07-07 16:11:56 +0000 (Mon, 07 Jul 2014) | 2 lines Changed paths: M /trunk/src/mul.c [src/mul.c] Fixed a test when MPFR_WANT_ASSERT >= 2 (NaN with non-NaN was not detected as an error). ------------------------------------------------------------------------ r9142 | vlefevre | 2014-07-07 15:59:53 +0000 (Mon, 07 Jul 2014) | 4 lines Changed paths: M /trunk/src/add1sp.c M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/round_p.c M /trunk/src/sub1sp.c [src] MPFR_WANT_ASSERT clean-up. Note: the mul.c test for MPFR_WANT_ASSERT >= 3 is now enabled for MPFR_WANT_ASSERT = 2 (since setting MPFR_WANT_ASSERT to 3 was not possible with configure options), and fixed. ------------------------------------------------------------------------ r9141 | vlefevre | 2014-07-07 12:43:59 +0000 (Mon, 07 Jul 2014) | 2 lines Changed paths: M /trunk/configure.ac M /trunk/src/exceptions.c M /trunk/src/mpfr-impl.h Added debug of branch prediction / --enable-debug-prediction configure option (patch from Patrick Pélissier, with some changes). ------------------------------------------------------------------------ r9139 | vlefevre | 2014-07-02 17:17:40 +0000 (Wed, 02 Jul 2014) | 1 line Changed paths: M /trunk/src/round_raw_generic.c [src/round_raw_generic.c] Updated comment about MPFR_RNDNA. ------------------------------------------------------------------------ r9138 | vlefevre | 2014-07-02 13:10:19 +0000 (Wed, 02 Jul 2014) | 1 line Changed paths: M /trunk/doc/mini-gmp [doc/mini-gmp] Added a note about MPFR_USE_MINI_GMP. ------------------------------------------------------------------------ r9137 | vlefevre | 2014-07-02 12:57:22 +0000 (Wed, 02 Jul 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added an item on the use of GMP functions. ------------------------------------------------------------------------ r9136 | vlefevre | 2014-07-02 12:29:40 +0000 (Wed, 02 Jul 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": test with mini-gmp. ------------------------------------------------------------------------ r9135 | vlefevre | 2014-07-02 12:24:54 +0000 (Wed, 02 Jul 2014) | 5 lines Changed paths: M /trunk/src/erandom.c M /trunk/src/mpfr.h M /trunk/src/nrandom.c M /trunk/src/random_deviate.c M /trunk/tests/terandom.c M /trunk/tests/tnrandom.c Removed the need of MPFR_USE_MINI_GMP tests for mpfr_[ne]random functions (source and tests) as mpfr_random_deviate_value no longer needs mpq_t (since r9066). Also removed a static assertion in src/random_deviate.c for the same reason. Note: the change done in r9133 is now really useful! ------------------------------------------------------------------------ r9134 | vlefevre | 2014-07-02 12:12:45 +0000 (Wed, 02 Jul 2014) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Added other missing "#ifndef MPFR_USE_MINI_GMP". ------------------------------------------------------------------------ r9133 | vlefevre | 2014-07-02 11:59:52 +0000 (Wed, 02 Jul 2014) | 3 lines Changed paths: M /trunk/tests/terandom.c M /trunk/tests/tnrandom.c [tests/t[ne]random.c] Code clean-up: added !defined(MPFR_USE_MINI_GMP) to protect mpfr_printf. This is actually not needed due to the initial "#ifndef MPFR_USE_MINI_GMP" but this is for a different reason. ------------------------------------------------------------------------ r9132 | vlefevre | 2014-07-02 11:55:25 +0000 (Wed, 02 Jul 2014) | 2 lines Changed paths: M /trunk/tests/terandom.c M /trunk/tests/tnrandom.c [tests/t[ne]random.c] Reverted the changes done in r9126,9127,9130 and added a proper comment. ------------------------------------------------------------------------ r9131 | vlefevre | 2014-07-02 11:49:23 +0000 (Wed, 02 Jul 2014) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Added a missing "#ifndef MPFR_USE_MINI_GMP" (not really useful, but cleaner). ------------------------------------------------------------------------ r9130 | vlefevre | 2014-07-02 11:46:04 +0000 (Wed, 02 Jul 2014) | 1 line Changed paths: M /trunk/tests/terandom.c M /trunk/tests/tnrandom.c [tests/t[ne]random.c] Fixed the change done in r9126 and r9127. ------------------------------------------------------------------------ r9129 | vlefevre | 2014-07-02 11:41:43 +0000 (Wed, 02 Jul 2014) | 3 lines Changed paths: M /trunk/configure.ac M /trunk/src/erandom.c M /trunk/src/get_f.c M /trunk/src/gmp_op.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr.h M /trunk/src/nrandom.c M /trunk/src/printf.c M /trunk/src/random_deviate.c M /trunk/src/set_f.c M /trunk/src/set_q.c M /trunk/src/vasprintf.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpfr_compat.c M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c M /trunk/tests/tcan_round.c M /trunk/tests/terandom.c M /trunk/tests/terandom_chisq.c M /trunk/tests/tests.c M /trunk/tests/tfprintf.c M /trunk/tests/tget_f.c M /trunk/tests/tgmpop.c M /trunk/tests/tgrandom.c M /trunk/tests/tnrandom.c M /trunk/tests/tnrandom_chisq.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trandom_deviate.c M /trunk/tests/tset_f.c M /trunk/tests/tset_q.c M /trunk/tests/tsprintf.c M /trunk/tests/turandom.c Renamed WANT_MINI_GMP to MPFR_USE_MINI_GMP as it is used in mpfr.h (all MPFR macros that appear there should start with MPFR_ to avoid conflicts with other software). ------------------------------------------------------------------------ r9128 | vlefevre | 2014-07-02 09:57:16 +0000 (Wed, 02 Jul 2014) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect the possible use of forbidden macros in mpfr.h. ------------------------------------------------------------------------ r9127 | vlefevre | 2014-07-02 09:23:25 +0000 (Wed, 02 Jul 2014) | 2 lines Changed paths: M /trunk/tests/terandom.c [tests/terandom.c] Put the WANT_MINI_GMP test at the right place, like what has been done for "tests/tnrandom.c". ------------------------------------------------------------------------ r9126 | vlefevre | 2014-07-02 09:20:11 +0000 (Wed, 02 Jul 2014) | 3 lines Changed paths: M /trunk/tests/tnrandom.c [tests/tnrandom.c] Put the WANT_MINI_GMP test at the right place (at the same time of the HAVE_STDARG test), but this should be improved in the future, e.g. with a HAVE_MPFR_PRINTF macro. ------------------------------------------------------------------------ r9125 | zimmerma | 2014-07-02 09:04:30 +0000 (Wed, 02 Jul 2014) | 2 lines Changed paths: M /trunk/tests/tnrandom.c added comment ------------------------------------------------------------------------ r9124 | vlefevre | 2014-07-02 08:43:19 +0000 (Wed, 02 Jul 2014) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Minor correction of a comment. ------------------------------------------------------------------------ r9122 | vlefevre | 2014-07-01 11:50:12 +0000 (Tue, 01 Jul 2014) | 1 line Changed paths: M /trunk/tests/trandom_deviate.c [tests/trandom_deviate.c] Correction (fprintf format). ------------------------------------------------------------------------ r9121 | zimmerma | 2014-07-01 11:39:30 +0000 (Tue, 01 Jul 2014) | 5 lines Changed paths: M /trunk/tests/chi-squared-tests.txt M /trunk/tests/terandom_chisq.c M /trunk/tests/tnrandom_chisq.c M /trunk/tests/trandom_deviate.c patch from Charles Karney: > Here is the patch which repeats the chi-squared tests in the case of > suspiciously high values. The probability of a false positive is now > 1/10^9. I also got rid of the mpfr_printf's. ------------------------------------------------------------------------ r9117 | vlefevre | 2014-06-30 15:07:40 +0000 (Mon, 30 Jun 2014) | 5 lines Changed paths: M /trunk/tools/build-patch [tools/build-patch] * Removed unnecessary quotes for better readability (this is zsh). * When (second argument) is used, use the correct name for the generated patch; at the same time, fixed a checkobj call. * Added comment about typical usage. ------------------------------------------------------------------------ r9116 | vlefevre | 2014-06-30 13:44:39 +0000 (Mon, 30 Jun 2014) | 3 lines Changed paths: M /trunk/tools/build-patch [tools/build-patch] Correction if MPFR_CURRENT_DIR is set: to make sure that it is always up-to-date, we want to allow it to be a symlink (e.g. .../mpfr-current), so that we want to call realpath on it. ------------------------------------------------------------------------ r9115 | vlefevre | 2014-06-30 13:22:09 +0000 (Mon, 30 Jun 2014) | 2 lines Changed paths: A /trunk/tools/build-patch Added tools/build-patch zsh script to transform a raw patch into a patch to be put on the MPFR www server. ------------------------------------------------------------------------ r9114 | vlefevre | 2014-06-30 12:21:26 +0000 (Mon, 30 Jun 2014) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] For the mpfr_{mul,div}_si macros: s/positive/non-negative/ ------------------------------------------------------------------------ r9113 | vlefevre | 2014-06-30 10:36:46 +0000 (Mon, 30 Jun 2014) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Correction of two "configure --help" messages (from Patrick Pélissier and other changes). ------------------------------------------------------------------------ r9112 | vlefevre | 2014-06-30 10:00:16 +0000 (Mon, 30 Jun 2014) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Coding style. ------------------------------------------------------------------------ r9111 | vlefevre | 2014-06-30 09:57:36 +0000 (Mon, 30 Jun 2014) | 5 lines Changed paths: M /trunk/src/div_ui.c M /trunk/src/mpfr.h M /trunk/src/mul_ui.c M /trunk/tests/tdiv_ui.c M /trunk/tests/tmul_ui.c New macros for mpfr_{mul,div}_ui to optimize the call when the integer is a constant number that is a power of 2. New macros for mpfr_{mul,div}_si to optimize the call when the integer is a constant number that is positive. (Modified patch from Patrick Pélissier) ------------------------------------------------------------------------ r9109 | vlefevre | 2014-06-26 10:55:09 +0000 (Thu, 26 Jun 2014) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Improved comments. ------------------------------------------------------------------------ r9108 | vlefevre | 2014-06-26 10:53:46 +0000 (Thu, 26 Jun 2014) | 2 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Fixed assertion failures for tiny numbers (the code was correct, but the assertions didn't check against the right bound). ------------------------------------------------------------------------ r9107 | vlefevre | 2014-06-26 01:02:26 +0000 (Thu, 26 Jun 2014) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] Bug fix: avoid integer overflow in the code added in r9086 (now tdiv no longer fails). ------------------------------------------------------------------------ r9106 | vlefevre | 2014-06-26 00:43:06 +0000 (Thu, 26 Jun 2014) | 3 lines Changed paths: M /trunk M /trunk/src/div.c [src/div.c] Bug fix: avoid an integer overflow when dividing the largest finite MPFR number by the smallest positive one. (merged changeset r9105 from the 3.1 branch) ------------------------------------------------------------------------ r9103 | vlefevre | 2014-06-26 00:16:26 +0000 (Thu, 26 Jun 2014) | 1 line Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Forgot "exit (1);". ------------------------------------------------------------------------ r9101 | vlefevre | 2014-06-26 00:00:16 +0000 (Thu, 26 Jun 2014) | 3 lines Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Added mpfr_div tests on extreme values. This detects 2 problems (at least on a 64-bit machine): a result is not a valid MPFR number (mpfr_check fails) and the flags are incorrect. ------------------------------------------------------------------------ r9100 | vlefevre | 2014-06-25 23:34:28 +0000 (Wed, 25 Jun 2014) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Fixed test added in r9099 (the problem was unrelated to the bug in vasprintf.c). ------------------------------------------------------------------------ r9099 | vlefevre | 2014-06-25 23:20:16 +0000 (Wed, 25 Jun 2014) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added a test with the minimum exponent (currently triggers an assertion failure in vasprintf.c). ------------------------------------------------------------------------ r9098 | zimmerma | 2014-06-25 16:29:51 +0000 (Wed, 25 Jun 2014) | 2 lines Changed paths: M /trunk/tools/nightly-test define MPFR_SKIP_EXTREME to avoid currently failing tsum test ------------------------------------------------------------------------ r9097 | vlefevre | 2014-06-25 16:09:57 +0000 (Wed, 25 Jun 2014) | 2 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Do not run the check_extreme test (which currently fails) when the MPFR_SKIP_EXTREME environment variable is defined. ------------------------------------------------------------------------ r9096 | zimmerma | 2014-06-25 15:37:25 +0000 (Wed, 25 Jun 2014) | 2 lines Changed paths: M /trunk/tools/nightly-test reconfigure for mpfrbench ------------------------------------------------------------------------ r9095 | zimmerma | 2014-06-25 15:05:30 +0000 (Wed, 25 Jun 2014) | 2 lines Changed paths: M /trunk/NEWS M /trunk/src/div.c M /trunk/tests/tdiv.c speedup in mpfr_div for n/n division, using mpz_tdiv_q ------------------------------------------------------------------------ r9094 | vlefevre | 2014-06-25 13:39:37 +0000 (Wed, 25 Jun 2014) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Check when simple mp_limb_t constants could be used (MPFR_LIMB_ZERO, MPFR_LIMB_ONE, and MPFR_LIMB_MAX). ------------------------------------------------------------------------ r9092 | vlefevre | 2014-06-25 13:15:40 +0000 (Wed, 25 Jun 2014) | 7 lines Changed paths: M /trunk/src/coth.c M /trunk/src/div.c M /trunk/src/erfc.c M /trunk/src/exp2.c M /trunk/src/get_si.c M /trunk/src/get_str.c M /trunk/src/jn.c M /trunk/src/lngamma.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_z.c M /trunk/src/print_raw.c M /trunk/src/signbit.c M /trunk/src/sin.c M /trunk/src/sin_cos.c M /trunk/src/yn.c M /trunk/tests/mpfr-test.h M /trunk/tests/taway.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcoth.c M /trunk/tests/tcsch.c M /trunk/tests/tdiv.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfma.c M /trunk/tests/tfms.c M /trunk/tests/tgamma.c M /trunk/tests/tget_flt.c M /trunk/tests/tgmpop.c M /trunk/tests/thyperbolic.c M /trunk/tests/tpow.c M /trunk/tests/tpow_z.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_str.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tzeta.c Use MPFR_IS_NEG and MPFR_IS_POS instead of comparing the sign with 0. Done with perl -pi -e ' s/MPFR_SIGN *\(([^)]+)\) *<=? *0/MPFR_IS_NEG ($1)/g; s/MPFR_SIGN *\(([^)]+)\) *>=? *0/MPFR_IS_POS ($1)/g; ' {src,tests}/*.{c,h} and some manual changes. ------------------------------------------------------------------------ r9091 | vlefevre | 2014-06-25 12:50:21 +0000 (Wed, 25 Jun 2014) | 11 lines Changed paths: M /trunk/src/check.c M /trunk/src/div.c M /trunk/src/div_ui.c M /trunk/src/frac.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mulders.c M /trunk/src/print_raw.c M /trunk/src/round_raw_generic.c M /trunk/src/set_uj.c M /trunk/src/sub1sp.c M /trunk/src/vasprintf.c M /trunk/tests/random2.c M /trunk/tests/tadd.c M /trunk/tests/tcmp2.c M /trunk/tests/teq.c M /trunk/tests/tfprintf.c M /trunk/tests/tset_si.c More code clean-up (for both consistency and readability): * Use the simple mp_limb_t constants when possible. * New internal macro MPFR_IS_NORMALIZED. Note: this was done with perl -pi -e ' s/~ *\(mp_limb_t\) *0/MPFR_LIMB_MAX/g; s/\(mp_limb_t\) *-1/MPFR_LIMB_MAX/g; s/\(mp_limb_t\) *0/MPFR_LIMB_ZERO/g; s/\(mp_limb_t\) *1L?/MPFR_LIMB_ONE/g' {src,tests}/*.{c,h} svn revert src/mpfr-impl.h and some manual changes. ------------------------------------------------------------------------ r9090 | vlefevre | 2014-06-25 12:02:19 +0000 (Wed, 25 Jun 2014) | 6 lines Changed paths: M /trunk/src/add1.c M /trunk/src/get_f.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/next.c M /trunk/src/rint.c M /trunk/src/round_p.c M /trunk/src/setmax.c M /trunk/tests/mpfr-test.h M /trunk/tests/tgeneric.c Code clean-up: * Simplified the definition of simple mp_limb_t constants: it is better to avoid GMP internals when there is a standard way. * Replaced the use of MP_LIMB_T_MAX by the new macro MPFR_LIMB_MAX. * So, removed the now useless MP_LIMB_T_MAX and GMP_LIMB_HIGHBIT definitions from "mpfr-gmp.h". ------------------------------------------------------------------------ r9089 | vlefevre | 2014-06-25 11:55:23 +0000 (Wed, 25 Jun 2014) | 1 line Changed paths: M /trunk/src/mpfr-mini-gmp.h [src/mpfr-mini-gmp.h] GMP_NUMB_MASK is no longer needed. ------------------------------------------------------------------------ r9088 | vlefevre | 2014-06-25 11:54:14 +0000 (Wed, 25 Jun 2014) | 1 line Changed paths: M /trunk/tests/random2.c [tests/random2.c] Removed a useless use of GMP_NUMB_MASK. ------------------------------------------------------------------------ r9087 | vlefevre | 2014-06-25 09:38:31 +0000 (Wed, 25 Jun 2014) | 8 lines Changed paths: M /trunk/src/div.c [src/div.c] In the case where the divisor has one limb (latest commit), check that the value of this limb fits in an unsigned long, otherwise mpfr_div_ui cannot be used. Indeed, according to the GMP manual §2.2, a limb may be a long long (actually unsigned): For example in some 32-bit ABIs, GMP may support a limb as either a 32-bit `long' or a 64-bit `long long'. Note: if a limb is an unsigned long, this new test will be no-op, since always true. ------------------------------------------------------------------------ r9086 | zimmerma | 2014-06-25 08:05:09 +0000 (Wed, 25 Jun 2014) | 2 lines Changed paths: M /trunk/NEWS M /trunk/src/div.c speedup of mpfr_div when divisor has one limb ------------------------------------------------------------------------ r9085 | vlefevre | 2014-06-25 01:24:49 +0000 (Wed, 25 Jun 2014) | 6 lines Changed paths: M /trunk/src/random_deviate.h [src/random_deviate.h] Fixed prototypes: * Added __MPFR_DECLSPEC to avoid failure with Windows DLL; see https://sympa.inria.fr/sympa/arc/mpfr/2014-06/msg00003.html * Added _MPFR_PROTO for consistency (though it will probably be removed in the near future). * Removed variable names (coding style). ------------------------------------------------------------------------ r9084 | vlefevre | 2014-06-24 14:29:22 +0000 (Tue, 24 Jun 2014) | 1 line Changed paths: M /trunk/tests [tests] Added terandom_chisq and tnrandom_chisq to svn:ignore property. ------------------------------------------------------------------------ r9083 | vlefevre | 2014-06-24 14:26:58 +0000 (Tue, 24 Jun 2014) | 3 lines Changed paths: M /trunk/tests/Makefile.am A /trunk/tests/chi-squared-tests.txt A /trunk/tests/terandom_chisq.c A /trunk/tests/tnrandom_chisq.c M /trunk/tests/trandom_deviate.c [tests] Applied patch by Charles Karney (chi-squared tests for mpfr_[ne]random), together with the contents of his mail about this patch. ------------------------------------------------------------------------ r9082 | vlefevre | 2014-06-23 11:14:48 +0000 (Mon, 23 Jun 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9081 | vlefevre | 2014-06-22 20:37:11 +0000 (Sun, 22 Jun 2014) | 1 line Changed paths: M /trunk/INSTALL M /trunk/README M /trunk/TODO M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/README.dev M /trunk/doc/mpfr.texi M /trunk/src/get_d64.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-sassert.h M /trunk/src/mpfr.h M /trunk/src/set_d64.c M /trunk/tests/tests.c M /trunk/tests/tgeneric.c M /trunk/tests/tset_ld.c Updated URL's. ------------------------------------------------------------------------ r9079 | vlefevre | 2014-06-22 11:53:31 +0000 (Sun, 22 Jun 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated URL's (use of https instead of http). ------------------------------------------------------------------------ r9071 | vlefevre | 2014-06-17 10:20:27 +0000 (Tue, 17 Jun 2014) | 2 lines Changed paths: M /trunk/tests/trandom_deviate.c [tests/trandom_deviate.c] New version, with fixes of ternary value (inexact) handling by Charles Karney. ------------------------------------------------------------------------ r9070 | vlefevre | 2014-06-17 10:10:24 +0000 (Tue, 17 Jun 2014) | 1 line Changed paths: M /trunk/tests [tests] Added trandom_deviate to svn:ignore property. ------------------------------------------------------------------------ r9069 | vlefevre | 2014-06-17 10:08:55 +0000 (Tue, 17 Jun 2014) | 1 line Changed paths: M /trunk/tests/trandom_deviate.c [tests/trandom_deviate.c] GNU style and C90 compatibility. ------------------------------------------------------------------------ r9068 | vlefevre | 2014-06-17 09:09:01 +0000 (Tue, 17 Jun 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated note about ternary values (macros). ------------------------------------------------------------------------ r9067 | vlefevre | 2014-06-17 09:03:11 +0000 (Tue, 17 Jun 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about ternary values. ------------------------------------------------------------------------ r9066 | zimmerma | 2014-06-17 05:41:36 +0000 (Tue, 17 Jun 2014) | 2 lines Changed paths: M /trunk/src/random_deviate.c M /trunk/tests/trandom_deviate.c patches from Charles Karney ------------------------------------------------------------------------ r9065 | vlefevre | 2014-06-17 00:21:33 +0000 (Tue, 17 Jun 2014) | 2 lines Changed paths: M /trunk/tests/trandom_deviate.c [tests/trandom_deviate.c] Removed useless "#ifdef HAVE_STDARG": printf is a standard C function and is always defined. ------------------------------------------------------------------------ r9064 | vlefevre | 2014-06-17 00:20:05 +0000 (Tue, 17 Jun 2014) | 2 lines Changed paths: M /trunk/tests/trandom_deviate.c [tests/trandom_deviate.c] GNU style. Pre-C99 compatibility (statements after declarations). ------------------------------------------------------------------------ r9063 | vlefevre | 2014-06-17 00:15:15 +0000 (Tue, 17 Jun 2014) | 1 line Changed paths: M /trunk/tests/trandom_deviate.c [tests/trandom_deviate.c] Untabified. ------------------------------------------------------------------------ r9061 | zimmerma | 2014-06-16 13:21:42 +0000 (Mon, 16 Jun 2014) | 2 lines Changed paths: M /trunk/tests/Makefile.am A /trunk/tests/trandom_deviate.c added trandom_deviate.c to improve coverage (contributed by Charles Karney) ------------------------------------------------------------------------ r9060 | zimmerma | 2014-06-16 13:20:13 +0000 (Mon, 16 Jun 2014) | 2 lines Changed paths: M /trunk/doc/README.dev updated information about coverage test ------------------------------------------------------------------------ r9059 | vlefevre | 2014-06-05 12:48:00 +0000 (Thu, 05 Jun 2014) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] English usage in a comment. ------------------------------------------------------------------------ r9058 | vlefevre | 2014-06-03 09:16:01 +0000 (Tue, 03 Jun 2014) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Updated a comment. ------------------------------------------------------------------------ r9054 | vlefevre | 2014-05-22 00:09:42 +0000 (Thu, 22 May 2014) | 1 line Changed paths: M /trunk/README M /trunk/doc/README.dev M /trunk/tools/announce-text Changed "INRIAGForge" to "InriaForge" (due to the rename). ------------------------------------------------------------------------ r9048 | vlefevre | 2014-05-14 13:56:06 +0000 (Wed, 14 May 2014) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Correction about clang sanitizer: mention the -fno-sanitize=float-cast-overflow,float-divide-by-zero option. ------------------------------------------------------------------------ r9047 | vlefevre | 2014-05-14 13:28:04 +0000 (Wed, 14 May 2014) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] About clang sanitizer, mention the -fno-sanitize=float-divide-by-zero option. ------------------------------------------------------------------------ r9046 | zimmerma | 2014-05-06 12:14:24 +0000 (Tue, 06 May 2014) | 2 lines Changed paths: M /trunk/doc/algorithms.bib M /trunk/doc/algorithms.tex added description of algorithm used for mpfr_log (from Sylvie Boldo) ------------------------------------------------------------------------ r9045 | vlefevre | 2014-04-25 09:02:51 +0000 (Fri, 25 Apr 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated an old note about GCC 4.9. ------------------------------------------------------------------------ r9044 | vlefevre | 2014-04-25 09:00:56 +0000 (Fri, 25 Apr 2014) | 3 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Completed the note about GCC's sanitizer. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44786 (sanitizer) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60275 (no recover) ------------------------------------------------------------------------ r9043 | vlefevre | 2014-04-25 08:30:38 +0000 (Fri, 25 Apr 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Completed the note about GCC's sanitizer. ------------------------------------------------------------------------ r9042 | vlefevre | 2014-04-25 07:21:24 +0000 (Fri, 25 Apr 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Mention that GCC 4.9 supports "-fsanitize=undefined". ------------------------------------------------------------------------ r9040 | vlefevre | 2014-04-22 15:20:13 +0000 (Tue, 22 Apr 2014) | 2 lines Changed paths: M /trunk/tests/tpow.c [tests/tpow.c] Removed comment that can now be confusing: try_mpfr.html was actually not using the mpfr_pow function, but exp(y*log(x)). ------------------------------------------------------------------------ r9039 | vlefevre | 2014-04-22 10:48:46 +0000 (Tue, 22 Apr 2014) | 3 lines Changed paths: M /trunk/tests/tpow.c [tests/tpow.c] Added a test corresponding to buggy output on http://ex-cs.sist.ac.jp/~tkouya/try_mpfr.html but everything is OK in r9038. ------------------------------------------------------------------------ r9036 | vlefevre | 2014-04-15 22:26:58 +0000 (Tue, 15 Apr 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about patches and autotools files. ------------------------------------------------------------------------ r9035 | vlefevre | 2014-04-15 22:26:18 +0000 (Tue, 15 Apr 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about patches and autotools files. ------------------------------------------------------------------------ r9032 | vlefevre | 2014-04-15 15:13:32 +0000 (Tue, 15 Apr 2014) | 2 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Changed initialization in check_extreme(), which wasn't supported by ISO C90. ------------------------------------------------------------------------ r9031 | vlefevre | 2014-04-15 15:12:11 +0000 (Tue, 15 Apr 2014) | 1 line Changed paths: M /trunk/src/free_cache.c [free_cache.c] Avoid mixed declarations and code for ISO C90 support. ------------------------------------------------------------------------ r9030 | vlefevre | 2014-04-15 13:01:25 +0000 (Tue, 15 Apr 2014) | 6 lines Changed paths: M /trunk/configure.ac Re-added configure test on GMP_NUMB_BITS and sizeof(mp_limb_t), and updated it: * BYTES_PER_MP_LIMB is no longer tested (see r9029). * The test is now always run, not just when --with-gmp-build is used. * Results are output in config.log in case of failure. * The error message has been updated. ------------------------------------------------------------------------ r9029 | zimmerma | 2014-04-15 09:15:31 +0000 (Tue, 15 Apr 2014) | 3 lines Changed paths: M /trunk/configure.ac M /trunk/src/exp.c M /trunk/src/init2.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/rndna.c M /trunk/src/stack_interface.c BYTES_PER_MP_LIMB -> MPFR_BYTES_PER_MP_LIMB for GMP 6 compatibility when --with-gmp-build is used. See mailing-list discussion: https://sympa.inria.fr/sympa/arc/mpfr/2014-04/msg00000.html ------------------------------------------------------------------------ r9020 | zimmerma | 2014-03-26 06:49:35 +0000 (Wed, 26 Mar 2014) | 2 lines Changed paths: M /trunk/TODO other argument reduction for log_ui ------------------------------------------------------------------------ r9019 | zimmerma | 2014-03-25 20:40:42 +0000 (Tue, 25 Mar 2014) | 3 lines Changed paths: M /trunk/src/sqrt.c mpn_sqrtrem (rp, sp, sp, rrsize) is faster than mpn_sqrtrem (rp, NULL, sp, rrsize): avoids one allocation and one copy ------------------------------------------------------------------------ r9016 | vlefevre | 2014-03-25 15:05:47 +0000 (Tue, 25 Mar 2014) | 4 lines Changed paths: M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/check.c M /trunk/src/cmp.c M /trunk/src/init2.c M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/round_prec.c M /trunk/src/set_dfl_prec.c M /trunk/src/set_prc_raw.c M /trunk/src/set_prec.c M /trunk/src/sqrt.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/tests/tconst_pi.c M /trunk/tests/tests.c Added MPFR_PREC_COND, MPFR_PREC_IN_RANGE and MPFR_GET_PREC internal macros (to mpfr-impl.h). Use these macros at some places in the code (replacing some MPFR_PREC instances, as suggested by a patch from Patrick Pélissier). ------------------------------------------------------------------------ r9015 | vlefevre | 2014-03-25 14:39:43 +0000 (Tue, 25 Mar 2014) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added an MPFR_ASSERTD in MPFR_MPZ_SIZEINBASE2 (from a patch by Patrick Pélissier). ------------------------------------------------------------------------ r9014 | vlefevre | 2014-03-25 14:36:03 +0000 (Tue, 25 Mar 2014) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] Replaced a MPFR_EXP by MPFR_SET_EXP (from a patch by Patrick Pélissier). ------------------------------------------------------------------------ r9013 | vlefevre | 2014-03-25 14:28:48 +0000 (Tue, 25 Mar 2014) | 2 lines Changed paths: M /trunk/src/div.c [src/div.c] Added MPFR_ASSERTD assertions and improved a test (patch from Patrick Pélissier). ------------------------------------------------------------------------ r9011 | zimmerma | 2014-03-17 20:54:30 +0000 (Mon, 17 Mar 2014) | 2 lines Changed paths: M /trunk/doc/algorithms.tex fixed FIXME ------------------------------------------------------------------------ r9010 | vlefevre | 2014-03-17 15:35:52 +0000 (Mon, 17 Mar 2014) | 9 lines Changed paths: M /trunk/doc/algorithms.bib M /trunk/doc/algorithms.tex [doc/algorithms.*] A formula about radix conversion was incorrect (and didn't match the correct code) when the output radix b is a power of two. Added reference to Matula's "In-and-Out Conversions" (correctness and optimality of the formula) and left a FIXME. For more information, see the August/September discussion in the MPFR list, particular subthreads starting at: https://sympa.inria.fr/sympa/arc/mpfr/2012-08/msg00028.html https://sympa.inria.fr/sympa/arc/mpfr/2012-09/msg00000.html https://sympa.inria.fr/sympa/arc/mpfr/2012-09/msg00011.html ------------------------------------------------------------------------ r9009 | zimmerma | 2014-03-15 08:26:10 +0000 (Sat, 15 Mar 2014) | 2 lines Changed paths: M /trunk/TODO added item ------------------------------------------------------------------------ r9008 | zimmerma | 2014-03-14 17:21:33 +0000 (Fri, 14 Mar 2014) | 2 lines Changed paths: M /trunk/TODO added item (mpfr_log_ui) ------------------------------------------------------------------------ r9002 | vlefevre | 2014-03-14 11:37:11 +0000 (Fri, 14 Mar 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r9001 | vlefevre | 2014-03-14 11:35:17 +0000 (Fri, 14 Mar 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Correction in the mpfr_set_str description. ------------------------------------------------------------------------ r8998 | vlefevre | 2014-03-10 00:34:57 +0000 (Mon, 10 Mar 2014) | 2 lines Changed paths: M /trunk/TODO M /trunk/src/gmp_op.c Added a TODO item concerning gmp_op.c functions with mpz_srcptr and the use of mpz_fits_slong_p and a mpfr_*_si function (see r8992). ------------------------------------------------------------------------ r8997 | vlefevre | 2014-03-02 08:32:16 +0000 (Sun, 02 Mar 2014) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed the mpfr_get_default_rounding_mode() macro for C++ (it didn't have the correct type), and improved the similar ones. ------------------------------------------------------------------------ r8996 | vlefevre | 2014-03-02 08:12:34 +0000 (Sun, 02 Mar 2014) | 1 line Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Fixed allocation. ------------------------------------------------------------------------ r8995 | vlefevre | 2014-03-02 08:07:31 +0000 (Sun, 02 Mar 2014) | 2 lines Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Temporarily disabled fast argument reconstruction because it doesn't compile with g++. ------------------------------------------------------------------------ r8994 | vlefevre | 2014-03-01 23:43:27 +0000 (Sat, 01 Mar 2014) | 1 line Changed paths: M /trunk/src/lngamma.c Removed trailing spaces. ------------------------------------------------------------------------ r8993 | zimmerma | 2014-02-28 21:56:47 +0000 (Fri, 28 Feb 2014) | 3 lines Changed paths: M /trunk/src/lngamma.c [lngamma.c] implemented fast way of computing x*(x+1)*...*(x+k-1) (it remains to speed up the computation of the Bernoulli numbers) ------------------------------------------------------------------------ r8992 | zimmerma | 2014-02-28 20:15:35 +0000 (Fri, 28 Feb 2014) | 2 lines Changed paths: M /trunk/src/gmp_op.c speedup of the mpfr_xxx_z functions when z fits in a long ------------------------------------------------------------------------ r8991 | zimmerma | 2014-02-28 19:49:15 +0000 (Fri, 28 Feb 2014) | 2 lines Changed paths: M /trunk/TODO explicit possible speedup in mpfr_[ln]gamma ------------------------------------------------------------------------ r8990 | vlefevre | 2014-02-24 15:29:52 +0000 (Mon, 24 Feb 2014) | 1 line Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Avoid inconsistent spaces. ------------------------------------------------------------------------ r8989 | vlefevre | 2014-02-21 14:19:41 +0000 (Fri, 21 Feb 2014) | 1 line Changed paths: M /trunk/tools/mbench/README [tools/mbench/README] Conversion into UTF-8. ------------------------------------------------------------------------ r8988 | vlefevre | 2014-02-21 14:12:39 +0000 (Fri, 21 Feb 2014) | 1 line Changed paths: M /trunk/tools/mbench/generate.c M /trunk/tools/mbench/mfv5-crlibm.cc M /trunk/tools/mbench/mfv5-libc.cc M /trunk/tools/mbench/mfv5-mpfr.cc M /trunk/tools/mbench/mfv5.cc M /trunk/tools/mbench/mpfr-gfx.c M /trunk/tools/mbench/mpfr-v4.c M /trunk/tools/mbench/mpfr-v6.c [tools/mbench] Replaced GMP_RNDx by MPFR_RNDx. ------------------------------------------------------------------------ r8987 | zimmerma | 2014-02-21 13:18:59 +0000 (Fri, 21 Feb 2014) | 2 lines Changed paths: M /trunk/doc/mpfr.texi definitively fix the name mpfr_min_prec ------------------------------------------------------------------------ r8986 | vlefevre | 2014-02-17 13:28:38 +0000 (Mon, 17 Feb 2014) | 1 line Changed paths: M /trunk/src/bernoulli.c [src/bernoulli.c] Minor bug fixed and other improvements. ------------------------------------------------------------------------ r8985 | zimmerma | 2014-02-17 13:24:48 +0000 (Mon, 17 Feb 2014) | 2 lines Changed paths: M /trunk/TODO update for mpfr_gamma and Bernoulli numbers ------------------------------------------------------------------------ r8984 | vlefevre | 2014-02-17 13:08:24 +0000 (Mon, 17 Feb 2014) | 1 line Changed paths: M /trunk/src/bernoulli.c [src/bernoulli.c] Fixed pointer types (build failure with -Werror). ------------------------------------------------------------------------ r8983 | vlefevre | 2014-02-17 13:02:58 +0000 (Mon, 17 Feb 2014) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Removed obsolete mpfr_bernoulli_internal prototype, which makes the compilation of bernoulli.c fail. ------------------------------------------------------------------------ r8982 | vlefevre | 2014-02-17 13:01:03 +0000 (Mon, 17 Feb 2014) | 1 line Changed paths: M /trunk/src/bernoulli.c [src/bernoulli.c] Improved isprime() by using MPFR_ASSERTD. ------------------------------------------------------------------------ r8981 | zimmerma | 2014-02-17 12:46:18 +0000 (Mon, 17 Feb 2014) | 3 lines Changed paths: M /trunk/NEWS M /trunk/src/bernoulli.c use a faster algorithm (based on Von Staudt–Clausen theorem) to compute Bernoulli numbers -> speedup in mpfr_*gamma and mpfr_li2 ------------------------------------------------------------------------ r8980 | zimmerma | 2014-02-16 07:28:11 +0000 (Sun, 16 Feb 2014) | 2 lines Changed paths: M /trunk/src/set_d.c M /trunk/tests/tset_d.c more changes suggested by Wolf Lammen (and also test 2^(-1074)) ------------------------------------------------------------------------ r8979 | vlefevre | 2014-02-16 02:52:21 +0000 (Sun, 16 Feb 2014) | 2 lines Changed paths: M /trunk/tests/memory.c [tests/memory.c] Limit heap memory to 4 MB. This should be sufficient. Currently, only tsum should fail, but mpfr_sum will be rewritten soon. ------------------------------------------------------------------------ r8978 | vlefevre | 2014-02-15 21:22:55 +0000 (Sat, 15 Feb 2014) | 2 lines Changed paths: M /trunk/src/set_d.c [src/set_d.c] Fixed type to avoid non-representable unsigned → signed conversion. ------------------------------------------------------------------------ r8977 | vlefevre | 2014-02-15 21:19:22 +0000 (Sat, 15 Feb 2014) | 1 line Changed paths: M /trunk/src/set_d.c [src/set_d.c] Correction when MPFR_WANT_ASSERT is defined. ------------------------------------------------------------------------ r8976 | vlefevre | 2014-02-15 21:03:02 +0000 (Sat, 15 Feb 2014) | 1 line Changed paths: M /trunk/src/get_ld.c M /trunk/src/set_ld.c Untabified and removed trailing spaces. ------------------------------------------------------------------------ r8975 | zimmerma | 2014-02-15 20:20:27 +0000 (Sat, 15 Feb 2014) | 4 lines Changed paths: M /trunk/src/set_d.c partial patch from Wolf Lammen: - move the normalization code, necessary in an extremely rare corner case only, out of the way of the normal case, for speed up ------------------------------------------------------------------------ r8974 | zimmerma | 2014-02-15 09:37:01 +0000 (Sat, 15 Feb 2014) | 3 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c Rename MPFR gmp_randstate_ptr into mpfr_gmp_randstate_ptr (patch from Patrick Pélissier) ------------------------------------------------------------------------ r8973 | zimmerma | 2014-02-14 16:01:28 +0000 (Fri, 14 Feb 2014) | 2 lines Changed paths: M /trunk/acinclude.m4 print message for "possibly double-double, little endian" long double format ------------------------------------------------------------------------ r8972 | zimmerma | 2014-02-14 15:56:54 +0000 (Fri, 14 Feb 2014) | 2 lines Changed paths: M /trunk/src/cmp_ld.c M /trunk/src/get_ld.c M /trunk/src/set_ld.c different fixes for set_ld, get_ld and cmd_ld with double-double ------------------------------------------------------------------------ r8971 | vlefevre | 2014-02-14 12:37:36 +0000 (Fri, 14 Feb 2014) | 3 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Fixed an assertion to support systems where 2^1023 + 2^(-1074) is exactly representable, while not detected as double-double. ------------------------------------------------------------------------ r8970 | zimmerma | 2014-02-14 12:18:26 +0000 (Fri, 14 Feb 2014) | 3 lines Changed paths: M /trunk/acinclude.m4 recognize long-double format for ppc64le (https://sympa.inria.fr/sympa/arc/mpfr/2014-02/msg00014.html) ------------------------------------------------------------------------ r8969 | vlefevre | 2014-02-14 10:25:22 +0000 (Fri, 14 Feb 2014) | 1 line Changed paths: M /trunk/TODO [TODO] Added item on special case of mpfr_add and mpfr_sub. ------------------------------------------------------------------------ r8968 | zimmerma | 2014-02-14 08:11:02 +0000 (Fri, 14 Feb 2014) | 2 lines Changed paths: M /trunk/tests/tset_ld.c added test for get_ld ------------------------------------------------------------------------ r8967 | vlefevre | 2014-02-14 00:50:10 +0000 (Fri, 14 Feb 2014) | 9 lines Changed paths: M /trunk/src/cache.c [src/cache.c] * Improved r8966: Setting the cache size to 10% more than the requested precision may be a bad idea in large precisions. It's better to guarantee a minimum of 10% increase; if the user wants to, he can still control the maximum precision by pre-computing the constant at this precision. Also make sure that if pold == 0, the mpfr_init2 size is the same as the mpfr_set_prec one (in order to avoid immediate reallocation). * Replaced a comment by a couple of MPFR_ASSERTD's. ------------------------------------------------------------------------ r8966 | zimmerma | 2014-02-13 18:25:08 +0000 (Thu, 13 Feb 2014) | 3 lines Changed paths: M /trunk/src/cache.c when recomputing a constant, use a precision 10% larger than the wanted precision to avoid many recomputations ------------------------------------------------------------------------ r8965 | vlefevre | 2014-02-13 12:43:02 +0000 (Thu, 13 Feb 2014) | 1 line Changed paths: M /trunk/src/round_raw_generic.c [src/round_raw_generic.c] Added a FIXME comment for MPFR_RNDNA. ------------------------------------------------------------------------ r8964 | vlefevre | 2014-02-13 12:34:07 +0000 (Thu, 13 Feb 2014) | 2 lines Changed paths: M /trunk/src/bernoulli.c M /trunk/src/mpfr-impl.h [src/bernoulli.c] GNU style. [src/mpfr-impl.h] Corrected prototypes. ------------------------------------------------------------------------ r8963 | zimmerma | 2014-02-13 09:38:34 +0000 (Thu, 13 Feb 2014) | 3 lines Changed paths: M /trunk/src/bernoulli.c M /trunk/src/digamma.c M /trunk/src/free_cache.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/mpfr-impl.h implement cache for Bernoulli numbers (patch from Patrick Pélissier) tuned parameters for [ln]gamma now that we cache Bernoulli numbers ------------------------------------------------------------------------ r8962 | zimmerma | 2014-02-13 09:23:44 +0000 (Thu, 13 Feb 2014) | 2 lines Changed paths: M /trunk/tools/bench/Makefile.am added bench target so that we can simply do "make bench" ------------------------------------------------------------------------ r8961 | zimmerma | 2014-02-12 21:29:39 +0000 (Wed, 12 Feb 2014) | 2 lines Changed paths: M /trunk/tests/tset_ld.c added test for double-double ------------------------------------------------------------------------ r8960 | zimmerma | 2014-02-12 20:10:20 +0000 (Wed, 12 Feb 2014) | 2 lines Changed paths: M /trunk/TODO added comment about mpfr_gamma ------------------------------------------------------------------------ r8959 | zimmerma | 2014-02-12 19:01:28 +0000 (Wed, 12 Feb 2014) | 2 lines Changed paths: M /trunk/src/gamma.c forgot to restore the exponents in last commit ------------------------------------------------------------------------ r8958 | zimmerma | 2014-02-12 18:25:03 +0000 (Wed, 12 Feb 2014) | 2 lines Changed paths: M /trunk/TODO added reference for efficiency issue with mpfr_gamma ------------------------------------------------------------------------ r8957 | zimmerma | 2014-02-12 18:20:51 +0000 (Wed, 12 Feb 2014) | 2 lines Changed paths: M /trunk/src/gamma.c M /trunk/src/lngamma.c improve mpfr_gamma at around 1000 bits ------------------------------------------------------------------------ r8956 | vlefevre | 2014-02-12 02:46:10 +0000 (Wed, 12 Feb 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8954 | vlefevre | 2014-02-12 02:43:45 +0000 (Wed, 12 Feb 2014) | 17 lines Changed paths: M /trunk M /trunk/doc/mpfr.texi M /trunk/src/add_ui.c M /trunk/src/cache.c M /trunk/src/mpfr-impl.h M /trunk/src/random_deviate.c M /trunk/src/set_d.c M /trunk/src/set_exp.c M /trunk/src/set_f.c M /trunk/src/sqrt_ui.c M /trunk/src/sub_ui.c M /trunk/src/ui_div.c M /trunk/src/ui_sub.c M /trunk/src/urandomb.c M /trunk/tests/trandom.c Merged the set_exp branch into the trunk. Changes: * src/mpfr-impl.h: updated the MPFR_SET_EXP(x, exp) definition for the MPFR_EXP_CHECK case. There are 2 consequences: 1. The exp expression is evaluated several times (this should be OK with the MPFR code and optimizations). 2. The real value of exp is tested for the assertion, instead of the value converted to mpfr_exp_t. Thus new bugs could be found (e.g. when an unsigned type is used instead of signed). * src/set_exp.c: set the exponent only if x is a non-zero ordinary number, i.e. already has a valid significand and a valid exponent (thus it is no longer a low-level function, and it can no longer generate an invalid value from a valid one). * doc/mpfr.texi: updated mpfr_set_exp description and added an item in the "API Compatibility / Changed Functions" section. * Clean-up. Original discussion: https://sympa.inria.fr/sympa/arc/mpfr/2011-01/msg00092.html ------------------------------------------------------------------------ r8953 | vlefevre | 2014-02-12 02:18:46 +0000 (Wed, 12 Feb 2014) | 1 line Changed paths: M /trunk/src/rint.c [src/rint.c] Added FIXME comment. ------------------------------------------------------------------------ r8952 | vlefevre | 2014-02-12 02:13:50 +0000 (Wed, 12 Feb 2014) | 1 line Changed paths: M /trunk/src/next.c [src/next.c] Improved handling of special values. ------------------------------------------------------------------------ r8949 | vlefevre | 2014-02-12 01:47:16 +0000 (Wed, 12 Feb 2014) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] Bug fixes and code clean-up. At the same time, took the future mpfr_set_exp change into account (see set_exp branch). ------------------------------------------------------------------------ r8948 | vlefevre | 2014-02-12 00:55:41 +0000 (Wed, 12 Feb 2014) | 1 line Changed paths: M /trunk/src/set.c [src/set.c] Cosmetic change. ------------------------------------------------------------------------ r8947 | vlefevre | 2014-02-12 00:47:31 +0000 (Wed, 12 Feb 2014) | 1 line Changed paths: M /trunk/src/fpif.c [src/fpif.c] English usage. ------------------------------------------------------------------------ r8945 | vlefevre | 2014-02-11 17:44:18 +0000 (Tue, 11 Feb 2014) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Cosmetic change. ------------------------------------------------------------------------ r8944 | vlefevre | 2014-02-11 16:33:23 +0000 (Tue, 11 Feb 2014) | 4 lines Changed paths: M /trunk M /trunk/src/atan.c [src/atan.c] Fixed types of some variables, in particular unsigned → signed conversion of non-representable value (detected due to the new MPFR_SET_EXP assertion check in the set_exp branch). ------------------------------------------------------------------------ r8942 | vlefevre | 2014-02-11 16:20:25 +0000 (Tue, 11 Feb 2014) | 4 lines Changed paths: M /trunk M /trunk/src/exp3.c [src/exp3.c] Fixed types of some variables, in particular unsigned → signed conversion of non-representable value (detected due to the new MPFR_SET_EXP assertion check in the set_exp branch). ------------------------------------------------------------------------ r8940 | vlefevre | 2014-02-11 14:40:11 +0000 (Tue, 11 Feb 2014) | 3 lines Changed paths: M /trunk M /trunk/src/set_ui_2exp.c M /trunk/src/set_uj.c [src/{set_ui_2exp.c,set_uj.c}] Fixed types of some variables, in particular unsigned → signed conversion of non-representable value under some conditions. ------------------------------------------------------------------------ r8934 | vlefevre | 2014-02-11 13:59:39 +0000 (Tue, 11 Feb 2014) | 3 lines Changed paths: M /trunk M /trunk/src/set_si_2exp.c [src/set_si_2exp.c] Fixed unsigned → signed conversion of non-representable value when mpfr_exp_t has the same size as int. ------------------------------------------------------------------------ r8931 | vlefevre | 2014-02-11 13:51:47 +0000 (Tue, 11 Feb 2014) | 3 lines Changed paths: M /trunk M /trunk/src/add_ui.c [src/add_ui.c] Fixed unsigned → signed conversion of non-representable value (detected due to the new MPFR_SET_EXP assertion check in the set_exp branch). ------------------------------------------------------------------------ r8929 | vlefevre | 2014-02-11 13:43:55 +0000 (Tue, 11 Feb 2014) | 1 line Changed paths: M /trunk/src/random_deviate.c [src/random_deviate.c] Added an assertion. ------------------------------------------------------------------------ r8928 | vlefevre | 2014-02-11 13:35:52 +0000 (Tue, 11 Feb 2014) | 3 lines Changed paths: M /trunk M /trunk/tests/random2.c [tests/random2.c] Fixed unsigned → signed conversion of non-representable value (detected due to the new MPFR_SET_EXP assertion check in the set_exp branch). ------------------------------------------------------------------------ r8922 | vlefevre | 2014-02-11 11:55:20 +0000 (Tue, 11 Feb 2014) | 1 line Changed paths: M /trunk/tools/bench Set svn:ignore property on the tools/bench directory. ------------------------------------------------------------------------ r8921 | vlefevre | 2014-02-06 11:50:39 +0000 (Thu, 06 Feb 2014) | 1 line Changed paths: M /trunk/src/set_ld.c [src/set_ld.c] Added a note about the test for infinity. ------------------------------------------------------------------------ r8920 | zimmerma | 2014-02-05 04:53:39 +0000 (Wed, 05 Feb 2014) | 2 lines Changed paths: M /trunk/tools/nightly-test make -> make mpfrbench ------------------------------------------------------------------------ r8919 | vlefevre | 2014-02-05 01:10:06 +0000 (Wed, 05 Feb 2014) | 1 line Changed paths: M /trunk/doc/README.dev M /trunk/tests/tgeneric.c M /trunk/tools/nightly-test Removed MPFR_CHECK_MAX as it is now useless: all "max" tests succeed. ------------------------------------------------------------------------ r8918 | vlefevre | 2014-02-05 01:00:58 +0000 (Wed, 05 Feb 2014) | 2 lines Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Fixed bug introduced in the latest change r8917 (inexact was not initialized in the case compared < 0). ------------------------------------------------------------------------ r8917 | zimmerma | 2014-02-04 13:14:52 +0000 (Tue, 04 Feb 2014) | 2 lines Changed paths: M /trunk/src/lngamma.c added code for large inputs in lngamma/lgamma ------------------------------------------------------------------------ r8916 | vlefevre | 2014-02-04 12:53:29 +0000 (Tue, 04 Feb 2014) | 1 line Changed paths: M /trunk/TODO [TODO] Suggest timing-based thresholds for asymptotic expansions. ------------------------------------------------------------------------ r8915 | zimmerma | 2014-02-04 12:20:47 +0000 (Tue, 04 Feb 2014) | 2 lines Changed paths: M /trunk/src/digamma.c M /trunk/tests/data/digamma use asymptotic expansion for large positive argument ------------------------------------------------------------------------ r8914 | zimmerma | 2014-01-30 09:18:33 +0000 (Thu, 30 Jan 2014) | 2 lines Changed paths: M /trunk/doc/mpfr.texi tiny change to distinguish different versions of the manual ------------------------------------------------------------------------ r8913 | vlefevre | 2014-01-29 23:43:47 +0000 (Wed, 29 Jan 2014) | 5 lines Changed paths: M /trunk/src/constant.c M /trunk/src/eint.c M /trunk/src/erf.c M /trunk/src/exp.c M /trunk/src/exp_2.c M /trunk/src/expm1.c M /trunk/src/mpfr-impl.h [src] Add constants: * __gmpfr_mone = -1 * mpfr_const_log2_RNDD = log(2) rounded down in precision 64 bits * mpfr_const_log2_RNDU = log(2) rounded up in precision 64 bits (modified patch from Patrick Pélissier). ------------------------------------------------------------------------ r8912 | zimmerma | 2014-01-29 17:02:50 +0000 (Wed, 29 Jan 2014) | 2 lines Changed paths: M /trunk/doc/algorithms.tex added reference ------------------------------------------------------------------------ r8911 | vlefevre | 2014-01-29 01:08:00 +0000 (Wed, 29 Jan 2014) | 1 line Changed paths: M /trunk/src/exp_2.c M /trunk/src/free_cache.c M /trunk/src/mpfr-impl.h [src] mpz_t caching (modified patch by Patrick Pélissier). ------------------------------------------------------------------------ r8910 | vlefevre | 2014-01-29 00:24:45 +0000 (Wed, 29 Jan 2014) | 2 lines Changed paths: M /trunk/src/const_pi.c [src/const_pi.c] Rewrote a condition to avoid a potential integer overflow (?) and match a comment. ------------------------------------------------------------------------ r8909 | vlefevre | 2014-01-29 00:17:08 +0000 (Wed, 29 Jan 2014) | 2 lines Changed paths: M /trunk/src/const_pi.c [src/const_pi.c] Use of GROUP allocation and minor optimization (modified patch by Patrick Pélissier). ------------------------------------------------------------------------ r8908 | vlefevre | 2014-01-28 03:58:36 +0000 (Tue, 28 Jan 2014) | 1 line Changed paths: M /trunk/TODO [TODO] Added a note about "rounding to odd" / "sticky rounding". ------------------------------------------------------------------------ r8907 | vlefevre | 2014-01-27 08:17:37 +0000 (Mon, 27 Jan 2014) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Run-time assertions concerning relations between the MPFR exponent type and the long type are allowed (see r8896). ------------------------------------------------------------------------ r8906 | vlefevre | 2014-01-26 02:43:37 +0000 (Sun, 26 Jan 2014) | 2 lines Changed paths: M /trunk/tests/mpf_compat.h [tests/mpf_compat.h] In MPFR mode, skip the tests when mpfr_exp_t is not a long. ------------------------------------------------------------------------ r8905 | vlefevre | 2014-01-26 02:39:15 +0000 (Sun, 26 Jan 2014) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Fixed printf argument. ------------------------------------------------------------------------ r8904 | vlefevre | 2014-01-26 02:36:16 +0000 (Sun, 26 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Fixed printf argument (bug detected with _MPFR_EXP_FORMAT=2 and -Werror=format=). ------------------------------------------------------------------------ r8902 | vlefevre | 2014-01-26 01:20:50 +0000 (Sun, 26 Jan 2014) | 3 lines Changed paths: M /trunk/tools/bench/mpfrbench.c [tools/bench/mpfrbench.c] No longer use the numberof macro, and #include "mpfr.h" instead of "mpfr-impl.h", so that mpfrbench.c can now be linked against an installed MPFR library. ------------------------------------------------------------------------ r8900 | vlefevre | 2014-01-24 15:17:15 +0000 (Fri, 24 Jan 2014) | 9 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac Added MPFR_CHECK_GMP configure check. Useful if the user provides --with-gmp with a directory containing a GMP version that doesn't have the correct ABI: the previous tests won't trigger the error if the same GMP version with the right ABI is installed on the system, as this library is automatically selected by the linker, while the header (which depends on the ABI) of the --with-gmp include directory is used. Before this test, one was getting an error in MPFR_CHECK_DBL2INT_BUG, though the error is not related to a double-to-integer conversion bug. ------------------------------------------------------------------------ r8899 | vlefevre | 2014-01-24 14:28:40 +0000 (Fri, 24 Jan 2014) | 10 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Corrections for the case _MPFR_EXP_FORMAT == 4: * No longer use MPFR_EXP_MIN and MPFR_EXP_MAX unconditionally in a #if directive, since if MPFR_HAVE_INTMAX_MAX is not defined, the compilation fails. The test was not really useful anyway: if one really wants mpfr_eexp_t to be long int if mpfr_exp_t has the same range as long int, then _MPFR_EXP_FORMAT == 3 is sufficient (and this is the default). * Removed a test that should be always true due to the previous inclusion of mpfr.h (intmax_t has already been used there in the case _MPFR_EXP_FORMAT == 4). ------------------------------------------------------------------------ r8898 | vlefevre | 2014-01-24 11:32:51 +0000 (Fri, 24 Jan 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Rephrased paragraph added in r8897. ------------------------------------------------------------------------ r8897 | vlefevre | 2014-01-24 11:29:06 +0000 (Fri, 24 Jan 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note for Automake 1.13+ and failed tests. ------------------------------------------------------------------------ r8896 | vlefevre | 2014-01-24 11:09:21 +0000 (Fri, 24 Jan 2014) | 6 lines Changed paths: M /trunk/src/cot.c M /trunk/src/fpif.c M /trunk/src/pow.c M /trunk/src/print_rnd_mode.c M /trunk/src/rec_sqrt.c M /trunk/src/strtofr.c M /trunk/src/urandom.c [src] Replaced some MPFR_ASSERTN's by MPFR_STAT_STATIC_ASSERT (from the detection by mpfrlint). Note: the MPFR_ASSERTN's concerning relations between the MPFR exponent type and the long type have not been replaced because these tests may fail with the non-standard _MPFR_EXP_FORMAT = 4 on some platforms (e.g. 32-bit ones), and we still want to be able to build MPFR in this case in order to test it; this needs to be fixed. ------------------------------------------------------------------------ r8895 | vlefevre | 2014-01-24 10:24:22 +0000 (Fri, 24 Jan 2014) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Constant checking in assertions. ------------------------------------------------------------------------ r8894 | vlefevre | 2014-01-24 10:21:59 +0000 (Fri, 24 Jan 2014) | 1 line Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] Use lower case for function parameters. ------------------------------------------------------------------------ r8893 | zimmerma | 2014-01-24 08:04:25 +0000 (Fri, 24 Jan 2014) | 2 lines Changed paths: M /trunk/tune/tuneup.c re-enable assertions (patch from Patrick Pélissier) ------------------------------------------------------------------------ r8892 | zimmerma | 2014-01-24 08:00:18 +0000 (Fri, 24 Jan 2014) | 2 lines Changed paths: M /trunk/src/add1sp.c removed an MPFR_LIKELY that is not so likely... ------------------------------------------------------------------------ r8891 | vlefevre | 2014-01-24 02:52:15 +0000 (Fri, 24 Jan 2014) | 2 lines Changed paths: M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/atan.c M /trunk/src/cache.c M /trunk/src/cmp2.c M /trunk/src/set_d.c M /trunk/src/set_ld.c M /trunk/src/set_z_exp.c M /trunk/src/sub1sp.c Optimization: likely / unlikely, etc. (patch by Patrick Pélissier). Coding style. ------------------------------------------------------------------------ r8890 | vlefevre | 2014-01-24 02:41:55 +0000 (Fri, 24 Jan 2014) | 2 lines Changed paths: M /trunk/tune/tuneup.c [tune/tuneup.c] Fix compilation error due to static assertion being wrong (patch by Patrick Pélissier). ------------------------------------------------------------------------ r8889 | vlefevre | 2014-01-24 02:39:30 +0000 (Fri, 24 Jan 2014) | 2 lines Changed paths: M /trunk/src/const_log2.c [src/const_log2.c] Optimization by using GROUP allocation (patch by Patrick Pélissier). ------------------------------------------------------------------------ r8888 | vlefevre | 2014-01-24 02:37:59 +0000 (Fri, 24 Jan 2014) | 2 lines Changed paths: M /trunk/src/exp_2.c [src/exp_2.c] Optimization: Increase the initial estimate of the number of iterations (patch by Patrick Pélissier). ------------------------------------------------------------------------ r8887 | vlefevre | 2014-01-24 02:36:05 +0000 (Fri, 24 Jan 2014) | 2 lines Changed paths: M /trunk/src/erfc.c [src/erfc.c] Use of static assertion instead of run time assertion (patch by Patrick Pélissier). ------------------------------------------------------------------------ r8886 | vlefevre | 2014-01-24 02:35:02 +0000 (Fri, 24 Jan 2014) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Removed trailing spaces. ------------------------------------------------------------------------ r8885 | vlefevre | 2014-01-24 02:33:48 +0000 (Fri, 24 Jan 2014) | 2 lines Changed paths: M /trunk/src/sin_cos.c [src/sin_cos.c] Optimization: use of MPFR_MPZ_SIZEINBASE2, GROUP allocation, and MPFR_ALIAS (modified patch by Patrick Pélissier). ------------------------------------------------------------------------ r8884 | vlefevre | 2014-01-24 02:25:02 +0000 (Fri, 24 Jan 2014) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5-libc.cc [tools/mbench/mfv5-libc.cc] Fix warning when compiling with recent GCC due to unused but set variable (patch by Patrick Pélissier). ------------------------------------------------------------------------ r8883 | zimmerma | 2014-01-23 21:15:27 +0000 (Thu, 23 Jan 2014) | 5 lines Changed paths: M /trunk/tools/bench/Makefile.am revert to EXTRA_PROGRAMS (bin_PROGRAMS is installed in /usr/local/bin, which is not what we want, we could use noinst_PROGRAMS, which would be compiled automatically, but for coherence with GNU MPC we use EXTRA_PROGRAMS which is not compiled automatically) ------------------------------------------------------------------------ r8881 | zimmerma | 2014-01-23 18:31:37 +0000 (Thu, 23 Jan 2014) | 2 lines Changed paths: M /trunk/tools/bench/mpfrbench.c divide the global score to get a number around 1000 ------------------------------------------------------------------------ r8880 | zimmerma | 2014-01-23 18:02:05 +0000 (Thu, 23 Jan 2014) | 2 lines Changed paths: M /trunk/src/sum.c added reference ------------------------------------------------------------------------ r8879 | zimmerma | 2014-01-23 16:56:55 +0000 (Thu, 23 Jan 2014) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5.cc gnu style ------------------------------------------------------------------------ r8878 | vlefevre | 2014-01-23 15:17:07 +0000 (Thu, 23 Jan 2014) | 4 lines Changed paths: M /trunk/doc/README.dev A /trunk/libtool-tcc-wl.patch Added libtool-tcc-wl.patch patch from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663945#46 to add tcc support to libtool 2.4.2 and below. In doc/README.dev, documented how to use this patch (before a release). ------------------------------------------------------------------------ r8877 | vlefevre | 2014-01-23 12:26:17 +0000 (Thu, 23 Jan 2014) | 4 lines Changed paths: M /trunk/tests/tadd.c M /trunk/tests/tsum.c [tests/tadd.c] Added check_extreme test (huge + tiny). [tests/tsum.c] Added check_extreme test (same test as in tadd.c, but with mpfr_sum instead of mpfr_add), and temporarily disabled the cancel test. ------------------------------------------------------------------------ r8876 | vlefevre | 2014-01-23 11:50:17 +0000 (Thu, 23 Jan 2014) | 1 line Changed paths: M /trunk/src/mulders.c M /trunk/tests/tadd.c M /trunk/tests/tatan.c M /trunk/tests/tfma.c M /trunk/tests/tfms.c M /trunk/tests/tl2b.c M /trunk/tests/tnext.c M /trunk/tests/tpow_all.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tools/bench/mpfrbench.c M /trunk/tune/speed.c Use of the numberof macro. ------------------------------------------------------------------------ r8875 | vlefevre | 2014-01-23 11:32:16 +0000 (Thu, 23 Jan 2014) | 1 line Changed paths: M /trunk/tools/bench/mpfrbench.c [tools/bench/mpfrbench.c] Whitespace clean-up. ------------------------------------------------------------------------ r8874 | vlefevre | 2014-01-23 11:28:06 +0000 (Thu, 23 Jan 2014) | 1 line Changed paths: M /trunk/src/const_euler.c [src/const_euler.c] Removed trailing spaces. ------------------------------------------------------------------------ r8873 | vlefevre | 2014-01-23 11:24:30 +0000 (Thu, 23 Jan 2014) | 2 lines Changed paths: M /trunk/tools/bench/Makefile.am [tools/bench/Makefile.am] Fix for separate build directory (problem detected with "make distcheck"). ------------------------------------------------------------------------ r8872 | vlefevre | 2014-01-23 09:17:10 +0000 (Thu, 23 Jan 2014) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Updated comment. ------------------------------------------------------------------------ r8871 | vlefevre | 2014-01-23 09:08:55 +0000 (Thu, 23 Jan 2014) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Updated comment. ------------------------------------------------------------------------ r8870 | vlefevre | 2014-01-23 09:06:21 +0000 (Thu, 23 Jan 2014) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Added a possible algorithm in comment. ------------------------------------------------------------------------ r8869 | vlefevre | 2014-01-23 08:41:50 +0000 (Thu, 23 Jan 2014) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Added FIXME comment. ------------------------------------------------------------------------ r8868 | zimmerma | 2014-01-22 20:27:28 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/tests/reuse.c missing space ------------------------------------------------------------------------ r8867 | zimmerma | 2014-01-22 18:26:49 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/AUTHORS M /trunk/doc/mpfr.texi Mickaël is the only author of MPFRbench ------------------------------------------------------------------------ r8866 | zimmerma | 2014-01-22 18:12:19 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/AUTHORS M /trunk/doc/mpfr.texi updated authors and contributors ------------------------------------------------------------------------ r8865 | zimmerma | 2014-01-22 16:58:29 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/NEWS M /trunk/src/const_euler.c new code for Euler's constant (contributed by Fredrik Johansson) ------------------------------------------------------------------------ r8864 | zimmerma | 2014-01-22 16:25:34 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/Makefile.am added subdir tools/bench ------------------------------------------------------------------------ r8863 | zimmerma | 2014-01-22 15:16:09 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/tools/nightly-test added MPFRbench ------------------------------------------------------------------------ r8862 | zimmerma | 2014-01-22 15:14:55 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/NEWS added MPFRbench ------------------------------------------------------------------------ r8861 | zimmerma | 2014-01-22 15:07:15 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/tools/bench/Makefile.am make mpfrbench compiled just with "make" ------------------------------------------------------------------------ r8860 | zimmerma | 2014-01-22 15:02:42 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/configure.ac changes for MPFRbench ------------------------------------------------------------------------ r8859 | zimmerma | 2014-01-22 15:02:13 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: A /trunk/tools/bench A /trunk/tools/bench/Makefile.am A /trunk/tools/bench/benchtime.h A /trunk/tools/bench/mpfrbench.c new directory for MPFRbench (contributed by Mickaël Gastineau and Bill Hart) ------------------------------------------------------------------------ r8858 | vlefevre | 2014-01-22 14:38:28 +0000 (Wed, 22 Jan 2014) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Added a comment about the cancellation test. ------------------------------------------------------------------------ r8857 | vlefevre | 2014-01-22 14:32:58 +0000 (Wed, 22 Jan 2014) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] In the cancellation test, do a random permutation. ------------------------------------------------------------------------ r8856 | zimmerma | 2014-01-22 14:30:28 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/doc/mpfr.texi mention sponsors ------------------------------------------------------------------------ r8855 | vlefevre | 2014-01-22 14:26:03 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] In the cancellation test: reduced the number of tests; output debug information when building with -DDEBUG. ------------------------------------------------------------------------ r8854 | vlefevre | 2014-01-22 14:12:16 +0000 (Wed, 22 Jan 2014) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Added simple cancellation test. ------------------------------------------------------------------------ r8853 | vlefevre | 2014-01-22 13:52:25 +0000 (Wed, 22 Jan 2014) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Fixed tests_default_random in case mpfr_exp_t > long. ------------------------------------------------------------------------ r8852 | vlefevre | 2014-01-22 13:39:18 +0000 (Wed, 22 Jan 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved mpfr_sum description. ------------------------------------------------------------------------ r8851 | vlefevre | 2014-01-22 13:33:55 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/src/sum.c [src/sum.c] Do not use bitwise operations on values that can be negative. Added comments about what the functions do. ------------------------------------------------------------------------ r8850 | zimmerma | 2014-01-22 12:25:17 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/src/sqrt.c fixed regression noticed by Patrick Pelissier with --enable-gmp-internals ------------------------------------------------------------------------ r8849 | vlefevre | 2014-01-22 12:23:01 +0000 (Wed, 22 Jan 2014) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Fixed bug in test_version() introduced in r8821. ------------------------------------------------------------------------ r8847 | vlefevre | 2014-01-22 10:41:11 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/src/lngamma.c M /trunk/tests/tlngamma.c [src/lngamma.c] Fixed divide-by-zero flag for negative integers. [tests/tlngamma.c] Test the flags for some special values. Clean-up. ------------------------------------------------------------------------ r8846 | zimmerma | 2014-01-22 10:21:59 +0000 (Wed, 22 Jan 2014) | 2 lines Changed paths: M /trunk/TODO removed two items done ------------------------------------------------------------------------ r8843 | vlefevre | 2014-01-21 17:40:44 +0000 (Tue, 21 Jan 2014) | 3 lines Changed paths: M /trunk/src/exp.c M /trunk/src/exp_2.c M /trunk/src/round_prec.c [src/{exp.c,exp_2.c}] mpfr_exp optimization (modified patch by Patrick Pélissier). [src/round_prec.c] Added a note about the reallocation. ------------------------------------------------------------------------ r8842 | vlefevre | 2014-01-21 17:17:53 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/src/round_prec.c M /trunk/src/set_exp.c LIKELY some code. ------------------------------------------------------------------------ r8841 | vlefevre | 2014-01-21 16:32:49 +0000 (Tue, 21 Jan 2014) | 7 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/lngamma.c M /trunk/tests/tlngamma.c [src/lngamma.c] Fixed mpfr_lngamma behavior on nonpositive integers and -Inf. [doc/mpfr.texi] Updated the documentation on the general rules for special values and on mpfr_lngamma. [tests/tlngamma.c] Update. See (behavior of mpfr_lngamma on zero and general rule for such limits). ------------------------------------------------------------------------ r8840 | vlefevre | 2014-01-21 15:50:01 +0000 (Tue, 21 Jan 2014) | 4 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac [acinclude.m4,configure.ac] Check that a directory passed to a --with-gmp* configure option exists and doesn't contain any space, and canonicalize the name if the realpath utility is available (patch by Patrick Pélissier). ------------------------------------------------------------------------ r8835 | vlefevre | 2014-01-21 14:24:32 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Optimization (modified patch by Patrick Pélissier). ------------------------------------------------------------------------ r8834 | vlefevre | 2014-01-21 14:17:54 +0000 (Tue, 21 Jan 2014) | 3 lines Changed paths: M /trunk/src/abort_prec_max.c M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/add_ui.c M /trunk/src/clear.c M /trunk/src/cmp.c M /trunk/src/div.c M /trunk/src/div_2si.c M /trunk/src/div_ui.c M /trunk/src/exceptions.c M /trunk/src/init2.c M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/mul.c M /trunk/src/mul_ui.c M /trunk/src/set.c M /trunk/src/set_prec.c M /trunk/src/set_ui_2exp.c M /trunk/src/sub.c M /trunk/src/sub1sp.c [src] Added support for MPFR_PURE_FUNCTION_ATTR, MPFR_HOT_FUNCTION_ATTR, and MPFR_COLD_FUNCTION_ATTR, and fixed some LIKELY/UNLIKELY conditions (modified patch by Patrick Pélissier). ------------------------------------------------------------------------ r8833 | vlefevre | 2014-01-21 13:57:50 +0000 (Tue, 21 Jan 2014) | 7 lines Changed paths: M /trunk/src/atanh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/digamma.c M /trunk/src/div.c M /trunk/src/div_ui.c M /trunk/src/eint.c M /trunk/src/erfc.c M /trunk/src/gamma.c M /trunk/src/hypot.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/mpfr-impl.h M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_z.c M /trunk/src/rec_sqrt.c M /trunk/src/round_near_x.c M /trunk/src/subnormal.c M /trunk/src/ui_div.c M /trunk/src/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tools/mpfrlint [src/*.c] Replaced mpfr_set_divby0 by the faster MPFR_SET_DIVBY0, and so on (except for src/exceptions.c). [tools/mpfrlint] Update for flags related functions: check that the macros are used in src (except for exceptions.c and mpfr.h) instead of the functions. [src/mpfr-impl.h] Removed some useless parentheses in comments, for mpfrlint. ------------------------------------------------------------------------ r8832 | zimmerma | 2014-01-21 12:57:53 +0000 (Tue, 21 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tfma.c M /trunk/tests/tfms.c added more detail in case of error ------------------------------------------------------------------------ r8831 | vlefevre | 2014-01-21 11:21:18 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added MPFR_SET_* macros to set flags efficiently. ------------------------------------------------------------------------ r8830 | vlefevre | 2014-01-21 11:05:35 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/src/erf.c Small mpfr_erf improvement (modified patch by Patrick Pélissier). ------------------------------------------------------------------------ r8829 | vlefevre | 2014-01-21 10:51:48 +0000 (Tue, 21 Jan 2014) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] TMP_FREE optimization as tmp_marker is often null (based on a patch by Patrick Pélissier). ------------------------------------------------------------------------ r8828 | vlefevre | 2014-01-21 10:36:26 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] --enable-mini-gmp message: fixed layout; experimental. ------------------------------------------------------------------------ r8827 | vlefevre | 2014-01-21 10:33:27 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mini-gmp support is experimental. ------------------------------------------------------------------------ r8826 | vlefevre | 2014-01-21 10:32:01 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mention the new --enable-mini-gmp configure option. ------------------------------------------------------------------------ r8825 | vlefevre | 2014-01-21 10:30:24 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mini-gmp support. ------------------------------------------------------------------------ r8824 | vlefevre | 2014-01-21 10:28:29 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/NEWS [NEWS] MPFR now depends on GMP 4.2+. Dropped K&R C compatibility. ------------------------------------------------------------------------ r8823 | vlefevre | 2014-01-21 10:25:38 +0000 (Tue, 21 Jan 2014) | 1 line Changed paths: M /trunk/NEWS [NEWS] Better Automake 1.13 support. ------------------------------------------------------------------------ r8821 | vlefevre | 2014-01-21 09:54:21 +0000 (Tue, 21 Jan 2014) | 20 lines Changed paths: M /trunk M /trunk/tests/Makefile.am M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c M /trunk/tests/tversion.c Merged the vl-am113 branch: test suite improvement with Automake 1.13. * Moved GMP version check from tversion.c to the test_version() function of tests.c, so that this check is done in every test. This function now returns an int, as there are now 3 cases: 1. An error in MPFR version check is a fatal error: test_version() exits with an error (exit status = 1). 2. An error in GMP version check is a non-fatal error: if there are no errors in MPFR version check, test_version() returns with value 1. 3. Otherwise test_version() returns with value 0 (everything is fine). * tversion.c still runs test_version(), but fails if this function returns with an error, i.e. any error is fatal for this test. Note: for the other tests, one just has a message in the output in case of GMP version mismatch. * mpfr-test.h: updated test_version() prototype. * Makefile.am: removed the second tversion invocation, and output the contents of tversion.log if this file exists (typically with Automake 1.13+, for which one no longer gets tversion output by default). ------------------------------------------------------------------------ r8819 | vlefevre | 2014-01-20 22:30:05 +0000 (Mon, 20 Jan 2014) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-mini-gmp.h M /trunk/src/mpfr.h M /trunk/tests/tvalist.c Dropped obsolete __gmp_const (replaced by const). ------------------------------------------------------------------------ r8818 | vlefevre | 2014-01-20 22:27:00 +0000 (Mon, 20 Jan 2014) | 1 line Changed paths: M /trunk/TODO [TODO] Removed mini-gmp support: done. ------------------------------------------------------------------------ r8817 | vlefevre | 2014-01-20 22:11:52 +0000 (Mon, 20 Jan 2014) | 1 line Changed paths: M /trunk/src/exp.c Small mpfr_exp improvement (modified patch by Patrick Pélissier). ------------------------------------------------------------------------ r8816 | vlefevre | 2014-01-20 18:17:47 +0000 (Mon, 20 Jan 2014) | 2 lines Changed paths: M /trunk/tools/mbench/Makefile M /trunk/tools/mbench/mfv5.cc M /trunk/tools/mbench/mfv5.h M /trunk/tools/mbench/timp.h [tools/mbench] Patch by Patrick Pélissier: import base support, corei7 support, build fix (with MPFR 3.1+). ------------------------------------------------------------------------ r8815 | zimmerma | 2014-01-20 18:00:57 +0000 (Mon, 20 Jan 2014) | 5 lines Changed paths: M /trunk/src/fma.c come back to revision 8723 which was faster (measured with tools/mbench/mfv5 on 53 and 1024 bits). The reason is that the "new" version had overhead for mpfr_round_p (about 40 cycles on Core 2) and mpfr_set (about 98 cycles for 53 bits, and 132 cycles for 1024 bits) ------------------------------------------------------------------------ r8814 | vlefevre | 2014-01-20 18:00:40 +0000 (Mon, 20 Jan 2014) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/mpfr-impl.h Added __builtin_unreachable / MPFR_ASSUME support (modified patch from Patrick Pélissier). ------------------------------------------------------------------------ r8813 | vlefevre | 2014-01-20 17:44:03 +0000 (Mon, 20 Jan 2014) | 4 lines Changed paths: M /trunk/configure.ac M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mulders.c M /trunk/tests/memory.c M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c MPFR now depends on GMP 4.2+ instead of 4.1+. GMP 4.2 compatibility fixed. Code clean-up. (Modified patch from Patrick Pélissier) ------------------------------------------------------------------------ r8812 | vlefevre | 2014-01-20 17:38:46 +0000 (Mon, 20 Jan 2014) | 1 line Changed paths: M /trunk/src/fms.c [src/fms.c] Coding style. ------------------------------------------------------------------------ r8811 | vlefevre | 2014-01-20 17:37:52 +0000 (Mon, 20 Jan 2014) | 1 line Changed paths: M /trunk/src/fma.c [src/fma.c] Changed mp_prec_t to mpfr_prec_t. ------------------------------------------------------------------------ r8810 | zimmerma | 2014-01-20 17:20:08 +0000 (Mon, 20 Jan 2014) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5-mpfr.cc added mpfr_fma ------------------------------------------------------------------------ r8808 | zimmerma | 2014-01-20 16:44:32 +0000 (Mon, 20 Jan 2014) | 2 lines Changed paths: M /trunk/src/fma.c speed up mpfr_fma [common work with Jeroen Demeyer] ------------------------------------------------------------------------ r8805 | zimmerma | 2014-01-20 14:39:19 +0000 (Mon, 20 Jan 2014) | 2 lines Changed paths: M /trunk/src/fms.c simplified the fms code (joint work with Jeroen Demeyer) ------------------------------------------------------------------------ r8802 | zimmerma | 2014-01-20 12:01:38 +0000 (Mon, 20 Jan 2014) | 2 lines Changed paths: M /trunk/src/exp3.c M /trunk/tests/texp.c fixed bug in mpfr_exp_3, and memory leak in texp ------------------------------------------------------------------------ r8799 | vlefevre | 2014-01-20 11:06:11 +0000 (Mon, 20 Jan 2014) | 3 lines Changed paths: M /trunk/src/li2.c [src/li2.c] Use MPFR_RET_NEVER_GO_HERE () instead of MPFR_ASSERTN (0) to avoid an error with: ./configure --enable-logging CFLAGS="-Werror=return-type"; make ------------------------------------------------------------------------ r8798 | vlefevre | 2014-01-20 11:04:16 +0000 (Mon, 20 Jan 2014) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Updated comment of the MPFR_RET_NEVER_GO_HERE macro. ------------------------------------------------------------------------ r8797 | zimmerma | 2014-01-20 10:07:18 +0000 (Mon, 20 Jan 2014) | 2 lines Changed paths: M /trunk/tests/texp.c added new test that currently fails (found with mini-gmp) ------------------------------------------------------------------------ r8796 | vlefevre | 2014-01-18 23:26:00 +0000 (Sat, 18 Jan 2014) | 3 lines Changed paths: M /trunk/doc/algorithms.tex M /trunk/doc/mpfr.texi M /trunk/src/factorial.c M /trunk/src/mpfr-impl.h M /trunk/src/sub1.c Spelling consistency: non-negative → nonnegative non-positive → nonpositive ------------------------------------------------------------------------ r8795 | vlefevre | 2014-01-18 23:21:07 +0000 (Sat, 18 Jan 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] More on exponent handling. ------------------------------------------------------------------------ r8794 | vlefevre | 2014-01-18 22:43:28 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tset_str.c [tests/tset_str.c] Fixed and improved a mpfr_set_str_binary random test. Some code clean-up. ------------------------------------------------------------------------ r8793 | vlefevre | 2014-01-18 21:40:37 +0000 (Sat, 18 Jan 2014) | 1 line Changed paths: M /trunk/tests/tset_str.c [tests/tset_str.c] Removed useless and confusing cast. ------------------------------------------------------------------------ r8792 | vlefevre | 2014-01-18 20:32:19 +0000 (Sat, 18 Jan 2014) | 1 line Changed paths: M /trunk/src/set_d.c [src/set_d.c] Improved a comment about signed zeros. ------------------------------------------------------------------------ r8791 | zimmerma | 2014-01-18 18:50:30 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c fixed memory leak ------------------------------------------------------------------------ r8790 | zimmerma | 2014-01-18 09:41:16 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: A /trunk/doc/mini-gmp instructions to compile MPFR with mini-gmp ------------------------------------------------------------------------ r8789 | zimmerma | 2014-01-18 09:32:32 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c disable those tests for mini-gmp ------------------------------------------------------------------------ r8788 | zimmerma | 2014-01-18 09:17:16 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tset_str.c fixed test which might produce subnormal numbers ------------------------------------------------------------------------ r8787 | zimmerma | 2014-01-18 08:44:32 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/tests/trandom.c M /trunk/tests/turandom.c disable two tests that depend on the random generator ------------------------------------------------------------------------ r8786 | zimmerma | 2014-01-18 08:38:03 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tui_pow.c followup from previous commit: 1^Inf is special too ------------------------------------------------------------------------ r8785 | zimmerma | 2014-01-18 08:36:54 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tui_pow.c fixed issue for n^x with x=Inf when the random number n is 0 ------------------------------------------------------------------------ r8784 | zimmerma | 2014-01-18 08:28:01 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tfms.c fixed issue when x=0 and y=Inf (or converse) ------------------------------------------------------------------------ r8783 | zimmerma | 2014-01-18 08:26:02 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tfma.c fixed issue when x=0 and y=Inf (or converse) ------------------------------------------------------------------------ r8782 | zimmerma | 2014-01-18 08:17:41 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tget_str.c fixed bug in test file ------------------------------------------------------------------------ r8781 | vlefevre | 2014-01-18 01:28:25 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/src/set_d.c [src/set_d.c] Fixes and other minor changes suggested by Wolf Lammen: https://sympa.inria.fr/sympa/arc/mpfr/2014-01/msg00007.html ------------------------------------------------------------------------ r8780 | vlefevre | 2014-01-18 00:55:24 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/src/set_d.c [src/set_d.c] In extract_double, replaced long by int for exp (it may be faster, and shouldn't be slower as it is more restrictive than long). ------------------------------------------------------------------------ r8779 | vlefevre | 2014-01-18 00:45:20 +0000 (Sat, 18 Jan 2014) | 1 line Changed paths: M /trunk/src/set_d.c [src/set_d.c] Removed obsolete comment from r245. ------------------------------------------------------------------------ r8778 | vlefevre | 2014-01-18 00:40:26 +0000 (Sat, 18 Jan 2014) | 2 lines Changed paths: M /trunk/src/set_d.c [src/set_d.c] Renamed __gmpfr_extract_double to extract_double (this is just a static function). ------------------------------------------------------------------------ r8777 | vlefevre | 2014-01-18 00:30:24 +0000 (Sat, 18 Jan 2014) | 3 lines Changed paths: M /trunk/src/set_d.c [src/set_d.c] Fixed __gmpfr_extract_double precondition on d. Bug found by Wolf Lammen: https://sympa.inria.fr/sympa/arc/mpfr/2014-01/msg00007.html ------------------------------------------------------------------------ r8776 | zimmerma | 2014-01-18 00:18:28 +0000 (Sat, 18 Jan 2014) | 6 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/tests/tset_str.c more progress with mini-gmp: ======================= 9 of 157 tests failed (13 tests were not run) ======================= ------------------------------------------------------------------------ r8775 | vlefevre | 2014-01-18 00:09:17 +0000 (Sat, 18 Jan 2014) | 1 line Changed paths: M /trunk/tests/ty0.c M /trunk/tests/ty1.c [tests/{ty0,ty1}.c] Reduce emax for the generic tests. ------------------------------------------------------------------------ r8774 | vlefevre | 2014-01-17 23:52:16 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] FIXME: proposed method for overflow detection. ------------------------------------------------------------------------ r8773 | vlefevre | 2014-01-17 23:32:17 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Minor improvements. ------------------------------------------------------------------------ r8772 | zimmerma | 2014-01-17 23:26:31 +0000 (Fri, 17 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tsqrt_ui.c missing \n ------------------------------------------------------------------------ r8771 | zimmerma | 2014-01-17 23:25:23 +0000 (Fri, 17 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tmul.c missing \n ------------------------------------------------------------------------ r8770 | zimmerma | 2014-01-17 23:21:58 +0000 (Fri, 17 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tfms.c missing \n in error messages ------------------------------------------------------------------------ r8769 | zimmerma | 2014-01-17 23:20:19 +0000 (Fri, 17 Jan 2014) | 2 lines Changed paths: M /trunk/tests/tfma.c missing \n in error messages ------------------------------------------------------------------------ r8768 | vlefevre | 2014-01-17 23:08:56 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Added a MPFR_LOG_FUNC. ------------------------------------------------------------------------ r8767 | vlefevre | 2014-01-17 23:00:51 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/src/digamma.c [src/digamma.c] FIXME: for x large, use the asymptotic expansion. ------------------------------------------------------------------------ r8766 | vlefevre | 2014-01-17 22:48:52 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/src/digamma.c [src/digamma.c] Added 2 MPFR_LOG_FUNC's. ------------------------------------------------------------------------ r8765 | vlefevre | 2014-01-17 22:46:25 +0000 (Fri, 17 Jan 2014) | 4 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Fixed bug found by PZ: code introduced in r4538 to test the maximum (in absolute value) positive and negative arguments was buggy, as only the negative one was tested. → This makes some tests fail on the maximum positive argument. ------------------------------------------------------------------------ r8764 | zimmerma | 2014-01-17 18:41:13 +0000 (Fri, 17 Jan 2014) | 6 lines Changed paths: M /trunk/src/mpfr-mini-gmp.c M /trunk/tests/tests.c some progress with mini-gmp: ======================= 34 of 157 tests failed (13 tests were not run) ======================= ------------------------------------------------------------------------ r8763 | zimmerma | 2014-01-17 15:51:49 +0000 (Fri, 17 Jan 2014) | 2 lines Changed paths: M /trunk/src/urandomb.c mpn_copyd (rp, sp, n) should be used when rp >= sp ------------------------------------------------------------------------ r8762 | zimmerma | 2014-01-17 12:26:35 +0000 (Fri, 17 Jan 2014) | 2 lines Changed paths: M /trunk/src/urandomb.c fixed bug which could appear with probability 1/2^32 or 1/2^64 ------------------------------------------------------------------------ r8761 | vlefevre | 2014-01-17 09:54:35 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/src/mpfr-mini-gmp.c [src/mpfr-mini-gmp.c] Removed trailing spaces. ------------------------------------------------------------------------ r8760 | vlefevre | 2014-01-17 09:53:44 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Update due to the mini-gmp support (r8753). ------------------------------------------------------------------------ r8759 | vlefevre | 2014-01-17 09:48:04 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/tests/mpf_compat.c M /trunk/tests/mpfr_compat.c M /trunk/tests/terandom.c M /trunk/tests/tget_f.c M /trunk/tests/tgmpop.c M /trunk/tests/tnrandom.c M /trunk/tests/tset_f.c M /trunk/tests/tset_q.c [tests] Various fixes for r8753. ------------------------------------------------------------------------ r8758 | vlefevre | 2014-01-17 09:39:15 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Indentation. ------------------------------------------------------------------------ r8757 | vlefevre | 2014-01-17 09:36:57 +0000 (Fri, 17 Jan 2014) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Indentation. ------------------------------------------------------------------------ r8756 | vlefevre | 2014-01-17 09:33:16 +0000 (Fri, 17 Jan 2014) | 2 lines Changed paths: M /trunk/src/erandom.c M /trunk/src/mpfr-mini-gmp.c M /trunk/src/nrandom.c M /trunk/src/printf.c M /trunk/src/vasprintf.c Avoid an empty translation unit (see ISO C99, 6.9). Some errors could be triggered with "gcc -std=c99 -pedantic-errors". ------------------------------------------------------------------------ r8755 | zimmerma | 2014-01-17 07:22:48 +0000 (Fri, 17 Jan 2014) | 2 lines Changed paths: M /trunk/src/Makefile.am M /trunk/src/mpfr-mini-gmp.c M /trunk/src/mpfr-mini-gmp.h M /trunk/tests/tadd.c more progress for the mini-gmp interface ------------------------------------------------------------------------ r8754 | zimmerma | 2014-01-16 22:03:40 +0000 (Thu, 16 Jan 2014) | 2 lines Changed paths: A /trunk/src/mpfr-mini-gmp.c A /trunk/src/mpfr-mini-gmp.h added two new files for mini-gmp interface ------------------------------------------------------------------------ r8753 | zimmerma | 2014-01-16 22:03:01 +0000 (Thu, 16 Jan 2014) | 3 lines Changed paths: M /trunk/configure.ac M /trunk/src/Makefile.am M /trunk/src/erandom.c M /trunk/src/get_f.c M /trunk/src/gmp_op.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/nrandom.c M /trunk/src/printf.c M /trunk/src/random_deviate.c M /trunk/src/set_f.c M /trunk/src/set_q.c M /trunk/src/vasprintf.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpfr_compat.c M /trunk/tests/tcan_round.c M /trunk/tests/terandom.c M /trunk/tests/tfprintf.c M /trunk/tests/tget_f.c M /trunk/tests/tgmpop.c M /trunk/tests/tgrandom.c M /trunk/tests/tnrandom.c M /trunk/tests/tprintf.c M /trunk/tests/tset_f.c M /trunk/tests/tset_q.c M /trunk/tests/tsprintf.c first step towards making MPFR compile with --enable-mini-gmp, so far make succeeds and all tests compile, but many tests fail, will investigate later ------------------------------------------------------------------------ r8752 | vlefevre | 2014-01-16 13:49:34 +0000 (Thu, 16 Jan 2014) | 7 lines Changed paths: M /trunk/src/get_z_exp.c [src/get_z_exp.c] Added an assert for security in case the precision is large, but the error should be handled properly (to be discussed). Note: there are still corrupt memory problems when the precision is large enough but below the mpz limit (a bug in GMP?). Note [VL, 2014-01-17]: these problems are due to an integer overflow in mpz/clear.c of GMP 5.1.3; I've reported the bug here: https://gmplib.org/list-archives/gmp-bugs/2014-January/003321.html ------------------------------------------------------------------------ r8751 | vlefevre | 2014-01-16 12:10:56 +0000 (Thu, 16 Jan 2014) | 1 line Changed paths: M /trunk/src/get_z_exp.c [src/get_z_exp.c] Avoid a potential overflow. ------------------------------------------------------------------------ r8750 | vlefevre | 2014-01-16 12:03:01 +0000 (Thu, 16 Jan 2014) | 2 lines Changed paths: M /trunk/src/extract.c [src/extract.c] Type clean-up with 2 bug fixes (these bugs should have no effect on most platforms without too aggressive optimizations). ------------------------------------------------------------------------ r8749 | zimmerma | 2014-01-16 11:01:49 +0000 (Thu, 16 Jan 2014) | 2 lines Changed paths: M /trunk/src/extract.c M /trunk/src/get_z_exp.c M /trunk/src/mpfr-gmp.h replaced function _mpz_realloc by preferred one mpz_realloc2 ------------------------------------------------------------------------ r8748 | vlefevre | 2014-01-16 09:00:58 +0000 (Thu, 16 Jan 2014) | 1 line Changed paths: M /trunk/TODO [TODO] Added mini-gmp support. ------------------------------------------------------------------------ r8747 | vlefevre | 2014-01-15 00:13:19 +0000 (Wed, 15 Jan 2014) | 2 lines Changed paths: M /trunk/NEWS [NEWS] Mention speed improvement with --enable-assert[=full] and GCC (due to the fix in r8746). ------------------------------------------------------------------------ r8746 | vlefevre | 2014-01-14 23:44:44 +0000 (Tue, 14 Jan 2014) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed the MPFR_ASSERTN macro as suggested by Wolf Lammen: https://sympa.inria.fr/sympa/arc/mpfr/2014-01/msg00002.html Note: the semantics doesn't change, it should just be more efficient. ------------------------------------------------------------------------ r8745 | vlefevre | 2014-01-12 20:34:17 +0000 (Sun, 12 Jan 2014) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Output MPFR_LDBL_MANT_DIG in some failure case. ------------------------------------------------------------------------ r8744 | vlefevre | 2014-01-11 23:41:59 +0000 (Sat, 11 Jan 2014) | 1 line Changed paths: M /trunk/tests/tset_d.c [tests/tset_d.c] More information in a failed test. ------------------------------------------------------------------------ r8743 | vlefevre | 2014-01-10 15:17:32 +0000 (Fri, 10 Jan 2014) | 2 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] In LOADLIBES, replaced $(INCLUDES) by $(AM_CPPFLAGS) (this should have been done at the same time as r8364). ------------------------------------------------------------------------ r8741 | vlefevre | 2014-01-09 15:33:36 +0000 (Thu, 09 Jan 2014) | 4 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release" update. In particular at step 5, replaced "make dist" by "make distcheck" so that some problems can be detected at step 5 instead of step 6, ensuring that the tarballs are complete. ------------------------------------------------------------------------ r8740 | vlefevre | 2014-01-09 15:22:59 +0000 (Thu, 09 Jan 2014) | 1 line Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] Forgot to add mpfr-cvers.h in r8739. ------------------------------------------------------------------------ r8739 | vlefevre | 2014-01-09 15:19:35 +0000 (Thu, 09 Jan 2014) | 12 lines Changed paths: A /trunk/src/mpfr-cvers.h (from /trunk/src/mpfr-impl.h:8738) M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-sassert.h When static assertions are not supported by the C implementation natively (new C11 feature), their MPFR implementation got broken by changeset r8625, as the __MPFR_GNUC macro in mpfr-sassert.h was not defined in the configure test (since mpfr-impl.h wasn't included) and generated an error, disabling the static assertions support. This is fixed by the following changes, avoiding code duplication and thus risk of inconsistencies in future modification: * copied some of the version detection macros from mpfr-impl.h to a standalone file mpfr-cvers.h, and updated the macros; * in mpfr-impl.h, replaced these macros by a #include "mpfr-cvers.h" and updated a comment; * in mpfr-sassert.h, added a #include "mpfr-cvers.h". ------------------------------------------------------------------------ r8738 | vlefevre | 2014-01-09 14:02:46 +0000 (Thu, 09 Jan 2014) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] In the Static Assertions test, avoid a warning with GCC and added comments. ------------------------------------------------------------------------ r8737 | vlefevre | 2014-01-07 10:10:08 +0000 (Tue, 07 Jan 2014) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r8736 | vlefevre | 2014-01-07 08:51:55 +0000 (Tue, 07 Jan 2014) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Use codespell if available. ------------------------------------------------------------------------ r8734 | vlefevre | 2014-01-07 00:52:51 +0000 (Tue, 07 Jan 2014) | 1 line Changed paths: M /trunk/TODO [TODO] Fixed a misspelling, using codespell. ------------------------------------------------------------------------ r8733 | vlefevre | 2014-01-07 00:49:55 +0000 (Tue, 07 Jan 2014) | 1 line Changed paths: M /trunk/doc/README.dev M /trunk/src/div_ui.c M /trunk/src/eint.c M /trunk/src/erfc.c M /trunk/src/strtofr.c M /trunk/src/sub1sp.c M /trunk/src/vasprintf.c Fixed misspellings, using codespell. ------------------------------------------------------------------------ r8732 | vlefevre | 2014-01-06 00:45:48 +0000 (Mon, 06 Jan 2014) | 1 line Changed paths: M /trunk/TODO [TODO] Added item: new functions of IEEE 754-2008 / C binding draft. ------------------------------------------------------------------------ r8731 | vlefevre | 2014-01-05 04:37:58 +0000 (Sun, 05 Jan 2014) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] "To make a release": added a paragraph about warnings. ------------------------------------------------------------------------ r8730 | vlefevre | 2014-01-05 03:28:14 +0000 (Sun, 05 Jan 2014) | 1 line Changed paths: M /trunk/tests/trint.c [tests/trint.c] Avoid a warning. ------------------------------------------------------------------------ r8729 | vlefevre | 2014-01-05 03:23:10 +0000 (Sun, 05 Jan 2014) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Avoid a warning due to variable set but not used in a test, making the test fail with gcc -Werror=unused-but-set-variable. ------------------------------------------------------------------------ r8728 | vlefevre | 2014-01-05 03:17:16 +0000 (Sun, 05 Jan 2014) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Replaced "main()" by "main (void)". ------------------------------------------------------------------------ r8726 | vlefevre | 2014-01-04 03:02:09 +0000 (Sat, 04 Jan 2014) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8725 | vlefevre | 2014-01-03 20:57:13 +0000 (Fri, 03 Jan 2014) | 2 lines Changed paths: M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/exceptions.c M /trunk/src/mpfr-impl.h M /trunk/src/set_dfl_prec.c M /trunk/src/set_rnd.c Fixed warnings from GCC's -Wold-style-declaration option: MPFR_THREAD_ATTR must be at beginning of declaration. ------------------------------------------------------------------------ r8723 | vlefevre | 2014-01-03 20:33:38 +0000 (Fri, 03 Jan 2014) | 5 lines Changed paths: M /trunk/BUGS M /trunk/INSTALL M /trunk/Makefile.am M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/FAQ.html M /trunk/doc/Makefile.am M /trunk/doc/README.dev M /trunk/doc/faq.xsl M /trunk/doc/mpfr.texi M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c M /trunk/src/Makefile.am M /trunk/src/abort_prec_max.c M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/asin.c M /trunk/src/asinh.c M /trunk/src/atan.c M /trunk/src/atan2.c M /trunk/src/atanh.c M /trunk/src/bernoulli.c M /trunk/src/buildopt.c M /trunk/src/cache.c M /trunk/src/cbrt.c M /trunk/src/check.c M /trunk/src/clear.c M /trunk/src/clears.c M /trunk/src/cmp.c M /trunk/src/cmp2.c M /trunk/src/cmp_abs.c M /trunk/src/cmp_d.c M /trunk/src/cmp_ld.c M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c M /trunk/src/comparisons.c M /trunk/src/const_catalan.c M /trunk/src/const_euler.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/constant.c M /trunk/src/copysign.c M /trunk/src/cos.c M /trunk/src/cosh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/digamma.c M /trunk/src/dim.c M /trunk/src/div.c M /trunk/src/div_2exp.c M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/div_d.c M /trunk/src/div_ui.c M /trunk/src/dump.c M /trunk/src/eint.c M /trunk/src/eq.c M /trunk/src/erandom.c M /trunk/src/erf.c M /trunk/src/erfc.c M /trunk/src/exceptions.c M /trunk/src/exp.c M /trunk/src/exp10.c M /trunk/src/exp2.c M /trunk/src/exp3.c M /trunk/src/exp_2.c M /trunk/src/expm1.c M /trunk/src/extract.c M /trunk/src/factorial.c M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_sint.c M /trunk/src/fits_slong.c M /trunk/src/fits_sshort.c M /trunk/src/fits_u.h M /trunk/src/fits_uint.c M /trunk/src/fits_uintmax.c M /trunk/src/fits_ulong.c M /trunk/src/fits_ushort.c M /trunk/src/fma.c M /trunk/src/fms.c M /trunk/src/fpif.c M /trunk/src/frac.c M /trunk/src/free_cache.c M /trunk/src/frexp.c M /trunk/src/gamma.c M /trunk/src/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/generic/coverage/mparam.h M /trunk/src/generic/mparam.h M /trunk/src/get_d.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_float128.c M /trunk/src/get_flt.c M /trunk/src/get_ld.c M /trunk/src/get_si.c M /trunk/src/get_sj.c M /trunk/src/get_str.c M /trunk/src/get_ui.c M /trunk/src/get_uj.c M /trunk/src/get_z.c M /trunk/src/get_z_exp.c M /trunk/src/gmp_op.c M /trunk/src/grandom.c M /trunk/src/hppa/mparam.h M /trunk/src/hypot.c M /trunk/src/ia64/mparam.h M /trunk/src/ieee_floats.h M /trunk/src/init.c M /trunk/src/init2.c M /trunk/src/inits.c M /trunk/src/inits2.c M /trunk/src/inp_str.c M /trunk/src/int_ceil_log2.c M /trunk/src/isinf.c M /trunk/src/isinteger.c M /trunk/src/isnan.c M /trunk/src/isnum.c M /trunk/src/isqrt.c M /trunk/src/isregular.c M /trunk/src/iszero.c M /trunk/src/jn.c M /trunk/src/jyn_asympt.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c M /trunk/src/mips/mparam.h M /trunk/src/modf.c M /trunk/src/mp_clz_tab.c M /trunk/src/mparam_h.in M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-intmax.h M /trunk/src/mpfr-longlong.h M /trunk/src/mpfr-sassert.h M /trunk/src/mpfr-thread.h M /trunk/src/mpfr.h M /trunk/src/mpn_exp.c M /trunk/src/mul.c M /trunk/src/mul_2exp.c M /trunk/src/mul_2si.c M /trunk/src/mul_2ui.c M /trunk/src/mul_d.c M /trunk/src/mul_ui.c M /trunk/src/mulders.c M /trunk/src/neg.c M /trunk/src/next.c M /trunk/src/nrandom.c M /trunk/src/out_str.c M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_ui.c M /trunk/src/pow_z.c M /trunk/src/powerof2.c M /trunk/src/powerpc32/mparam.h M /trunk/src/powerpc64/mparam.h M /trunk/src/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/random_deviate.c M /trunk/src/random_deviate.h M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.c M /trunk/src/rndna.c M /trunk/src/root.c M /trunk/src/round_near_x.c M /trunk/src/round_p.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/scale2.c M /trunk/src/sec.c M /trunk/src/sech.c M /trunk/src/set.c M /trunk/src/set_d.c M /trunk/src/set_d64.c M /trunk/src/set_dfl_prec.c M /trunk/src/set_exp.c M /trunk/src/set_f.c M /trunk/src/set_float128.c M /trunk/src/set_flt.c M /trunk/src/set_inf.c M /trunk/src/set_ld.c M /trunk/src/set_nan.c M /trunk/src/set_prc_raw.c M /trunk/src/set_prec.c M /trunk/src/set_q.c M /trunk/src/set_rnd.c M /trunk/src/set_si.c M /trunk/src/set_si_2exp.c M /trunk/src/set_sj.c M /trunk/src/set_str.c M /trunk/src/set_str_raw.c M /trunk/src/set_ui.c M /trunk/src/set_ui_2exp.c M /trunk/src/set_uj.c M /trunk/src/set_z.c M /trunk/src/set_z_exp.c M /trunk/src/set_zero.c M /trunk/src/setmax.c M /trunk/src/setmin.c M /trunk/src/setsign.c M /trunk/src/sgn.c M /trunk/src/si_op.c M /trunk/src/signbit.c M /trunk/src/sin.c M /trunk/src/sin_cos.c M /trunk/src/sinh.c M /trunk/src/sinh_cosh.c M /trunk/src/sparc64/mparam.h M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sqrt_ui.c M /trunk/src/stack_interface.c M /trunk/src/strtofr.c M /trunk/src/sub.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sub_d.c M /trunk/src/sub_ui.c M /trunk/src/subnormal.c M /trunk/src/sum.c M /trunk/src/swap.c M /trunk/src/tan.c M /trunk/src/tanh.c M /trunk/src/uceil_exp2.c M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c M /trunk/src/ui_div.c M /trunk/src/ui_pow.c M /trunk/src/ui_pow_ui.c M /trunk/src/ui_sub.c M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/src/vasprintf.c M /trunk/src/version.c M /trunk/src/volatile.c M /trunk/src/x86/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/corei5/mparam.h M /trunk/src/x86_64/pentium4/mparam.h M /trunk/src/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tests/Makefile.am M /trunk/tests/cmp_str.c M /trunk/tests/data/digamma M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/random2.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c M /trunk/tests/tabort_prec_max.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tai.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tassert.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terandom.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfpif.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tfrexp.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/tgrandom.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tnrandom.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/trndna.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_float128.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstdint.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tvalist.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tools/ck-copyright-notice M /trunk/tools/ck-mparam M /trunk/tools/ck-version-info M /trunk/tools/get_patches.sh M /trunk/tune/Makefile.am M /trunk/tune/bidimensional_sample.c M /trunk/tune/speed.c M /trunk/tune/tuneup.c Copyright notice update: added 2014 with perl -pi -e 's/ (\d{4}-)?(2013)(?= Free Software)/ " ".($1||"$2-").($2+1)/e' **/*(^/) under zsh (the tools/mbench directory was not modified). Removed 2013 from the example in the doc/README.dev file. ------------------------------------------------------------------------ r8722 | zimmerma | 2013-12-17 06:37:59 +0000 (Tue, 17 Dec 2013) | 3 lines Changed paths: M /trunk/src/strtofr.c work around for bug in mpn_set_str (https://gmplib.org/list-archives/gmp-bugs/2013-December/003267.html) ------------------------------------------------------------------------ r8721 | vlefevre | 2013-12-12 12:18:05 +0000 (Thu, 12 Dec 2013) | 3 lines Changed paths: A /trunk/tools/repl-variadic Added tools/repl-variadic Perl script to replace the variadic functions mpfr_clears, mpfr_inits and mpfr_inits2, in case they are not supported by the compiler. ------------------------------------------------------------------------ r8716 | vlefevre | 2013-11-28 18:05:41 +0000 (Thu, 28 Nov 2013) | 2 lines Changed paths: M /trunk/tests/tstckintc.c [tests/tstckintc.c] Improved tests when mpfr_custom_init_set is used as a macro (i.e. without parentheses) to trigger the bug fixed in r8715. ------------------------------------------------------------------------ r8715 | vlefevre | 2013-11-28 17:59:54 +0000 (Thu, 28 Nov 2013) | 5 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Fixed bug in the mpfr_custom_init_set macro (typo in variable name, which can yield incorrect behavior if the second argument is not a simple expression). Thanks to Andreas Enge for the bug report: https://sympa.inria.fr/sympa/arc/mpfr/2013-11/msg00029.html ------------------------------------------------------------------------ r8714 | vlefevre | 2013-11-21 02:02:54 +0000 (Thu, 21 Nov 2013) | 17 lines Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] No longer declare B as initialized with GCC (see r5534), as the "may be used uninitialized" warning no longer occurs with latest GCC: trunk revision 203899 (Debian 20131021-1), for the future GCC 4.9. The warning still occurs with GCC 4.8.2 (Debian 4.8.2-1): $ gcc-4.8 -O2 -Wall -c gamma.c In file included from gamma.c:27:0: gamma.c: In function ‘mpfr_gamma’: lngamma.c:468:17: warning: ‘B’ may be used uninitialized in this function [-Wmaybe-uninitialized] B = mpfr_bernoulli_internal (B, m); /* B[2m]*(2m+1)!, exact */ ^ lngamma.c:165:10: note: ‘B’ was declared here mpz_t *B; ^ Note: with GCC 4.8.2, at least -O is needed to reproduce the warning, and -Wmaybe-uninitialized without -Wuninitialized (or -Wall) doesn't trigger the warning. ------------------------------------------------------------------------ r8713 | zimmerma | 2013-11-15 07:36:08 +0000 (Fri, 15 Nov 2013) | 2 lines Changed paths: M /trunk/tools/nightly-test added -Wlogical-op ------------------------------------------------------------------------ r8709 | vlefevre | 2013-11-15 00:46:21 +0000 (Fri, 15 Nov 2013) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added a few tests. ------------------------------------------------------------------------ r8707 | vlefevre | 2013-11-15 00:26:52 +0000 (Fri, 15 Nov 2013) | 4 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] This may seem obvious, but this is not the first time this happens: + "When adding the expected result, do NOT use the one obtained from the MPFR function! Otherwise, if this function is buggy, the test will be wrong and the function will remain buggy." ------------------------------------------------------------------------ r8706 | vlefevre | 2013-11-15 00:17:16 +0000 (Fri, 15 Nov 2013) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Fixed incorrect test from r5652 (the corresponding bug in src/vasprintf.c has been fixed in r8705). ------------------------------------------------------------------------ r8705 | zimmerma | 2013-11-14 19:04:02 +0000 (Thu, 14 Nov 2013) | 3 lines Changed paths: M /trunk/src/vasprintf.c fixed bug reported by David Binderman (https://sympa.inria.fr/sympa/arc/mpfr/2013-11/msg00009.html) ------------------------------------------------------------------------ r8703 | vlefevre | 2013-11-06 14:54:45 +0000 (Wed, 06 Nov 2013) | 1 line Changed paths: M /trunk/tests/thypot.c [tests/thypot.c] More NaN tests. ------------------------------------------------------------------------ r8702 | thevenyp | 2013-11-06 13:27:15 +0000 (Wed, 06 Nov 2013) | 1 line Changed paths: M /trunk/tests/thypot.c [tests/thypot.c] Fix use of a non explicitly initialized variable. ------------------------------------------------------------------------ r8701 | zimmerma | 2013-11-04 21:03:02 +0000 (Mon, 04 Nov 2013) | 2 lines Changed paths: M /trunk/src/sum.c [sum.c] the call to mpfr_can_round was obviously wrong ------------------------------------------------------------------------ r8700 | vlefevre | 2013-11-04 18:12:08 +0000 (Mon, 04 Nov 2013) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Updated TODO comment (→ check underflows). ------------------------------------------------------------------------ r8699 | zimmerma | 2013-11-04 17:07:40 +0000 (Mon, 04 Nov 2013) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/sum.c M /trunk/tests/tsum.c [sum.c] mpfr_sum should consider the maximal precision of its inputs/output ------------------------------------------------------------------------ r8698 | vlefevre | 2013-10-28 09:36:01 +0000 (Mon, 28 Oct 2013) | 2 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Added a TODO comment: add generic random test with cancellations, and tests with intermediate overflows. ------------------------------------------------------------------------ r8697 | vlefevre | 2013-10-28 09:02:45 +0000 (Mon, 28 Oct 2013) | 2 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Added test for bug reported by Joseph S. Myers: https://sympa.inria.fr/sympa/arc/mpfr/2013-10/msg00015.html ------------------------------------------------------------------------ r8692 | vlefevre | 2013-09-27 14:08:05 +0000 (Fri, 27 Sep 2013) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added an example for mpfr_fits_*, corresponding to the bug fixed in r8503. ------------------------------------------------------------------------ r8690 | vlefevre | 2013-09-27 13:30:54 +0000 (Fri, 27 Sep 2013) | 5 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/tests/tset_ld.c [src/mpfr-impl.h] Document that DOUBLE_ISNAN(x) is valid on long double. [tests/tset_ld.c] In Isnan_ld, do not convert the long double argument to double, as this can give an overflow and unexpected behavior without default IEEE 754 behavior. With this change, this tset_ld test no longer fails with "clang -O2 -fsanitize=undefined -fno-sanitize-recover". ------------------------------------------------------------------------ r8689 | vlefevre | 2013-09-27 12:57:37 +0000 (Fri, 27 Sep 2013) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Avoid a division by zero if MPFR_ERRDIVZERO. ------------------------------------------------------------------------ r8688 | vlefevre | 2013-09-27 12:48:31 +0000 (Fri, 27 Sep 2013) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Move tests_start_mpfr call earlier. ------------------------------------------------------------------------ r8687 | vlefevre | 2013-09-27 12:39:40 +0000 (Fri, 27 Sep 2013) | 1 line Changed paths: M /trunk/tests/tget_flt.c [tests/tget_flt.c] Corrections when MPFR_ERRDIVZERO is defined. ------------------------------------------------------------------------ r8686 | vlefevre | 2013-09-27 12:25:24 +0000 (Fri, 27 Sep 2013) | 5 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] With clang, disable division by zero using constants due to a bug in its sanitizer and because IEEE 754 division by zero is currently not properly supported. With this change, the tget_d test no longer fails with: clang -O2 -fsanitize=undefined -fno-sanitize-recover ------------------------------------------------------------------------ r8685 | vlefevre | 2013-09-26 13:21:02 +0000 (Thu, 26 Sep 2013) | 1 line Changed paths: M /trunk/tests/tget_flt.c [tests/tget_flt.c] Protect a division by 0. ------------------------------------------------------------------------ r8681 | vlefevre | 2013-09-17 12:41:50 +0000 (Tue, 17 Sep 2013) | 1 line Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] Updated -version-info to 6:0:2 for MPFR 3.2.0. ------------------------------------------------------------------------ r8680 | vlefevre | 2013-09-16 08:56:31 +0000 (Mon, 16 Sep 2013) | 2 lines Changed paths: M /trunk/NEWS [NEWS] For MPFR 3.2: The --enable-decimal-float configure option no longer requires --with-gmp-build (see r8402). ------------------------------------------------------------------------ r8679 | vlefevre | 2013-09-15 22:46:47 +0000 (Sun, 15 Sep 2013) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Detect broken _Decimal64 support on powerpc64 with the mode32 ABI. ------------------------------------------------------------------------ r8678 | vlefevre | 2013-09-15 22:20:20 +0000 (Sun, 15 Sep 2013) | 1 line Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] More meaningful messages in check_inf_nan. ------------------------------------------------------------------------ r8677 | vlefevre | 2013-09-15 21:48:18 +0000 (Sun, 15 Sep 2013) | 2 lines Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] More meaningful messages in check_inf_nan after failures on powerpc64 with the mode32 ABI. ------------------------------------------------------------------------ r8676 | vlefevre | 2013-09-04 11:50:39 +0000 (Wed, 04 Sep 2013) | 1 line Changed paths: M /trunk/TODO [TODO] Added: implement optional cache sharing between threads. ------------------------------------------------------------------------ r8674 | vlefevre | 2013-09-02 13:30:46 +0000 (Mon, 02 Sep 2013) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Changed node name "Integer Related Functions" to "Integer and Remainder Related Functions", as the corresponding section title was changed in r4867. Added associated @cindex. ------------------------------------------------------------------------ r8673 | vlefevre | 2013-09-02 13:17:18 +0000 (Mon, 02 Sep 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8672 | vlefevre | 2013-09-02 13:15:25 +0000 (Mon, 02 Sep 2013) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Specified special values (in particular the sign of 0) for Section 5.10 "Integer and Remainder Related Functions". ------------------------------------------------------------------------ r8671 | vlefevre | 2013-09-02 01:45:33 +0000 (Mon, 02 Sep 2013) | 3 lines Changed paths: M /trunk/src/round_raw_generic.c [src/round_raw_generic.c] Support MPFR_RNDNA for this class of functions at the request of John P. Hartmann (to support one of IBM's High Level Assembler rounding mode for hexadecimal floating-point constants). ------------------------------------------------------------------------ r8670 | vlefevre | 2013-09-02 01:22:20 +0000 (Mon, 02 Sep 2013) | 1 line Changed paths: M /trunk/src/round_raw_generic.c [src/round_raw_generic.c] Code simplification / comment corrections. ------------------------------------------------------------------------ r8668 | vlefevre | 2013-08-26 13:42:04 +0000 (Mon, 26 Aug 2013) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] About clang sanitizer, mention -fno-sanitize-recover for more visibility in automated tests. ------------------------------------------------------------------------ r8667 | vlefevre | 2013-08-23 11:12:37 +0000 (Fri, 23 Aug 2013) | 2 lines Changed paths: M /trunk/src/ai.c [src/ai.c] Moved the handling of the special cases NaN and ±Inf to the main function mpfr_ai. ------------------------------------------------------------------------ r8666 | vlefevre | 2013-08-23 02:41:24 +0000 (Fri, 23 Aug 2013) | 4 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/agm.c M /trunk/tests/tagm.c [src/agm.c] Corrected a comment. [tests/tagm.c] Added tests concerning special values, in particular (zero,negative) and symmetric tests. [doc/mpfr.texi] Corrected mpfr_agm description. ------------------------------------------------------------------------ r8665 | vlefevre | 2013-08-21 13:51:24 +0000 (Wed, 21 Aug 2013) | 2 lines Changed paths: M /trunk/TODO [TODO] Revisit the conversion functions between a MPFR number and a native floating-point value. ------------------------------------------------------------------------ r8664 | vlefevre | 2013-08-19 09:39:12 +0000 (Mon, 19 Aug 2013) | 4 lines Changed paths: M /trunk/doc [doc] Added mpfr.t2d and mpfr.t2p to svn:ignore property. Note: These directories are now generated when using "make mpfr.dvi" and "make mpfr.pdf". This comes from a change in Automake 1.13 (see its 2012-06-20 changelog) for the texi2dvi and texi2pdf invocations. ------------------------------------------------------------------------ r8663 | vlefevre | 2013-08-10 11:30:35 +0000 (Sat, 10 Aug 2013) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Before release, test with gcc -mpc64 under Linux/x86. ------------------------------------------------------------------------ r8662 | zimmerma | 2013-08-08 13:12:06 +0000 (Thu, 08 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tversion.c [tversion.c] added GCC version ------------------------------------------------------------------------ r8661 | zimmerma | 2013-08-08 12:52:58 +0000 (Thu, 08 Aug 2013) | 4 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] try to fix a bug on i686-freebsd (see http://hydra.nixos.org/build/5665961/log/raw) ------------------------------------------------------------------------ r8660 | zimmerma | 2013-08-08 08:02:10 +0000 (Thu, 08 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] added debug information ------------------------------------------------------------------------ r8659 | vlefevre | 2013-08-07 20:22:46 +0000 (Wed, 07 Aug 2013) | 3 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Reverted changeset r8657 as %a is C99-only. Moreover the memory representation already gives the necessary information (and the decimal output was correct on the machine where the test fails). ------------------------------------------------------------------------ r8658 | zimmerma | 2013-08-07 20:13:50 +0000 (Wed, 07 Aug 2013) | 3 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] maybe this will fix the issue for i686-freebsd? Cf http://hydra.nixos.org/build/5662697. ------------------------------------------------------------------------ r8657 | zimmerma | 2013-08-07 19:55:02 +0000 (Wed, 07 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] in case of error, print d in hexadecimal ------------------------------------------------------------------------ r8656 | vlefevre | 2013-08-07 09:56:38 +0000 (Wed, 07 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] In the "mpfr_set_ld should be exact" error, output the memory representation of d. ------------------------------------------------------------------------ r8655 | zimmerma | 2013-08-07 08:56:42 +0000 (Wed, 07 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] print value of MPFR_LDBL_MANT_DIG in case of error ------------------------------------------------------------------------ r8654 | vlefevre | 2013-08-07 01:24:06 +0000 (Wed, 07 Aug 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Space consistency. ------------------------------------------------------------------------ r8653 | vlefevre | 2013-08-06 08:09:27 +0000 (Tue, 06 Aug 2013) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Corrected a comment. ------------------------------------------------------------------------ r8652 | vlefevre | 2013-08-06 02:00:54 +0000 (Tue, 06 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Set some long double variables as volatile in order to avoid optimizations that yield failures with xlc on power7 (not tested). ------------------------------------------------------------------------ r8651 | vlefevre | 2013-08-06 00:48:02 +0000 (Tue, 06 Aug 2013) | 2 lines Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Oops... The non-working code was due to a missing cast. So, simplified the code. ------------------------------------------------------------------------ r8650 | vlefevre | 2013-08-06 00:44:25 +0000 (Tue, 06 Aug 2013) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/get_ld.c [acinclude.m4] Define HAVE_LDOUBLE_MAYBE_DOUBLE_DOUBLE if the "long double" format seems to be double-double (e.g. on PowerPC). [src/get_ld.c] Added double-double support. ------------------------------------------------------------------------ r8649 | vlefevre | 2013-08-05 23:31:54 +0000 (Mon, 05 Aug 2013) | 1 line Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] GNU style. ------------------------------------------------------------------------ r8648 | vlefevre | 2013-08-05 23:28:01 +0000 (Mon, 05 Aug 2013) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Improved output in case of error. ------------------------------------------------------------------------ r8647 | vlefevre | 2013-08-05 23:05:45 +0000 (Mon, 05 Aug 2013) | 5 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Improved check_set_get() test function; in particular, it no longer takes a mpfr_t argument: the precision of the MPFR number is now determined dynamically from the long double d. Thus some numbers having a precision > MPFR_LDBL_MANT_DIG in double-double arithmetic are now tested (e.g. on PowerPC). ------------------------------------------------------------------------ r8645 | vlefevre | 2013-08-05 16:38:39 +0000 (Mon, 05 Aug 2013) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] "correctly-rounded" → "correctly rounded" (see rule on https://en.wikipedia.org/wiki/Wikipedia:HYPHEN#Hyphens and the IEEE 754 and ISO C standards don't use a hyphen either). ------------------------------------------------------------------------ r8644 | vlefevre | 2013-08-05 02:13:23 +0000 (Mon, 05 Aug 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added missing @code{}'s in mpfr_fpif_import description. ------------------------------------------------------------------------ r8643 | vlefevre | 2013-08-05 02:08:04 +0000 (Mon, 05 Aug 2013) | 6 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Replaced periods ending a sentence by "@." in the following cases: when the preceding character is a capital letter or a closing parenthesis following a capital letter (e.g. "NaN.", "MPFR.", "MPFR).", etc). This is needed to get correct spacing in the generated .info and PDF files with the next sentence of the paragraph (when there is one). ------------------------------------------------------------------------ r8642 | vlefevre | 2013-08-05 01:17:15 +0000 (Mon, 05 Aug 2013) | 4 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Removed the "check largest 2^k that is representable as a long double" test based on macros LDBL_MAX and LDBL_EPSILON, which are not correct in some C implementations. There is already another "check the largest power of two" test, based on a loop, which is OK. ------------------------------------------------------------------------ r8641 | zimmerma | 2013-08-04 10:53:07 +0000 (Sun, 04 Aug 2013) | 4 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] improve tests to avoid spurious errors for double-double representation where MPFR_LDBL_MANT_DIG=106 and numbers with 107 bits or more ------------------------------------------------------------------------ r8640 | vlefevre | 2013-08-02 23:24:44 +0000 (Fri, 02 Aug 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Document that log1p(-1) = -Inf. ------------------------------------------------------------------------ r8639 | vlefevre | 2013-08-02 23:17:16 +0000 (Fri, 02 Aug 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8638 | vlefevre | 2013-08-02 23:15:42 +0000 (Fri, 02 Aug 2013) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Moved mpfr_log1p & mpfr_expm1 after mpfr_log & mpfr_exp respectively. ------------------------------------------------------------------------ r8637 | vlefevre | 2013-08-02 08:29:06 +0000 (Fri, 02 Aug 2013) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Comment on LDBL_MAX. ------------------------------------------------------------------------ r8636 | zimmerma | 2013-08-02 08:21:33 +0000 (Fri, 02 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] missing conversion from int to mpfr_rnd_t ------------------------------------------------------------------------ r8635 | zimmerma | 2013-08-02 07:26:02 +0000 (Fri, 02 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] improve error message ------------------------------------------------------------------------ r8634 | vlefevre | 2013-08-02 03:21:02 +0000 (Fri, 02 Aug 2013) | 1 line Changed paths: M /trunk/src/set_ld.c [src/set_ld.c] Corrected a comment. ------------------------------------------------------------------------ r8633 | vlefevre | 2013-08-01 14:15:30 +0000 (Thu, 01 Aug 2013) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Completed specification of mpfr_lngamma and mpfr_lgamma on 1 and 2 (result is +0). ------------------------------------------------------------------------ r8632 | vlefevre | 2013-08-01 13:52:40 +0000 (Thu, 01 Aug 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved description of mpfr_rec_sqrt and mpfr_hypot. ------------------------------------------------------------------------ r8631 | vlefevre | 2013-08-01 13:41:24 +0000 (Thu, 01 Aug 2013) | 1 line Changed paths: M /trunk/tests [tests] Added terandom and tnrandom to svn:ignore property. ------------------------------------------------------------------------ r8630 | vlefevre | 2013-08-01 13:34:41 +0000 (Thu, 01 Aug 2013) | 1 line Changed paths: M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/log.c M /trunk/src/rec_sqrt.c [src] Improved some comments with "0", about its sign. ------------------------------------------------------------------------ r8629 | vlefevre | 2013-08-01 13:33:33 +0000 (Thu, 01 Aug 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Completed specification on special numbers (±0, ±Inf). ------------------------------------------------------------------------ r8628 | zimmerma | 2013-08-01 07:58:05 +0000 (Thu, 01 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] increase precision to take into account double-double encoding ------------------------------------------------------------------------ r8627 | zimmerma | 2013-08-01 07:10:05 +0000 (Thu, 01 Aug 2013) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] replaced error by warning when _GMP_IEEE_FLOATS is not defined ------------------------------------------------------------------------ r8625 | vlefevre | 2013-07-22 14:32:12 +0000 (Mon, 22 Jul 2013) | 4 lines Changed paths: M /trunk/src/mpfr-sassert.h [src/mpfr-sassert.h] Get rid of annoying warnings typedef 'MPFR_ASSERT_xxx' locally defined but not used with GCC 4.8+ (better than the non-portable solution r8618). Thanks to Jonathan Wakely: https://gcc.gnu.org/legacy-ml/gcc-help/2013-07/msg00142.html ------------------------------------------------------------------------ r8624 | zimmerma | 2013-07-22 12:06:18 +0000 (Mon, 22 Jul 2013) | 4 lines Changed paths: M /trunk/configure.ac [configure.ac] revert commit 8618 since it breaks hydra jobs i686-cygwin, i686-freebsd, i686-solaris and x86_64-freebsd (cf http://hydra.nixos.org/eval/955753) ------------------------------------------------------------------------ r8621 | vlefevre | 2013-07-22 02:20:41 +0000 (Mon, 22 Jul 2013) | 3 lines Changed paths: M /trunk/src/asinh.c M /trunk/src/atanh.c M /trunk/src/cosh.c M /trunk/src/digamma.c M /trunk/src/eint.c M /trunk/src/erfc.c M /trunk/src/exp2.c M /trunk/src/factorial.c M /trunk/src/init2.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-longlong.h M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_z.c M /trunk/src/rec_sqrt.c M /trunk/src/sinh.c M /trunk/src/sinh_cosh.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sum.c M /trunk/src/tanh.c M /trunk/src/ui_pow_ui.c M /trunk/src/vasprintf.c M /trunk/src/zeta.c M /trunk/tests/mpf_compat.h M /trunk/tests/tabort_prec_max.c M /trunk/tests/tget_sj.c M /trunk/tests/tprintf.c M /trunk/tests/tset_si.c M /trunk/tests/tsprintf.c M /trunk/tools/mbench/timp.h M /trunk/tune/bidimensional_sample.c M /trunk/tune/tuneup.c Applied patch 3 by Ondřej Bílka with some manual corrections, fixing typos: https://sympa.inria.fr/sympa/arc/mpfr/2013-07/msg00016.html ------------------------------------------------------------------------ r8620 | vlefevre | 2013-07-22 02:04:00 +0000 (Mon, 22 Jul 2013) | 2 lines Changed paths: M /trunk/src/mpfr-longlong.h M /trunk/src/round_raw_generic.c M /trunk/src/strtofr.c M /trunk/src/sub1sp.c M /trunk/src/sum.c M /trunk/src/zeta.c Applied patch 2 by Ondřej Bílka, fixing capitalization: https://sympa.inria.fr/sympa/arc/mpfr/2013-07/msg00015.html ------------------------------------------------------------------------ r8619 | vlefevre | 2013-07-22 02:01:45 +0000 (Mon, 22 Jul 2013) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/nrandom.c M /trunk/src/set_uj.c M /trunk/src/sub1sp.c M /trunk/src/vasprintf.c M /trunk/tools/mbench/mpfr-v4.c M /trunk/tools/mbench/mpfr-v6.c Applied patch 1 by Ondřej Bílka, fixing common typos: https://sympa.inria.fr/sympa/arc/mpfr/2013-07/msg00014.html ------------------------------------------------------------------------ r8618 | vlefevre | 2013-07-22 01:58:23 +0000 (Mon, 22 Jul 2013) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] Added -Wno-unused-local-typedefs flag to avoid spurious "typedef 'MPFR_ASSERT_xxx' locally defined but not used" warnings due to the implementation of static assertions. ------------------------------------------------------------------------ r8617 | vlefevre | 2013-07-16 16:55:33 +0000 (Tue, 16 Jul 2013) | 1 line Changed paths: M /trunk/doc/README.dev Slightly restructured doc/README.dev and mentioned C-Reduce. ------------------------------------------------------------------------ r8616 | vlefevre | 2013-07-12 10:51:19 +0000 (Fri, 12 Jul 2013) | 4 lines Changed paths: M /trunk/configure.ac [configure.ac] If the gmp.h vs libgmp test fails, also output the value of some variables (in case config.log is available, information can also be retrieved from "Cache variables" and "Output variables" near the end). ------------------------------------------------------------------------ r8615 | zimmerma | 2013-07-12 07:28:18 +0000 (Fri, 12 Jul 2013) | 2 lines Changed paths: M /trunk/configure.ac revert temporary commit 8613 ------------------------------------------------------------------------ r8614 | vlefevre | 2013-07-11 11:33:12 +0000 (Thu, 11 Jul 2013) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Improved MPFR_CHECK_DBL2INT_BUG in case of failure and added comments about that. ------------------------------------------------------------------------ r8613 | zimmerma | 2013-07-11 10:07:51 +0000 (Thu, 11 Jul 2013) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] temporary commit to investigate problem with i686-solaris on hydra ------------------------------------------------------------------------ r8612 | vlefevre | 2013-07-11 01:58:44 +0000 (Thu, 11 Jul 2013) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] In the CC and CFLAGS setup from gmp.h, modified the list of commands to select the C preprocessor since /lib/cpp isn't the best choice under Solaris. ------------------------------------------------------------------------ r8611 | vlefevre | 2013-07-11 01:38:47 +0000 (Thu, 11 Jul 2013) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] Moved AM_PROG_AR (introduced in r8546) after the CC and CFLAGS setup from gmp.h, because AM_PROG_AR makes Autoconf select a compiler (before it may be chosen from __GMP_CC). ------------------------------------------------------------------------ r8610 | vlefevre | 2013-07-11 01:24:13 +0000 (Thu, 11 Jul 2013) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] The test of CC and CFLAGS was done too late! Moved this test earlier (checked on Debian/unstable with autoconf 2.69). ------------------------------------------------------------------------ r8609 | vlefevre | 2013-07-10 15:24:00 +0000 (Wed, 10 Jul 2013) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Improved r8608 (gmp.h/libgmp on stderr). ------------------------------------------------------------------------ r8608 | zimmerma | 2013-07-10 15:11:48 +0000 (Wed, 10 Jul 2013) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] print also the versions of gmp.h/libgmp on stderr, hoping they will appear on i686-solaris ------------------------------------------------------------------------ r8607 | zimmerma | 2013-07-10 14:44:20 +0000 (Wed, 10 Jul 2013) | 2 lines Changed paths: M /trunk/src/exp_2.c [src/exp_2.c] removed useless instruction ------------------------------------------------------------------------ r8606 | vlefevre | 2013-07-10 14:09:19 +0000 (Wed, 10 Jul 2013) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Corrected change in r8602 to get an error in the case i == 0 and u != 1. ------------------------------------------------------------------------ r8605 | zimmerma | 2013-07-10 13:48:43 +0000 (Wed, 10 Jul 2013) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] added fflush to see versions of gmp.h/libgmp ------------------------------------------------------------------------ r8604 | vlefevre | 2013-07-10 13:12:20 +0000 (Wed, 10 Jul 2013) | 2 lines Changed paths: M /trunk/src/exp_2.c [src/exp_2.c] Fixed undefined behavior (present in all MPFR versions) detected by "clang -fsanitize=undefined". ------------------------------------------------------------------------ r8603 | vlefevre | 2013-07-10 13:06:51 +0000 (Wed, 10 Jul 2013) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Suggest to test with "clang -fsanitize=undefined"; see . ------------------------------------------------------------------------ r8602 | zimmerma | 2013-07-10 13:05:06 +0000 (Wed, 10 Jul 2013) | 2 lines Changed paths: M /trunk/acinclude.m4 more helpful debug information ------------------------------------------------------------------------ r8601 | zimmerma | 2013-07-10 13:02:51 +0000 (Wed, 10 Jul 2013) | 2 lines Changed paths: M /trunk/acinclude.m4 added debug information for double-to-integer conversion bug ------------------------------------------------------------------------ r8600 | vlefevre | 2013-07-09 16:08:49 +0000 (Tue, 09 Jul 2013) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Updated a comment about ICC. ------------------------------------------------------------------------ r8599 | vlefevre | 2013-07-09 16:00:39 +0000 (Tue, 09 Jul 2013) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added URL about compiler detection. ------------------------------------------------------------------------ r8595 | vlefevre | 2013-06-07 15:47:07 +0000 (Fri, 07 Jun 2013) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Another update about signed and unsigned integer types. ------------------------------------------------------------------------ r8594 | vlefevre | 2013-06-07 15:39:16 +0000 (Fri, 07 Jun 2013) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about signed and unsigned integer types. ------------------------------------------------------------------------ r8593 | zimmerma | 2013-06-07 14:16:40 +0000 (Fri, 07 Jun 2013) | 3 lines Changed paths: M /trunk/src/random_deviate.c M /trunk/tests/Makefile.am [src/random_deviate.c] applied patch from Charles Karney [tests/Makefile.am] reorder test files ------------------------------------------------------------------------ r8592 | vlefevre | 2013-06-07 12:00:23 +0000 (Fri, 07 Jun 2013) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added URL's about C++ reserved keywords. ------------------------------------------------------------------------ r8591 | zimmerma | 2013-06-07 11:35:57 +0000 (Fri, 07 Jun 2013) | 4 lines Changed paths: M /trunk/src/random_deviate.h M /trunk/tests/tget_sj.c M /trunk/tests/tset_si.c changed to allow compilation with C++: [src/random_deviate.h] must declare the types before extern C {...} [tests/tget_sj.c,tests/tset_si.c] "not" seems to be reserved in C++ ------------------------------------------------------------------------ r8590 | vlefevre | 2013-06-07 08:09:04 +0000 (Fri, 07 Jun 2013) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Slightly improved a bound under which mpfr_hypot cannot have an internal underflow, thus is correct. ------------------------------------------------------------------------ r8589 | vlefevre | 2013-06-06 23:39:56 +0000 (Thu, 06 Jun 2013) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Improved a test to avoid false positives. ------------------------------------------------------------------------ r8588 | vlefevre | 2013-06-06 14:22:26 +0000 (Thu, 06 Jun 2013) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] Updated/improved the proof of mpfr_hypot in the scaling case. ------------------------------------------------------------------------ r8587 | vlefevre | 2013-06-06 13:38:02 +0000 (Thu, 06 Jun 2013) | 2 lines Changed paths: M /trunk/src/hypot.c [src/hypot.c] Slightly improved scaling to avoid even more underflow in the scaling of y or in its square. ------------------------------------------------------------------------ r8586 | vlefevre | 2013-06-06 12:28:06 +0000 (Thu, 06 Jun 2013) | 1 line Changed paths: M /trunk/src/hypot.c [src/hypot.c] Added a comment on the FIXME. ------------------------------------------------------------------------ r8585 | vlefevre | 2013-06-06 12:03:49 +0000 (Thu, 06 Jun 2013) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Removed useless and meaningless definitions. ------------------------------------------------------------------------ r8584 | vlefevre | 2013-06-06 11:47:58 +0000 (Thu, 06 Jun 2013) | 3 lines Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h [src] Moved mp_bitcnt_t definition for GMP < 5 from mpfr-gmp.h to mpfr-impl.h (mpfr-gmp.h is only for definitions from GMP internals as it is included only in builds without GMP internals). ------------------------------------------------------------------------ r8583 | vlefevre | 2013-06-06 11:38:51 +0000 (Thu, 06 Jun 2013) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Fixed mp_bitcnt_t presence test. ------------------------------------------------------------------------ r8582 | zimmerma | 2013-06-06 11:12:55 +0000 (Thu, 06 Jun 2013) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h changed macro to typedef when mp_bitcnt_t is missing (for coherence with GMP) ------------------------------------------------------------------------ r8581 | zimmerma | 2013-06-06 06:53:57 +0000 (Thu, 06 Jun 2013) | 2 lines Changed paths: M /trunk/src/nrandom.c M /trunk/src/random_deviate.c fixed compiler warnings ------------------------------------------------------------------------ r8580 | zimmerma | 2013-06-06 05:48:37 +0000 (Thu, 06 Jun 2013) | 3 lines Changed paths: M /trunk/src/hypot.c M /trunk/src/mpfr-gmp.h [mpfr-gmp.h] added replacement for mp_bitcnt_t [hypot.c] added comment ------------------------------------------------------------------------ r8579 | zimmerma | 2013-06-05 15:29:17 +0000 (Wed, 05 Jun 2013) | 2 lines Changed paths: M /trunk/src/erandom.c M /trunk/src/nrandom.c M /trunk/src/random_deviate.c M /trunk/src/random_deviate.h applied patch from Charles Karney ------------------------------------------------------------------------ r8578 | vlefevre | 2013-06-05 13:58:18 +0000 (Wed, 05 Jun 2013) | 2 lines Changed paths: M /trunk/README [README] Added ar-lib (due to AM_PROG_AR in r8546) and test-driver (installed by Automake 1.12+). ------------------------------------------------------------------------ r8574 | vlefevre | 2013-06-03 08:34:46 +0000 (Mon, 03 Jun 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8573 | vlefevre | 2013-06-02 19:07:51 +0000 (Sun, 02 Jun 2013) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] In AM_INIT_AUTOMAKE, lowered Automake version requirement to 1.11.2 (for AM_PROG_AR), as Ubuntu 12.04 LTS only has Automake 1.11.3 (we assume that such distributions have a security patch). ------------------------------------------------------------------------ r8572 | vlefevre | 2013-06-02 14:17:52 +0000 (Sun, 02 Jun 2013) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] In AM_INIT_AUTOMAKE, require Automake 1.11.6 for AM_PROG_AR and security reasons. ------------------------------------------------------------------------ r8571 | vlefevre | 2013-06-02 13:59:51 +0000 (Sun, 02 Jun 2013) | 1 line Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi [NEWS,doc/mpfr.texi] New and deprecated functions in MPFR 3.2. ------------------------------------------------------------------------ r8570 | vlefevre | 2013-06-02 13:47:38 +0000 (Sun, 02 Jun 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/grandom.c Spelling: gaussian -> Gaussian (Wikipedia, Wolfram MathWorld, dict). ------------------------------------------------------------------------ r8569 | vlefevre | 2013-06-02 13:39:55 +0000 (Sun, 02 Jun 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Slight doc improvement for mpfr_grandom. ------------------------------------------------------------------------ r8568 | zimmerma | 2013-06-01 11:05:15 +0000 (Sat, 01 Jun 2013) | 2 lines Changed paths: M /trunk/src/random_deviate.c added assertion ------------------------------------------------------------------------ r8567 | vlefevre | 2013-06-01 09:23:02 +0000 (Sat, 01 Jun 2013) | 1 line Changed paths: M /trunk/src/random_deviate.c [src/random_deviate.c] Updated a comment. ------------------------------------------------------------------------ r8566 | zimmerma | 2013-06-01 08:35:30 +0000 (Sat, 01 Jun 2013) | 3 lines Changed paths: M /trunk/src/random_deviate.c in case mp_limb_t is smaller than unsigned long, use alternate code for highest_bit_idx ------------------------------------------------------------------------ r8565 | vlefevre | 2013-06-01 00:50:16 +0000 (Sat, 01 Jun 2013) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Update for random_deviate. ------------------------------------------------------------------------ r8564 | vlefevre | 2013-06-01 00:46:16 +0000 (Sat, 01 Jun 2013) | 1 line Changed paths: M /trunk/src/nrandom.c [src/nrandom.c] Corrected indentation. ------------------------------------------------------------------------ r8563 | vlefevre | 2013-06-01 00:37:16 +0000 (Sat, 01 Jun 2013) | 1 line Changed paths: M /trunk/src/random_deviate.h [src/random_deviate.h] Fixed a typo in a macro name. ------------------------------------------------------------------------ r8562 | vlefevre | 2013-06-01 00:33:47 +0000 (Sat, 01 Jun 2013) | 1 line Changed paths: M /trunk/src/random_deviate.c [src/random_deviate.c] Removed trailing spaces. ------------------------------------------------------------------------ r8561 | vlefevre | 2013-06-01 00:32:35 +0000 (Sat, 01 Jun 2013) | 2 lines Changed paths: M /trunk Added ar-lib to svn:ignore property (this script comes from Automake, due to the use of AM_PROG_AR in configure.ac as of r8546). ------------------------------------------------------------------------ r8560 | vlefevre | 2013-05-31 16:11:47 +0000 (Fri, 31 May 2013) | 3 lines Changed paths: M /trunk/tests/memory.c [tests/memory.c] Added a FIXME comment about the time complexity of tests_memory_find (Paul Zimmermann noticed that tgrandom on a large value takes a lot of time, probably because of that). ------------------------------------------------------------------------ r8559 | zimmerma | 2013-05-31 15:14:44 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi updated NEWS and contribution section in mpfr.texi ------------------------------------------------------------------------ r8558 | zimmerma | 2013-05-31 14:55:53 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/src/random_deviate.c #include <...> -> #include "..." for local files ------------------------------------------------------------------------ r8557 | zimmerma | 2013-05-31 14:46:39 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/src/random_deviate.c removed obsolete comment ------------------------------------------------------------------------ r8556 | zimmerma | 2013-05-31 13:34:12 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/src/nrandom.c GNU style ------------------------------------------------------------------------ r8555 | zimmerma | 2013-05-31 13:28:51 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/src/erandom.c GNU style ------------------------------------------------------------------------ r8554 | zimmerma | 2013-05-31 13:25:41 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/src/random_deviate.c GNU style ------------------------------------------------------------------------ r8553 | zimmerma | 2013-05-31 12:55:49 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/tests/Makefile.am A /trunk/tests/terandom.c A /trunk/tests/tnrandom.c added tests files for mpfr_nrandom and mpfr_erandom ------------------------------------------------------------------------ r8552 | zimmerma | 2013-05-31 12:43:52 +0000 (Fri, 31 May 2013) | 3 lines Changed paths: M /trunk/src/random_deviate.c removed RANDOM_SIMPLE=1 stuff (this was an alternate slower implementation). Kept in svn history as a reference. ------------------------------------------------------------------------ r8551 | zimmerma | 2013-05-31 12:40:37 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/src/nrandom.c removed mpfr_grandom_alt (likewise previous commit) ------------------------------------------------------------------------ r8550 | zimmerma | 2013-05-31 12:39:03 +0000 (Fri, 31 May 2013) | 4 lines Changed paths: M /trunk/src/random_deviate.c removed mpfr_urandom_alt (slower than mpfr_urandom, but it can be recovered from the svn history to illustrate one of the basic properties of a newly initialized mpfr_random_deviate_t) ------------------------------------------------------------------------ r8549 | zimmerma | 2013-05-31 12:36:40 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am D /trunk/src/mpfr_random.h M /trunk/src/random_deviate.h removed mpfr_random.h, headers are in mpfr.h ------------------------------------------------------------------------ r8548 | zimmerma | 2013-05-31 12:30:01 +0000 (Fri, 31 May 2013) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am A /trunk/src/erandom.c M /trunk/src/mpfr.h A /trunk/src/mpfr_random.h A /trunk/src/nrandom.c A /trunk/src/random_deviate.c A /trunk/src/random_deviate.h original contribution from Charles Karney ------------------------------------------------------------------------ r8547 | vlefevre | 2013-05-30 17:34:52 +0000 (Thu, 30 May 2013) | 1 line Changed paths: D /trunk/tools/update-patchv Removed obsolete tools/update-patchv script. Use update-version instead. ------------------------------------------------------------------------ r8546 | vlefevre | 2013-05-30 16:03:49 +0000 (Thu, 30 May 2013) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Added AM_PROG_AR to support unusual archivers (after a warning from Automake 1.13). ------------------------------------------------------------------------ r8544 | vlefevre | 2013-05-30 15:57:33 +0000 (Thu, 30 May 2013) | 1 line Changed paths: M /trunk/tools/ck-copyright-notice [tools/ck-copyright-notice] Update for copyright year ranges. ------------------------------------------------------------------------ r8542 | vlefevre | 2013-05-30 15:54:39 +0000 (Thu, 30 May 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8540 | vlefevre | 2013-05-30 15:53:07 +0000 (Thu, 30 May 2013) | 2 lines Changed paths: M /trunk/BUGS M /trunk/INSTALL M /trunk/Makefile.am M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/FAQ.html M /trunk/doc/Makefile.am M /trunk/doc/README.dev M /trunk/doc/faq.xsl M /trunk/doc/mpfr.texi M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c M /trunk/src/Makefile.am M /trunk/src/abort_prec_max.c M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/asin.c M /trunk/src/asinh.c M /trunk/src/atan.c M /trunk/src/atan2.c M /trunk/src/atanh.c M /trunk/src/bernoulli.c M /trunk/src/buildopt.c M /trunk/src/cache.c M /trunk/src/cbrt.c M /trunk/src/check.c M /trunk/src/clear.c M /trunk/src/clears.c M /trunk/src/cmp.c M /trunk/src/cmp2.c M /trunk/src/cmp_abs.c M /trunk/src/cmp_d.c M /trunk/src/cmp_ld.c M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c M /trunk/src/comparisons.c M /trunk/src/const_catalan.c M /trunk/src/const_euler.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/constant.c M /trunk/src/copysign.c M /trunk/src/cos.c M /trunk/src/cosh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/digamma.c M /trunk/src/dim.c M /trunk/src/div.c M /trunk/src/div_2exp.c M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/div_d.c M /trunk/src/div_ui.c M /trunk/src/dump.c M /trunk/src/eint.c M /trunk/src/eq.c M /trunk/src/erf.c M /trunk/src/erfc.c M /trunk/src/exceptions.c M /trunk/src/exp.c M /trunk/src/exp10.c M /trunk/src/exp2.c M /trunk/src/exp3.c M /trunk/src/exp_2.c M /trunk/src/expm1.c M /trunk/src/extract.c M /trunk/src/factorial.c M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_sint.c M /trunk/src/fits_slong.c M /trunk/src/fits_sshort.c M /trunk/src/fits_u.h M /trunk/src/fits_uint.c M /trunk/src/fits_uintmax.c M /trunk/src/fits_ulong.c M /trunk/src/fits_ushort.c M /trunk/src/fma.c M /trunk/src/fms.c M /trunk/src/fpif.c M /trunk/src/frac.c M /trunk/src/free_cache.c M /trunk/src/frexp.c M /trunk/src/gamma.c M /trunk/src/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/generic/coverage/mparam.h M /trunk/src/generic/mparam.h M /trunk/src/get_d.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_float128.c M /trunk/src/get_flt.c M /trunk/src/get_ld.c M /trunk/src/get_si.c M /trunk/src/get_sj.c M /trunk/src/get_str.c M /trunk/src/get_ui.c M /trunk/src/get_uj.c M /trunk/src/get_z.c M /trunk/src/get_z_exp.c M /trunk/src/gmp_op.c M /trunk/src/grandom.c M /trunk/src/hppa/mparam.h M /trunk/src/hypot.c M /trunk/src/ia64/mparam.h M /trunk/src/ieee_floats.h M /trunk/src/init.c M /trunk/src/init2.c M /trunk/src/inits.c M /trunk/src/inits2.c M /trunk/src/inp_str.c M /trunk/src/int_ceil_log2.c M /trunk/src/isinf.c M /trunk/src/isinteger.c M /trunk/src/isnan.c M /trunk/src/isnum.c M /trunk/src/isqrt.c M /trunk/src/isregular.c M /trunk/src/iszero.c M /trunk/src/jn.c M /trunk/src/jyn_asympt.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c M /trunk/src/mips/mparam.h M /trunk/src/modf.c M /trunk/src/mp_clz_tab.c M /trunk/src/mparam_h.in M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-intmax.h M /trunk/src/mpfr-sassert.h M /trunk/src/mpfr-thread.h M /trunk/src/mpfr.h M /trunk/src/mpn_exp.c M /trunk/src/mul.c M /trunk/src/mul_2exp.c M /trunk/src/mul_2si.c M /trunk/src/mul_2ui.c M /trunk/src/mul_d.c M /trunk/src/mul_ui.c M /trunk/src/mulders.c M /trunk/src/neg.c M /trunk/src/next.c M /trunk/src/out_str.c M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_ui.c M /trunk/src/pow_z.c M /trunk/src/powerof2.c M /trunk/src/powerpc32/mparam.h M /trunk/src/powerpc64/mparam.h M /trunk/src/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.c M /trunk/src/rndna.c M /trunk/src/root.c M /trunk/src/round_near_x.c M /trunk/src/round_p.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/scale2.c M /trunk/src/sec.c M /trunk/src/sech.c M /trunk/src/set.c M /trunk/src/set_d.c M /trunk/src/set_d64.c M /trunk/src/set_dfl_prec.c M /trunk/src/set_exp.c M /trunk/src/set_f.c M /trunk/src/set_float128.c M /trunk/src/set_flt.c M /trunk/src/set_inf.c M /trunk/src/set_ld.c M /trunk/src/set_nan.c M /trunk/src/set_prc_raw.c M /trunk/src/set_prec.c M /trunk/src/set_q.c M /trunk/src/set_rnd.c M /trunk/src/set_si.c M /trunk/src/set_si_2exp.c M /trunk/src/set_sj.c M /trunk/src/set_str.c M /trunk/src/set_str_raw.c M /trunk/src/set_ui.c M /trunk/src/set_ui_2exp.c M /trunk/src/set_uj.c M /trunk/src/set_z.c M /trunk/src/set_z_exp.c M /trunk/src/set_zero.c M /trunk/src/setmax.c M /trunk/src/setmin.c M /trunk/src/setsign.c M /trunk/src/sgn.c M /trunk/src/si_op.c M /trunk/src/signbit.c M /trunk/src/sin.c M /trunk/src/sin_cos.c M /trunk/src/sinh.c M /trunk/src/sinh_cosh.c M /trunk/src/sparc64/mparam.h M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sqrt_ui.c M /trunk/src/stack_interface.c M /trunk/src/strtofr.c M /trunk/src/sub.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sub_d.c M /trunk/src/sub_ui.c M /trunk/src/subnormal.c M /trunk/src/sum.c M /trunk/src/swap.c M /trunk/src/tan.c M /trunk/src/tanh.c M /trunk/src/uceil_exp2.c M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c M /trunk/src/ui_div.c M /trunk/src/ui_pow.c M /trunk/src/ui_pow_ui.c M /trunk/src/ui_sub.c M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/src/vasprintf.c M /trunk/src/version.c M /trunk/src/volatile.c M /trunk/src/x86/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/corei5/mparam.h M /trunk/src/x86_64/pentium4/mparam.h M /trunk/src/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tests/Makefile.am M /trunk/tests/cmp_str.c M /trunk/tests/data/digamma M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/random2.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c M /trunk/tests/tabort_prec_max.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tai.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tassert.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfpif.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tfrexp.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/tgrandom.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/trndna.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_float128.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstdint.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tvalist.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tools/ck-copyright-notice M /trunk/tools/ck-mparam M /trunk/tools/ck-version-info M /trunk/tools/get_patches.sh M /trunk/tools/mbench/Makefile M /trunk/tools/mbench/generate.c M /trunk/tools/mbench/mfv5-arprec.cc M /trunk/tools/mbench/mfv5-cln.cc M /trunk/tools/mbench/mfv5-crlibm.cc M /trunk/tools/mbench/mfv5-libc.cc M /trunk/tools/mbench/mfv5-lidia.cc M /trunk/tools/mbench/mfv5-mpf.cc M /trunk/tools/mbench/mfv5-mpfr.cc M /trunk/tools/mbench/mfv5-ntl.cc M /trunk/tools/mbench/mfv5-pari.cc M /trunk/tools/mbench/mfv5-void.cc M /trunk/tools/mbench/mfv5.cc M /trunk/tools/mbench/mfv5.h M /trunk/tools/mbench/mpfr-gfx.c M /trunk/tools/mbench/mpfr-v4.c M /trunk/tools/mbench/mpfr-v6.c M /trunk/tools/mbench/timp.h M /trunk/tune/Makefile.am M /trunk/tune/bidimensional_sample.c M /trunk/tune/speed.c M /trunk/tune/tuneup.c Use copyright year ranges, following https://www.gnu.org/prep/maintain/maintain.html#Copyright-Notices ------------------------------------------------------------------------ r8537 | vlefevre | 2013-05-30 13:51:01 +0000 (Thu, 30 May 2013) | 1 line Changed paths: M /trunk/tests [tests] Added *.log and *.trs to svn:ignore property. ------------------------------------------------------------------------ r8536 | vlefevre | 2013-05-30 13:44:55 +0000 (Thu, 30 May 2013) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Update about configure default options. ------------------------------------------------------------------------ r8534 | vlefevre | 2013-05-30 13:21:33 +0000 (Thu, 30 May 2013) | 1 line Changed paths: M /trunk Added test-driver (from Automake 1.12+) to svn:ignore property. ------------------------------------------------------------------------ r8532 | vlefevre | 2013-05-24 15:17:52 +0000 (Fri, 24 May 2013) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Updated comment about -mieee-fp icc option. ------------------------------------------------------------------------ r8531 | thevenyp | 2013-05-24 14:42:52 +0000 (Fri, 24 May 2013) | 2 lines Changed paths: M /trunk/tests/tprintf.c [tests/tprintf] remove tests of invalid format (continuation of r8525). ------------------------------------------------------------------------ r8530 | thevenyp | 2013-05-24 14:39:58 +0000 (Fri, 24 May 2013) | 3 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Support all length modifiers defined by ISO C99, even if the corresponding type is not detected by configure (continuation of r8525). ------------------------------------------------------------------------ r8529 | vlefevre | 2013-05-24 13:59:10 +0000 (Fri, 24 May 2013) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] For ICC, changed the deprecated -mp option to the equivalent one -mieee-fp; added a comment about that. ------------------------------------------------------------------------ r8528 | thevenyp | 2013-05-24 12:59:13 +0000 (Fri, 24 May 2013) | 3 lines Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Always support 't' and 'L' length modifiers, but don't test them if configure doesn't find the corresponding type. ------------------------------------------------------------------------ r8527 | thevenyp | 2013-05-24 12:31:17 +0000 (Fri, 24 May 2013) | 4 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tprintf.c Printing invalid format specifiers (continuation of r8525) [src/vasprintf.c] Add comments. [tests/tprintf.c] Simplify tests. ------------------------------------------------------------------------ r8526 | zimmerma | 2013-05-24 12:01:07 +0000 (Fri, 24 May 2013) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h new macro MPFR_MAYBE_UNUSED to avoid compiler warnings ------------------------------------------------------------------------ r8525 | thevenyp | 2013-05-23 16:24:57 +0000 (Thu, 23 May 2013) | 3 lines Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tprintf.c [src/vasprintf.c] Print invalid format specifier instead of returning an error code, as in GMP. [tests/tprintf.c] Modify tests for invalid format. ------------------------------------------------------------------------ r8524 | zimmerma | 2013-05-22 15:11:42 +0000 (Wed, 22 May 2013) | 3 lines Changed paths: M /trunk/configure.ac try to link with GMP even when a dll, since it seems to work now (see https://sympa.inria.fr/sympa/arc/mpfr/2013-05/msg00010.html) ------------------------------------------------------------------------ r8523 | zimmerma | 2013-05-22 11:50:08 +0000 (Wed, 22 May 2013) | 5 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/vasprintf.c M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c replaced macros NPRINTF_T and NPRINTF_L by positive versions PRINTF_T and PRINTF_L, now we don't assume that %td and %Lf are supported when we don't check it (for example when cross-compiling, or under Windows when GMP is a dynamic library) ------------------------------------------------------------------------ r8522 | zimmerma | 2013-05-22 10:20:30 +0000 (Wed, 22 May 2013) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h fixed typo ------------------------------------------------------------------------ r8520 | vlefevre | 2013-05-15 23:12:07 +0000 (Wed, 15 May 2013) | 2 lines Changed paths: M /trunk/Makefile.am [Makefile.am] Added a comment about ACLOCAL_AMFLAGS, based on the GNU Automake 1.13.2 release notes. ------------------------------------------------------------------------ r8514 | vlefevre | 2013-04-17 08:28:45 +0000 (Wed, 17 Apr 2013) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] With clang, do not use GCC's self-initialization trick as it generates a warning, though clang claims GCC compatibility. ------------------------------------------------------------------------ r8511 | zimmerma | 2013-04-04 07:06:13 +0000 (Thu, 04 Apr 2013) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [algorithms.tex] added reference ------------------------------------------------------------------------ r8506 | zimmerma | 2013-03-26 14:05:57 +0000 (Tue, 26 Mar 2013) | 2 lines Changed paths: M /trunk/TODO [TODO] added item ------------------------------------------------------------------------ r8504 | vlefevre | 2013-03-18 17:19:21 +0000 (Mon, 18 Mar 2013) | 1 line Changed paths: M /trunk/src/fits_intmax.c [src/fits_intmax.c] Corrected a comment. ------------------------------------------------------------------------ r8503 | vlefevre | 2013-03-18 17:13:32 +0000 (Mon, 18 Mar 2013) | 4 lines Changed paths: M /trunk/src/fits_u.h M /trunk/src/fits_uintmax.c [src/{fits_u.h,fits_uintmax.c}] Fixed the mpfr_fits_u*_p functions, which incorrectly returned 0 ("doesn't fit") on negative arguments when the rounding to an integer was 0. The fits_uintmax.c file now uses fits_u.h for consistency. ------------------------------------------------------------------------ r8502 | vlefevre | 2013-03-18 16:32:08 +0000 (Mon, 18 Mar 2013) | 1 line Changed paths: M /trunk/tests/tfits.c [tests/tfits.c] Use error numbers to know where an error occurred. ------------------------------------------------------------------------ r8501 | vlefevre | 2013-03-18 14:24:16 +0000 (Mon, 18 Mar 2013) | 1 line Changed paths: M /trunk/src/fits_uintmax.c [src/fits_uintmax.c] Replaced an obsolete comment by a TODO. ------------------------------------------------------------------------ r8500 | vlefevre | 2013-03-18 12:54:04 +0000 (Mon, 18 Mar 2013) | 2 lines Changed paths: M /trunk/tests/tget_sj.c [tests/tget_sj.c] Added mpfr_get_uj tests on small negative op, similar to what has been done for mpfr_get_ui in r8498,8499. ------------------------------------------------------------------------ r8499 | vlefevre | 2013-03-18 12:50:56 +0000 (Mon, 18 Mar 2013) | 2 lines Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] Minor type correction for r8498 (this shouldn't matter because the value is normally small, but perhaps not in case of bug). ------------------------------------------------------------------------ r8498 | vlefevre | 2013-03-18 12:44:09 +0000 (Mon, 18 Mar 2013) | 1 line Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] Added mpfr_get_ui tests on small negative op. ------------------------------------------------------------------------ r8497 | vlefevre | 2013-03-18 12:18:31 +0000 (Mon, 18 Mar 2013) | 1 line Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] Corrected comment. ------------------------------------------------------------------------ r8496 | vlefevre | 2013-03-18 12:09:34 +0000 (Mon, 18 Mar 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8495 | vlefevre | 2013-03-18 12:08:34 +0000 (Mon, 18 Mar 2013) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved documentation of the conversions to an integer (mpfr_get_si, mpfr_get_ui, mpfr_get_sj, mpfr_get_uj). ------------------------------------------------------------------------ r8494 | vlefevre | 2013-03-18 11:56:17 +0000 (Mon, 18 Mar 2013) | 2 lines Changed paths: M /trunk/tests/tfits.c [tests/tfits.c] Added tests, in particular for small negative op and in non-RNDN rounding modes; tfits currently fails. ------------------------------------------------------------------------ r8493 | vlefevre | 2013-03-18 02:50:23 +0000 (Mon, 18 Mar 2013) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Added short text about what GNU MPFR is. ------------------------------------------------------------------------ r8483 | vlefevre | 2013-03-13 15:31:32 +0000 (Wed, 13 Mar 2013) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Removed a duplicate word. ------------------------------------------------------------------------ r8477 | vlefevre | 2013-03-12 02:18:35 +0000 (Tue, 12 Mar 2013) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Added a paragraph about Cygwin and threading. ------------------------------------------------------------------------ r8475 | vlefevre | 2013-03-12 00:07:19 +0000 (Tue, 12 Mar 2013) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Improved information on patches. ------------------------------------------------------------------------ r8474 | vlefevre | 2013-03-11 00:43:52 +0000 (Mon, 11 Mar 2013) | 1 line Changed paths: M /trunk/tools/announce-text [tools/announce-text] Added text about how to verify the signatures. ------------------------------------------------------------------------ r8473 | vlefevre | 2013-03-11 00:22:33 +0000 (Mon, 11 Mar 2013) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated "To make a release" about the web pages. ------------------------------------------------------------------------ r8469 | vlefevre | 2013-03-08 11:55:17 +0000 (Fri, 08 Mar 2013) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added info about update-version and ck-version-info. ------------------------------------------------------------------------ r8462 | vlefevre | 2013-03-05 01:05:49 +0000 (Tue, 05 Mar 2013) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Clean-up. Improved consistency. ------------------------------------------------------------------------ r8461 | vlefevre | 2013-03-04 03:45:19 +0000 (Mon, 04 Mar 2013) | 2 lines Changed paths: M /trunk/examples/ReadMe M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c [examples] Replaced the old rounding mode macros (GMP_RNDN, etc.) by the new ones (MPFR_RNDN, etc.) in the *.c files; updated ReadMe file. ------------------------------------------------------------------------ r8460 | vlefevre | 2013-03-04 03:41:45 +0000 (Mon, 04 Mar 2013) | 1 line Changed paths: M /trunk/doc/update-faq [doc/update-faq] Removed the now useless s/GMP_RND/MPFR_RND/ rewriting. ------------------------------------------------------------------------ r8458 | vlefevre | 2013-03-04 02:44:00 +0000 (Mon, 04 Mar 2013) | 3 lines Changed paths: M /trunk/doc/faq.xsl M /trunk/doc/update-faq [doc] Slightly modified faq.xsl to avoid libxslt bug 377440, and moved the addition of special CSS comments for XML compatibility from update-faq to faq.xsl file. ------------------------------------------------------------------------ r8457 | vlefevre | 2013-03-01 15:25:44 +0000 (Fri, 01 Mar 2013) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Avoid mpfr_set_d. ------------------------------------------------------------------------ r8456 | vlefevre | 2013-03-01 15:20:53 +0000 (Fri, 01 Mar 2013) | 2 lines Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Avoid mpfr_set_d as the results may depend on the C implementation. ------------------------------------------------------------------------ r8448 | vlefevre | 2013-01-03 05:09:01 +0000 (Thu, 03 Jan 2013) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8447 | vlefevre | 2013-01-03 04:59:33 +0000 (Thu, 03 Jan 2013) | 5 lines Changed paths: M /trunk/BUGS M /trunk/INSTALL M /trunk/Makefile.am M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/FAQ.html M /trunk/doc/Makefile.am M /trunk/doc/README.dev M /trunk/doc/faq.xsl M /trunk/doc/mpfr.texi M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c M /trunk/src/Makefile.am M /trunk/src/abort_prec_max.c M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/asin.c M /trunk/src/asinh.c M /trunk/src/atan.c M /trunk/src/atan2.c M /trunk/src/atanh.c M /trunk/src/bernoulli.c M /trunk/src/buildopt.c M /trunk/src/cache.c M /trunk/src/cbrt.c M /trunk/src/check.c M /trunk/src/clear.c M /trunk/src/clears.c M /trunk/src/cmp.c M /trunk/src/cmp2.c M /trunk/src/cmp_abs.c M /trunk/src/cmp_d.c M /trunk/src/cmp_ld.c M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c M /trunk/src/comparisons.c M /trunk/src/const_catalan.c M /trunk/src/const_euler.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/constant.c M /trunk/src/copysign.c M /trunk/src/cos.c M /trunk/src/cosh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/digamma.c M /trunk/src/dim.c M /trunk/src/div.c M /trunk/src/div_2exp.c M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/div_d.c M /trunk/src/div_ui.c M /trunk/src/dump.c M /trunk/src/eint.c M /trunk/src/eq.c M /trunk/src/erf.c M /trunk/src/erfc.c M /trunk/src/exceptions.c M /trunk/src/exp.c M /trunk/src/exp10.c M /trunk/src/exp2.c M /trunk/src/exp3.c M /trunk/src/exp_2.c M /trunk/src/expm1.c M /trunk/src/extract.c M /trunk/src/factorial.c M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_sint.c M /trunk/src/fits_slong.c M /trunk/src/fits_sshort.c M /trunk/src/fits_u.h M /trunk/src/fits_uint.c M /trunk/src/fits_uintmax.c M /trunk/src/fits_ulong.c M /trunk/src/fits_ushort.c M /trunk/src/fma.c M /trunk/src/fms.c M /trunk/src/fpif.c M /trunk/src/frac.c M /trunk/src/free_cache.c M /trunk/src/frexp.c M /trunk/src/gamma.c M /trunk/src/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/generic/coverage/mparam.h M /trunk/src/generic/mparam.h M /trunk/src/get_d.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_float128.c M /trunk/src/get_flt.c M /trunk/src/get_ld.c M /trunk/src/get_si.c M /trunk/src/get_sj.c M /trunk/src/get_str.c M /trunk/src/get_ui.c M /trunk/src/get_uj.c M /trunk/src/get_z.c M /trunk/src/get_z_exp.c M /trunk/src/gmp_op.c M /trunk/src/grandom.c M /trunk/src/hppa/mparam.h M /trunk/src/hypot.c M /trunk/src/ia64/mparam.h M /trunk/src/ieee_floats.h M /trunk/src/init.c M /trunk/src/init2.c M /trunk/src/inits.c M /trunk/src/inits2.c M /trunk/src/inp_str.c M /trunk/src/int_ceil_log2.c M /trunk/src/isinf.c M /trunk/src/isinteger.c M /trunk/src/isnan.c M /trunk/src/isnum.c M /trunk/src/isqrt.c M /trunk/src/isregular.c M /trunk/src/iszero.c M /trunk/src/jn.c M /trunk/src/jyn_asympt.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c M /trunk/src/mips/mparam.h M /trunk/src/modf.c M /trunk/src/mp_clz_tab.c M /trunk/src/mparam_h.in M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-intmax.h M /trunk/src/mpfr-longlong.h M /trunk/src/mpfr-sassert.h M /trunk/src/mpfr-thread.h M /trunk/src/mpfr.h M /trunk/src/mpn_exp.c M /trunk/src/mul.c M /trunk/src/mul_2exp.c M /trunk/src/mul_2si.c M /trunk/src/mul_2ui.c M /trunk/src/mul_d.c M /trunk/src/mul_ui.c M /trunk/src/mulders.c M /trunk/src/neg.c M /trunk/src/next.c M /trunk/src/out_str.c M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_ui.c M /trunk/src/pow_z.c M /trunk/src/powerof2.c M /trunk/src/powerpc32/mparam.h M /trunk/src/powerpc64/mparam.h M /trunk/src/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.c M /trunk/src/rndna.c M /trunk/src/root.c M /trunk/src/round_near_x.c M /trunk/src/round_p.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/scale2.c M /trunk/src/sec.c M /trunk/src/sech.c M /trunk/src/set.c M /trunk/src/set_d.c M /trunk/src/set_d64.c M /trunk/src/set_dfl_prec.c M /trunk/src/set_exp.c M /trunk/src/set_f.c M /trunk/src/set_float128.c M /trunk/src/set_flt.c M /trunk/src/set_inf.c M /trunk/src/set_ld.c M /trunk/src/set_nan.c M /trunk/src/set_prc_raw.c M /trunk/src/set_prec.c M /trunk/src/set_q.c M /trunk/src/set_rnd.c M /trunk/src/set_si.c M /trunk/src/set_si_2exp.c M /trunk/src/set_sj.c M /trunk/src/set_str.c M /trunk/src/set_str_raw.c M /trunk/src/set_ui.c M /trunk/src/set_ui_2exp.c M /trunk/src/set_uj.c M /trunk/src/set_z.c M /trunk/src/set_z_exp.c M /trunk/src/set_zero.c M /trunk/src/setmax.c M /trunk/src/setmin.c M /trunk/src/setsign.c M /trunk/src/sgn.c M /trunk/src/si_op.c M /trunk/src/signbit.c M /trunk/src/sin.c M /trunk/src/sin_cos.c M /trunk/src/sinh.c M /trunk/src/sinh_cosh.c M /trunk/src/sparc64/mparam.h M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sqrt_ui.c M /trunk/src/stack_interface.c M /trunk/src/strtofr.c M /trunk/src/sub.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sub_d.c M /trunk/src/sub_ui.c M /trunk/src/subnormal.c M /trunk/src/sum.c M /trunk/src/swap.c M /trunk/src/tan.c M /trunk/src/tanh.c M /trunk/src/uceil_exp2.c M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c M /trunk/src/ui_div.c M /trunk/src/ui_pow.c M /trunk/src/ui_pow_ui.c M /trunk/src/ui_sub.c M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/src/vasprintf.c M /trunk/src/version.c M /trunk/src/volatile.c M /trunk/src/x86/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/corei5/mparam.h M /trunk/src/x86_64/pentium4/mparam.h M /trunk/src/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tests/Makefile.am M /trunk/tests/cmp_str.c M /trunk/tests/data/digamma M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/random2.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabort_defalloc1.c M /trunk/tests/tabort_defalloc2.c M /trunk/tests/tabort_prec_max.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tai.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tassert.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfpif.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tfrexp.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/tgrandom.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/trndna.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_float128.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstdint.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tvalist.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tools/ck-copyright-notice M /trunk/tools/ck-mparam M /trunk/tools/ck-version-info M /trunk/tools/get_patches.sh M /trunk/tune/Makefile.am M /trunk/tune/bidimensional_sample.c M /trunk/tune/speed.c M /trunk/tune/tuneup.c Copyright notice update: added 2013 with perl -pi -e 's/2012 Free Software/2012, 2013 Free Software/' **/*(^/) under zsh, reverting the ChangeLog file and the m4 directory (the tools/mbench directory was not modified). Removed 2012 from the example in the doc/README.dev file. ------------------------------------------------------------------------ r8446 | vlefevre | 2013-01-03 04:38:45 +0000 (Thu, 03 Jan 2013) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Corrected comment on clock_gettime (from r8445). ------------------------------------------------------------------------ r8445 | vlefevre | 2012-12-31 15:42:02 +0000 (Mon, 31 Dec 2012) | 2 lines Changed paths: M /trunk/configure.ac M /trunk/tune/Makefile.am Tuning: reverted changeset r8444 and applied patch by Patrick Pélissier for GMP 5.1.0 to link against librt conditionally. ------------------------------------------------------------------------ r8444 | zimmerma | 2012-12-31 09:43:09 +0000 (Mon, 31 Dec 2012) | 2 lines Changed paths: M /trunk/tune/Makefile.am [Makefile.am] -lrt is needed for clock_gettime() [undefined with GMP 5.1.0] ------------------------------------------------------------------------ r8443 | vlefevre | 2012-12-21 17:02:51 +0000 (Fri, 21 Dec 2012) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Added a TODO. ------------------------------------------------------------------------ r8442 | vlefevre | 2012-12-21 16:50:34 +0000 (Fri, 21 Dec 2012) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] Added an assert on MPFR_PREC_MIN because the code seems to be based on this (always true with the current value). ------------------------------------------------------------------------ r8441 | vlefevre | 2012-12-21 16:37:16 +0000 (Fri, 21 Dec 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Minor corrections of mpfr_fpif_import documentation. ------------------------------------------------------------------------ r8440 | demengeo | 2012-12-21 12:42:15 +0000 (Fri, 21 Dec 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/fpif.c mpfr_fpif_import now check precision size. Documentation updated for mpfr_fpif_import. ------------------------------------------------------------------------ r8439 | vlefevre | 2012-12-20 03:52:41 +0000 (Thu, 20 Dec 2012) | 2 lines Changed paths: M /trunk/src/get_f.c M /trunk/src/mpfr-gmp.h M /trunk/tests/tadd.c M /trunk/tests/tgeneric.c Compatibility with GMP 5.1.0 when gmp-impl.h is included (thanks to Rob: https://sympa.inria.fr/sympa/arc/mpfr/2012-12/msg00003.html); clean-up. ------------------------------------------------------------------------ r8437 | vlefevre | 2012-12-12 10:35:20 +0000 (Wed, 12 Dec 2012) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] Added a FIXME comment in mpfr_fpif_import concerning the precision. ------------------------------------------------------------------------ r8436 | vlefevre | 2012-12-11 23:51:12 +0000 (Tue, 11 Dec 2012) | 3 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] Added comments. Fixed mpfr_fpif_read_precision_from_file in the case where the precision size > sizeof(mpfr_prec_t) and/or when the read precision is too large (as mpfr_prec_t is signed). ------------------------------------------------------------------------ r8435 | zimmerma | 2012-12-11 20:49:49 +0000 (Tue, 11 Dec 2012) | 2 lines Changed paths: M /trunk/src/fpif.c [fpif.c] completed FIXME ------------------------------------------------------------------------ r8434 | vlefevre | 2012-12-08 09:39:25 +0000 (Sat, 08 Dec 2012) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] Added a FIXME comment: large precisions read from the file can trigger undefined behavior if sizeof(mpfr_prec_t) is too small. ------------------------------------------------------------------------ r8433 | demengeo | 2012-12-07 16:03:06 +0000 (Fri, 07 Dec 2012) | 1 line Changed paths: M /trunk/src/fpif.c Fixed stack overflow bug in fpif.c ------------------------------------------------------------------------ r8432 | vlefevre | 2012-12-05 17:38:38 +0000 (Wed, 05 Dec 2012) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac [acinclude.m4,configure.ac] Moved the "double-to-integer conversion bug" test after the gmp.h detection as it uses gmp.h (otherwise one gets an incorrect error on this test if gmp.h can't be found or is unusable). ------------------------------------------------------------------------ r8430 | vlefevre | 2012-12-03 15:04:33 +0000 (Mon, 03 Dec 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Removed a useless comma from r8428. ------------------------------------------------------------------------ r8429 | vlefevre | 2012-12-03 15:02:23 +0000 (Mon, 03 Dec 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8428 | vlefevre | 2012-12-03 15:00:58 +0000 (Mon, 03 Dec 2012) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated warning in mpfr_min_prec description, in particular for the use with mpfr_prec_round. ------------------------------------------------------------------------ r8425 | vlefevre | 2012-10-17 23:10:24 +0000 (Wed, 17 Oct 2012) | 2 lines Changed paths: M /trunk/src/set_uj.c [src/set_uj.c] Change to help the compiler to detect dead code, improving the coverage (from a patch by Patrick Pélissier). ------------------------------------------------------------------------ r8424 | vlefevre | 2012-10-17 22:56:04 +0000 (Wed, 17 Oct 2012) | 1 line Changed paths: M /trunk/src/get_d64.c [src/get_d64.c] Added a const (thanks to Patrick Pélissier). ------------------------------------------------------------------------ r8423 | vlefevre | 2012-10-10 08:35:59 +0000 (Wed, 10 Oct 2012) | 10 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/mpfr-impl.h M /trunk/tests/tsprintf.c [acinclude.m4] Check struct lconv members (from ) to avoid a build failure under Android, which does not have them; see https://sympa.inria.fr/sympa/arc/mpfr/2012-10/msg00002.html [src/mpfr-impl.h] Decimal point / thousands separator support can now be detected automatically by configure (from the presence of and the above members) or explicitly disabled/enabled by the user by defining the MPFR_LCONV_DPTS macro to 0 or 1 via CFLAGS (a configure switch might be added in the future). [tests/tsprintf.c] Do the locale_da_DK test only if MPFR_LCONV_DPTS is true. ------------------------------------------------------------------------ r8422 | vlefevre | 2012-09-29 23:23:59 +0000 (Sat, 29 Sep 2012) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Note about GNU extensions and ICC. ------------------------------------------------------------------------ r8420 | vlefevre | 2012-09-20 10:09:28 +0000 (Thu, 20 Sep 2012) | 3 lines Changed paths: M /trunk/src/get_float128.c M /trunk/src/set_float128.c [get_float128.c,set_float128.c] Avoid an empty translation unit (forbidden by ISO C, detected with gcc -ansi -pedantic-errors) when MPFR_WANT_FLOAT128 is not defined. ------------------------------------------------------------------------ r8419 | vlefevre | 2012-09-20 09:33:30 +0000 (Thu, 20 Sep 2012) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/rndna.c M /trunk/tests/trndna.c Applied patch (with minor changes) by Patrick Pélissier to improve the mpfr_round_nearest_away interface. ------------------------------------------------------------------------ r8418 | zimmerma | 2012-09-12 07:05:13 +0000 (Wed, 12 Sep 2012) | 2 lines Changed paths: M /trunk/tools/nightly-test [nightly-test] modified so that decimal floats are tested (with gcc) ------------------------------------------------------------------------ r8417 | vlefevre | 2012-09-05 11:21:00 +0000 (Wed, 05 Sep 2012) | 1 line Changed paths: M /trunk/src/set_d64.c Removed trailing whitespace. ------------------------------------------------------------------------ r8416 | vlefevre | 2012-09-05 11:20:03 +0000 (Wed, 05 Sep 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8415 | vlefevre | 2012-09-04 13:19:54 +0000 (Tue, 04 Sep 2012) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Improved error message when the compiler doesn't know _Decimal64 (if MPFR is built with --enable-decimal-float). ------------------------------------------------------------------------ r8414 | zimmerma | 2012-09-04 13:01:41 +0000 (Tue, 04 Sep 2012) | 2 lines Changed paths: M /trunk/configure.ac M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h revert changeset r8412 (_Decimal64 might be defined in C++, but not as a macro) ------------------------------------------------------------------------ r8413 | zimmerma | 2012-09-04 12:43:47 +0000 (Tue, 04 Sep 2012) | 2 lines Changed paths: M /trunk/configure.ac M /trunk/doc/mpfr.texi updated documentation wrt --enable-decimal-float ------------------------------------------------------------------------ r8412 | zimmerma | 2012-09-04 12:36:52 +0000 (Tue, 04 Sep 2012) | 3 lines Changed paths: M /trunk/configure.ac M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h added support for --enable-decimal-float with g++ (does not work with icpc, the Intel C++ compiler) ------------------------------------------------------------------------ r8411 | zimmerma | 2012-09-04 10:14:31 +0000 (Tue, 04 Sep 2012) | 2 lines Changed paths: M /trunk/tests/tl2b.c [tests/tl2b.c] fix for C++ ------------------------------------------------------------------------ r8410 | vlefevre | 2012-09-04 09:29:20 +0000 (Tue, 04 Sep 2012) | 1 line Changed paths: M /trunk/src/set_d.c [src/set_d.c] Updated a comment on the negative zero. ------------------------------------------------------------------------ r8409 | vlefevre | 2012-09-04 09:18:21 +0000 (Tue, 04 Sep 2012) | 2 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] #include "mpfr-intmax.h" so that UINT64_C has a chance to be defined (optionally used as of r8406). ------------------------------------------------------------------------ r8408 | zimmerma | 2012-09-04 09:15:06 +0000 (Tue, 04 Sep 2012) | 3 lines Changed paths: M /trunk/src/set_d64.c [src/set_d64.c] fix for systems where +0.0 and -0.0 are stored identically in memory ------------------------------------------------------------------------ r8407 | zimmerma | 2012-09-04 09:08:59 +0000 (Tue, 04 Sep 2012) | 2 lines Changed paths: M /trunk/src/set_d64.c [src/set_d64.c] better code to detect -0.0 (copied from set_d.c) ------------------------------------------------------------------------ r8406 | zimmerma | 2012-09-04 09:00:56 +0000 (Tue, 04 Sep 2012) | 3 lines Changed paths: M /trunk/src/get_str.c M /trunk/tests/tl2b.c [tests/tl2b.c] use UINT64_C for 64-bit integer constants [src/get_str.c] update table generated by "tests/tl2b 1" ------------------------------------------------------------------------ r8405 | zimmerma | 2012-09-04 07:49:09 +0000 (Tue, 04 Sep 2012) | 2 lines Changed paths: M /trunk/src/get_d64.c M /trunk/src/set_d64.c [get_d64.c,set_d64.c] small fixes (did not work any more with --with-gmp-build) ------------------------------------------------------------------------ r8404 | zimmerma | 2012-09-04 07:27:32 +0000 (Tue, 04 Sep 2012) | 3 lines Changed paths: M /trunk/src/set_d64.c [set_d64.c] some cleanup, since sprintf adds a final '\0', and fixed a too small memory allocation ------------------------------------------------------------------------ r8403 | zimmerma | 2012-09-03 20:21:56 +0000 (Mon, 03 Sep 2012) | 2 lines Changed paths: M /trunk/TODO [TODO] removed an item (done) ------------------------------------------------------------------------ r8402 | zimmerma | 2012-09-03 20:21:12 +0000 (Mon, 03 Sep 2012) | 4 lines Changed paths: M /trunk/configure.ac M /trunk/src/get_d64.c M /trunk/src/set_d64.c M /trunk/tests/tget_set_d64.c Now --enable-decimal-float does not require any more --with-gmp-build. Still disabled by default: some more testing is needed before we can enable it by default (if _Decimal64 is supported). ------------------------------------------------------------------------ r8398 | vlefevre | 2012-08-29 13:47:39 +0000 (Wed, 29 Aug 2012) | 1 line Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Updated bug20120829 comment (bug fixed in r8396). ------------------------------------------------------------------------ r8397 | vlefevre | 2012-08-29 13:45:18 +0000 (Wed, 29 Aug 2012) | 1 line Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Fixed small type error. ------------------------------------------------------------------------ r8396 | zimmerma | 2012-08-29 13:40:43 +0000 (Wed, 29 Aug 2012) | 2 lines Changed paths: M /trunk/src/strtofr.c [strtofr.c] new try to fix the assertion failure on 32-bit ------------------------------------------------------------------------ r8395 | vlefevre | 2012-08-29 13:08:16 +0000 (Wed, 29 Aug 2012) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Added more bug20120829 tests, showing that r8394 is still buggy on 32-bit machines (assertion failure in strtofr.c). ------------------------------------------------------------------------ r8394 | zimmerma | 2012-08-29 12:51:19 +0000 (Wed, 29 Aug 2012) | 2 lines Changed paths: M /trunk/src/strtofr.c [strtofr.c] fix for failing test case introduced in r8392 ------------------------------------------------------------------------ r8393 | vlefevre | 2012-08-29 12:30:44 +0000 (Wed, 29 Aug 2012) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Updated a comment: the 2nd testcase of r8392 also triggers an assertion failure on 32-bit machines. ------------------------------------------------------------------------ r8392 | vlefevre | 2012-08-29 12:27:47 +0000 (Wed, 29 Aug 2012) | 5 lines Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Added 2 testcases: * One triggering an assertion failure in strtofr.c r8389 on 32-bit machines (fixed in r8390). * One still triggering an assertion failure in strtofr.c (r8391) on 64-bit machines. ------------------------------------------------------------------------ r8391 | zimmerma | 2012-08-29 10:30:04 +0000 (Wed, 29 Aug 2012) | 2 lines Changed paths: M /trunk/src/strtofr.c [strtofr.c] fixed comments ------------------------------------------------------------------------ r8390 | zimmerma | 2012-08-28 20:06:21 +0000 (Tue, 28 Aug 2012) | 2 lines Changed paths: M /trunk/src/strtofr.c [strtofr.c] fix for err >= GMP_NUMB_BITS ------------------------------------------------------------------------ r8389 | vlefevre | 2012-08-28 15:13:32 +0000 (Tue, 28 Aug 2012) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Consistency correction: towards → toward. ------------------------------------------------------------------------ r8388 | vlefevre | 2012-08-28 15:07:30 +0000 (Tue, 28 Aug 2012) | 1 line Changed paths: M /trunk/src/sin_cos.c [src/sin_cos.c] Consistency correction: towards → toward. ------------------------------------------------------------------------ r8386 | vlefevre | 2012-08-28 15:04:52 +0000 (Tue, 28 Aug 2012) | 1 line Changed paths: M /trunk/doc/FAQ.html [doc] Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r8384 | zimmerma | 2012-08-28 14:20:38 +0000 (Tue, 28 Aug 2012) | 7 lines Changed paths: M /trunk/src/strtofr.c [strtofr.c] fixed bug in mpfr_strtofr in case: (1) the input string was used entirely (2) the conversion was done by a division (3) and the division was exact In such a case the "reconstruction" of the ternary value was inexact. ------------------------------------------------------------------------ r8379 | vlefevre | 2012-08-16 09:05:27 +0000 (Thu, 16 Aug 2012) | 4 lines Changed paths: M /trunk/src/get_d64.c M /trunk/tests/tget_set_d64.c [src/get_d64.c] mpfr_get_decimal64 was buggy in MPFR_RNDN on some values x such that 0.5e-398 < |x| < 1e-398 (smallest subnormal): it was returning 0 instead of +/- 1e-398 (see r8370). [tests/tget_set_d64.c] Added testcases. ------------------------------------------------------------------------ r8377 | vlefevre | 2012-08-15 23:30:04 +0000 (Wed, 15 Aug 2012) | 3 lines Changed paths: M /trunk/src/get_d64.c [src/get_d64.c] Fixed get_decimal64_max by simplifying it completely, and changed get_decimal64_min in the same way. Thanks to Rob (Sisyphus) for the idea. ------------------------------------------------------------------------ r8376 | vlefevre | 2012-08-15 23:22:17 +0000 (Wed, 15 Aug 2012) | 2 lines Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] Added overflow tests (they cover the two bad tests fixed in r8372 and trigger a bug in get_decimal64_max). ------------------------------------------------------------------------ r8375 | vlefevre | 2012-08-15 22:31:31 +0000 (Wed, 15 Aug 2012) | 1 line Changed paths: M /trunk/tests/tget_set_d64.c [tests/tget_set_d64.c] Added some tests for large numbers. ------------------------------------------------------------------------ r8374 | vlefevre | 2012-08-15 22:11:24 +0000 (Wed, 15 Aug 2012) | 2 lines Changed paths: M /trunk/configure.ac M /trunk/doc/README.dev M /trunk/src/add1sp.c M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/round_p.c M /trunk/src/set_d.c M /trunk/src/sub1sp.c M /trunk/tests/mpfr-test.h Renamed WANT_ASSERT to MPFR_WANT_ASSERT in order to avoid a clash with GMP when MPFR is configured with --with-gmp-build. ------------------------------------------------------------------------ r8372 | vlefevre | 2012-08-14 10:35:11 +0000 (Tue, 14 Aug 2012) | 1 line Changed paths: M /trunk/src/get_d64.c [src/get_d64.c] Fixed overflow cases. ------------------------------------------------------------------------ r8371 | vlefevre | 2012-08-14 01:31:27 +0000 (Tue, 14 Aug 2012) | 1 line Changed paths: M /trunk/tests/tstrtofr.c [tests/tstrtofr.c] Added testcase from bug reported by Joseph S. Myers. ------------------------------------------------------------------------ r8370 | vlefevre | 2012-08-13 16:17:20 +0000 (Mon, 13 Aug 2012) | 3 lines Changed paths: M /trunk/src/get_d64.c [src/get_d64.c] mpfr_get_decimal64 is buggy in MPFR_RNDN for values x such that 0.5e-398 < |x| < 1e-398. Added a FIXME comment. See: https://sympa.inria.fr/sympa/arc/mpfr/2012-08/msg00002.html ------------------------------------------------------------------------ r8367 | vlefevre | 2012-07-27 10:41:07 +0000 (Fri, 27 Jul 2012) | 8 lines Changed paths: M /trunk/configure.ac M /trunk/doc/README.dev M /trunk/src/fpif.c [src/fpif.c] No longer assume that if HAVE_BIG_ENDIAN is not defined, the architecture is little endian. Detect the case where neither HAVE_BIG_ENDIAN nor HAVE_LITTLE_ENDIAN is defined (currently an error). [configure.ac] Fixed the use of AC_C_BIGENDIAN (since AC_CONFIG_HEADERS is not used, one must have an ACTION-IF-UNIVERSAL argument). [doc/README.dev] Check with "-UHAVE_BIG_ENDIAN -UHAVE_LITTLE_ENDIAN" (unknown/unspecified endianness) before a release. ------------------------------------------------------------------------ r8366 | vlefevre | 2012-07-27 09:52:16 +0000 (Fri, 27 Jul 2012) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update now that autogen.sh is in the repository. ------------------------------------------------------------------------ r8365 | vlefevre | 2012-07-27 09:41:47 +0000 (Fri, 27 Jul 2012) | 2 lines Changed paths: A /trunk/autogen.sh Added autogen.sh sh script from Daniel Richard G. to install/update the autotools files and clean up caches (useful before a release). ------------------------------------------------------------------------ r8364 | vlefevre | 2012-07-27 09:35:49 +0000 (Fri, 27 Jul 2012) | 31 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/m4/size_max.m4 M /trunk/tests/Makefile.am M /trunk/tune/Makefile.am Updated autotools files to get rid of obsolete macros (thanks to Daniel Richard G. for the patch; kept the autoconf requirement to 2.60 instead of changing it to 2.68 as done with autoupdate, since 2.60 seems to be sufficient according to the changes and 2.68 is too recent, e.g. Debian/stable still has 2.67). --- Note --- This update has another effect: The "Configs for Windows DLLs." code (from "case $host in" to "esac") is now executed at the right time, after options like --disable-static are taken into account. Juste before this change, the test if test "$enable_shared" = yes; then was always false. This could be seen on hydra: With r8360: [...] configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/95zhbb0v23syxsazx33hg3acbvixyq5a-mpfr-0-3.2.0-dev [...] checking for DLL/static GMP... static [...] checking whether to build shared libraries... yes checking whether to build static libraries... no [...] With r8367: [...] configure flags: --disable-static --disable-dependency-tracking --prefix=/nix/store/8zblwffd2ww1z0smqlgwrfzcl6b48rim-mpfr-0-3.2.0-dev [...] checking whether to build shared libraries... yes checking whether to build static libraries... no checking for DLL/static GMP... static [...] ------------------------------------------------------------------------ r8363 | vlefevre | 2012-07-27 09:09:40 +0000 (Fri, 27 Jul 2012) | 2 lines Changed paths: M /trunk/src/mpfr-intmax.h [src/mpfr-intmax.h] Updated comment formatting so that mpfrlint doesn't complain. ------------------------------------------------------------------------ r8360 | vlefevre | 2012-07-26 14:09:01 +0000 (Thu, 26 Jul 2012) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Replaced "sed" by "$SED". ------------------------------------------------------------------------ r8359 | vlefevre | 2012-07-26 14:08:12 +0000 (Thu, 26 Jul 2012) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Check for sed. ------------------------------------------------------------------------ r8358 | vlefevre | 2012-07-26 13:24:29 +0000 (Thu, 26 Jul 2012) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Check for grep, egrep and fgrep (see r8356 correction). ------------------------------------------------------------------------ r8357 | zimmerma | 2012-07-26 10:19:46 +0000 (Thu, 26 Jul 2012) | 2 lines Changed paths: M /trunk/src/get_str.c M /trunk/tests/tl2b.c we use a 77-bit approximation in get_str.c (and not 76-bit) ------------------------------------------------------------------------ r8356 | zimmerma | 2012-07-25 14:18:13 +0000 (Wed, 25 Jul 2012) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] grep -> $EGREP (thanks Marc Glisse) https://sympa.inria.fr/sympa/arc/mpfr/2012-07/msg00006.html ------------------------------------------------------------------------ r8355 | zimmerma | 2012-07-24 15:38:58 +0000 (Tue, 24 Jul 2012) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] fix for cross-compilation ------------------------------------------------------------------------ r8354 | vlefevre | 2012-07-24 12:17:20 +0000 (Tue, 24 Jul 2012) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Improved a message and corrected gmp.h inclusion. ------------------------------------------------------------------------ r8353 | zimmerma | 2012-07-24 12:07:44 +0000 (Tue, 24 Jul 2012) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] added test for double-to-integer conversion bug ------------------------------------------------------------------------ r8352 | zimmerma | 2012-07-24 11:51:22 +0000 (Tue, 24 Jul 2012) | 2 lines Changed paths: M /trunk/tests/tinternals.c revert r8349 (will do the test in configure) ------------------------------------------------------------------------ r8351 | vlefevre | 2012-07-24 10:48:49 +0000 (Tue, 24 Jul 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi Improved doc/mpfr.texi about MPFR_USE_INTMAX_T. ------------------------------------------------------------------------ r8350 | vlefevre | 2012-07-24 10:21:53 +0000 (Tue, 24 Jul 2012) | 8 lines Changed paths: M /trunk/src/mpfr-intmax.h [src/mpfr-intmax.h] Define MPFR_USE_INTMAX_T if and/or is available. This is needed on systems for which the current (non-standard) macro tests in mpfr.h is not sufficient. This will force the support of intmax_t/uintmax_t in this case and also avoids a failure in the tests on such systems. Tested by replacing the macro tests in mpfr.h by just #if defined (MPFR_USE_INTMAX_T) to simulate such a system. ------------------------------------------------------------------------ r8349 | zimmerma | 2012-07-24 06:56:54 +0000 (Tue, 24 Jul 2012) | 2 lines Changed paths: M /trunk/tests/tinternals.c [tinternals.c] added test for double -> mp_limb_t conversion ------------------------------------------------------------------------ r8348 | zimmerma | 2012-07-23 09:54:37 +0000 (Mon, 23 Jul 2012) | 2 lines Changed paths: M /trunk/src/mpfr.h [mpfr.h] patch for FreeBSD (tested on gcc76.fsffrance.org with freebsd-83-amd64) ------------------------------------------------------------------------ r8346 | vlefevre | 2012-07-10 12:17:38 +0000 (Tue, 10 Jul 2012) | 4 lines Changed paths: M /trunk/doc/README.dev A /trunk/tools/announce-text Added tools/announce-text sh script to be run before publishing an announce of a new GNU MPFR release (it does some checking, then it outputs the announce text to stdout). Mention this script in "doc/README.dev". ------------------------------------------------------------------------ r8345 | vlefevre | 2012-07-10 08:54:17 +0000 (Tue, 10 Jul 2012) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated "To make a release". ------------------------------------------------------------------------ r8344 | zimmerma | 2012-07-09 16:04:57 +0000 (Mon, 09 Jul 2012) | 2 lines Changed paths: M /trunk/TODO [TODO] added item ------------------------------------------------------------------------ r8340 | vlefevre | 2012-07-06 14:43:44 +0000 (Fri, 06 Jul 2012) | 2 lines Changed paths: M /trunk/tests/tget_flt.c M /trunk/tests/tset_d.c [tests/{tset_d.c,tget_flt.c}] Disabled two tests when HAVE_SIGNEDZ isn't defined, because these tests rely on signed zeros. ------------------------------------------------------------------------ r8339 | vlefevre | 2012-07-06 14:38:51 +0000 (Fri, 06 Jul 2012) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Added a test for signed zeros (tcc currently doesn't support signed zeros, and 2 MPFR tests fail because of that). ------------------------------------------------------------------------ r8338 | vlefevre | 2012-07-06 14:26:42 +0000 (Fri, 06 Jul 2012) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Removed useless "#include " in the test for subnormal numbers. ------------------------------------------------------------------------ r8337 | vlefevre | 2012-07-06 14:12:15 +0000 (Fri, 06 Jul 2012) | 4 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Replaced the AC_TRY_RUN obsolete macro by AC_RUN_IFELSE([AC_LANG_SOURCE([[...]])],...) as documented in the GNU Autoconf manual. Minor correction in the test for subnormal numbers. ------------------------------------------------------------------------ r8336 | vlefevre | 2012-07-06 14:09:59 +0000 (Fri, 06 Jul 2012) | 1 line Changed paths: M /trunk/tests [tests] Added trndna to svn:ignore property. ------------------------------------------------------------------------ r8335 | vlefevre | 2012-07-06 13:58:29 +0000 (Fri, 06 Jul 2012) | 1 line Changed paths: M /trunk/tests/tset_d.c [tests/tset_d.c] Formatting. ------------------------------------------------------------------------ r8334 | vlefevre | 2012-07-06 13:55:47 +0000 (Fri, 06 Jul 2012) | 1 line Changed paths: M /trunk/acinclude.m4 M /trunk/doc/README.dev M /trunk/src/round_raw_generic.c M /trunk/src/set_d.c M /trunk/tests/tests.c M /trunk/tests/tset_d.c Replaced "denormalized" by the official term "subnormal". ------------------------------------------------------------------------ r8333 | vlefevre | 2012-07-05 20:19:07 +0000 (Thu, 05 Jul 2012) | 1 line Changed paths: M /trunk/tools/coverage [tools/coverage] unset MPFR_* environment variables in a better way. ------------------------------------------------------------------------ r8332 | vlefevre | 2012-07-05 20:10:00 +0000 (Thu, 05 Jul 2012) | 1 line Changed paths: M /trunk/tools/coverage [tools/coverage] unset MPFR_* environment variables in a better way. ------------------------------------------------------------------------ r8331 | zimmerma | 2012-07-05 17:09:55 +0000 (Thu, 05 Jul 2012) | 2 lines Changed paths: M /trunk/tools/coverage [coverage] unset MPFR_* environment variables to get reproducible results ------------------------------------------------------------------------ r8329 | zimmerma | 2012-07-05 07:26:39 +0000 (Thu, 05 Jul 2012) | 2 lines Changed paths: M /trunk/tests/tabort_defalloc2.c [tabort_defalloc2.c] changed char* into void* to please g++ compiler ------------------------------------------------------------------------ r8326 | vlefevre | 2012-07-04 22:51:33 +0000 (Wed, 04 Jul 2012) | 1 line Changed paths: M /trunk/tests/trndna.c [tests/trndna.c] Removed useless initialization. ------------------------------------------------------------------------ r8325 | zimmerma | 2012-07-04 17:22:40 +0000 (Wed, 04 Jul 2012) | 2 lines Changed paths: M /trunk/tests/trndna.c [trndna.c] restore emin ------------------------------------------------------------------------ r8324 | zimmerma | 2012-07-04 16:18:50 +0000 (Wed, 04 Jul 2012) | 2 lines Changed paths: M /trunk/tools/coverage [coverage] unset GMP_CHECK_RANDOMIZE so that the coverage test is deterministic ------------------------------------------------------------------------ r8317 | vlefevre | 2012-07-04 00:36:48 +0000 (Wed, 04 Jul 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Replaced a "should not" by a "must not". ------------------------------------------------------------------------ r8316 | vlefevre | 2012-07-04 00:34:35 +0000 (Wed, 04 Jul 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Consistency change. ------------------------------------------------------------------------ r8313 | zimmerma | 2012-07-03 19:54:29 +0000 (Tue, 03 Jul 2012) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/rndna.c M /trunk/src/sin.c M /trunk/tests/trndna.c [trndna.c] increase emin when smallest possible ------------------------------------------------------------------------ r8312 | zimmerma | 2012-07-03 15:34:39 +0000 (Tue, 03 Jul 2012) | 2 lines Changed paths: M /trunk/src/rndna.c M /trunk/tests/trndna.c [rndna.c] special treatment for the case 2^(emin-2) ------------------------------------------------------------------------ r8311 | zimmerma | 2012-07-03 15:03:41 +0000 (Tue, 03 Jul 2012) | 2 lines Changed paths: M /trunk/NEWS M /trunk/TODO M /trunk/doc/mpfr.texi M /trunk/src/rndna.c several changes suggested by Vincent Lefevre ------------------------------------------------------------------------ r8310 | zimmerma | 2012-07-03 14:53:06 +0000 (Tue, 03 Jul 2012) | 3 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/rndna.c [rndna.c] changed the specification since on 32-bit machines we have no margin for the smallest exponent emin ------------------------------------------------------------------------ r8308 | zimmerma | 2012-07-03 14:23:09 +0000 (Tue, 03 Jul 2012) | 3 lines Changed paths: M /trunk/NEWS M /trunk/TODO M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am M /trunk/src/rndna.c M /trunk/tests/Makefile.am M /trunk/tools/cfarm.sh added new function mpfr_round_nearest_away() as discussed during the June 2012 workshop ------------------------------------------------------------------------ r8305 | vlefevre | 2012-07-03 14:05:18 +0000 (Tue, 03 Jul 2012) | 1 line Changed paths: M /trunk/tools/coverage [tools/coverage] Minor update, just in case... ------------------------------------------------------------------------ r8304 | zimmerma | 2012-07-03 13:56:28 +0000 (Tue, 03 Jul 2012) | 2 lines Changed paths: M /trunk/src/exp.c [exp.c] fixed typo ------------------------------------------------------------------------ r8302 | vlefevre | 2012-07-03 13:51:39 +0000 (Tue, 03 Jul 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8299 | vlefevre | 2012-07-03 13:44:02 +0000 (Tue, 03 Jul 2012) | 2 lines Changed paths: M /trunk/tests/td_div.c M /trunk/tests/tget_d.c [tests/{td_div.c,tget_d.c}] Disable tests with a division by 0 if MPFR_ERRDIVZERO is defined. ------------------------------------------------------------------------ r8298 | vlefevre | 2012-07-03 13:37:07 +0000 (Tue, 03 Jul 2012) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Improved an error message. ------------------------------------------------------------------------ r8297 | vlefevre | 2012-07-03 13:04:25 +0000 (Tue, 03 Jul 2012) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Fixed sigaction check to support "gcc -std=c99", like what has been done for math/round. ------------------------------------------------------------------------ r8296 | zimmerma | 2012-07-02 20:25:36 +0000 (Mon, 02 Jul 2012) | 2 lines Changed paths: A /trunk/tests/trndna.c [trndna.c] test file for mpfr_round_nearest_away() ------------------------------------------------------------------------ r8295 | vlefevre | 2012-07-02 15:08:42 +0000 (Mon, 02 Jul 2012) | 5 lines Changed paths: M /trunk/src/rndna.c [src/rndna.c] * Handle singular cases like with other functions. Avoid the goto. * Reordered the tests to make them simpler and easier to understand (it wasn't immediately visible that inex could not be 0 for the second "else") and fixed the case lastbit == 1 && inex < 0. ------------------------------------------------------------------------ r8294 | vlefevre | 2012-07-02 14:54:30 +0000 (Mon, 02 Jul 2012) | 2 lines Changed paths: M /trunk/src/rndna.c [src/rndna.c] Added a note saying that this method doesn't work for 2^(emin-2). ------------------------------------------------------------------------ r8293 | zimmerma | 2012-06-29 16:10:08 +0000 (Fri, 29 Jun 2012) | 2 lines Changed paths: A /trunk/src/rndna.c [rndna.c] new function that computes rounding to nearest-away ------------------------------------------------------------------------ r8292 | vlefevre | 2012-06-28 17:49:36 +0000 (Thu, 28 Jun 2012) | 2 lines Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Test the thousands separator in some en_US locale, if available (modified patch from Patrick). ------------------------------------------------------------------------ r8291 | vlefevre | 2012-06-28 17:33:46 +0000 (Thu, 28 Jun 2012) | 1 line Changed paths: M /trunk/configure.ac A /trunk/src/generic/coverage A /trunk/src/generic/coverage/mparam.h M /trunk/src/mparam_h.in M /trunk/tools/coverage Added coverage tune (from a patch by Patrick). ------------------------------------------------------------------------ r8289 | zimmerma | 2012-06-27 11:17:46 +0000 (Wed, 27 Jun 2012) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] added support by ERC grant of Andreas ------------------------------------------------------------------------ r8287 | vlefevre | 2012-06-27 09:13:28 +0000 (Wed, 27 Jun 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Replaced a few @samp by @code for consistency. ------------------------------------------------------------------------ r8286 | zimmerma | 2012-06-27 08:59:59 +0000 (Wed, 27 Jun 2012) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] document MPFR_WANT_DECIMAL_FLOATS and MPFR_WANT_FLOAT128 ------------------------------------------------------------------------ r8285 | vlefevre | 2012-06-27 08:44:18 +0000 (Wed, 27 Jun 2012) | 1 line Changed paths: M /trunk/src/mulders.c [src/mulders.c] Clean-up and static assertions (patch from Patrick). ------------------------------------------------------------------------ r8283 | vlefevre | 2012-06-27 08:35:56 +0000 (Wed, 27 Jun 2012) | 1 line Changed paths: M /trunk/tests/tgrandom.c [tests/tgrandom.c] Replaced GMP_RNDN by MPFR_RNDN. ------------------------------------------------------------------------ r8280 | vlefevre | 2012-06-27 08:21:10 +0000 (Wed, 27 Jun 2012) | 2 lines Changed paths: M /trunk/tests/tgrandom.c [tests/tgrandom.c] Improved a test and added a new one for mpfr_grandom(x, NULL, ...). ------------------------------------------------------------------------ r8279 | vlefevre | 2012-06-27 08:17:57 +0000 (Wed, 27 Jun 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Completed spec of mpfr_grandom. ------------------------------------------------------------------------ r8277 | zimmerma | 2012-06-27 08:10:41 +0000 (Wed, 27 Jun 2012) | 2 lines Changed paths: M /trunk/tools/coverage [coverage] added instructions how to use this script ------------------------------------------------------------------------ r8276 | vlefevre | 2012-06-27 08:09:32 +0000 (Wed, 27 Jun 2012) | 1 line Changed paths: M /trunk/NEWS [NEWS] Update: test coverage. ------------------------------------------------------------------------ r8275 | vlefevre | 2012-06-27 07:27:28 +0000 (Wed, 27 Jun 2012) | 1 line Changed paths: M /trunk/tools/coverage [tools/coverage] Detailed coverage (from a patch by Patrick). ------------------------------------------------------------------------ r8274 | vlefevre | 2012-06-26 23:19:56 +0000 (Tue, 26 Jun 2012) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/print_raw.c [src/{mpfr-impl.h,print_raw.c}] Removed unused function mpfr_dump_mant (added in r3410, but never used); patch by Patrick. ------------------------------------------------------------------------ r8273 | vlefevre | 2012-06-26 22:43:16 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/tests/tsin.c [tests/tsin.c] Improved coverage. ------------------------------------------------------------------------ r8272 | vlefevre | 2012-06-26 22:40:33 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/tests/tset.c [tests/tset.c] Test the mpfr_set function too (patch by Patrick). ------------------------------------------------------------------------ r8271 | vlefevre | 2012-06-26 22:35:39 +0000 (Tue, 26 Jun 2012) | 2 lines Changed paths: M /trunk/NEWS M /trunk/configure.ac M /trunk/doc/README.dev M /trunk/src/mpfr-impl.h M /trunk/tests/mpfr-test.h M /trunk/tests/tsqrt.c M /trunk/tools/coverage Added configure option --enable-assert=none to avoid checking any assertion (this is based on a patch by Patrick). ------------------------------------------------------------------------ r8270 | vlefevre | 2012-06-26 22:27:18 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/src/digamma.c [src/digamma.c] Correction: assertions must never have any side effect. ------------------------------------------------------------------------ r8269 | vlefevre | 2012-06-26 17:30:18 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/tests [tests] Updated svn:ignore property. ------------------------------------------------------------------------ r8268 | vlefevre | 2012-06-26 17:26:54 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/src/atan.c [src/atan.c] Removed trailing whitespace. ------------------------------------------------------------------------ r8267 | vlefevre | 2012-06-26 17:26:00 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: A /trunk/tests/tabort_defalloc1.c A /trunk/tests/tabort_defalloc2.c A /trunk/tests/tabort_prec_max.c A /trunk/tests/tassert.c Forgot to add some files in r8266 (tests that are expected to fail). ------------------------------------------------------------------------ r8266 | vlefevre | 2012-06-26 17:17:05 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/acinclude.m4 M /trunk/tests/Makefile.am M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c Support tests that are expected to fail (from a patch by Patrick). ------------------------------------------------------------------------ r8265 | vlefevre | 2012-06-26 17:10:52 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Output the applied patches (if any). ------------------------------------------------------------------------ r8264 | vlefevre | 2012-06-26 17:06:47 +0000 (Tue, 26 Jun 2012) | 2 lines Changed paths: M /trunk/tests/tstckintc.c [tests/tstckintc.c] Correction and test improvement (from a patch by Patrick). ------------------------------------------------------------------------ r8263 | vlefevre | 2012-06-26 16:55:15 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/tools/coverage [tools/coverage] Correction by Patrick. ------------------------------------------------------------------------ r8260 | zimmerma | 2012-06-26 16:03:31 +0000 (Tue, 26 Jun 2012) | 3 lines Changed paths: M /trunk/src/atan.c [atan.c] improved code coverage by removing some dead code after some numerical analysis with Benjamin Dadoun ------------------------------------------------------------------------ r8258 | vlefevre | 2012-06-26 14:53:46 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Removed obsolete "but see below". ------------------------------------------------------------------------ r8253 | vlefevre | 2012-06-26 14:00:59 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/tests/tinternals.c [tests/tinternals.c] mpfr_set_prec_raw missing tests (thanks to Patrick). ------------------------------------------------------------------------ r8251 | vlefevre | 2012-06-26 13:56:26 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] Also test the mpfr_set_ui function (instead of macro). ------------------------------------------------------------------------ r8250 | vlefevre | 2012-06-26 08:47:49 +0000 (Tue, 26 Jun 2012) | 1 line Changed paths: M /trunk/NEWS [NEWS] 3.2.0 will be "dinde aux marrons". ------------------------------------------------------------------------ r8249 | zimmerma | 2012-06-25 17:48:10 +0000 (Mon, 25 Jun 2012) | 3 lines Changed paths: M /trunk/src/gamma.c [gamma.c] simplified mpfr_gamma_1_minus_x_exact() after code coverage analysis with Benjamin Dadoun ------------------------------------------------------------------------ r8248 | vlefevre | 2012-06-25 17:44:54 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] aclocal -> acinclude.m4 in a comment. ------------------------------------------------------------------------ r8247 | vlefevre | 2012-06-25 17:31:04 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/src/init2.c M /trunk/src/mpfr-impl.h [src/{init2.c,mpfr-impl.h}] Clean-up. ------------------------------------------------------------------------ r8246 | zimmerma | 2012-06-25 17:25:17 +0000 (Mon, 25 Jun 2012) | 2 lines Changed paths: M /trunk/TODO [TODO] removed one item, added one ------------------------------------------------------------------------ r8245 | vlefevre | 2012-06-25 17:15:04 +0000 (Mon, 25 Jun 2012) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/mpfr-thread.h [acinclude.m4] Detect whether _Thread_local (C11) is supported. [src/mpfr-thread.h] Use _Thread_local if supported, instead of __thread. (Patch from Patrick) ------------------------------------------------------------------------ r8244 | zimmerma | 2012-06-25 17:03:27 +0000 (Mon, 25 Jun 2012) | 3 lines Changed paths: M /trunk/src/gamma.c [gamma.c] simplified code for mpfr_gamma_2_minus_x_exact() (thanks to coverage analysis by Benjamin Dadoun) ------------------------------------------------------------------------ r8243 | vlefevre | 2012-06-25 17:02:37 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] Added mpfr-sassert.h to libmpfr_la_SOURCES. ------------------------------------------------------------------------ r8242 | vlefevre | 2012-06-25 16:52:37 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/src/init2.c [src/init2.c] Replaced classic assertions by static assertions. ------------------------------------------------------------------------ r8241 | vlefevre | 2012-06-25 16:50:38 +0000 (Mon, 25 Jun 2012) | 4 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/mpfr-impl.h A /trunk/src/mpfr-sassert.h Added Static Assertion support (modified patch from Patrick). * Added src/mpfr-sassert.h: implementation of static assertions. * src/mpfr-impl.h: include "mpfr-sassert.h". * acinclude.m4: test whether static assertions are supported. ------------------------------------------------------------------------ r8240 | vlefevre | 2012-06-25 16:46:30 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Suggest to test with and without -std=c11. ------------------------------------------------------------------------ r8239 | vlefevre | 2012-06-25 16:33:57 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/src/mpfr-intmax.h [src/mpfr-intmax.h] Removed svn:mime-type property for consistency. ------------------------------------------------------------------------ r8238 | vlefevre | 2012-06-25 15:47:25 +0000 (Mon, 25 Jun 2012) | 2 lines Changed paths: M /trunk/tests/tset_float128.c [tests/tset_float128.c] Test the sign of 0. Use mpfr_equal_p instead of mpfr_cmp (this is safer if a result is NaN). ------------------------------------------------------------------------ r8237 | vlefevre | 2012-06-25 15:39:38 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/src/set_float128.c [src/set_float128.c] Avoid a goto (useless here, contrary to set_ld.c). ------------------------------------------------------------------------ r8236 | vlefevre | 2012-06-25 15:30:44 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/src/get_float128.c [src/get_float128.c] !MPFR_IS_ZERO -> MPFR_NOTZERO; GNU coding style. ------------------------------------------------------------------------ r8235 | vlefevre | 2012-06-25 15:17:01 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r8234 | vlefevre | 2012-06-25 15:15:35 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/tests/tset_float128.c [tests/tset_float128.c] Got rid of the remaining mpfr_printf's. ------------------------------------------------------------------------ r8233 | zimmerma | 2012-06-25 15:10:04 +0000 (Mon, 25 Jun 2012) | 2 lines Changed paths: M /trunk/tests/tset_float128.c [tset_float128.c] added missing empty main when functions are not tested ------------------------------------------------------------------------ r8232 | zimmerma | 2012-06-25 15:05:45 +0000 (Mon, 25 Jun 2012) | 2 lines Changed paths: M /trunk/src/set_float128.c M /trunk/tests/tset_float128.c [set_float128.c,tset_float128.c] untabified and got rid of mpfr_printf ------------------------------------------------------------------------ r8231 | vlefevre | 2012-06-25 14:54:28 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/NEWS [NEWS] Added a period. ------------------------------------------------------------------------ r8230 | vlefevre | 2012-06-25 14:44:28 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8229 | vlefevre | 2012-06-25 14:35:20 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] "configure --help" formatting for --enable-float128. ------------------------------------------------------------------------ r8228 | zimmerma | 2012-06-25 14:33:01 +0000 (Mon, 25 Jun 2012) | 2 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/get_float128.c M /trunk/src/set_float128.c M /trunk/tests/tset_float128.c compile mpfr_set_float128 and mpfr_get_float128 only when __float128 is supported ------------------------------------------------------------------------ r8227 | zimmerma | 2012-06-25 14:25:48 +0000 (Mon, 25 Jun 2012) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] __float128 is supported by GCC >= 4.3 ------------------------------------------------------------------------ r8226 | vlefevre | 2012-06-25 14:25:38 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/tests/tset_float128.c [tests/tset_float128.c] mp_rnd_t -> mpfr_rnd_t ------------------------------------------------------------------------ r8225 | zimmerma | 2012-06-25 14:20:29 +0000 (Mon, 25 Jun 2012) | 2 lines Changed paths: M /trunk/NEWS M /trunk/configure.ac M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am A /trunk/src/get_float128.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h A /trunk/src/set_float128.c M /trunk/tests/Makefile.am A /trunk/tests/tset_float128.c added new functions mpfr_set_float128 and mpfr_get_float128 ------------------------------------------------------------------------ r8224 | zimmerma | 2012-06-25 14:17:55 +0000 (Mon, 25 Jun 2012) | 2 lines Changed paths: M /trunk/src/get_ld.c [get_ld.c] fixed typo ------------------------------------------------------------------------ r8223 | vlefevre | 2012-06-25 13:52:05 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Test mpfr_buildopt_tune_case() vs MPFR_TUNE_CASE. ------------------------------------------------------------------------ r8222 | vlefevre | 2012-06-25 13:51:20 +0000 (Mon, 25 Jun 2012) | 1 line Changed paths: M /trunk/src/buildopt.c [src/buildopt.c] Made mpfr_buildopt_tune_case() simpler. ------------------------------------------------------------------------ r8221 | zimmerma | 2012-06-22 15:38:14 +0000 (Fri, 22 Jun 2012) | 2 lines Changed paths: M /trunk/src/li2.c [li2.c] replaced mpfr_cmp_d by mpfr_cmp_ui_2exp ------------------------------------------------------------------------ r8219 | vlefevre | 2012-06-21 23:01:37 +0000 (Thu, 21 Jun 2012) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] For _GMP_IEEE_FLOATS, use #if instead of #ifdef since mpfr-impl.h defines it to 0 if it was undefined. ------------------------------------------------------------------------ r8217 | vlefevre | 2012-05-18 12:07:53 +0000 (Fri, 18 May 2012) | 1 line Changed paths: M /trunk/TODO [TODO] Added a reference to a new discussion concerning __float128. ------------------------------------------------------------------------ r8213 | schevill | 2012-05-14 14:51:33 +0000 (Mon, 14 May 2012) | 3 lines Changed paths: M /trunk/tools/metaMPFR/metaMPFR_straightforwardAlgo.mpl * Other corrections (essentially bad or missing declarations) in metaMPFR. ------------------------------------------------------------------------ r8212 | vlefevre | 2012-05-11 07:59:28 +0000 (Fri, 11 May 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved the description of the mpfr_flags_ functions. ------------------------------------------------------------------------ r8211 | schevill | 2012-05-10 16:10:06 +0000 (Thu, 10 May 2012) | 3 lines Changed paths: M /trunk/tools/metaMPFR/metaMPFR_straightforwardAlgo.mpl * Corrected small errors. ------------------------------------------------------------------------ r8210 | vlefevre | 2012-05-10 10:46:23 +0000 (Thu, 10 May 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved mpfr_flags_test description, giving an example. ------------------------------------------------------------------------ r8209 | vlefevre | 2012-05-10 10:19:11 +0000 (Thu, 10 May 2012) | 3 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Define MPFR_FLAGS_ALL from the individual flags (MPFR_FLAGS_UNDERFLOW...). Suggestion by Paul Zimmermann. Note: the output expression looks OK in assertion failures. ------------------------------------------------------------------------ r8208 | vlefevre | 2012-05-10 08:13:51 +0000 (Thu, 10 May 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Correction on mpfr_clear_flags description. ------------------------------------------------------------------------ r8206 | vlefevre | 2012-05-09 08:25:17 +0000 (Wed, 09 May 2012) | 3 lines Changed paths: M /trunk M /trunk/NEWS M /trunk/TODO M /trunk/doc/mpfr.texi M /trunk/src/exceptions.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/tests/texceptions.c Added functions that operate on groups of flags: mpfr_flags_clear, mpfr_flags_set, mpfr_flags_test, mpfr_flags_save and mpfr_flags_restore. (reintegrated flags branch to the trunk: svn merge --reintegrate ...) ------------------------------------------------------------------------ r8204 | zimmerma | 2012-05-08 19:06:58 +0000 (Tue, 08 May 2012) | 5 lines Changed paths: M /trunk/configure.ac M /trunk/tests/Makefile.am patch from Nitin A Kamble for automake 1.12. This patch avoids these issues with automake 1.12: | configure.ac:304: error: automatic de-ANSI-fication support has been removed | tests/Makefile.am:12: error: automatic de-ANSI-fication support has been removed ------------------------------------------------------------------------ r8201 | vlefevre | 2012-05-07 18:11:47 +0000 (Mon, 07 May 2012) | 5 lines Changed paths: M /trunk/AUTHORS M /trunk/INSTALL M /trunk/doc/mpfr.texi [AUTHORS,INSTALL,doc/mpfr.texi] Updated the e-mail address of the MPFR mailing-list to match the List-* headers written by the new mailing-list server (the old one still works, but may lead to bad interaction with MUA's that attempt to honor the List-Post header when replying to the list(s)). ------------------------------------------------------------------------ r8199 | vlefevre | 2012-05-07 15:17:31 +0000 (Mon, 07 May 2012) | 4 lines Changed paths: M /trunk/src/gamma.c M /trunk/src/lngamma.c [src/lngamma.c] Added mpfr_explgamma internal function to handle overflows/underflows (intermediate or not) in mpfr_gamma. Updated the general overflow detection to use this function. [src/gamma.c] Fixed the general underflow detection. ------------------------------------------------------------------------ r8198 | vlefevre | 2012-05-07 12:51:34 +0000 (Mon, 07 May 2012) | 1 line Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Removed spurious parentheses. ------------------------------------------------------------------------ r8197 | vlefevre | 2012-05-07 12:36:22 +0000 (Mon, 07 May 2012) | 2 lines Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Added tests for 32-bit and 64-bit machines, showing an underflow detection bug in gamma.c (see FIXME comment added in r8185). ------------------------------------------------------------------------ r8196 | vlefevre | 2012-05-07 12:23:44 +0000 (Mon, 07 May 2012) | 2 lines Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Added tests to trigger the pre-r8189 endless loop on 32-bit machines. ------------------------------------------------------------------------ r8195 | vlefevre | 2012-05-04 15:23:02 +0000 (Fri, 04 May 2012) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Updated exp_lgamma to test the ternary value. ------------------------------------------------------------------------ r8194 | vlefevre | 2012-05-04 15:10:06 +0000 (Fri, 04 May 2012) | 1 line Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Fixed the problem with the overflow flag (r8192). ------------------------------------------------------------------------ r8193 | vlefevre | 2012-05-04 14:33:58 +0000 (Fri, 04 May 2012) | 6 lines Changed paths: M /trunk/src/lngamma.c Improved src/lngamma.c (mainly on changes from r8189): * Declarations of ok variable were used in nested block. * Added a missing "MPFR_ZIV_FREE (loop);". * In the overflow detection code, call mpfr_lngamma only once, use mpfr_equal_p instead of mpfr_cmp, and share code with the end. Note: the problem with the overflow flag (r8192) hasn't been solved yet. ------------------------------------------------------------------------ r8192 | vlefevre | 2012-05-04 14:23:46 +0000 (Fri, 04 May 2012) | 2 lines Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Added a test showing a failure on 64-bit machines due to an unset overflow flag. ------------------------------------------------------------------------ r8191 | vlefevre | 2012-05-04 14:09:23 +0000 (Fri, 04 May 2012) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Updated exp_lgamma to test underflow & overflow flags. ------------------------------------------------------------------------ r8190 | vlefevre | 2012-05-04 13:19:31 +0000 (Fri, 04 May 2012) | 1 line Changed paths: M /trunk/TODO [TODO] For mpfr_get_flt, etc., exception flags should be raised. ------------------------------------------------------------------------ r8189 | zimmerma | 2012-05-04 12:55:57 +0000 (Fri, 04 May 2012) | 2 lines Changed paths: M /trunk/src/lngamma.c M /trunk/tests/tgamma.c [src/lngamma.c] fixed endless loop with test cases introduced in r8188 ------------------------------------------------------------------------ r8188 | vlefevre | 2012-05-03 17:34:16 +0000 (Thu, 03 May 2012) | 2 lines Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Updated the exp_lgamma_tests test to trigger an endless loop due to undetected overflow on 64-bit machines. ------------------------------------------------------------------------ r8187 | vlefevre | 2012-05-03 16:20:35 +0000 (Thu, 03 May 2012) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Say that the freeze is for 64-bit machines only. ------------------------------------------------------------------------ r8186 | vlefevre | 2012-05-03 16:17:59 +0000 (Thu, 03 May 2012) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Added more mpfr_tgamma tests, showing a freeze. ------------------------------------------------------------------------ r8185 | vlefevre | 2012-05-03 14:49:46 +0000 (Thu, 03 May 2012) | 2 lines Changed paths: M /trunk/src/gamma.c [src/gamma.c] Corrected the FIXME comment concerning the underflow detection. ------------------------------------------------------------------------ r8183 | vlefevre | 2012-05-03 14:28:32 +0000 (Thu, 03 May 2012) | 2 lines Changed paths: M /trunk/src/gamma.c [src/gamma.c] Added a FIXME comment: the underflow detection may still be buggy (or the explanation is incomplete). ------------------------------------------------------------------------ r8182 | vlefevre | 2012-05-03 14:21:57 +0000 (Thu, 03 May 2012) | 2 lines Changed paths: M /trunk/src/gamma.c [src/gamma.c] Completed the explanation concerning the new underflow detection. ------------------------------------------------------------------------ r8181 | vlefevre | 2012-05-03 14:15:02 +0000 (Thu, 03 May 2012) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Removed the FIXME comment (from r8169). ------------------------------------------------------------------------ r8179 | vlefevre | 2012-05-03 13:42:13 +0000 (Thu, 03 May 2012) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Untabified. ------------------------------------------------------------------------ r8177 | vlefevre | 2012-05-03 13:23:23 +0000 (Thu, 03 May 2012) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r8175 | vlefevre | 2012-05-03 12:33:24 +0000 (Thu, 03 May 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8174 | zimmerma | 2012-05-03 10:08:19 +0000 (Thu, 03 May 2012) | 2 lines Changed paths: M /trunk/src/gamma.c [gamma.c] tentative fix for the underflow problem ------------------------------------------------------------------------ r8173 | vlefevre | 2012-05-03 09:39:18 +0000 (Thu, 03 May 2012) | 2 lines Changed paths: M /trunk/doc/README.dev M /trunk/doc/mpfr.texi M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/subnormal.c M /trunk/tests/Makefile.am M /trunk/tests/tatan.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsqr.c M /trunk/tools/cfarm.sh Updated URL's of mailing-list archives/messages in all files (except ChangeLog, as it is generated). ------------------------------------------------------------------------ r8172 | vlefevre | 2012-05-03 09:35:55 +0000 (Thu, 03 May 2012) | 1 line Changed paths: M /trunk/TODO [TODO] Updated URL's of mailing-list archives/messages. ------------------------------------------------------------------------ r8170 | vlefevre | 2012-05-02 16:07:13 +0000 (Wed, 02 May 2012) | 1 line Changed paths: M /trunk/TODO [TODO] Updated concerning MPFR_RNDNA. ------------------------------------------------------------------------ r8169 | vlefevre | 2012-04-27 14:27:58 +0000 (Fri, 27 Apr 2012) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Added a FIXME comment. ------------------------------------------------------------------------ r8168 | vlefevre | 2012-04-27 13:51:49 +0000 (Fri, 27 Apr 2012) | 2 lines Changed paths: M /trunk/TODO [TODO] Suggested a new rounding mode: MPFR_RNDE, to be used when the result is known to be exact (normal mode: optimize; debug mode: check). ------------------------------------------------------------------------ r8167 | vlefevre | 2012-04-27 13:24:54 +0000 (Fri, 27 Apr 2012) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Use the new MPFR_DBGRES macro. ------------------------------------------------------------------------ r8164 | vlefevre | 2012-04-27 12:38:03 +0000 (Fri, 27 Apr 2012) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Improved testcase test20100709. ------------------------------------------------------------------------ r8162 | vlefevre | 2012-04-27 12:27:09 +0000 (Fri, 27 Apr 2012) | 2 lines Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Updated testcase test20100709 for 64-bit machines, as this bug reappeared in r8159. ------------------------------------------------------------------------ r8159 | zimmerma | 2012-04-26 16:05:56 +0000 (Thu, 26 Apr 2012) | 5 lines Changed paths: M /trunk/src/gamma.c M /trunk/tests/tgamma.c [src/gamma.c] fixed bug found by Giridhar Tammana https://sympa.inria.fr/sympa/arc/mpfr/2012-04/msg00013.html Note (VL): this fix triggers an infinite loop on 32-bit machines (or with -m32) in test20100709 from tgamma.c and this is partly the opposite of changeset r6996. ------------------------------------------------------------------------ r8157 | vlefevre | 2012-04-26 11:24:54 +0000 (Thu, 26 Apr 2012) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Improved the noreturn feature. ------------------------------------------------------------------------ r8156 | vlefevre | 2012-04-25 12:48:17 +0000 (Wed, 25 Apr 2012) | 4 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/mpfr-impl.h Added support for _Noreturn function specifier (ISO C11). * acinclude.m4: define MPFR_HAVE_NORETURN if _Noreturn is supported. * src/mpfr-impl.h: use _Noreturn when MPFR_HAVE_NORETURN is defined. Tested with GCC 4.6 (no _Noreturn) and 4.7 (supports _Noreturn). ------------------------------------------------------------------------ r8155 | vlefevre | 2012-04-25 11:36:24 +0000 (Wed, 25 Apr 2012) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about the new experimental -ftrack-macro-expansion GCC option. ------------------------------------------------------------------------ r8152 | vlefevre | 2012-04-24 15:36:58 +0000 (Tue, 24 Apr 2012) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Forgot to replace the mpfr_clear_divby0 internal macro by MPFR_CLEAR_DIVBY0 in r8141. ------------------------------------------------------------------------ r8150 | vlefevre | 2012-04-23 15:00:22 +0000 (Mon, 23 Apr 2012) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a comment concerning MPFR_INT_CEIL_LOG2 and macro expansion. ------------------------------------------------------------------------ r8149 | vlefevre | 2012-04-23 14:44:54 +0000 (Mon, 23 Apr 2012) | 2 lines Changed paths: M /trunk/src/ai.c [src/ai.c] Use an intermediate variable to avoid a huge macro expansion in ASSERT_FAIL with gcc -ansi -pedantic-errors. ------------------------------------------------------------------------ r8147 | vlefevre | 2012-04-23 07:17:40 +0000 (Mon, 23 Apr 2012) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Update after r8141. ------------------------------------------------------------------------ r8142 | vlefevre | 2012-04-20 09:24:17 +0000 (Fri, 20 Apr 2012) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Improved comment about MPFR_CLEAR_* macros. ------------------------------------------------------------------------ r8141 | vlefevre | 2012-04-20 09:17:47 +0000 (Fri, 20 Apr 2012) | 4 lines Changed paths: M /trunk/src/add_d.c M /trunk/src/agm.c M /trunk/src/cmp.c M /trunk/src/cmp_abs.c M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/div_d.c M /trunk/src/exp2.c M /trunk/src/exp_2.c M /trunk/src/get_f.c M /trunk/src/get_si.c M /trunk/src/get_sj.c M /trunk/src/get_ui.c M /trunk/src/get_uj.c M /trunk/src/get_z.c M /trunk/src/get_z_exp.c M /trunk/src/jn.c M /trunk/src/mpfr-impl.h M /trunk/src/mul_d.c M /trunk/src/pow.c M /trunk/src/sgn.c M /trunk/src/sub_d.c [src] Replaced the flags-related mpfr_clear_* internal macros by an uppercase version with a do-while in order to prevent one from using them in an expression. Renamed MPFR_SET_ERANGE to MPFR_SET_ERANGEFLAG for consistency. ------------------------------------------------------------------------ r8139 | vlefevre | 2012-04-19 12:13:28 +0000 (Thu, 19 Apr 2012) | 8 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Use a do-while statement for the MPFR_SET_ERANGE() macro in order to prevent one from using this macro in an expression, as the sequence point rules could be broken if __gmpfr_flags is assigned twice in the same expression (via macro expansions). Note: This cannot be done for the mpfr_clear_* flags macros because we want to be able to follow the API inside MPFR (thus these macros must be usable wherever a function is). These macros should probably be removed or renamed in the future (e.g. via the flags branch). ------------------------------------------------------------------------ r8136 | vlefevre | 2012-04-11 10:38:55 +0000 (Wed, 11 Apr 2012) | 1 line Changed paths: M /trunk/TODO [TODO] Suggest mpfr_pow_q and variants. ------------------------------------------------------------------------ r8135 | vlefevre | 2012-03-28 13:23:27 +0000 (Wed, 28 Mar 2012) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated "API Compatibility" section: functions mpfr_fmodquo, mpfr_fpif_export and mpfr_fpif_import are new in MPFR 3.2. ------------------------------------------------------------------------ r8133 | vlefevre | 2012-03-27 00:58:57 +0000 (Tue, 27 Mar 2012) | 1 line Changed paths: M /trunk/tests/tfpif.c [tests/tfpif.c] Removed trailing whitespace. ------------------------------------------------------------------------ r8132 | zimmerma | 2012-03-26 19:08:58 +0000 (Mon, 26 Mar 2012) | 2 lines Changed paths: M /trunk/src/fpif.c M /trunk/tests/tfpif.c [src/fpif.c,tests/tfpif.c] changed to GNU style ------------------------------------------------------------------------ r8131 | demengeo | 2012-03-26 16:00:30 +0000 (Mon, 26 Mar 2012) | 1 line Changed paths: M /trunk/src/fpif.c M /trunk/tests/tfpif.c Add a test on FILE* in fpif.c; Added a missing test on a return value; Changed the way to compute number of bytes needed for the limb of a mpfr number; Increase coverage test of fpif.c ------------------------------------------------------------------------ r8130 | vlefevre | 2012-03-26 14:40:34 +0000 (Mon, 26 Mar 2012) | 5 lines Changed paths: M /trunk/src/atan2.c M /trunk/src/exceptions.c M /trunk/src/gmp_op.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/round_near_x.c M /trunk/tests/texp.c M /trunk/tests/tfma.c M /trunk/tests/tfms.c M /trunk/tests/tpow.c M /trunk/tests/tpow_z.c [src] New mpfr_flags_t type, defined as an unsigned int. For the __gmpfr_flags variable and internal flags-related variables, replaced unsigned int by mpfr_flags_t (note that this doesn't change the ABI, since unsigned int was already used). [tests] Cast __gmpfr_flags to unsigned int when printed with %u. ------------------------------------------------------------------------ r8129 | zimmerma | 2012-03-26 14:11:26 +0000 (Mon, 26 Mar 2012) | 3 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/rem1.c M /trunk/tests/tremquo.c M /trunk/tools/cfarm.sh added new function mpfr_fmodquo (cf https://sympa.inria.fr/sympa/arc/mpfr/2012-03/msg00020.html) ------------------------------------------------------------------------ r8128 | vlefevre | 2012-03-26 12:30:31 +0000 (Mon, 26 Mar 2012) | 1 line Changed paths: M /trunk/examples/version.c [src/mpfr-examples/version.c] Output sizeof(mpfr_t) value. ------------------------------------------------------------------------ r8126 | vlefevre | 2012-03-26 12:12:51 +0000 (Mon, 26 Mar 2012) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Improved src_fopen() a bit. ------------------------------------------------------------------------ r8125 | vlefevre | 2012-03-26 10:58:49 +0000 (Mon, 26 Mar 2012) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Explain the use of the new MPFR_DBGRES macro. ------------------------------------------------------------------------ r8124 | vlefevre | 2012-03-26 10:52:58 +0000 (Mon, 26 Mar 2012) | 4 lines Changed paths: M /trunk/src/const_euler.c M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a MPFR_DBGRES macro to avoid a warning in non-debug mode, e.g. with GCC's -Wunused-but-set-variable, when a result is tested only in an MPFR_ASSERTD expression. [src/const_euler.c] Avoid such a warning by using MPFR_DBGRES. ------------------------------------------------------------------------ r8123 | vlefevre | 2012-03-26 09:19:12 +0000 (Mon, 26 Mar 2012) | 1 line Changed paths: M /trunk/src/fpif.c M /trunk/src/get_ld.c M /trunk/src/mpfr-gmp.h M /trunk/tools/mpfrlint MPFR_ASSERTD or MPFR_ASSERTN must be used for assertions, not ASSERT. ------------------------------------------------------------------------ r8122 | zimmerma | 2012-03-20 13:53:33 +0000 (Tue, 20 Mar 2012) | 3 lines Changed paths: M /trunk/tests/Makefile.am M /trunk/tests/tests.c [tests/tests.c] fixed problem with src_fopen (https://sympa.inria.fr/sympa/arc/mpfr/2012-03/msg00021.html) ------------------------------------------------------------------------ r8121 | zimmerma | 2012-03-20 13:41:06 +0000 (Tue, 20 Mar 2012) | 2 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] inp_str.data -> inp_str.dat ------------------------------------------------------------------------ r8120 | zimmerma | 2012-03-20 13:28:49 +0000 (Tue, 20 Mar 2012) | 4 lines Changed paths: A /trunk/tests/inp_str.dat (from /trunk/tests/inp_str.data:8119) D /trunk/tests/inp_str.data M /trunk/tests/tfpif.c M /trunk/tests/tinp_str.c renamed tests/inp_str.data into tests/inp_str.dat [tests/tinp_str.c] now use tests/inp_str.dat [tests/tfpif.c] use src_fopen instead of fopen ------------------------------------------------------------------------ r8119 | zimmerma | 2012-03-20 08:39:39 +0000 (Tue, 20 Mar 2012) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] simplified &x[i] into x+i ------------------------------------------------------------------------ r8118 | zimmerma | 2012-03-20 08:13:52 +0000 (Tue, 20 Mar 2012) | 3 lines Changed paths: M /trunk/src/mparam_h.in M /trunk/tools/cfarm.sh [src/mparam_h.in] better recognition of AMD64 systems [tools/cfarm.sh] updated ------------------------------------------------------------------------ r8117 | zimmerma | 2012-03-20 07:39:40 +0000 (Tue, 20 Mar 2012) | 2 lines Changed paths: M /trunk/tests/tests.c [tests.c] fixed compiler warning (gcc70.fsffrance.org, NetBSD, gcc 4.1.3) ------------------------------------------------------------------------ r8116 | zimmerma | 2012-03-19 17:06:41 +0000 (Mon, 19 Mar 2012) | 2 lines Changed paths: M /trunk/src/fpif.c [fpif.c] simplified code since nb_data is always 1 ------------------------------------------------------------------------ r8115 | zimmerma | 2012-03-19 16:03:55 +0000 (Mon, 19 Mar 2012) | 2 lines Changed paths: M /trunk/src/mparam_h.in [mparam_h.in] recognize __tune_amdfam10__ (for example gcc10.fsffrance.org) ------------------------------------------------------------------------ r8114 | zimmerma | 2012-03-19 15:33:33 +0000 (Mon, 19 Mar 2012) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.ac [configure.ac] use AC_C_BIGENDIAN to determine endianness of words ------------------------------------------------------------------------ r8113 | zimmerma | 2012-03-19 15:27:43 +0000 (Mon, 19 Mar 2012) | 2 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] the name of the test file for the export/import functions has changed ------------------------------------------------------------------------ r8112 | vlefevre | 2012-03-19 15:22:46 +0000 (Mon, 19 Mar 2012) | 1 line Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r8111 | vlefevre | 2012-03-19 15:20:34 +0000 (Mon, 19 Mar 2012) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Indentation. ------------------------------------------------------------------------ r8110 | zimmerma | 2012-03-19 15:14:58 +0000 (Mon, 19 Mar 2012) | 3 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/fpif.c M /trunk/src/mpfr.h M /trunk/tests/tfpif.c changed the order of arguments of mpfr_fpif_import so that the modified argument is first ------------------------------------------------------------------------ r8109 | zimmerma | 2012-03-19 15:02:04 +0000 (Mon, 19 Mar 2012) | 2 lines Changed paths: M /trunk/NEWS [NEWS] updated item about the new mpfr_fpif_export and mpfr_fpif_import functions ------------------------------------------------------------------------ r8108 | zimmerma | 2012-03-19 15:00:10 +0000 (Mon, 19 Mar 2012) | 3 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/fpif.c M /trunk/src/mpfr.h M /trunk/tests/tfpif.c mpfr_fpif_export_binary -> mpfr_fpif_export mpfr_fpif_import_binary -> mpfr_fpif_import ------------------------------------------------------------------------ r8107 | zimmerma | 2012-03-19 14:50:31 +0000 (Mon, 19 Mar 2012) | 3 lines Changed paths: A /trunk/tests/mpfrtest.dat (from /trunk/tests/stream.data:8106) D /trunk/tests/stream.data M /trunk/tests/tfpif.c stream.data renamed to mpfrtest.dat [tfpif.c] now use remove() ------------------------------------------------------------------------ r8106 | vlefevre | 2012-03-19 14:13:32 +0000 (Mon, 19 Mar 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] "in future version" → "in future versions". ------------------------------------------------------------------------ r8105 | vlefevre | 2012-03-19 14:10:58 +0000 (Mon, 19 Mar 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r8104 | vlefevre | 2012-03-19 14:08:21 +0000 (Mon, 19 Mar 2012) | 1 line Changed paths: M /trunk/src/fpif.c M /trunk/tests/tfpif.c [src/fpif.c,tests/tfpif.c] Corrected coding style. ------------------------------------------------------------------------ r8103 | zimmerma | 2012-03-17 06:53:15 +0000 (Sat, 17 Mar 2012) | 2 lines Changed paths: M /trunk/src/fpif.c [src/fpif.c] fixed a few warnings and errors with g++ (found on hydra) ------------------------------------------------------------------------ r8102 | zimmerma | 2012-03-16 21:18:56 +0000 (Fri, 16 Mar 2012) | 2 lines Changed paths: D /trunk/src/out_raw.c [out_raw.c] removed obsolete file (replaced by fpif.c) ------------------------------------------------------------------------ r8101 | zimmerma | 2012-03-16 21:15:20 +0000 (Fri, 16 Mar 2012) | 2 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] put tfpif at its right place ------------------------------------------------------------------------ r8100 | zimmerma | 2012-03-16 21:07:50 +0000 (Fri, 16 Mar 2012) | 6 lines Changed paths: M /trunk/src/fpif.c M /trunk/tests/Makefile.am A /trunk/tests/stream.data M /trunk/tests/tfpif.c [src/fpif.c] fixed problem with sign on gcc38 [tests/tfpif.c] solved FIXME's, added new test with fixed data file [tests/stream.data] data file for tfpif.c (to check we get same results with different word size and endianness) [tests/Makefile.am] added stream.data to make dist ------------------------------------------------------------------------ r8099 | zimmerma | 2012-03-16 20:14:28 +0000 (Fri, 16 Mar 2012) | 4 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/fpif.c M /trunk/tests/tfpif.c [fpif.c] added comments [tfpif.c] improve error message in case of mismatch [acinclude.m4] forgot double-double big endian ------------------------------------------------------------------------ r8098 | zimmerma | 2012-03-16 17:30:21 +0000 (Fri, 16 Mar 2012) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] added note saying that mpfr_fpif_export_binary and mpfr_fpif_import_binary are experimental ------------------------------------------------------------------------ r8097 | zimmerma | 2012-03-16 17:25:34 +0000 (Fri, 16 Mar 2012) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] added documentation for mpfr_fpif_export_binary and mpfr_fpif_import_binary ------------------------------------------------------------------------ r8096 | zimmerma | 2012-03-16 16:50:23 +0000 (Fri, 16 Mar 2012) | 2 lines Changed paths: M /trunk/src/fpif.c [fpif.c] replaced sizeof(var) by sizeof(type) ------------------------------------------------------------------------ r8095 | zimmerma | 2012-03-15 20:58:22 +0000 (Thu, 15 Mar 2012) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/fpif.c [fpif.c] fixed a few issues ------------------------------------------------------------------------ r8094 | zimmerma | 2012-03-15 18:40:39 +0000 (Thu, 15 Mar 2012) | 4 lines Changed paths: M /trunk/src/fpif.c M /trunk/src/mpfr.h M /trunk/tests/tfpif.c [src/fpif.c,src/mpfr.h,tests/tfpif.c] a few fixes so that make and make check pass on one machine. Will fix the remaining issues later. ------------------------------------------------------------------------ r8093 | vlefevre | 2012-03-15 16:00:47 +0000 (Thu, 15 Mar 2012) | 2 lines Changed paths: M /trunk/NEWS M /trunk/src/fpif.c M /trunk/src/mpfr.h M /trunk/tests/tfpif.c Added FIXME for export/import MPFR numbers, did some corrections, updated NEWS file. ------------------------------------------------------------------------ r8092 | vlefevre | 2012-03-15 15:51:01 +0000 (Thu, 15 Mar 2012) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Update about C headers. ------------------------------------------------------------------------ r8091 | demengeo | 2012-03-15 13:43:20 +0000 (Thu, 15 Mar 2012) | 1 line Changed paths: M /trunk/src/fpif.c M /trunk/tests/tfpif.c Add copyright material in fpif.c and test_fpif.c ------------------------------------------------------------------------ r8090 | demengeo | 2012-03-15 09:49:17 +0000 (Thu, 15 Mar 2012) | 1 line Changed paths: M /trunk/src/Makefile.am A /trunk/src/fpif.c M /trunk/src/mpfr.h M /trunk/tests/Makefile.am A /trunk/tests/tfpif.c Add functions/tests to export/import mpfr number in a binary format ------------------------------------------------------------------------ r8089 | vlefevre | 2012-03-13 09:44:51 +0000 (Tue, 13 Mar 2012) | 1 line Changed paths: M /trunk/src/check.c M /trunk/tests/tcheck.c Improved mpfr_check and added a missing testcase. ------------------------------------------------------------------------ r8085 | vlefevre | 2012-03-09 14:04:39 +0000 (Fri, 09 Mar 2012) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Corrected information about valgrind. ------------------------------------------------------------------------ r8083 | vlefevre | 2012-03-09 11:59:39 +0000 (Fri, 09 Mar 2012) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Updated a comment. ------------------------------------------------------------------------ r8082 | vlefevre | 2012-03-09 11:40:09 +0000 (Fri, 09 Mar 2012) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Improved macros from the changeset r8025, in particular to avoid an error with the --enable-assert configure option and the -ansi -pedantic-errors gcc compiler flags. ------------------------------------------------------------------------ r8079 | vlefevre | 2012-03-08 13:54:43 +0000 (Thu, 08 Mar 2012) | 3 lines Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Corrected the test with MPFR_CHECK_LARGEMEM=1 again, and improved it in case _MPFR_PREC_FORMAT == 2, where MPFR_PREC_MAX is INT_MAX minus some small constant (see r8035). ------------------------------------------------------------------------ r8078 | vlefevre | 2012-03-08 13:01:07 +0000 (Thu, 08 Mar 2012) | 1 line Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Corrected the test with MPFR_CHECK_LARGEMEM=1. ------------------------------------------------------------------------ r8077 | vlefevre | 2012-03-08 12:22:04 +0000 (Thu, 08 Mar 2012) | 2 lines Changed paths: M /trunk/tests/tinits.c [tests/tinits.c] Improved the large precision test so that it is still performed after r8035 (where MPFR_PREC_MAX has been decreased). ------------------------------------------------------------------------ r8076 | vlefevre | 2012-03-08 09:12:38 +0000 (Thu, 08 Mar 2012) | 1 line Changed paths: M /trunk/tests/tconst_log2.c [tests/tconst_log2.c] Replaced mpfr_printf by mpfr_out_str. ------------------------------------------------------------------------ r8075 | zimmerma | 2012-03-08 08:17:48 +0000 (Thu, 08 Mar 2012) | 2 lines Changed paths: M /trunk/tests/tconst_log2.c [tconst_log2.c] use hexadecimal output in case of error in check_large() ------------------------------------------------------------------------ r8074 | zimmerma | 2012-03-08 08:11:59 +0000 (Thu, 08 Mar 2012) | 4 lines Changed paths: M /trunk/src/get_ld.c M /trunk/tests/tset_ld.c [get_ld.c] added comments and ASSERT() [tset_ld.c] added test to better exercise get_ld and set_ld for subnormals, and replaced some 64 by MPFR_LDBL_MANT_DIG ------------------------------------------------------------------------ r8073 | zimmerma | 2012-03-07 20:28:43 +0000 (Wed, 07 Mar 2012) | 3 lines Changed paths: M /trunk/tests/tconst_log2.c [tconst_log2.c] improved error message, cf https://sympa.inria.fr/sympa/arc/mpfr/2012-03/msg00017.html ------------------------------------------------------------------------ r8072 | zimmerma | 2012-03-07 18:22:41 +0000 (Wed, 07 Mar 2012) | 2 lines Changed paths: M /trunk/src/get_ld.c [get_ld.c] deal with the case "long double" == "double" ------------------------------------------------------------------------ r8071 | zimmerma | 2012-03-07 18:15:21 +0000 (Wed, 07 Mar 2012) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/set_ld.c [acinclude.m4] deal with long double == double [src/set_ld.c] idem ------------------------------------------------------------------------ r8070 | vlefevre | 2012-03-07 15:15:09 +0000 (Wed, 07 Mar 2012) | 1 line Changed paths: M /trunk/NEWS [NEWS] Prepare for new version 3.2.0 (will be 4.0.0). ------------------------------------------------------------------------ r8068 | vlefevre | 2012-03-07 13:06:40 +0000 (Wed, 07 Mar 2012) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Added information about --with-sysroot. ------------------------------------------------------------------------ r8067 | vlefevre | 2012-03-07 12:41:49 +0000 (Wed, 07 Mar 2012) | 3 lines Changed paths: M /trunk/INSTALL [INSTALL] Removed an obsolete paragraph saying that the test suite can't be run with a C++ compiler. C++ related problems have been fixed a long time ago. ------------------------------------------------------------------------ r8066 | zimmerma | 2012-03-06 12:51:17 +0000 (Tue, 06 Mar 2012) | 2 lines Changed paths: M /trunk/TODO [TODO] added new item about saving/restoring flags ------------------------------------------------------------------------ r8065 | zimmerma | 2012-03-06 11:31:55 +0000 (Tue, 06 Mar 2012) | 2 lines Changed paths: M /trunk/src/Makefile.am A /trunk/src/mips A /trunk/src/mips/mparam.h M /trunk/src/mparam_h.in added tuning parameters for mips (on gcc49.fsffrance.org) ------------------------------------------------------------------------ r8064 | zimmerma | 2012-03-05 17:51:58 +0000 (Mon, 05 Mar 2012) | 2 lines Changed paths: M /trunk/tune/tuneup.c [tuneup.c] fixed compiler warning (got on gcc49.fsffrance.org) ------------------------------------------------------------------------ r8063 | vlefevre | 2012-03-05 01:40:49 +0000 (Mon, 05 Mar 2012) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Minor change to be consistent with "src/mpfr-gmp.h". ------------------------------------------------------------------------ r8062 | vlefevre | 2012-03-05 01:09:52 +0000 (Mon, 05 Mar 2012) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Added a reference to MPFR bug 13947. ------------------------------------------------------------------------ r8061 | vlefevre | 2012-03-05 01:00:50 +0000 (Mon, 05 Mar 2012) | 4 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Simple temporary fix following GMP's internal __gmp_const macro removal in (and its replacement by const): if __gmp_const isn't define, let's define it to const. ------------------------------------------------------------------------ r8058 | vlefevre | 2012-03-03 02:59:36 +0000 (Sat, 03 Mar 2012) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mention the mpfr_exp bug fix (from r6964 in exp_2.c). ------------------------------------------------------------------------ r8056 | vlefevre | 2012-02-27 12:09:25 +0000 (Mon, 27 Feb 2012) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] If 'gmp.h' and 'libgmp' seem to have different versions, output the temporary LD_RUN_PATH value (may be useful for debugging). ------------------------------------------------------------------------ r8054 | vlefevre | 2012-02-24 16:13:48 +0000 (Fri, 24 Feb 2012) | 3 lines Changed paths: M /trunk/tests/memory.c M /trunk/tests/reuse.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tai.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tfrexp.c M /trunk/tests/tgamma.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/tgrandom.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c [tests] Removed #include of headers already included via "mpfr-test.h" (, , ). Note: this change doesn't apply to tvalist.c, which is a special test that doesn't use "mpfr-test.h". ------------------------------------------------------------------------ r8053 | vlefevre | 2012-02-24 15:50:55 +0000 (Fri, 24 Feb 2012) | 2 lines Changed paths: M /trunk/src/abort_prec_max.c M /trunk/src/get_d64.c M /trunk/src/logging.c M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-impl.h M /trunk/src/rec_sqrt.c M /trunk/src/strtofr.c [src] #include unconditionally in mpfr-impl.h; removed this #include from the .c files. ------------------------------------------------------------------------ r8052 | vlefevre | 2012-02-24 15:32:50 +0000 (Fri, 24 Feb 2012) | 1 line Changed paths: M /trunk/src/logging.c [src/logging.c] #include was no longer necessary. Removed. ------------------------------------------------------------------------ r8051 | vlefevre | 2012-02-24 15:27:26 +0000 (Fri, 24 Feb 2012) | 1 line Changed paths: M /trunk/src/logging.c [src/logging.c] Updated a comment (contained obsolete information). ------------------------------------------------------------------------ r8048 | vlefevre | 2012-02-24 13:44:05 +0000 (Fri, 24 Feb 2012) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Use %.*Rg instead of %.*Rf for MPFR_LOG_VAR. ------------------------------------------------------------------------ r8044 | vlefevre | 2012-02-24 12:21:18 +0000 (Fri, 24 Feb 2012) | 1 line Changed paths: M /trunk/NEWS [NEWS] Mention an internal change in MPFR 3.1.0. ------------------------------------------------------------------------ r8043 | vlefevre | 2012-02-24 11:59:09 +0000 (Fri, 24 Feb 2012) | 5 lines Changed paths: M /trunk/src/add_d.c M /trunk/src/add_ui.c M /trunk/src/mul_d.c Corrected a typo in MPFR_LOG_FUNC of add_d.c, add_ui.c and mul_d.c (mpfr_get_prec → mpfr_log_prec), fixing bug 13933. The consequence was random freezes (on the same binary) with dynamic linking (and just more memory with static linking to the MPFR library) when logging was used. ------------------------------------------------------------------------ r8042 | vlefevre | 2012-02-24 09:41:09 +0000 (Fri, 24 Feb 2012) | 1 line Changed paths: M /trunk/src/const_euler.c [src/const_euler.c] Use the safer MPFR_BLOCK. ------------------------------------------------------------------------ r8041 | vlefevre | 2012-02-23 16:24:17 +0000 (Thu, 23 Feb 2012) | 1 line Changed paths: M /trunk/src/const_euler.c [src/const_euler.c] Removed a useless log message added in r8040. ------------------------------------------------------------------------ r8040 | vlefevre | 2012-02-23 16:08:23 +0000 (Thu, 23 Feb 2012) | 4 lines Changed paths: M /trunk/src/const_euler.c M /trunk/src/mpfr-impl.h [src/const_euler.c] Replaced computations on double by computations on MPFR types, with detection of overflows. Fixed inconsistencies with algorithms.tex (due to rounding) in the computation of n. [src/mpfr-impl.h] Removed #define ALPHA (no longer used). ------------------------------------------------------------------------ r8039 | vlefevre | 2012-02-23 14:09:05 +0000 (Thu, 23 Feb 2012) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Removed obsolete #define EXPM1. ------------------------------------------------------------------------ r8038 | vlefevre | 2012-02-23 14:05:12 +0000 (Thu, 23 Feb 2012) | 1 line Changed paths: M /trunk/src/erf.c [src/erf.c] Removed an obsolete #define. ------------------------------------------------------------------------ r8037 | vlefevre | 2012-02-23 13:57:16 +0000 (Thu, 23 Feb 2012) | 1 line Changed paths: M /trunk/BUGS [BUGS] Update concerning huge precisions and integer overflows. ------------------------------------------------------------------------ r8036 | vlefevre | 2012-02-23 13:52:04 +0000 (Thu, 23 Feb 2012) | 2 lines Changed paths: M /trunk/examples/version.c [examples/version.c] Output mpfr_prec_t information with all MPFR versions. Output signedness information for MPFR types/macros. ------------------------------------------------------------------------ r8035 | vlefevre | 2012-02-23 13:27:25 +0000 (Thu, 23 Feb 2012) | 8 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h [src/mpfr.h] Decrease the MPFR_PREC_MAX value by 256 in order to avoid some integer overflows in existing code that increases the working precision (if mpfr_prec_t is on 64 bits, this does not change anything in practice), as too large precisions should be detected via assertions for more security. After discussion, it has been decided to keep the MPFR_PREC_MAX value close to 2^31 when mpfr_prec_t is on 32 bits. [src/mpfr-impl.h] Added a comment concerning MPFR_ADD_PREC. ------------------------------------------------------------------------ r8034 | vlefevre | 2012-02-23 12:34:22 +0000 (Thu, 23 Feb 2012) | 2 lines Changed paths: M /trunk/examples/version.c [examples/version.c] Output more information about the precision and exponent types. ------------------------------------------------------------------------ r8033 | vlefevre | 2012-02-22 17:49:03 +0000 (Wed, 22 Feb 2012) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Use MPFR_ADD_PREC in MPFR_ZIV_NEXT. ------------------------------------------------------------------------ r8032 | vlefevre | 2012-02-22 17:39:48 +0000 (Wed, 22 Feb 2012) | 5 lines Changed paths: M /trunk/src/ai.c M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added an MPFR_ADD_PREC macro to safely increase some precision (i.e. with an assertion check for integer overflow). [src/ai.c] Use this MPFR_ADD_PREC macro, in particular in a case where the additional precision can be huge. TODO: Other files would need to use MPFR_ADD_PREC. ------------------------------------------------------------------------ r8031 | vlefevre | 2012-02-22 12:32:52 +0000 (Wed, 22 Feb 2012) | 4 lines Changed paths: M /trunk/tests/tinits.c [tests/tinits.c] Updated the large precision test to trigger a bug fixed in r8025 on 32-bit machines (or when MPFR is built with -m32). Here the crash was due to (MPFR_PREC (b) + GMP_NUMB_BITS-1)/GMP_NUMB_BITS in "src/set.c". ------------------------------------------------------------------------ r8030 | vlefevre | 2012-02-22 11:40:57 +0000 (Wed, 22 Feb 2012) | 2 lines Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] Removed useless #include (mpfr-impl.h does a better job for stdio). ------------------------------------------------------------------------ r8029 | vlefevre | 2012-02-22 11:33:24 +0000 (Wed, 22 Feb 2012) | 1 line Changed paths: M /trunk/tests/tinits.c [tests/tinits.c] Improved r8026 (missing #include, support 16-bit prec). ------------------------------------------------------------------------ r8028 | vlefevre | 2012-02-22 10:39:10 +0000 (Wed, 22 Feb 2012) | 4 lines Changed paths: M /trunk/doc/README.dev M /trunk/tests/tests.c Document the MPFR_DEBUG_BADCASES environment variable before bad_cases() in tests/tests.c (where it is used). Remove it from "doc/README.dev" since it is useful only in case of crash / infinite loop in bad_cases(), and will give useless output otherwise. ------------------------------------------------------------------------ r8027 | zimmerma | 2012-02-22 10:23:13 +0000 (Wed, 22 Feb 2012) | 3 lines Changed paths: M /trunk/TODO M /trunk/doc/README.dev [TODO] added comment [doc/README.dev] added environment variables ------------------------------------------------------------------------ r8026 | zimmerma | 2012-02-22 10:18:08 +0000 (Wed, 22 Feb 2012) | 2 lines Changed paths: M /trunk/tests/tinits.c [tinits.c] added test to check #13918 is fixed ------------------------------------------------------------------------ r8025 | vlefevre | 2012-02-22 03:53:19 +0000 (Wed, 22 Feb 2012) | 4 lines Changed paths: M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/agm.c M /trunk/src/eq.c M /trunk/src/exp.c M /trunk/src/get_d.c M /trunk/src/get_flt.c M /trunk/src/get_str.c M /trunk/src/init2.c M /trunk/src/lngamma.c M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/pow.c M /trunk/src/print_raw.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/set.c M /trunk/src/set_f.c M /trunk/src/set_prec.c M /trunk/src/setmax.c M /trunk/src/sqr.c M /trunk/src/stack_interface.c M /trunk/src/strtofr.c M /trunk/src/sub1sp.c M /trunk/src/urandomb.c Avoid potential integer overflows and improve consistency. This should fix bug #13918 "Segfault with precision = MPFR_PREC_MAX on 32-bit". Note: this problem appeared in MPFR 3.0.0 when the precision type (now mpfr_prec_t) was changed to a signed integer. ------------------------------------------------------------------------ r8024 | vlefevre | 2012-02-22 02:54:37 +0000 (Wed, 22 Feb 2012) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Added a comment mentioning a problem with GNU gold ld. ------------------------------------------------------------------------ r8020 | vlefevre | 2012-02-15 23:01:30 +0000 (Wed, 15 Feb 2012) | 1 line Changed paths: M /trunk/TODO [TODO] Added reference to ISO/IEC 24747:2009 (C, special functions). ------------------------------------------------------------------------ r8016 | zimmerma | 2012-01-27 06:48:06 +0000 (Fri, 27 Jan 2012) | 3 lines Changed paths: M /trunk/src/Makefile.am D /trunk/src/x86_64/xeon removed directory src/x86_64/xeon [src/Makefile.am] removed x86_64/xeon/mparam.h ------------------------------------------------------------------------ r8015 | zimmerma | 2012-01-25 14:43:01 +0000 (Wed, 25 Jan 2012) | 2 lines Changed paths: M /trunk/src/mparam_h.in M /trunk/src/x86_64/core2/mparam.h share parameters between x86_64/core2 and x86_64/xeon (gcc70) ------------------------------------------------------------------------ r8014 | zimmerma | 2012-01-25 09:34:40 +0000 (Wed, 25 Jan 2012) | 2 lines Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] forgot to add new param file ------------------------------------------------------------------------ r8013 | zimmerma | 2012-01-25 09:29:19 +0000 (Wed, 25 Jan 2012) | 2 lines Changed paths: M /trunk/src/mparam_h.in A /trunk/src/x86_64/xeon A /trunk/src/x86_64/xeon/mparam.h added tuning parameters for -mtune=nocona (gcc70) ------------------------------------------------------------------------ r8010 | zimmerma | 2012-01-20 07:55:29 +0000 (Fri, 20 Jan 2012) | 3 lines Changed paths: M /trunk/src/mparam_h.in [mparam_h.in] swap tests for 32-bit and 64-bit powerpc, since on powerpc64 the parameters for 32-bit are used! ------------------------------------------------------------------------ r8004 | vlefevre | 2012-01-15 00:21:46 +0000 (Sun, 15 Jan 2012) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated "To make a release". ------------------------------------------------------------------------ r8000 | vlefevre | 2012-01-10 13:43:29 +0000 (Tue, 10 Jan 2012) | 1 line Changed paths: M /trunk/TODO [TODO] Added a note to item about sNaN/qNaN. ------------------------------------------------------------------------ r7998 | vlefevre | 2012-01-10 12:51:16 +0000 (Tue, 10 Jan 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7996 | vlefevre | 2012-01-10 12:49:16 +0000 (Tue, 10 Jan 2012) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Mention the AriC project-team. ------------------------------------------------------------------------ r7994 | vlefevre | 2012-01-10 12:44:24 +0000 (Tue, 10 Jan 2012) | 1 line Changed paths: M /trunk/ChangeLog Reverted incorrect change in ChangeLog from r7993. ------------------------------------------------------------------------ r7993 | vlefevre | 2012-01-10 12:41:58 +0000 (Tue, 10 Jan 2012) | 3 lines Changed paths: M /trunk/BUGS M /trunk/ChangeLog M /trunk/INSTALL M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/FAQ.html M /trunk/doc/README.dev M /trunk/doc/faq.xsl M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c M /trunk/src/abort_prec_max.c M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/asin.c M /trunk/src/asinh.c M /trunk/src/atan.c M /trunk/src/atan2.c M /trunk/src/atanh.c M /trunk/src/bernoulli.c M /trunk/src/buildopt.c M /trunk/src/cache.c M /trunk/src/cbrt.c M /trunk/src/check.c M /trunk/src/clear.c M /trunk/src/clears.c M /trunk/src/cmp.c M /trunk/src/cmp2.c M /trunk/src/cmp_abs.c M /trunk/src/cmp_d.c M /trunk/src/cmp_ld.c M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c M /trunk/src/comparisons.c M /trunk/src/const_catalan.c M /trunk/src/const_euler.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/constant.c M /trunk/src/copysign.c M /trunk/src/cos.c M /trunk/src/cosh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/digamma.c M /trunk/src/dim.c M /trunk/src/div.c M /trunk/src/div_2exp.c M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/div_d.c M /trunk/src/div_ui.c M /trunk/src/dump.c M /trunk/src/eint.c M /trunk/src/eq.c M /trunk/src/erf.c M /trunk/src/erfc.c M /trunk/src/exceptions.c M /trunk/src/exp.c M /trunk/src/exp10.c M /trunk/src/exp2.c M /trunk/src/exp3.c M /trunk/src/exp_2.c M /trunk/src/expm1.c M /trunk/src/extract.c M /trunk/src/factorial.c M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_sint.c M /trunk/src/fits_slong.c M /trunk/src/fits_sshort.c M /trunk/src/fits_u.h M /trunk/src/fits_uint.c M /trunk/src/fits_uintmax.c M /trunk/src/fits_ulong.c M /trunk/src/fits_ushort.c M /trunk/src/fma.c M /trunk/src/fms.c M /trunk/src/frac.c M /trunk/src/free_cache.c M /trunk/src/frexp.c M /trunk/src/gamma.c M /trunk/src/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/get_d.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_flt.c M /trunk/src/get_ld.c M /trunk/src/get_si.c M /trunk/src/get_sj.c M /trunk/src/get_str.c M /trunk/src/get_ui.c M /trunk/src/get_uj.c M /trunk/src/get_z.c M /trunk/src/get_z_exp.c M /trunk/src/gmp_op.c M /trunk/src/grandom.c M /trunk/src/hypot.c M /trunk/src/ieee_floats.h M /trunk/src/init.c M /trunk/src/init2.c M /trunk/src/inits.c M /trunk/src/inits2.c M /trunk/src/inp_str.c M /trunk/src/int_ceil_log2.c M /trunk/src/isinf.c M /trunk/src/isinteger.c M /trunk/src/isnan.c M /trunk/src/isnum.c M /trunk/src/isqrt.c M /trunk/src/isregular.c M /trunk/src/iszero.c M /trunk/src/jn.c M /trunk/src/jyn_asympt.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c M /trunk/src/modf.c M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-intmax.h M /trunk/src/mpfr-thread.h M /trunk/src/mpfr.h M /trunk/src/mpn_exp.c M /trunk/src/mul.c M /trunk/src/mul_2exp.c M /trunk/src/mul_2si.c M /trunk/src/mul_2ui.c M /trunk/src/mul_d.c M /trunk/src/mul_ui.c M /trunk/src/mulders.c M /trunk/src/neg.c M /trunk/src/next.c M /trunk/src/out_raw.c M /trunk/src/out_str.c M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_ui.c M /trunk/src/pow_z.c M /trunk/src/powerof2.c M /trunk/src/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.c M /trunk/src/root.c M /trunk/src/round_near_x.c M /trunk/src/round_p.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/scale2.c M /trunk/src/sec.c M /trunk/src/sech.c M /trunk/src/set.c M /trunk/src/set_d.c M /trunk/src/set_d64.c M /trunk/src/set_dfl_prec.c M /trunk/src/set_exp.c M /trunk/src/set_f.c M /trunk/src/set_flt.c M /trunk/src/set_inf.c M /trunk/src/set_ld.c M /trunk/src/set_nan.c M /trunk/src/set_prc_raw.c M /trunk/src/set_prec.c M /trunk/src/set_q.c M /trunk/src/set_rnd.c M /trunk/src/set_si.c M /trunk/src/set_si_2exp.c M /trunk/src/set_sj.c M /trunk/src/set_str.c M /trunk/src/set_str_raw.c M /trunk/src/set_ui.c M /trunk/src/set_ui_2exp.c M /trunk/src/set_uj.c M /trunk/src/set_z.c M /trunk/src/set_z_exp.c M /trunk/src/set_zero.c M /trunk/src/setmax.c M /trunk/src/setmin.c M /trunk/src/setsign.c M /trunk/src/sgn.c M /trunk/src/si_op.c M /trunk/src/signbit.c M /trunk/src/sin.c M /trunk/src/sin_cos.c M /trunk/src/sinh.c M /trunk/src/sinh_cosh.c M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sqrt_ui.c M /trunk/src/stack_interface.c M /trunk/src/strtofr.c M /trunk/src/sub.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sub_d.c M /trunk/src/sub_ui.c M /trunk/src/subnormal.c M /trunk/src/sum.c M /trunk/src/swap.c M /trunk/src/tan.c M /trunk/src/tanh.c M /trunk/src/uceil_exp2.c M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c M /trunk/src/ui_div.c M /trunk/src/ui_pow.c M /trunk/src/ui_pow_ui.c M /trunk/src/ui_sub.c M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/src/vasprintf.c M /trunk/src/version.c M /trunk/src/volatile.c M /trunk/src/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tests/cmp_str.c M /trunk/tests/data/digamma M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/random2.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tai.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tfrexp.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/tgrandom.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstdint.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tvalist.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tools/get_patches.sh M /trunk/tune/bidimensional_sample.c M /trunk/tune/speed.c M /trunk/tune/tuneup.c Changed Arenaire to AriC with: perl -pi -e 's/Contributed by the Arenaire/Contributed by the AriC/' **/*(^/) under zsh. ------------------------------------------------------------------------ r7991 | vlefevre | 2012-01-10 12:25:30 +0000 (Tue, 10 Jan 2012) | 1 line Changed paths: M /trunk/doc/FAQ.html [doc] Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r7990 | vlefevre | 2012-01-10 12:24:56 +0000 (Tue, 10 Jan 2012) | 1 line Changed paths: M /trunk/doc/faq.xsl [doc/faq.xsl] Remove only the top-level comments from the HTML file. ------------------------------------------------------------------------ r7989 | vlefevre | 2012-01-10 12:20:49 +0000 (Tue, 10 Jan 2012) | 1 line Changed paths: M /trunk/doc/faq.xsl [doc/faq.xsl] Updated a comment. ------------------------------------------------------------------------ r7986 | vlefevre | 2012-01-10 11:46:34 +0000 (Tue, 10 Jan 2012) | 5 lines Changed paths: M /trunk/BUGS M /trunk/INSTALL M /trunk/Makefile.am M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/FAQ.html M /trunk/doc/Makefile.am M /trunk/doc/README.dev M /trunk/doc/faq.xsl M /trunk/doc/mpfr.texi M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c M /trunk/src/Makefile.am M /trunk/src/abort_prec_max.c M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/asin.c M /trunk/src/asinh.c M /trunk/src/atan.c M /trunk/src/atan2.c M /trunk/src/atanh.c M /trunk/src/bernoulli.c M /trunk/src/buildopt.c M /trunk/src/cache.c M /trunk/src/cbrt.c M /trunk/src/check.c M /trunk/src/clear.c M /trunk/src/clears.c M /trunk/src/cmp.c M /trunk/src/cmp2.c M /trunk/src/cmp_abs.c M /trunk/src/cmp_d.c M /trunk/src/cmp_ld.c M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c M /trunk/src/comparisons.c M /trunk/src/const_catalan.c M /trunk/src/const_euler.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/constant.c M /trunk/src/copysign.c M /trunk/src/cos.c M /trunk/src/cosh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/digamma.c M /trunk/src/dim.c M /trunk/src/div.c M /trunk/src/div_2exp.c M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/div_d.c M /trunk/src/div_ui.c M /trunk/src/dump.c M /trunk/src/eint.c M /trunk/src/eq.c M /trunk/src/erf.c M /trunk/src/erfc.c M /trunk/src/exceptions.c M /trunk/src/exp.c M /trunk/src/exp10.c M /trunk/src/exp2.c M /trunk/src/exp3.c M /trunk/src/exp_2.c M /trunk/src/expm1.c M /trunk/src/extract.c M /trunk/src/factorial.c M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_sint.c M /trunk/src/fits_slong.c M /trunk/src/fits_sshort.c M /trunk/src/fits_u.h M /trunk/src/fits_uint.c M /trunk/src/fits_uintmax.c M /trunk/src/fits_ulong.c M /trunk/src/fits_ushort.c M /trunk/src/fma.c M /trunk/src/fms.c M /trunk/src/frac.c M /trunk/src/free_cache.c M /trunk/src/frexp.c M /trunk/src/gamma.c M /trunk/src/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/generic/mparam.h M /trunk/src/get_d.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_flt.c M /trunk/src/get_ld.c M /trunk/src/get_si.c M /trunk/src/get_sj.c M /trunk/src/get_str.c M /trunk/src/get_ui.c M /trunk/src/get_uj.c M /trunk/src/get_z.c M /trunk/src/get_z_exp.c M /trunk/src/gmp_op.c M /trunk/src/grandom.c M /trunk/src/hppa/mparam.h M /trunk/src/hypot.c M /trunk/src/ia64/mparam.h M /trunk/src/ieee_floats.h M /trunk/src/init.c M /trunk/src/init2.c M /trunk/src/inits.c M /trunk/src/inits2.c M /trunk/src/inp_str.c M /trunk/src/int_ceil_log2.c M /trunk/src/isinf.c M /trunk/src/isinteger.c M /trunk/src/isnan.c M /trunk/src/isnum.c M /trunk/src/isqrt.c M /trunk/src/isregular.c M /trunk/src/iszero.c M /trunk/src/jn.c M /trunk/src/jyn_asympt.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c M /trunk/src/modf.c M /trunk/src/mp_clz_tab.c M /trunk/src/mparam_h.in M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-intmax.h M /trunk/src/mpfr-longlong.h M /trunk/src/mpfr-thread.h M /trunk/src/mpfr.h M /trunk/src/mpn_exp.c M /trunk/src/mul.c M /trunk/src/mul_2exp.c M /trunk/src/mul_2si.c M /trunk/src/mul_2ui.c M /trunk/src/mul_d.c M /trunk/src/mul_ui.c M /trunk/src/mulders.c M /trunk/src/neg.c M /trunk/src/next.c M /trunk/src/out_raw.c M /trunk/src/out_str.c M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_ui.c M /trunk/src/pow_z.c M /trunk/src/powerof2.c M /trunk/src/powerpc32/mparam.h M /trunk/src/powerpc64/mparam.h M /trunk/src/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.c M /trunk/src/root.c M /trunk/src/round_near_x.c M /trunk/src/round_p.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/scale2.c M /trunk/src/sec.c M /trunk/src/sech.c M /trunk/src/set.c M /trunk/src/set_d.c M /trunk/src/set_d64.c M /trunk/src/set_dfl_prec.c M /trunk/src/set_exp.c M /trunk/src/set_f.c M /trunk/src/set_flt.c M /trunk/src/set_inf.c M /trunk/src/set_ld.c M /trunk/src/set_nan.c M /trunk/src/set_prc_raw.c M /trunk/src/set_prec.c M /trunk/src/set_q.c M /trunk/src/set_rnd.c M /trunk/src/set_si.c M /trunk/src/set_si_2exp.c M /trunk/src/set_sj.c M /trunk/src/set_str.c M /trunk/src/set_str_raw.c M /trunk/src/set_ui.c M /trunk/src/set_ui_2exp.c M /trunk/src/set_uj.c M /trunk/src/set_z.c M /trunk/src/set_z_exp.c M /trunk/src/set_zero.c M /trunk/src/setmax.c M /trunk/src/setmin.c M /trunk/src/setsign.c M /trunk/src/sgn.c M /trunk/src/si_op.c M /trunk/src/signbit.c M /trunk/src/sin.c M /trunk/src/sin_cos.c M /trunk/src/sinh.c M /trunk/src/sinh_cosh.c M /trunk/src/sparc64/mparam.h M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sqrt_ui.c M /trunk/src/stack_interface.c M /trunk/src/strtofr.c M /trunk/src/sub.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sub_d.c M /trunk/src/sub_ui.c M /trunk/src/subnormal.c M /trunk/src/sum.c M /trunk/src/swap.c M /trunk/src/tan.c M /trunk/src/tanh.c M /trunk/src/uceil_exp2.c M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c M /trunk/src/ui_div.c M /trunk/src/ui_pow.c M /trunk/src/ui_pow_ui.c M /trunk/src/ui_sub.c M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/src/vasprintf.c M /trunk/src/version.c M /trunk/src/volatile.c M /trunk/src/x86/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/corei5/mparam.h M /trunk/src/x86_64/pentium4/mparam.h M /trunk/src/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tests/Makefile.am M /trunk/tests/cmp_str.c M /trunk/tests/data/digamma M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/random2.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tai.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tfrexp.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/tgrandom.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstdint.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tvalist.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tools/ck-copyright-notice M /trunk/tools/ck-mparam M /trunk/tools/ck-version-info M /trunk/tools/get_patches.sh M /trunk/tune/Makefile.am M /trunk/tune/bidimensional_sample.c M /trunk/tune/speed.c M /trunk/tune/tuneup.c Copyright notice update: added 2012 with perl -pi -e 's/2011 Free Software/2011, 2012 Free Software/' **/*(^/) under zsh, reverting the ChangeLog file (the m4 and tools/mbench directories were not modified). Removed 2011 from the example in the doc/README.dev file. ------------------------------------------------------------------------ r7979 | zimmerma | 2011-12-09 12:17:34 +0000 (Fri, 09 Dec 2011) | 2 lines Changed paths: M /trunk/TODO [TODO] trivial change (to test the commit logs) ------------------------------------------------------------------------ r7978 | vlefevre | 2011-12-09 11:50:07 +0000 (Fri, 09 Dec 2011) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Mention --disable-thread-safe. ------------------------------------------------------------------------ r7977 | vlefevre | 2011-12-09 11:38:56 +0000 (Fri, 09 Dec 2011) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] Added information about system/compiler bugs related to TLS or optimizations. ------------------------------------------------------------------------ r7976 | zimmerma | 2011-12-09 10:57:12 +0000 (Fri, 09 Dec 2011) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added note about buggy TLS support ------------------------------------------------------------------------ r7971 | vlefevre | 2011-11-28 12:19:33 +0000 (Mon, 28 Nov 2011) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Removed an obsolete comment. ------------------------------------------------------------------------ r7970 | vlefevre | 2011-11-28 11:43:39 +0000 (Mon, 28 Nov 2011) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Updated the TODO comment about the rand state. ------------------------------------------------------------------------ r7967 | vlefevre | 2011-11-28 11:22:21 +0000 (Mon, 28 Nov 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7966 | vlefevre | 2011-11-28 10:10:09 +0000 (Mon, 28 Nov 2011) | 2 lines Changed paths: M /trunk/tests/trandom.c M /trunk/tests/turandom.c [tests/trandom.c,tests/turandom.c] Fixed compatibility with GMP 4.1.x (since the default PRNG has changed between GMP 4.1 and 4.2). ------------------------------------------------------------------------ r7965 | vlefevre | 2011-11-28 09:45:47 +0000 (Mon, 28 Nov 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Mentioned the difference between GMP 4.1 and 4.2 about the changes of mpfr_urandom and mpfr_urandomb in MPFR 3.1. ------------------------------------------------------------------------ r7964 | vlefevre | 2011-11-28 09:41:09 +0000 (Mon, 28 Nov 2011) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Added a TODO comment. ------------------------------------------------------------------------ r7962 | zimmerma | 2011-11-24 14:12:42 +0000 (Thu, 24 Nov 2011) | 2 lines Changed paths: M /trunk/TODO revert previous commit (test) ------------------------------------------------------------------------ r7961 | zimmerma | 2011-11-24 14:11:59 +0000 (Thu, 24 Nov 2011) | 2 lines Changed paths: M /trunk/TODO commit test ------------------------------------------------------------------------ r7954 | zimmerma | 2011-11-09 20:03:45 +0000 (Wed, 09 Nov 2011) | 2 lines Changed paths: M /trunk/src/mpfr-thread.h [src/mpfr-thread.h] added pointer to TLS on Windows ------------------------------------------------------------------------ r7952 | vlefevre | 2011-11-09 12:28:59 +0000 (Wed, 09 Nov 2011) | 2 lines Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added a test showing a regression in MPFR 3.1.0 (but fixed in r7931 and later). ------------------------------------------------------------------------ r7951 | zimmerma | 2011-11-09 12:20:10 +0000 (Wed, 09 Nov 2011) | 2 lines Changed paths: M /trunk/tests/tatan.c [tests/tatan.c] mpfr_set_emin -> set_emin (idem for emax) ------------------------------------------------------------------------ r7950 | vlefevre | 2011-11-09 10:17:11 +0000 (Wed, 09 Nov 2011) | 1 line Changed paths: M /trunk/TODO [TODO] Added a reference to an old discussion concerning __float128. ------------------------------------------------------------------------ r7949 | zimmerma | 2011-11-08 15:42:41 +0000 (Tue, 08 Nov 2011) | 2 lines Changed paths: M /trunk/TODO [TODO] added item ------------------------------------------------------------------------ r7944 | vlefevre | 2011-11-03 16:09:54 +0000 (Thu, 03 Nov 2011) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Untabify. ------------------------------------------------------------------------ r7943 | thevenyp | 2011-11-03 14:53:08 +0000 (Thu, 03 Nov 2011) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Corrected a comment. ------------------------------------------------------------------------ r7941 | vlefevre | 2011-11-03 14:49:07 +0000 (Thu, 03 Nov 2011) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Coding style. ------------------------------------------------------------------------ r7938 | vlefevre | 2011-11-02 21:11:29 +0000 (Wed, 02 Nov 2011) | 1 line Changed paths: M /trunk/src/strtofr.c [src/strtofr.c] Spelling. ------------------------------------------------------------------------ r7937 | vlefevre | 2011-11-02 21:10:43 +0000 (Wed, 02 Nov 2011) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Spelling. ------------------------------------------------------------------------ r7936 | vlefevre | 2011-11-02 21:03:46 +0000 (Wed, 02 Nov 2011) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Corrected a comment. ------------------------------------------------------------------------ r7935 | vlefevre | 2011-11-02 21:02:52 +0000 (Wed, 02 Nov 2011) | 1 line Changed paths: M /trunk/tests/tsprintf.c [tests/tsprintf.c] Added tests. ------------------------------------------------------------------------ r7934 | vlefevre | 2011-11-02 20:54:18 +0000 (Wed, 02 Nov 2011) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Untabify. Minor correction in a comment. ------------------------------------------------------------------------ r7933 | thevenyp | 2011-11-02 16:58:29 +0000 (Wed, 02 Nov 2011) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Rewrite in a cleaner way the part of regular_fg implied in the bug reported by Pavel Holoborodko (see r7931). ------------------------------------------------------------------------ r7932 | zimmerma | 2011-11-02 11:44:26 +0000 (Wed, 02 Nov 2011) | 2 lines Changed paths: M /trunk/src/mpn_exp.c [src/mpn_exp.c] changed FIXME into TODO ------------------------------------------------------------------------ r7931 | zimmerma | 2011-11-02 10:15:41 +0000 (Wed, 02 Nov 2011) | 4 lines Changed paths: M /trunk/src/mpn_exp.c M /trunk/src/vasprintf.c M /trunk/tests/tsprintf.c [src/mpn_exp.c] added comment [src/vasprintf.c] (hopefully) fixed bug reported by Pavel Holoborodko [tests/tsprintf.c] added corresponding test case ------------------------------------------------------------------------ r7920 | vlefevre | 2011-10-14 10:13:34 +0000 (Fri, 14 Oct 2011) | 2 lines Changed paths: M /trunk/INSTALL M /trunk/tests/Makefile.am [tests/Makefile.am] Added -L$(top_builddir)/src/.libs to AM_LDFLAGS. [INSTALL] Removed the notes on HP-UX (obsolete after the above change). ------------------------------------------------------------------------ r7918 | vlefevre | 2011-10-13 11:30:33 +0000 (Thu, 13 Oct 2011) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Corrected notes for HP-UX. ------------------------------------------------------------------------ r7916 | vlefevre | 2011-10-13 11:17:27 +0000 (Thu, 13 Oct 2011) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] Added notes for HP-UX after a bug report. See discussion: https://sympa.inria.fr/sympa/arc/mpfr/2011-10/msg00042.html ------------------------------------------------------------------------ r7915 | zimmerma | 2011-10-12 14:14:16 +0000 (Wed, 12 Oct 2011) | 2 lines Changed paths: M /trunk/TODO [TODO] added one item ------------------------------------------------------------------------ r7914 | zimmerma | 2011-10-12 13:50:18 +0000 (Wed, 12 Oct 2011) | 4 lines Changed paths: A /trunk/src/x86_64/corei5 A /trunk/src/x86_64/corei5/mparam.h [corei5/mparam.h] tuning files for Core i5 (not yet used since GMP 5.0.2 does currently recognize Core i5 as "k8", however the k8 tuning parameters are not so bad for Core i5) ------------------------------------------------------------------------ r7910 | vlefevre | 2011-10-05 22:15:52 +0000 (Wed, 05 Oct 2011) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Improved MPFR_IS_PURE_FP definition, so that MPFR_ASSERTD takes a boolean (0 or 1). ------------------------------------------------------------------------ r7909 | vlefevre | 2011-10-04 11:23:46 +0000 (Tue, 04 Oct 2011) | 4 lines Changed paths: M /trunk M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fixed a bug in the MPFR_UNLIKELY macro for GCC (found under Mac OS X / PowerPC with the mode32 GMP ABI, and MPFR built with --enable-assert=full). (Merged changeset r7908 from the 3.1 branch.) ------------------------------------------------------------------------ r7892 | zimmerma | 2011-09-29 18:04:39 +0000 (Thu, 29 Sep 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] added reference and comment for eint ------------------------------------------------------------------------ r7889 | vlefevre | 2011-09-25 00:15:17 +0000 (Sun, 25 Sep 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Rephrased mpfr_frexp description. ------------------------------------------------------------------------ r7886 | vlefevre | 2011-09-24 09:58:27 +0000 (Sat, 24 Sep 2011) | 4 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/log1p.c M /trunk/tests/tagm.c M /trunk/tests/tgeneric.c Renamed "division-by-zero" to "divide-by-zero" (term used by the ISO C99 standard, the IEEE 754-2008 standard using divideByZero, and the old IEEE 754-1985 standard using both "divide by zero" and "division by zero"). ------------------------------------------------------------------------ r7883 | vlefevre | 2011-09-24 09:36:10 +0000 (Sat, 24 Sep 2011) | 1 line Changed paths: M /trunk/src/gmp_op.c [src/gmp_op.c] Forgot to update the flags in some functions. ------------------------------------------------------------------------ r7882 | vlefevre | 2011-09-24 09:27:41 +0000 (Sat, 24 Sep 2011) | 1 line Changed paths: M /trunk/tests/tgmpop.c [tests/tgmpop.c] Improved division-by-zero tests. ------------------------------------------------------------------------ r7881 | vlefevre | 2011-09-23 17:03:46 +0000 (Fri, 23 Sep 2011) | 1 line Changed paths: M /trunk/doc/faq.xsl [doc/faq.xsl] Added a comment about the MPFR logo. ------------------------------------------------------------------------ r7879 | vlefevre | 2011-09-22 10:37:11 +0000 (Thu, 22 Sep 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved mpfr_frexp description. ------------------------------------------------------------------------ r7877 | vlefevre | 2011-09-22 10:07:31 +0000 (Thu, 22 Sep 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected typo in the mpfr_frexp description. ------------------------------------------------------------------------ r7876 | zimmerma | 2011-09-21 10:12:45 +0000 (Wed, 21 Sep 2011) | 2 lines Changed paths: M /trunk/tools/cfarm.sh [tools/cfarm.sh] updated for MPFR 3.1.0 rc2 ------------------------------------------------------------------------ r7873 | zimmerma | 2011-09-20 08:06:47 +0000 (Tue, 20 Sep 2011) | 2 lines Changed paths: M /trunk/tools/cfarm.sh [cfarm.sh] updated for MPFR 3.1.0-rc1 (with GMP 5.0.2) ------------------------------------------------------------------------ r7870 | vlefevre | 2011-09-20 00:50:01 +0000 (Tue, 20 Sep 2011) | 2 lines Changed paths: M /trunk/examples/version.c [examples/version.c] Output mpfr_buildopt_gmpinternals_p() and mpfr_buildopt_tune_case() values with MPFR 3.1 or later. ------------------------------------------------------------------------ r7869 | vlefevre | 2011-09-20 00:31:26 +0000 (Tue, 20 Sep 2011) | 1 line Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/buildopt.c M /trunk/src/mpfr.h M /trunk/tests/tbuildopt.c Renamed mpfr_buildopt_internals_p to mpfr_buildopt_gmpinternals_p. ------------------------------------------------------------------------ r7868 | vlefevre | 2011-09-20 00:26:59 +0000 (Tue, 20 Sep 2011) | 1 line Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi M /trunk/src/buildopt.c M /trunk/src/mpfr.h M /trunk/tests/tbuildopt.c Added mpfr_buildopt_internals_p function. ------------------------------------------------------------------------ r7867 | vlefevre | 2011-09-20 00:13:51 +0000 (Tue, 20 Sep 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added commas. ------------------------------------------------------------------------ r7866 | vlefevre | 2011-09-20 00:04:21 +0000 (Tue, 20 Sep 2011) | 1 line Changed paths: M /trunk/src/gmp_op.c [src/gmp_op.c] Handle the special cases in mpfr_cmp_q and mpfr_cmp_f. ------------------------------------------------------------------------ r7865 | vlefevre | 2011-09-19 15:33:46 +0000 (Mon, 19 Sep 2011) | 1 line Changed paths: M /trunk/TODO [TODO] Added an item about the minimum and maximum exponents. ------------------------------------------------------------------------ r7864 | vlefevre | 2011-09-19 15:29:14 +0000 (Mon, 19 Sep 2011) | 2 lines Changed paths: M /trunk/src/agm.c [src/agm.c] Replaced MPFR_EMIN_MIN and MPFR_EMAX_MAX by MPFR_EXT_EMIN and MPFR_EXT_EMAX respectively (see r7862 and r7863). ------------------------------------------------------------------------ r7863 | vlefevre | 2011-09-19 15:21:26 +0000 (Mon, 19 Sep 2011) | 3 lines Changed paths: M /trunk/doc/README.dev M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Define new macros MPFR_EXT_EMIN and MPFR_EXT_EMAX. [doc/README.dev] Document how to specify the minimum exponent or the maximum exponent. ------------------------------------------------------------------------ r7862 | zimmerma | 2011-09-19 14:37:18 +0000 (Mon, 19 Sep 2011) | 3 lines Changed paths: M /trunk/src/agm.c [src/agm.c] replaced __gmpfr_emax by MPFR_EMAX_MAX (same for __gmpfr_emin). Solves bug on gcc54 with --enable-thread-safe and GCC 4.3.2. ------------------------------------------------------------------------ r7861 | vlefevre | 2011-09-19 09:40:04 +0000 (Mon, 19 Sep 2011) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Added missing prototype for __gmpn_sbpi1_divappr_q (it could be detected when building MPFR with g++). ------------------------------------------------------------------------ r7860 | zimmerma | 2011-09-19 09:31:42 +0000 (Mon, 19 Sep 2011) | 3 lines Changed paths: M /trunk/tests/tgmpop.c [tests/tgmpop.c] check for erange flag in mpfr_cmp_[f,q,z] (https://sympa.inria.fr/sympa/arc/mpfr/2011-09/msg00013.html) ------------------------------------------------------------------------ r7859 | vlefevre | 2011-09-19 09:25:04 +0000 (Mon, 19 Sep 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated "To make a release". ------------------------------------------------------------------------ r7858 | zimmerma | 2011-09-19 09:04:37 +0000 (Mon, 19 Sep 2011) | 4 lines Changed paths: M /trunk/doc/README.dev M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] fixed bug with --enable-gmp-internals introduced in r7455 (mpfr_limb_ptr is not yet defined when reading mpfr-gmp.h thus we can't use it) ------------------------------------------------------------------------ r7856 | vlefevre | 2011-09-19 08:17:30 +0000 (Mon, 19 Sep 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Correction: "5 exception types" → "6 exception types" (thanks to Case Vanhorsen for the report). ------------------------------------------------------------------------ r7852 | vlefevre | 2011-09-14 21:37:44 +0000 (Wed, 14 Sep 2011) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Define LONGLONG_STANDALONE before including mpfr-longlong.h so that udiv_qrnnd_preinv is defined (this is useful at least on IA64 when compiling without gmp-impl.h). Thanks to Patrick Pélissier for the fix. ------------------------------------------------------------------------ r7850 | vlefevre | 2011-09-11 09:17:03 +0000 (Sun, 11 Sep 2011) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated "API Compatibility" section: as of MPFR 3.1, the mpfr.h header can be included several times, while still supporting optional functions. ------------------------------------------------------------------------ r7849 | vlefevre | 2011-09-11 09:07:58 +0000 (Sun, 11 Sep 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Replaced some @code by @file for consistency. ------------------------------------------------------------------------ r7848 | vlefevre | 2011-09-11 09:04:58 +0000 (Sun, 11 Sep 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated "API Compatibility" section: functions mpfr_frexp, mpfr_grandom and mpfr_z_sub are new in MPFR 3.1. ------------------------------------------------------------------------ r7847 | vlefevre | 2011-09-11 09:01:48 +0000 (Sun, 11 Sep 2011) | 3 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi [doc/mpfr.texi] Documented function mpfr_buildopt_tune_case, and added it to the list of added functions. [NEWS] Function mpfr_buildopt_tune_case is new in MPFR 3.1. ------------------------------------------------------------------------ r7846 | vlefevre | 2011-09-11 08:52:28 +0000 (Sun, 11 Sep 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated "API Compatibility" section (new division-by-zero exception in MPFR 3.1). ------------------------------------------------------------------------ r7845 | vlefevre | 2011-09-11 07:50:10 +0000 (Sun, 11 Sep 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7843 | vlefevre | 2011-09-11 07:48:01 +0000 (Sun, 11 Sep 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] MPFR_RNDA was introduced in MPFR 3.0.0 and should no longer be considered experimental. ------------------------------------------------------------------------ r7836 | vlefevre | 2011-09-10 21:15:45 +0000 (Sat, 10 Sep 2011) | 2 lines Changed paths: M /trunk/tests/trec_sqrt.c [tests/trec_sqrt.c] Fixed bug introduced in r7711 (build failure with a C++ compiler). ------------------------------------------------------------------------ r7835 | vlefevre | 2011-09-10 20:13:19 +0000 (Sat, 10 Sep 2011) | 1 line Changed paths: M /trunk M /trunk/NEWS M /trunk/doc/mpfr.texi Removed now useless svn:mergeinfo properties. ------------------------------------------------------------------------ r7832 | vlefevre | 2011-09-10 20:04:07 +0000 (Sat, 10 Sep 2011) | 1 line Changed paths: M /trunk/TODO [TODO] Replaced "configure.in" by "configure.ac". ------------------------------------------------------------------------ r7831 | vlefevre | 2011-09-10 20:02:56 +0000 (Sat, 10 Sep 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Removed obsolete paragraph about AM_MAINTAINER_MODE. ------------------------------------------------------------------------ r7826 | vlefevre | 2011-09-10 19:08:42 +0000 (Sat, 10 Sep 2011) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Correction after r7825. ------------------------------------------------------------------------ r7825 | vlefevre | 2011-09-10 19:07:39 +0000 (Sat, 10 Sep 2011) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Run tools/ck-mparam. ------------------------------------------------------------------------ r7824 | vlefevre | 2011-09-10 19:04:57 +0000 (Sat, 10 Sep 2011) | 2 lines Changed paths: A /trunk/tools/ck-mparam Added tools/ck-mparam sh script to check the mparam.h files (gcc is needed). ------------------------------------------------------------------------ r7823 | zimmerma | 2011-09-10 07:15:46 +0000 (Sat, 10 Sep 2011) | 2 lines Changed paths: M /trunk/src/amd/k8/mparam.h [src/amd/k8/mparam.h] removed spurious end of comment ------------------------------------------------------------------------ r7821 | vlefevre | 2011-09-09 17:19:39 +0000 (Fri, 09 Sep 2011) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] For the valgrind example, use the same arguments as in gnulib's valgrind-tests.m4 file. ------------------------------------------------------------------------ r7818 | vlefevre | 2011-09-09 13:48:33 +0000 (Fri, 09 Sep 2011) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r7817 | vlefevre | 2011-09-09 13:32:55 +0000 (Fri, 09 Sep 2011) | 5 lines Changed paths: M /trunk/Makefile.am M /trunk/tools/ck-copyright-notice [Makefile.am] Added tools/ck-copyright-notice to EXTRA_DIST as it is used in dist-hook. [tools/ck-copyright-notice] Added copyright notice (since this file is distributed in the tarballs). Note: the first year is 2008 as a part of the code comes from r5370 in mpfrlint. ------------------------------------------------------------------------ r7816 | vlefevre | 2011-09-09 11:40:33 +0000 (Fri, 09 Sep 2011) | 2 lines Changed paths: M /trunk/tools/ck-copyright-notice [tools/ck-copyright-notice] Skip src/mpfr-longlong.h as this file (which comes from GMP) has a specific copyright notice. ------------------------------------------------------------------------ r7815 | vlefevre | 2011-09-09 11:37:01 +0000 (Fri, 09 Sep 2011) | 1 line Changed paths: M /trunk/src/mp_clz_tab.c [src/mp_clz_tab.c] Updated the copyright notice. ------------------------------------------------------------------------ r7814 | vlefevre | 2011-09-09 11:31:07 +0000 (Fri, 09 Sep 2011) | 2 lines Changed paths: M /trunk/tools/ck-copyright-notice [tools/ck-copyright-notice] Check that the first copyright year for the mparam.h files is 2005. ------------------------------------------------------------------------ r7813 | vlefevre | 2011-09-09 11:26:02 +0000 (Fri, 09 Sep 2011) | 2 lines Changed paths: M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/generic/mparam.h M /trunk/src/hppa/mparam.h M /trunk/src/ia64/mparam.h M /trunk/src/powerpc32/mparam.h M /trunk/src/powerpc64/mparam.h M /trunk/src/sparc64/mparam.h M /trunk/src/x86/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/pentium4/mparam.h Added copyright notice to the mparam.h files (with the same years as in the template). ------------------------------------------------------------------------ r7812 | vlefevre | 2011-09-09 11:20:25 +0000 (Fri, 09 Sep 2011) | 5 lines Changed paths: M /trunk/Makefile.am A /trunk/tools/ck-copyright-notice M /trunk/tools/mpfrlint Added tools/ck-copyright-notice sh script from mpfrlint (updated) to check that copyright notices exist and appear to be correct. Updated tools/mpfrlint to run tools/ck-copyright-notice instead of its old test. In Makefile.am, run tools/ck-copyright-notice in dist-hook for "make dist". ------------------------------------------------------------------------ r7811 | vlefevre | 2011-09-09 10:57:23 +0000 (Fri, 09 Sep 2011) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] More files under src and tests directories. ------------------------------------------------------------------------ r7809 | vlefevre | 2011-09-08 09:13:50 +0000 (Thu, 08 Sep 2011) | 1 line Changed paths: M /trunk/NEWS [NEWS] Update for MPFR 3.1.x. ------------------------------------------------------------------------ r7808 | vlefevre | 2011-09-08 09:07:08 +0000 (Thu, 08 Sep 2011) | 7 lines Changed paths: M /trunk/doc/README.dev M /trunk/tests/Makefile.am [tests/Makefile.am] * Added "AM_LDFLAGS = -no-install" to prevent libtool from generating wrapper scripts for the tests (according to discussions and tests, there should be no negative effects); useful for gdb and valgrind. * Added $(VALGRIND) to TESTS_ENVIRONMENT in order to easily run the tests under valgrind with: VALGRIND="valgrind -q" make check [doc/README.dev] Update for gdb and valgrind. ------------------------------------------------------------------------ r7807 | vlefevre | 2011-08-31 08:55:56 +0000 (Wed, 31 Aug 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Improved the specification of mpfr_get_f. ------------------------------------------------------------------------ r7805 | zimmerma | 2011-08-30 12:01:16 +0000 (Tue, 30 Aug 2011) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] added comment about minimal GMP version ------------------------------------------------------------------------ r7804 | zimmerma | 2011-08-30 08:23:16 +0000 (Tue, 30 Aug 2011) | 3 lines Changed paths: M /trunk/src/add.c dummy change to check if GMP_CHECK_RANDOMIZE is now used in the Hydra builds on http://hydra.nixos.org/jobset/gnu/mpfr-trunk ------------------------------------------------------------------------ r7803 | vlefevre | 2011-08-19 10:03:19 +0000 (Fri, 19 Aug 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added some references to the ternary definition. ------------------------------------------------------------------------ r7802 | zimmerma | 2011-08-19 09:01:58 +0000 (Fri, 19 Aug 2011) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] improved the documentation of mpfr_set_str, as suggested by Vincent Lefevre ------------------------------------------------------------------------ r7801 | vlefevre | 2011-08-19 08:45:07 +0000 (Fri, 19 Aug 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added "Ternary value" to the concept index. ------------------------------------------------------------------------ r7800 | vlefevre | 2011-08-15 12:34:40 +0000 (Mon, 15 Aug 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added information on how to update the FAQ. ------------------------------------------------------------------------ r7798 | vlefevre | 2011-08-15 11:55:59 +0000 (Mon, 15 Aug 2011) | 1 line Changed paths: M /trunk/doc/FAQ.html [doc] Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r7796 | vlefevre | 2011-08-12 11:39:06 +0000 (Fri, 12 Aug 2011) | 1 line Changed paths: M /trunk/tune/tuneup.c [tune/tuneup.c] Untabified. ------------------------------------------------------------------------ r7795 | vlefevre | 2011-08-12 11:35:51 +0000 (Fri, 12 Aug 2011) | 3 lines Changed paths: M /trunk/src/mulders.c [src/mulders.c] Replaced MPFR_ASSERTD by MPFR_ASSERTN on constant expressions (this is a temporary change, as they should later be replaced by static assertions). ------------------------------------------------------------------------ r7794 | vlefevre | 2011-08-12 11:33:09 +0000 (Fri, 12 Aug 2011) | 2 lines Changed paths: M /trunk/src/mulders.c [src/mulders.c] Replaced mp_ptr and mp_srcptr (internal to GMP) by mpfr_limb_ptr and mpfr_limb_srcptr. ------------------------------------------------------------------------ r7793 | vlefevre | 2011-08-12 11:25:25 +0000 (Fri, 12 Aug 2011) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Avoid potential identifier collision by using an underscore for variable names declared in the invert_pi1 macro. ------------------------------------------------------------------------ r7792 | vlefevre | 2011-08-12 11:18:12 +0000 (Fri, 12 Aug 2011) | 1 line Changed paths: M /trunk/src/mpfr-gmp.h [src/mpfr-gmp.h] Untabified. ------------------------------------------------------------------------ r7791 | vlefevre | 2011-08-12 11:14:38 +0000 (Fri, 12 Aug 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7790 | zimmerma | 2011-08-06 13:30:28 +0000 (Sat, 06 Aug 2011) | 2 lines Changed paths: M /trunk/src/amd/k8/mparam.h [k8/mparam.h] added comment ------------------------------------------------------------------------ r7789 | zimmerma | 2011-08-06 12:01:58 +0000 (Sat, 06 Aug 2011) | 3 lines Changed paths: M /trunk/src/amd/amdfam10/mparam.h M /trunk/src/x86/mparam.h [x86/mparam.h] new tuning contributed by Jim Cloos [amd/amdfam10/mparam.h] added GMP version ------------------------------------------------------------------------ r7788 | zimmerma | 2011-08-06 11:52:12 +0000 (Sat, 06 Aug 2011) | 2 lines Changed paths: M /trunk/src/mpfr-gmp.h M /trunk/src/mulders.c [mpfr-gmp.h] use mpfr_pi1_t instead of gmp_pi1_t to avoid using GMP's namespace ------------------------------------------------------------------------ r7787 | zimmerma | 2011-08-05 14:22:26 +0000 (Fri, 05 Aug 2011) | 5 lines Changed paths: M /trunk/configure.ac M /trunk/src/mparam_h.in M /trunk/src/mpfr-gmp.h M /trunk/src/mulders.c M /trunk/tune/tuneup.c [src/mulders.c] use mpn_sbpi1_divappr_q if available and WANT_GMP_INTERNALS is defined [src/mpfr-gmp.h] defined macros needed for mpfr_divhigh_n_basecase [configure.ac] check for mpn_sbpi1_divappr_q ------------------------------------------------------------------------ r7786 | vlefevre | 2011-08-05 13:17:23 +0000 (Fri, 05 Aug 2011) | 1 line Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.ac M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h M /trunk/src/version.c Updated version to 3.2.0-dev. ------------------------------------------------------------------------ r7784 | zimmerma | 2011-08-05 12:56:08 +0000 (Fri, 05 Aug 2011) | 2 lines Changed paths: A /trunk/src/amd/amdfam10 A /trunk/src/amd/amdfam10/mparam.h [amdfam10/mparam.h] tuning parameters contributed by Jim Cloos ------------------------------------------------------------------------ r7783 | zimmerma | 2011-08-05 03:08:42 +0000 (Fri, 05 Aug 2011) | 4 lines Changed paths: M /trunk/TODO M /trunk/src/Makefile.am M /trunk/src/mulders.c M /trunk/tune/tuneup.c [mulders.c] added a basecase code for Mulders' short division [tuneup.c] added corresponding tuning code [TODO] added an item ------------------------------------------------------------------------ r7782 | vlefevre | 2011-08-04 14:36:42 +0000 (Thu, 04 Aug 2011) | 4 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] In the INTMAX_MAX test, no longer hardcode the "#include " (for instance, this doesn't work under Solaris 9: INTMAX_MAX is defined only via ), but include "mpfr-intmax.h" instead (needs a temporary CPPFLAGS). ------------------------------------------------------------------------ r7781 | vlefevre | 2011-08-01 14:39:08 +0000 (Mon, 01 Aug 2011) | 1 line Changed paths: M /trunk/NEWS [NEWS] Much faster formatted output (mpfr_printf, etc.) with %Rg and similar. ------------------------------------------------------------------------ r7780 | vlefevre | 2011-08-01 13:56:27 +0000 (Mon, 01 Aug 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added copyright notice in case the file is distributed. ------------------------------------------------------------------------ r7779 | vlefevre | 2011-08-01 13:50:17 +0000 (Mon, 01 Aug 2011) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added information on how to run the MPFR test suite under valgrind. ------------------------------------------------------------------------ r7778 | vlefevre | 2011-08-01 12:36:04 +0000 (Mon, 01 Aug 2011) | 1 line Changed paths: M /trunk/src/div.c M /trunk/src/rec_sqrt.c M /trunk/tests/trec_sqrt.c Untabified and removed trailing spaces. ------------------------------------------------------------------------ r7777 | vlefevre | 2011-08-01 12:13:50 +0000 (Mon, 01 Aug 2011) | 1 line Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Improved output information. ------------------------------------------------------------------------ r7776 | zimmerma | 2011-07-31 19:44:32 +0000 (Sun, 31 Jul 2011) | 2 lines Changed paths: M /trunk/src/hppa/mparam.h [hppa/mparam.h] updated for new Mulders' division ------------------------------------------------------------------------ r7775 | zimmerma | 2011-07-31 19:40:23 +0000 (Sun, 31 Jul 2011) | 2 lines Changed paths: M /trunk/src/sparc64/mparam.h [sparc64/mparam.h] updated for new Mulders' division ------------------------------------------------------------------------ r7774 | zimmerma | 2011-07-31 15:43:40 +0000 (Sun, 31 Jul 2011) | 2 lines Changed paths: M /trunk/src/powerpc64/mparam.h [powerpc64/mparam.h] updated for new Mulders' division ------------------------------------------------------------------------ r7773 | zimmerma | 2011-07-31 15:08:43 +0000 (Sun, 31 Jul 2011) | 2 lines Changed paths: M /trunk/src/ia64/mparam.h [ia64/mparam.h] updated for new Mulders' division ------------------------------------------------------------------------ r7772 | zimmerma | 2011-07-31 12:43:03 +0000 (Sun, 31 Jul 2011) | 2 lines Changed paths: M /trunk/src/amd/k8/mparam.h [amd/k8/mparam.h] updated for new Mulders' division ------------------------------------------------------------------------ r7771 | zimmerma | 2011-07-31 12:39:57 +0000 (Sun, 31 Jul 2011) | 2 lines Changed paths: M /trunk/src/x86/core2/mparam.h [x86/core2/mparam.h] updated thresholds for new Mulders' division ------------------------------------------------------------------------ r7770 | zimmerma | 2011-07-31 10:54:38 +0000 (Sun, 31 Jul 2011) | 5 lines Changed paths: M /trunk/src/mparam_h.in M /trunk/tests/tversion.c [mparam_h.in] changed the detection of 64-bit Core 2, and added MPFR_TUNE_CASE for default case [tversion.c] print GMP version (header and library), and file for tuning parameters ------------------------------------------------------------------------ r7769 | zimmerma | 2011-07-31 10:29:31 +0000 (Sun, 31 Jul 2011) | 2 lines Changed paths: M /trunk/src/x86_64/core2/mparam.h [x86_64/core2/mparam.h] updated for Mulders' division ------------------------------------------------------------------------ r7768 | zimmerma | 2011-07-31 08:59:53 +0000 (Sun, 31 Jul 2011) | 3 lines Changed paths: M /trunk/src/div.c M /trunk/src/generic/mparam.h M /trunk/tune/tuneup.c Added tuning for MPFR_DIV_THRESHOLD, and default value. It now remains to do the tuning on the architectures in mparam_in.h. ------------------------------------------------------------------------ r7767 | zimmerma | 2011-07-29 20:46:45 +0000 (Fri, 29 Jul 2011) | 2 lines Changed paths: M /trunk/NEWS [NEWS] added speed improvement in mpfr_div ------------------------------------------------------------------------ r7765 | zimmerma | 2011-07-29 20:15:02 +0000 (Fri, 29 Jul 2011) | 39 lines Changed paths: M /trunk/src/div.c M /trunk/src/mulders.c [mulders.c] fixed bug in mpfr_divhigh_n (this routine was not used yet) [div.c] now use Mulders' short product for large division. It remains to do the automatic tuning of MPFR_DIV_THRESHOLD. The speedup is nice, for example on my Core 2 Duo laptop we got with MPFR 3.0.0: [zimmerma@coing tests]$ ./timings-mpfr 1000 Using MPFR-3.0.0 with GMP-5.0.2 [precision is 3322 bits] x*y took 0.004543 ms (262143 eval in 1191 ms) x*x took 0.003616 ms (524287 eval in 1896 ms) x/y took 0.009087 ms (131071 eval in 1191 ms) sqrt(x) took 0.007004 ms (262143 eval in 1836 ms) exp(x) took 0.293040 ms (4095 eval in 1200 ms) log(x) took 0.253724 ms (4095 eval in 1039 ms) sin(x) took 0.306960 ms (4095 eval in 1257 ms) cos(x) took 0.290842 ms (4095 eval in 1191 ms) arccos(x) took 0.590620 ms (2047 eval in 1209 ms) arctan(x) took 0.560332 ms (2047 eval in 1147 ms) and now we get: [zimmerma@coing tests]$ ./timings-mpfr 1000 Using MPFR-3.1.0-dev with GMP-5.0.2 [precision is 3322 bits] x*y took 0.004444 ms (262143 eval in 1165 ms) x*x took 0.002686 ms (524287 eval in 1408 ms) x/y took 0.006989 ms (262143 eval in 1832 ms) sqrt(x) took 0.007084 ms (262143 eval in 1857 ms) exp(x) took 0.292063 ms (4095 eval in 1196 ms) log(x) took 0.246886 ms (4095 eval in 1011 ms) sin(x) took 0.259096 ms (4095 eval in 1061 ms) cos(x) took 0.244933 ms (4095 eval in 1003 ms) arccos(x) took 0.556424 ms (2047 eval in 1139 ms) arctan(x) took 0.526624 ms (2047 eval in 1078 ms) We see that other routines also benefit from the speedup in mpfr_sqr and mpfr_div (log, sin, cos, arccos, arctan). ------------------------------------------------------------------------ r7764 | zimmerma | 2011-07-29 15:21:09 +0000 (Fri, 29 Jul 2011) | 3 lines Changed paths: M /trunk/doc/algorithms.bib M /trunk/doc/algorithms.tex [algorithms.tex] added algorithm for division with Mulders' short product (can anybody check the algorithm is ok?) ------------------------------------------------------------------------ r7763 | vlefevre | 2011-07-29 12:48:21 +0000 (Fri, 29 Jul 2011) | 1 line Changed paths: M /trunk/src/vasprintf.c [src/vasprintf.c] Added a comment. ------------------------------------------------------------------------ r7762 | vlefevre | 2011-07-29 12:24:18 +0000 (Fri, 29 Jul 2011) | 2 lines Changed paths: M /trunk/src/get_str.c [src/get_str.c] Added a comment about the use of mpfr_ceil_mul (exported and declared in mpfr-impl.h since r7760). ------------------------------------------------------------------------ r7761 | thevenyp | 2011-07-28 23:01:52 +0000 (Thu, 28 Jul 2011) | 1 line Changed paths: M /trunk/src/vasprintf.c M /trunk/tests/tsprintf.c Avoid expensive calls to mpfr_get_prec() using mpfr_ceil_mul() instead. ------------------------------------------------------------------------ r7760 | thevenyp | 2011-07-28 22:59:01 +0000 (Thu, 28 Jul 2011) | 1 line Changed paths: M /trunk/src/get_str.c M /trunk/src/mpfr-impl.h Make ceil_mul() public as mpfr_ceil_mul() in mpfr-impl.h ------------------------------------------------------------------------ r7759 | vlefevre | 2011-07-28 18:50:21 +0000 (Thu, 28 Jul 2011) | 1 line Changed paths: M /trunk/src/mulders.c [src/mulders.c] MPFR coding conventions for r7752. ------------------------------------------------------------------------ r7758 | zimmerma | 2011-07-28 17:17:24 +0000 (Thu, 28 Jul 2011) | 3 lines Changed paths: M /trunk/src/amd/k8/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/hppa/mparam.h M /trunk/src/ia64/mparam.h M /trunk/src/mulders.c M /trunk/src/powerpc32/mparam.h M /trunk/src/powerpc64/mparam.h M /trunk/src/sparc64/mparam.h M /trunk/src/x86/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/pentium4/mparam.h modified the default tuning parameters so they are within the bounds of the ARITH-20 paper "Short Division of Long Integers" ------------------------------------------------------------------------ r7757 | zimmerma | 2011-07-28 16:38:55 +0000 (Thu, 28 Jul 2011) | 3 lines Changed paths: M /trunk/src/mulders.c [src/mulders.c] declare mpfr_mullow_n as non-static since it might be useful elsewhere ------------------------------------------------------------------------ r7756 | zimmerma | 2011-07-28 16:36:50 +0000 (Thu, 28 Jul 2011) | 3 lines Changed paths: M /trunk/tune/tuneup.c [tuneup.c] fix tuning bounds of short product and division according to the ARITH-20 paper ------------------------------------------------------------------------ r7755 | zimmerma | 2011-07-28 16:36:01 +0000 (Thu, 28 Jul 2011) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] detect long double format in m68k ------------------------------------------------------------------------ r7754 | zimmerma | 2011-07-28 16:35:25 +0000 (Thu, 28 Jul 2011) | 3 lines Changed paths: M /trunk/tests/tget_flt.c [tget_flt.c] added test to check FLT_MAX + FLT_MAX gives INFP (to early detect compiler bugs) ------------------------------------------------------------------------ r7753 | zimmerma | 2011-07-28 16:30:38 +0000 (Thu, 28 Jul 2011) | 2 lines Changed paths: M /trunk/tools/nightly-test [nightly-test] changed -pedantic-errors into -pedantic ------------------------------------------------------------------------ r7752 | zimmerma | 2011-07-28 16:29:51 +0000 (Thu, 28 Jul 2011) | 4 lines Changed paths: M /trunk/src/mulders.c [mulders.c] added some code for short division (FoldDiv, not used), added comments and fixed bounds in accordance with the ARITH-20 paper ------------------------------------------------------------------------ r7751 | thevenyp | 2011-07-28 16:16:36 +0000 (Thu, 28 Jul 2011) | 1 line Changed paths: M /trunk/src/vasprintf.c Use a buffer in order to avoid a double call to mpfr_get_str. ------------------------------------------------------------------------ r7750 | vlefevre | 2011-07-26 13:12:46 +0000 (Tue, 26 Jul 2011) | 1 line Changed paths: M /trunk/src/log.c [src/log.c] Replaced TMP_* by MPFR_GROUP_* (patch by Patrick). ------------------------------------------------------------------------ r7749 | vlefevre | 2011-07-22 10:24:38 +0000 (Fri, 22 Jul 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added a comment about TLS variable initialization. ------------------------------------------------------------------------ r7748 | vlefevre | 2011-07-22 10:15:04 +0000 (Fri, 22 Jul 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added information about TLS variable initialization. ------------------------------------------------------------------------ r7747 | vlefevre | 2011-07-22 10:09:28 +0000 (Fri, 22 Jul 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Split Chapter "MPFR Basics" into nodes as it is now quite large (thus references to particular sections are now possible). ------------------------------------------------------------------------ r7744 | zimmerma | 2011-07-18 19:03:25 +0000 (Mon, 18 Jul 2011) | 7 lines Changed paths: M /trunk/src/vasprintf.c [vasprintf.c] simplified and improved round_to_10_power(), also contributed a negative number of lines of code :-) Still not optimal, since round_to_10_power() is still called twice for printing say pi with mpfr_printf ("%Rg\n", x), once from partition_number(), once from regular_fg(), and thus mpfr_get_str is called at least 3 times! ------------------------------------------------------------------------ r7743 | zimmerma | 2011-07-18 12:21:29 +0000 (Mon, 18 Jul 2011) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] improve error message when libgmp is not found ------------------------------------------------------------------------ r7742 | zimmerma | 2011-07-18 11:24:40 +0000 (Mon, 18 Jul 2011) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] added note about threads for mpfr_set_default_prec and mpfr_get_default_prec ------------------------------------------------------------------------ r7740 | vlefevre | 2011-07-06 15:57:22 +0000 (Wed, 06 Jul 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7738 | vlefevre | 2011-07-06 13:47:35 +0000 (Wed, 06 Jul 2011) | 1 line Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi [NEWS, doc/mpfr.texi] mpfr_min_prec was a new function in MPFR 3.0.0. ------------------------------------------------------------------------ r7736 | vlefevre | 2011-07-01 15:17:47 +0000 (Fri, 01 Jul 2011) | 3 lines Changed paths: M /trunk/tests/tget_flt.c [tests/tget_flt.c] Replaced FLT_MAX + FLT_MAX by (float) DBL_POS_INF, which should trigger fewer compiler bugs. See: https://sympa.inria.fr/sympa/arc/mpfr/2011-07/msg00002.html ------------------------------------------------------------------------ r7734 | vlefevre | 2011-07-01 08:07:35 +0000 (Fri, 01 Jul 2011) | 2 lines Changed paths: M /trunk/src/ieee_floats.h [src/ieee_floats.h] Added a comment about the NaN format when _GMP_IEEE_FLOATS is defined. ------------------------------------------------------------------------ r7733 | zimmerma | 2011-07-01 08:04:50 +0000 (Fri, 01 Jul 2011) | 3 lines Changed paths: M /trunk/tests/tget_flt.c [tget_flt.c] check for compiler bug (https://sympa.inria.fr/sympa/arc/mpfr/2011-07/msg00000.html) ------------------------------------------------------------------------ r7731 | vlefevre | 2011-06-30 00:17:40 +0000 (Thu, 30 Jun 2011) | 3 lines Changed paths: M /trunk/AUTHORS M /trunk/BUGS M /trunk/COPYING M /trunk/COPYING.LESSER M /trunk/ChangeLog M /trunk/INSTALL M /trunk/Makefile.am M /trunk/NEWS M /trunk/PATCHES M /trunk/README M /trunk/TODO M /trunk/VERSION M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/FAQ.html M /trunk/doc/README.dev M /trunk/doc/algorithms.bib M /trunk/doc/algorithms.tex M /trunk/doc/faq.xsl M /trunk/doc/fdl.texi M /trunk/doc/mpfr.texi M /trunk/doc/update-faq M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c M /trunk/other/cputime.h M /trunk/other/div-short.c M /trunk/src/Makefile.am M /trunk/src/abort_prec_max.c M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/asin.c M /trunk/src/asinh.c M /trunk/src/atan.c M /trunk/src/atan2.c M /trunk/src/atanh.c M /trunk/src/bernoulli.c M /trunk/src/buildopt.c M /trunk/src/cache.c M /trunk/src/cbrt.c M /trunk/src/check.c M /trunk/src/clear.c M /trunk/src/clears.c M /trunk/src/cmp.c M /trunk/src/cmp2.c M /trunk/src/cmp_abs.c M /trunk/src/cmp_d.c M /trunk/src/cmp_ld.c M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c M /trunk/src/comparisons.c M /trunk/src/const_catalan.c M /trunk/src/const_euler.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/constant.c M /trunk/src/copysign.c M /trunk/src/cos.c M /trunk/src/cosh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/digamma.c M /trunk/src/dim.c M /trunk/src/div.c M /trunk/src/div_2exp.c M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/div_d.c M /trunk/src/div_ui.c M /trunk/src/dump.c M /trunk/src/eint.c M /trunk/src/eq.c M /trunk/src/erf.c M /trunk/src/erfc.c M /trunk/src/exceptions.c M /trunk/src/exp.c M /trunk/src/exp10.c M /trunk/src/exp2.c M /trunk/src/exp3.c M /trunk/src/exp_2.c M /trunk/src/expm1.c M /trunk/src/extract.c M /trunk/src/factorial.c M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_sint.c M /trunk/src/fits_slong.c M /trunk/src/fits_sshort.c M /trunk/src/fits_u.h M /trunk/src/fits_uint.c M /trunk/src/fits_uintmax.c M /trunk/src/fits_ulong.c M /trunk/src/fits_ushort.c M /trunk/src/fma.c M /trunk/src/fms.c M /trunk/src/frac.c M /trunk/src/free_cache.c M /trunk/src/gamma.c M /trunk/src/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/get_d.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_flt.c M /trunk/src/get_ld.c M /trunk/src/get_si.c M /trunk/src/get_sj.c M /trunk/src/get_str.c M /trunk/src/get_ui.c M /trunk/src/get_uj.c M /trunk/src/get_z.c M /trunk/src/get_z_exp.c M /trunk/src/gmp_op.c M /trunk/src/hypot.c M /trunk/src/ieee_floats.h M /trunk/src/init.c M /trunk/src/init2.c M /trunk/src/inits.c M /trunk/src/inits2.c M /trunk/src/inp_str.c M /trunk/src/int_ceil_log2.c M /trunk/src/isinf.c M /trunk/src/isinteger.c M /trunk/src/isnan.c M /trunk/src/isnum.c M /trunk/src/isqrt.c M /trunk/src/isregular.c M /trunk/src/iszero.c M /trunk/src/jn.c M /trunk/src/jyn_asympt.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c M /trunk/src/modf.c M /trunk/src/mp_clz_tab.c M /trunk/src/mparam_h.in M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-longlong.h M /trunk/src/mpfr-thread.h M /trunk/src/mpfr.h M /trunk/src/mpn_exp.c M /trunk/src/mul.c M /trunk/src/mul_2exp.c M /trunk/src/mul_2si.c M /trunk/src/mul_2ui.c M /trunk/src/mul_d.c M /trunk/src/mul_ui.c M /trunk/src/mulders.c M /trunk/src/neg.c M /trunk/src/next.c M /trunk/src/out_str.c M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_ui.c M /trunk/src/pow_z.c M /trunk/src/powerof2.c M /trunk/src/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.c M /trunk/src/root.c M /trunk/src/round_near_x.c M /trunk/src/round_p.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/scale2.c M /trunk/src/sec.c M /trunk/src/sech.c M /trunk/src/set.c M /trunk/src/set_d.c M /trunk/src/set_d64.c M /trunk/src/set_dfl_prec.c M /trunk/src/set_exp.c M /trunk/src/set_f.c M /trunk/src/set_flt.c M /trunk/src/set_inf.c M /trunk/src/set_ld.c M /trunk/src/set_nan.c M /trunk/src/set_prc_raw.c M /trunk/src/set_prec.c M /trunk/src/set_q.c M /trunk/src/set_rnd.c M /trunk/src/set_si.c M /trunk/src/set_si_2exp.c M /trunk/src/set_sj.c M /trunk/src/set_str.c M /trunk/src/set_str_raw.c M /trunk/src/set_ui.c M /trunk/src/set_ui_2exp.c M /trunk/src/set_uj.c M /trunk/src/set_z.c M /trunk/src/set_z_exp.c M /trunk/src/set_zero.c M /trunk/src/setmax.c M /trunk/src/setmin.c M /trunk/src/setsign.c M /trunk/src/sgn.c M /trunk/src/si_op.c M /trunk/src/signbit.c M /trunk/src/sin.c M /trunk/src/sin_cos.c M /trunk/src/sinh.c M /trunk/src/sinh_cosh.c M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sqrt_ui.c M /trunk/src/stack_interface.c M /trunk/src/strtofr.c M /trunk/src/sub.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sub_d.c M /trunk/src/sub_ui.c M /trunk/src/subnormal.c M /trunk/src/sum.c M /trunk/src/swap.c M /trunk/src/tan.c M /trunk/src/tanh.c M /trunk/src/uceil_exp2.c M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c M /trunk/src/ui_div.c M /trunk/src/ui_pow.c M /trunk/src/ui_pow_ui.c M /trunk/src/ui_sub.c M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/src/vasprintf.c M /trunk/src/version.c M /trunk/src/volatile.c M /trunk/src/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tests/Makefile.am M /trunk/tests/RRTest.c M /trunk/tests/cmp_str.c M /trunk/tests/inp_str.data M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/random2.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tai.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstdint.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tools/check_inits_clears M /trunk/tools/ck-version-info M /trunk/tools/coverage M /trunk/tools/get_patches.sh M /trunk/tools/mbench/generate.c M /trunk/tools/mbench/mfv5.h M /trunk/tools/mbench/mpfr-gfx.c M /trunk/tools/mbench/mpfr-v4.c M /trunk/tools/mbench/mpfr-v6.c M /trunk/tools/mbench/timp.h M /trunk/tools/update-patchv M /trunk/tools/update-version M /trunk/tune/speed.c M /trunk/tune/tuneup.c Removed all the svn:eol-style properties (they were set to "native"), and in doc/README.dev, explained why svn:eol-style native should not be used. ------------------------------------------------------------------------ r7729 | vlefevre | 2011-06-28 22:55:59 +0000 (Tue, 28 Jun 2011) | 2 lines Changed paths: M /trunk/tools/ck-version-info [tools/ck-version-info] Check DLL version in LIBMPFR_LDFLAGS line from configure.ac (patch by Stefan Graff, with minor changes). ------------------------------------------------------------------------ r7726 | vlefevre | 2011-06-26 09:44:11 +0000 (Sun, 26 Jun 2011) | 5 lines Changed paths: M /trunk/tools/ck-version-info [tools/ck-version-info] 2 corrections: * update due to the change of the libmpfr_la_LDFLAGS line in r7724; * to support the CRLF end-of-line sometimes used under MS-Windows (perl should normally take care of that, but Windows software is not always consistent). ------------------------------------------------------------------------ r7725 | vlefevre | 2011-06-26 09:30:05 +0000 (Sun, 26 Jun 2011) | 4 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Due to the "@unnumbered Function and Type Index", replaced the other "Function Index" by "Function and Type Index" (note: the function index and the type index are merged thanks to the "@synindex tp fn" line at the beginning of mpfr.texi). ------------------------------------------------------------------------ r7724 | vlefevre | 2011-06-25 16:08:39 +0000 (Sat, 25 Jun 2011) | 4 lines Changed paths: M /trunk/configure.ac M /trunk/src/Makefile.am Ported patch r7723 (changes suggested by Stefan Graff to be able to build Windows DLLs with GCC 4.6[*]) to the trunk, not tested (something more may be needed due to the source reorganization). [*] https://sympa.inria.fr/sympa/arc/mpfr/2011-06/msg00013.html ------------------------------------------------------------------------ r7722 | vlefevre | 2011-06-21 20:45:27 +0000 (Tue, 21 Jun 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7721 | vlefevre | 2011-06-21 20:41:51 +0000 (Tue, 21 Jun 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected a note about mpfr_set_*, due to the addition of mpfr_set_decimal64. ------------------------------------------------------------------------ r7720 | vlefevre | 2011-06-20 14:38:24 +0000 (Mon, 20 Jun 2011) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Removed comment added in r7181, as it is no longer necessary since r7182 (new option --enable-gmp-internals). ------------------------------------------------------------------------ r7719 | vlefevre | 2011-06-20 14:36:28 +0000 (Mon, 20 Jun 2011) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Updated comment concerning __gmpn_rootrem (mention WANT_GMP_INTERNALS). ------------------------------------------------------------------------ r7718 | vlefevre | 2011-06-20 14:10:04 +0000 (Mon, 20 Jun 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about logging and timeout. ------------------------------------------------------------------------ r7717 | vlefevre | 2011-06-20 13:59:31 +0000 (Mon, 20 Jun 2011) | 1 line Changed paths: M /trunk/src/atan2.c M /trunk/src/pow.c [src] Conversion into UTF-8 (only comments were concerned). ------------------------------------------------------------------------ r7716 | vlefevre | 2011-06-20 13:57:40 +0000 (Mon, 20 Jun 2011) | 1 line Changed paths: M /trunk/TODO [TODO] Conversion into UTF-8. ------------------------------------------------------------------------ r7715 | vlefevre | 2011-06-20 13:56:51 +0000 (Mon, 20 Jun 2011) | 2 lines Changed paths: M /trunk/src/pow.c [src/pow.c] Made the code more robust concerning the scaling (a bug was very unlikely, though), and updated the comments (partial proof). ------------------------------------------------------------------------ r7714 | vlefevre | 2011-06-01 01:32:26 +0000 (Wed, 01 Jun 2011) | 1 line Changed paths: M /trunk/examples/version.c [examples/version.c] Output MPFR features and size of MPFR types. ------------------------------------------------------------------------ r7711 | zimmerma | 2011-05-22 19:13:25 +0000 (Sun, 22 May 2011) | 3 lines Changed paths: M /trunk/src/rec_sqrt.c M /trunk/tests/trec_sqrt.c [src/rec_sqrt.c] continued review; I can now prove that cu=0 in all cases [tests/trec_sqrt.c] added tests for corner cases ------------------------------------------------------------------------ r7710 | zimmerma | 2011-05-20 05:51:22 +0000 (Fri, 20 May 2011) | 2 lines Changed paths: M /trunk/src/rec_sqrt.c [rec_sqrt.c] more review of codes, following comments from Vincent ------------------------------------------------------------------------ r7709 | zimmerma | 2011-05-19 08:37:24 +0000 (Thu, 19 May 2011) | 2 lines Changed paths: M /trunk/src/rec_sqrt.c [rec_sqrt.c] removed tabs ------------------------------------------------------------------------ r7708 | zimmerma | 2011-05-19 06:44:00 +0000 (Thu, 19 May 2011) | 4 lines Changed paths: M /trunk/src/rec_sqrt.c [rec_sqrt.c] review and small change of changeset 7651: most probably cu=0 when th=0 (and maybe cu=0 always, I cannot find an example where cu <> 0) but considering the case th=0 is more natural. ------------------------------------------------------------------------ r7707 | vlefevre | 2011-05-18 15:02:52 +0000 (Wed, 18 May 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] List the contributors in the alphabetic order, like the main authors. ------------------------------------------------------------------------ r7706 | vlefevre | 2011-05-18 14:52:18 +0000 (Wed, 18 May 2011) | 1 line Changed paths: M /trunk/AUTHORS M /trunk/doc/mpfr.texi Made AUTHORS and doc/mpfr.texi consistent. ------------------------------------------------------------------------ r7705 | vlefevre | 2011-05-18 14:44:37 +0000 (Wed, 18 May 2011) | 1 line Changed paths: M /trunk/AUTHORS M /trunk/src/acos.c M /trunk/src/asin.c M /trunk/src/atan.c M /trunk/src/atan2.c M /trunk/src/erf.c M /trunk/src/get_str.c M /trunk/src/mpn_exp.c M /trunk/src/round_near_x.c M /trunk/src/zeta.c M /trunk/tests/tacos.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tdigamma.c M /trunk/tests/terf.c M /trunk/tests/tfprintf.c M /trunk/tests/tgamma.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tli2.c M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c M /trunk/tests/tzeta.c Updated AUTHORS file and copyright notices (for more consistency). ------------------------------------------------------------------------ r7704 | vlefevre | 2011-05-18 14:26:30 +0000 (Wed, 18 May 2011) | 1 line Changed paths: M /trunk/tests/thyperbolic.c [tests/thyperbolic.c] Fixed copyright notice. ------------------------------------------------------------------------ r7703 | vlefevre | 2011-05-18 14:25:11 +0000 (Wed, 18 May 2011) | 1 line Changed paths: M /trunk/src/inp_str.c [src/inp_str.c] Improved comment. ------------------------------------------------------------------------ r7702 | vlefevre | 2011-05-18 14:18:41 +0000 (Wed, 18 May 2011) | 1 line Changed paths: M /trunk/src/fits_s.h [src/fits_s.h] Improved comment. ------------------------------------------------------------------------ r7701 | vlefevre | 2011-05-18 14:09:54 +0000 (Wed, 18 May 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7700 | vlefevre | 2011-05-18 14:09:05 +0000 (Wed, 18 May 2011) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Avoid a warning from mpfrlint. ------------------------------------------------------------------------ r7699 | vlefevre | 2011-05-18 13:09:33 +0000 (Wed, 18 May 2011) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Consistency change in the copyright notice. ------------------------------------------------------------------------ r7698 | vlefevre | 2011-05-18 11:09:30 +0000 (Wed, 18 May 2011) | 1 line Changed paths: M /trunk/tests/tsqr.c [tests/tsqr.c] Added a note in the check_mpn_sqr error message. ------------------------------------------------------------------------ r7697 | vlefevre | 2011-05-18 10:59:48 +0000 (Wed, 18 May 2011) | 2 lines Changed paths: M /trunk/tests/tsqr.c [tests/tsqr.c] Added a test of mpn_sqr concerning a bug seen with GCC 4.5.2 and GMP 5.0.1 on m68k (m68000 target). ------------------------------------------------------------------------ r7696 | vlefevre | 2011-05-17 14:25:37 +0000 (Tue, 17 May 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note about a texinfo bug. ------------------------------------------------------------------------ r7695 | vlefevre | 2011-05-13 15:58:57 +0000 (Fri, 13 May 2011) | 1 line Changed paths: M /trunk/src/Makefile.am M /trunk/src/fits_intmax.c M /trunk/src/fits_uintmax.c M /trunk/src/get_sj.c M /trunk/src/get_uj.c M /trunk/src/mpfr-impl.h A /trunk/src/mpfr-intmax.h M /trunk/src/set_sj.c M /trunk/src/set_uj.c M /trunk/src/vasprintf.c M /trunk/tests/tfits.c M /trunk/tests/tfprintf.c M /trunk/tests/tget_sj.c M /trunk/tests/tprintf.c M /trunk/tests/tset_sj.c Added mpfr-intmax.h header. ------------------------------------------------------------------------ r7694 | vlefevre | 2011-05-13 15:19:50 +0000 (Fri, 13 May 2011) | 1 line Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/tests/tstdint.c M /trunk/tests/tvalist.c Started to support mpfr_exp_t defined as intmax_t (_MPFR_EXP_FORMAT==4). ------------------------------------------------------------------------ r7693 | vlefevre | 2011-05-13 11:52:28 +0000 (Fri, 13 May 2011) | 2 lines Changed paths: M /trunk/NEWS [NEWS] Added that the mpfr.h header can be included several times, while still supporting optional functions. ------------------------------------------------------------------------ r7692 | vlefevre | 2011-05-13 11:48:13 +0000 (Fri, 13 May 2011) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Document what to do if mpfr.h can be included multiple times (fixes MPFR bug #9653). ------------------------------------------------------------------------ r7690 | vlefevre | 2011-05-12 15:29:24 +0000 (Thu, 12 May 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note to run tests with -D_MPFR_PREC_FORMAT=2. ------------------------------------------------------------------------ r7689 | vlefevre | 2011-05-12 14:10:39 +0000 (Thu, 12 May 2011) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Exponent properties: corrected comments and removed obsolete mp_exp_unsigned_t definition (was internal only). ------------------------------------------------------------------------ r7688 | vlefevre | 2011-05-12 13:57:02 +0000 (Thu, 12 May 2011) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/src/vasprintf.c [src/{mpfr.h,mpfr-impl.h,vasprintf.c}] Clean-up and improvement of definitions related to mpfr_exp_t. MPFR can now be built with -D_MPFR_PREC_FORMAT=2 to have mpfr_prec_t and mpfr_exp_t defined as an int. ------------------------------------------------------------------------ r7687 | vlefevre | 2011-05-12 12:40:39 +0000 (Thu, 12 May 2011) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Fixed spaces in a comment. ------------------------------------------------------------------------ r7686 | vlefevre | 2011-05-12 12:36:13 +0000 (Thu, 12 May 2011) | 3 lines Changed paths: M /trunk M /trunk/src/add1sp.c M /trunk/tests/tadd1sp.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tgmpop.c M /trunk/tests/tpow_z.c M /trunk/tests/tset_sj.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/turandom.c Fixed printf's calls: support the case where mpfr_prec_t is not a long (or unsigned long). [merged changeset r7643 from the exp-int branch] ------------------------------------------------------------------------ r7685 | vlefevre | 2011-05-12 12:30:41 +0000 (Thu, 12 May 2011) | 5 lines Changed paths: M /trunk M /trunk/src/strtofr.c [src/strtofr.c] Support the case where mpfr_exp_t < long; mpfr_exp_t is currently defined as mp_exp_t, which comes from GMP, and GMP currently defines mp_exp_t as a long, except on Cray (never tested for MPFR). But this may change in the future (possibly as an option)... [merged changeset r7642 from the exp-int branch] ------------------------------------------------------------------------ r7684 | vlefevre | 2011-05-12 12:21:49 +0000 (Thu, 12 May 2011) | 2 lines Changed paths: M /trunk M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added missing parentheses in MPFR_SADD_OVERFLOW (fortunately the current MPFR code was not affected). ------------------------------------------------------------------------ r7683 | vlefevre | 2011-05-12 12:18:38 +0000 (Thu, 12 May 2011) | 1 line Changed paths: M /trunk M /trunk/tests/tpow_z.c [tests/tpow_z.c] More details for a test in case of failure. ------------------------------------------------------------------------ r7682 | vlefevre | 2011-05-12 12:16:01 +0000 (Thu, 12 May 2011) | 5 lines Changed paths: M /trunk M /trunk/src/sub1.c [src/sub1.c] Fixed several bugs: integer overflows and potential out-of-bound pointers. They might be visible on particular platforms, with a particular configuration (e.g. 64-bit limbs and 32-bit exponent type) or particular compiler options (to check such overflows). [merged changesets r7637-7638 from the exp-int branch] ------------------------------------------------------------------------ r7679 | vlefevre | 2011-05-11 13:50:01 +0000 (Wed, 11 May 2011) | 1 line Changed paths: M /trunk/tests/tsin.c [tests/tsin.c] Added a test (it failed before the fix in r7308). ------------------------------------------------------------------------ r7678 | vlefevre | 2011-05-11 00:07:05 +0000 (Wed, 11 May 2011) | 10 lines Changed paths: M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/free_cache.c M /trunk/src/mpfr-impl.h Fixed constants pi and log(2) computation when logging is used: When MPFR is built with logging support, these two constants are used by the logging functions (via mpfr_fprintf, then mpfr_log, for the base conversion). Since the mpfr_cache function isn't re-entrant when working on the same cache, we need to define two caches for each constant. Otherwise the constants could be incorrect; for instance, "MPFR_LOG_ALL=1 ./tconst_pi" was failing. Note: the bug was introduced with the new logging system from r7575 for MPFR 3.1.0, based on mpfr_fprintf instead of mpfr_out_str (which doesn't depend on mpfr_log). ------------------------------------------------------------------------ r7676 | vlefevre | 2011-05-09 12:03:20 +0000 (Mon, 09 May 2011) | 2 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] Replaced atoi by strtoul to read the seed from GMP_CHECK_RANDOMIZE, as it is an unsigned long. ------------------------------------------------------------------------ r7674 | vlefevre | 2011-05-09 11:17:43 +0000 (Mon, 09 May 2011) | 2 lines Changed paths: M /trunk/tests/texp.c [tests/texp.c] Fixed the test comparing mpfr_exp_2 and mpfr_exp_3: filter out 0, as it is handled correctly only by mpfr_exp. ------------------------------------------------------------------------ r7672 | vlefevre | 2011-05-06 13:30:28 +0000 (Fri, 06 May 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Completed the note to run tests under gdb. ------------------------------------------------------------------------ r7671 | vlefevre | 2011-05-06 12:50:43 +0000 (Fri, 06 May 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a note to run tests under gdb. ------------------------------------------------------------------------ r7670 | zimmerma | 2011-05-06 12:31:24 +0000 (Fri, 06 May 2011) | 2 lines Changed paths: M /trunk/doc/README.dev [README.dev] added hint for logging ------------------------------------------------------------------------ r7667 | vlefevre | 2011-05-04 23:46:17 +0000 (Wed, 04 May 2011) | 6 lines Changed paths: M /trunk/src/atan.c [src/atan.c] Fixed bug in mpfr_atan: mpfr_check_range was called on the unrounded result (no longer allocated) instead of the rounded result. Consequence of this bug: possible incorrect or invalid result and/or incorrect flags if either the unrounded result or rounded result is not in the current exponent range. Or possibly worse if the memory used by the unrounded result is modified before the return of the function. ------------------------------------------------------------------------ r7666 | vlefevre | 2011-05-04 23:25:24 +0000 (Wed, 04 May 2011) | 1 line Changed paths: M /trunk/tests/tatan.c [tests/tatan.c] Corrected a comment. ------------------------------------------------------------------------ r7665 | vlefevre | 2011-05-04 23:20:18 +0000 (Wed, 04 May 2011) | 2 lines Changed paths: M /trunk/tests/tatan.c [tests/tatan.c] Added a testcase showing a failure of mpfr_atan in a reduced exponent range. ------------------------------------------------------------------------ r7664 | vlefevre | 2011-05-04 22:04:17 +0000 (Wed, 04 May 2011) | 1 line Changed paths: M /trunk/src/const_pi.c [src/const_pi.c] Removed useless assignment. ------------------------------------------------------------------------ r7663 | zimmerma | 2011-05-04 21:58:12 +0000 (Wed, 04 May 2011) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [mpfr-impl.h] fixed typo ------------------------------------------------------------------------ r7661 | vlefevre | 2011-05-03 17:26:31 +0000 (Tue, 03 May 2011) | 5 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/mul.c [src/mpfr-impl.h] In MPFR_RNDRAW_GEN, do not try to compute the sticky bit when not necessary (directed mode with rb = 1). [src/mul.c] FIXME comment: with the change in MPFR_RNDRAW_GEN, uninitialized data are no longer read; there's still something wrong, at least with the code documentation, though. ------------------------------------------------------------------------ r7660 | vlefevre | 2011-05-03 13:59:19 +0000 (Tue, 03 May 2011) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Updated the FIXME comment. ------------------------------------------------------------------------ r7659 | vlefevre | 2011-05-03 13:51:52 +0000 (Tue, 03 May 2011) | 6 lines Changed paths: M /trunk/src/mul.c M /trunk/tests/tmul.c Bug in mpfr_mul: a call mpfr_mulhigh_n(pointers..., n) where n is some size is done, but the mpfr_mul code assumes a result whose size can be arbitrarily larger, thus may depend on uninitialised data. * [src/mul.c] Added a FIXME comment. * [tests/tmul.c] Added a corresponding test. The result is not checked but valgrind complains of the use of uninitialised value(s). ------------------------------------------------------------------------ r7658 | vlefevre | 2011-05-03 13:17:04 +0000 (Tue, 03 May 2011) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] MPFR_RNDRAW_GEN: added other missing parentheses. ------------------------------------------------------------------------ r7657 | vlefevre | 2011-05-03 13:14:25 +0000 (Tue, 03 May 2011) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] MPFR_RNDRAW_GEN: added missing parentheses. ------------------------------------------------------------------------ r7656 | vlefevre | 2011-05-03 12:38:50 +0000 (Tue, 03 May 2011) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Logging: do not take into account the Ziv loops due to logging (i.e. used by the MPFR functions called by the mpfr_fprintf in LOG_PRINT). ------------------------------------------------------------------------ r7655 | vlefevre | 2011-05-03 12:23:23 +0000 (Tue, 03 May 2011) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Avoid recursive logging for MPFR_ZIV_* macros too, and fixed type for the output of the precision. ------------------------------------------------------------------------ r7654 | vlefevre | 2011-05-03 11:11:47 +0000 (Tue, 03 May 2011) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Avoid recursive logging (not wanted and freezes MPFR). ------------------------------------------------------------------------ r7652 | vlefevre | 2011-05-03 07:34:04 +0000 (Tue, 03 May 2011) | 1 line Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] Improved the comment added in r7651. ------------------------------------------------------------------------ r7651 | vlefevre | 2011-05-02 13:46:38 +0000 (Mon, 02 May 2011) | 1 line Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] Fixed the buffer overflow (bug 12553). ------------------------------------------------------------------------ r7650 | vlefevre | 2011-05-02 13:26:29 +0000 (Mon, 02 May 2011) | 4 lines Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] Added an assertion to avoid a buffer overflow (mpn_add_1 and mpn_sub_1 don't support size = 0). It sometimes fails, and this is the following bug: https://gforge.inria.fr/tracker/index.php?func=detail&aid=12553&group_id=136&atid=619 ------------------------------------------------------------------------ r7649 | vlefevre | 2011-05-02 13:01:30 +0000 (Mon, 02 May 2011) | 2 lines Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] Added a comment about a buffer overflow. Bug report: https://gforge.inria.fr/tracker/index.php?func=detail&aid=12553&group_id=136&atid=619 ------------------------------------------------------------------------ r7648 | vlefevre | 2011-05-02 10:49:33 +0000 (Mon, 02 May 2011) | 1 line Changed paths: M /trunk/tests/tvalist.c [tests/tvalist.c] Make sure that fct is used (avoid a warning). ------------------------------------------------------------------------ r7647 | vlefevre | 2011-05-02 10:36:08 +0000 (Mon, 02 May 2011) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c [tests/tsin_cos.c] status_f and status were not read (compared) in coverage_01032011, yielding a warning. ------------------------------------------------------------------------ r7646 | vlefevre | 2011-05-02 10:34:06 +0000 (Mon, 02 May 2011) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Avoid a spurious warning with some use of MPFR_BLOCK. ------------------------------------------------------------------------ r7645 | vlefevre | 2011-05-02 10:13:17 +0000 (Mon, 02 May 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added command to test with valgrind. ------------------------------------------------------------------------ r7644 | vlefevre | 2011-05-01 01:45:29 +0000 (Sun, 01 May 2011) | 6 lines Changed paths: M /trunk/Makefile.am M /trunk/configure.ac Added "make dist" support for -dev MPFR versions by distributing the tests/data files in the tarball for such MPFR versions ("make check" fails if some data file couldn't be read for such versions). * configure.ac: add a Makefile variable DATAFILES, which contains the list of the tests/data files if the MPFR version ends with "-dev". * Makefile.am: add $(DATAFILES) to EXTRA_DIST. ------------------------------------------------------------------------ r7640 | vlefevre | 2011-04-29 11:33:48 +0000 (Fri, 29 Apr 2011) | 2 lines Changed paths: M /trunk/tests/trint.c [tests/trint.c] Removed a useless pointer cast (in general, such casts are either useless or incorrect, as breaking aliasing rules). ------------------------------------------------------------------------ r7636 | vlefevre | 2011-04-28 12:54:20 +0000 (Thu, 28 Apr 2011) | 1 line Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Added an assertion. ------------------------------------------------------------------------ r7634 | vlefevre | 2011-04-18 14:53:03 +0000 (Mon, 18 Apr 2011) | 5 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Correction of problems triggering the warning "warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body" with autoconf 2.68: * Fixed missing quoting in an AC_RUN_IFELSE. * Added an AC_LANG_SOURCE in another AC_RUN_IFELSE. ------------------------------------------------------------------------ r7633 | vlefevre | 2011-04-18 12:11:10 +0000 (Mon, 18 Apr 2011) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] s/can not/cannot/ ------------------------------------------------------------------------ r7632 | vlefevre | 2011-04-18 12:09:25 +0000 (Mon, 18 Apr 2011) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Added comment about the warning: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ------------------------------------------------------------------------ r7631 | vlefevre | 2011-04-15 12:35:11 +0000 (Fri, 15 Apr 2011) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Use conventional quotes. ------------------------------------------------------------------------ r7630 | vlefevre | 2011-04-15 12:15:16 +0000 (Fri, 15 Apr 2011) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Added a comment. ------------------------------------------------------------------------ r7625 | vlefevre | 2011-04-12 08:17:39 +0000 (Tue, 12 Apr 2011) | 3 lines Changed paths: M /trunk/src/asin.c M /trunk/tests/tasin.c [src/asin.c] Fixed bug in mpfr_asin for x = 1 or -1 in extremely reduced exponent range (when pi is not representable, but pi/2 is). [tests/tasin.c] Added testcase. ------------------------------------------------------------------------ r7624 | vlefevre | 2011-04-08 15:32:40 +0000 (Fri, 08 Apr 2011) | 2 lines Changed paths: M /trunk/TODO [TODO] Removed "allow generic tests to run with a restricted exponent range" (this was done in r7470). ------------------------------------------------------------------------ r7623 | zimmerma | 2011-04-08 13:18:37 +0000 (Fri, 08 Apr 2011) | 2 lines Changed paths: M /trunk/TODO [TODO] added item ------------------------------------------------------------------------ r7621 | vlefevre | 2011-04-05 08:47:39 +0000 (Tue, 05 Apr 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7620 | vlefevre | 2011-04-05 08:45:37 +0000 (Tue, 05 Apr 2011) | 1 line Changed paths: M /trunk/INSTALL M /trunk/doc/mpfr.texi [INSTALL,doc/mpfr.texi] Say that mpfr@loria.fr is the MPFR mailing-list. ------------------------------------------------------------------------ r7611 | vlefevre | 2011-04-01 14:28:45 +0000 (Fri, 01 Apr 2011) | 4 lines Changed paths: M /trunk/configure.ac [configure.ac] Removed the -Wno-format GCC option, which was added when logging was used, as it is no longer needed after the changes done in r7575,7578 (mpfr_fprintf is now used for logging instead of fprintf with the Glibc register_printf_function extension). ------------------------------------------------------------------------ r7607 | vlefevre | 2011-03-29 11:49:11 +0000 (Tue, 29 Mar 2011) | 1 line Changed paths: M /trunk/tests/reuse.c [tests/reuse.c] Added a comment. ------------------------------------------------------------------------ r7606 | vlefevre | 2011-03-29 11:45:40 +0000 (Tue, 29 Mar 2011) | 4 lines Changed paths: M /trunk/src/pow.c [src/pow.c] Fixed a bug in mpfr_pow_general when an argument is reused (e.g. mpfr_pow(x,x,y,rnd) or mpfr_pow(y,x,y,rnd)) and the result is negative, thus when x is negative and y is a huge odd integer ("huge" because not-too-large integers are currently handled by mpfr_pow_z). ------------------------------------------------------------------------ r7605 | vlefevre | 2011-03-29 11:36:49 +0000 (Tue, 29 Mar 2011) | 2 lines Changed paths: M /trunk/tests/reuse.c [tests/reuse.c] Added a mpfr_pow(x,x,y,rnd) test showing a failure when x is negative and y is a huge odd integer. ------------------------------------------------------------------------ r7604 | vlefevre | 2011-03-29 11:10:29 +0000 (Tue, 29 Mar 2011) | 1 line Changed paths: M /trunk/src/subnormal.c [src/subnormal.c] Improved a comment. ------------------------------------------------------------------------ r7603 | vlefevre | 2011-03-29 11:01:33 +0000 (Tue, 29 Mar 2011) | 1 line Changed paths: M /trunk/tests/reuse.c [tests/reuse.c] Test also negative numbers. ------------------------------------------------------------------------ r7602 | vlefevre | 2011-03-29 10:52:35 +0000 (Tue, 29 Mar 2011) | 1 line Changed paths: M /trunk/tests/reuse.c [tests/reuse.c] GNU coding style. ------------------------------------------------------------------------ r7601 | vlefevre | 2011-03-29 10:27:45 +0000 (Tue, 29 Mar 2011) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Updated a comment. ------------------------------------------------------------------------ r7600 | vlefevre | 2011-03-29 10:20:58 +0000 (Tue, 29 Mar 2011) | 1 line Changed paths: M /trunk/src/powerof2.c [src/powerof2.c] Updated comment. ------------------------------------------------------------------------ r7599 | vlefevre | 2011-03-29 09:30:11 +0000 (Tue, 29 Mar 2011) | 1 line Changed paths: M /trunk/src/powerof2.c [src/powerof2.c] More detailed comment. ------------------------------------------------------------------------ r7595 | zimmerma | 2011-03-21 10:52:35 +0000 (Mon, 21 Mar 2011) | 2 lines Changed paths: M /trunk/tools/cfarm.sh [cfarm.sh] complete tests with mpfr-3.0.1-rc1 ------------------------------------------------------------------------ r7592 | vlefevre | 2011-03-21 02:43:09 +0000 (Mon, 21 Mar 2011) | 2 lines Changed paths: M /trunk/src/pow_z.c [src/pow_z.c] Fixed bug bug20110320, that occurs in extremely reduced exponent range (more precisely, if 1 is out of range, i.e. emin > 1). ------------------------------------------------------------------------ r7591 | vlefevre | 2011-03-21 02:32:07 +0000 (Mon, 21 Mar 2011) | 1 line Changed paths: M /trunk/tests/tpow.c [tests/tpow.c] Added testcase bug20110320. ------------------------------------------------------------------------ r7590 | vlefevre | 2011-03-21 02:13:16 +0000 (Mon, 21 Mar 2011) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Added debug information. ------------------------------------------------------------------------ r7589 | zimmerma | 2011-03-20 19:24:24 +0000 (Sun, 20 Mar 2011) | 2 lines Changed paths: A /trunk/tools/cfarm.sh [cfarm.sh] shell script to test MPFR on the GCC Compile Farm ------------------------------------------------------------------------ r7587 | zimmerma | 2011-03-18 12:30:22 +0000 (Fri, 18 Mar 2011) | 2 lines Changed paths: M /trunk/src/digamma.c [digamma.c] fixed compiler warning (ISO C90 forbids mixed declarations and code) ------------------------------------------------------------------------ r7581 | vlefevre | 2011-03-17 15:44:58 +0000 (Thu, 17 Mar 2011) | 3 lines Changed paths: M /trunk/NEWS [NEWS] Added a note about the fix in the mpfr_subnormalize implementation, in case users would think the old behavior was chosen on purpose. ------------------------------------------------------------------------ r7578 | vlefevre | 2011-03-17 09:30:32 +0000 (Thu, 17 Mar 2011) | 3 lines Changed paths: M /trunk/src/div_ui.c Completed r7575 (Get rid of deprecated register_printf_function function in logging system): there was a remaining old MPFR_LOG_FUNC in "src/div_ui.c". Now, the MPFR source no longer contains '%#R'. ------------------------------------------------------------------------ r7577 | vlefevre | 2011-03-17 08:45:21 +0000 (Thu, 17 Mar 2011) | 1 line Changed paths: M /trunk/src/mul_2si.c [src/mul_2si.c] Removed trailing whitespace. ------------------------------------------------------------------------ r7576 | vlefevre | 2011-03-17 08:43:54 +0000 (Thu, 17 Mar 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Fixed variable name from r7575. ------------------------------------------------------------------------ r7575 | thevenyp | 2011-03-17 06:30:11 +0000 (Thu, 17 Mar 2011) | 1 line Changed paths: M /trunk/doc/README.dev M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/add.c M /trunk/src/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/asin.c M /trunk/src/asinh.c M /trunk/src/atan.c M /trunk/src/atan2.c M /trunk/src/atanh.c M /trunk/src/cbrt.c M /trunk/src/const_catalan.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/cos.c M /trunk/src/cosh.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/digamma.c M /trunk/src/div.c M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/div_d.c M /trunk/src/div_ui.c M /trunk/src/eint.c M /trunk/src/erf.c M /trunk/src/erfc.c M /trunk/src/exp.c M /trunk/src/exp2.c M /trunk/src/exp3.c M /trunk/src/exp_2.c M /trunk/src/expm1.c M /trunk/src/fma.c M /trunk/src/fms.c M /trunk/src/gamma.c M /trunk/src/hypot.c M /trunk/src/jn.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/logging.c M /trunk/src/modf.c M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/mul_2si.c M /trunk/src/mul_2ui.c M /trunk/src/mul_d.c M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_ui.c M /trunk/src/pow_z.c M /trunk/src/rec_sqrt.c M /trunk/src/root.c M /trunk/src/sin.c M /trunk/src/sin_cos.c M /trunk/src/sinh.c M /trunk/src/sinh_cosh.c M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sub.c M /trunk/src/sub_d.c M /trunk/src/sub_ui.c M /trunk/src/tan.c M /trunk/src/tanh.c M /trunk/src/ui_div.c M /trunk/src/ui_sub.c M /trunk/src/yn.c M /trunk/src/zeta.c Get rid of deprecated register_printf_function function in logging system. ------------------------------------------------------------------------ r7573 | vlefevre | 2011-03-15 15:15:22 +0000 (Tue, 15 Mar 2011) | 3 lines Changed paths: M /trunk/src/erfc.c [src/erfc.c] Fixed a problem (incorrect flags or possible crash) in extremely reduced exponent range. Support the case where mpfr_prec_t is larger than a long. ------------------------------------------------------------------------ r7572 | vlefevre | 2011-03-15 15:10:40 +0000 (Tue, 15 Mar 2011) | 2 lines Changed paths: M /trunk/tests/terf.c [tests/terf.c] Added some tests of the flags (no failure in them, thanks to the mpfr_cmp_si (x, -27282) in erfc.c, for 1b). ------------------------------------------------------------------------ r7571 | vlefevre | 2011-03-15 11:23:25 +0000 (Tue, 15 Mar 2011) | 3 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] In failure messages, output the name of the tested function. This is useful for programs that have generic tests for several functions, such as terf. ------------------------------------------------------------------------ r7570 | vlefevre | 2011-03-15 10:01:59 +0000 (Tue, 15 Mar 2011) | 2 lines Changed paths: M /trunk/tests/terf.c [tests/terf.c] Added a testcase showing a failure due to bad flags in a reduced exponent range. ------------------------------------------------------------------------ r7568 | vlefevre | 2011-03-14 09:44:21 +0000 (Mon, 14 Mar 2011) | 1 line Changed paths: M /trunk/tests/terf.c [tests/terf.c] Changed mp_exp_t (r7564) to mpfr_exp_t. ------------------------------------------------------------------------ r7567 | vlefevre | 2011-03-11 15:45:48 +0000 (Fri, 11 Mar 2011) | 2 lines Changed paths: M /trunk/src/erfc.c [src/erfc.c] Added an assertion for future platforms (e.g. with 128-bit exponent type). ------------------------------------------------------------------------ r7566 | vlefevre | 2011-03-11 15:37:07 +0000 (Fri, 11 Mar 2011) | 1 line Changed paths: M /trunk/src/erfc.c [src/erfc.c] Fixed r7564 (comparison must really be signed). ------------------------------------------------------------------------ r7565 | vlefevre | 2011-03-11 15:23:59 +0000 (Fri, 11 Mar 2011) | 1 line Changed paths: M /trunk/tests/terf.c [tests/terf.c] Fixed test added in r7564 for 32-bit machines. ------------------------------------------------------------------------ r7564 | zimmerma | 2011-03-11 15:09:06 +0000 (Fri, 11 Mar 2011) | 3 lines Changed paths: M /trunk/src/erfc.c M /trunk/tests/terf.c [erfc.c] fixed bug found by Pascal Molin: when we increase the exponent range on 64-bit machines, erfc() wrongly underflows for x >= 27282 ------------------------------------------------------------------------ r7561 | vlefevre | 2011-03-10 14:48:28 +0000 (Thu, 10 Mar 2011) | 2 lines Changed paths: M /trunk/src/jn.c [src/jn.c] Fixed the MPFR_FAST_COMPUTE_IF_SMALL_INPUT test for n == 1 in underflow cases. ------------------------------------------------------------------------ r7560 | vlefevre | 2011-03-10 13:46:23 +0000 (Thu, 10 Mar 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] No need for mpfr_clear_flags (already done in MPFR_BLOCK). ------------------------------------------------------------------------ r7559 | vlefevre | 2011-03-10 13:44:47 +0000 (Thu, 10 Mar 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Check that no intermediate underflow or overflow occurs. ------------------------------------------------------------------------ r7558 | vlefevre | 2011-03-10 13:30:33 +0000 (Thu, 10 Mar 2011) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [doc/algorithms.tex] For the Bessel function, say that the algorithm assumes that no underflows/overflows occur. ------------------------------------------------------------------------ r7556 | vlefevre | 2011-03-09 15:54:42 +0000 (Wed, 09 Mar 2011) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] More robust code (for the change in r7551). ------------------------------------------------------------------------ r7555 | vlefevre | 2011-03-09 15:52:33 +0000 (Wed, 09 Mar 2011) | 1 line Changed paths: M /trunk/tests/tget_d.c M /trunk/tests/tgmpop.c M /trunk/tests/tsin_cos.c Removed trailing spaces. ------------------------------------------------------------------------ r7553 | vlefevre | 2011-03-09 15:38:58 +0000 (Wed, 09 Mar 2011) | 2 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Added feature for MPFR_SUSPICIOUS_OVERFLOW to avoid spurious failures by defining TGENERIC_SO_TEST to some well-chosen test. ------------------------------------------------------------------------ r7552 | vlefevre | 2011-03-09 15:35:17 +0000 (Wed, 09 Mar 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Added a comment about MPFR_SUSPICIOUS_OVERFLOW. ------------------------------------------------------------------------ r7551 | vlefevre | 2011-03-09 15:30:46 +0000 (Wed, 09 Mar 2011) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Fixed the special code for tiny values. ------------------------------------------------------------------------ r7550 | vlefevre | 2011-03-09 15:29:44 +0000 (Wed, 09 Mar 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Corrected a test and added other tests for tiny x > 0. ------------------------------------------------------------------------ r7549 | vlefevre | 2011-03-09 14:57:05 +0000 (Wed, 09 Mar 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Updated a comment. ------------------------------------------------------------------------ r7548 | vlefevre | 2011-03-09 14:07:54 +0000 (Wed, 09 Mar 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Restore emax. ------------------------------------------------------------------------ r7547 | vlefevre | 2011-03-09 14:03:40 +0000 (Wed, 09 Mar 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Do not initialize x twice. ------------------------------------------------------------------------ r7546 | vlefevre | 2011-03-09 13:44:02 +0000 (Wed, 09 Mar 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Do not run the same test twice if emin = MPFR_EMIN_MIN. ------------------------------------------------------------------------ r7545 | vlefevre | 2011-03-09 13:41:51 +0000 (Wed, 09 Mar 2011) | 3 lines Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Added tests for tiny values, showing bugs in special code for such values. Run tgamma with at least an argument to get all the failures. ------------------------------------------------------------------------ r7542 | vlefevre | 2011-03-07 15:17:24 +0000 (Mon, 07 Mar 2011) | 8 lines Changed paths: M /trunk/src/jn.c [src/jn.c] Fixed mpfr_jn_k0() internal function: * The prototype was incorrect: one needs "unsigned long" for n (actually absn), in case absn is equal to - LONG_MIN. * The formula and the code were incorrect for n = 0, due to the division by n; it was yielding k0 = ULONG_MAX. The case n = 0 is now handled separately. * Small optimization: division by log(2) -> multiplication by 1/log(2). ------------------------------------------------------------------------ r7541 | vlefevre | 2011-03-07 14:07:47 +0000 (Mon, 07 Mar 2011) | 4 lines Changed paths: M /trunk/src/jn.c [src/jn.c] Avoid integer overflow in the computation of the initial working precision. This makes several tests fail, but logging shows that previous non-failure was due to undefined behavior due to huge k0 computed by mpfr_jn_k0. ------------------------------------------------------------------------ r7539 | vlefevre | 2011-03-07 13:03:30 +0000 (Mon, 07 Mar 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Added a comment for mpfrlint. ------------------------------------------------------------------------ r7538 | vlefevre | 2011-03-07 13:01:36 +0000 (Mon, 07 Mar 2011) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Change of r7515: any mpfr_clear_* can be mentioned. ------------------------------------------------------------------------ r7537 | vlefevre | 2011-03-07 11:08:08 +0000 (Mon, 07 Mar 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Added comments and fixed a bug. ------------------------------------------------------------------------ r7536 | vlefevre | 2011-03-07 10:57:44 +0000 (Mon, 07 Mar 2011) | 3 lines Changed paths: M /trunk/src/jn.c [src/jn.c] Detect incorrect error analysis (that may have been the goal of the assertion corrected in r7534, but this wasn't documented). Added a FIXME comment. ------------------------------------------------------------------------ r7534 | vlefevre | 2011-03-07 10:40:24 +0000 (Mon, 07 Mar 2011) | 5 lines Changed paths: M /trunk/src/jn.c [src/jn.c] Fixed incorrect assertion. It could occur only in precision >= 2^(1+s/2), where s is the bitsize of a "long", e.g. p >= 2^17 = 131072 on most 32-bit machines and p >= 2^33 = 8,589,934,592 on most 64-bit machines. Only some arguments are affected (|z| between around 2^(s/2) and p/2). ------------------------------------------------------------------------ r7533 | vlefevre | 2011-03-07 10:13:34 +0000 (Mon, 07 Mar 2011) | 1 line Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Added a comment. ------------------------------------------------------------------------ r7532 | vlefevre | 2011-03-07 10:07:44 +0000 (Mon, 07 Mar 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Corrected a typo. ------------------------------------------------------------------------ r7530 | vlefevre | 2011-03-06 10:03:21 +0000 (Sun, 06 Mar 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Improved underflow detection. Still not complete, though. ------------------------------------------------------------------------ r7529 | vlefevre | 2011-03-06 09:51:13 +0000 (Sun, 06 Mar 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Comments: English usage. ------------------------------------------------------------------------ r7528 | vlefevre | 2011-03-05 00:19:31 +0000 (Sat, 05 Mar 2011) | 1 line Changed paths: M /trunk/tests/trint.c [tests/trint.c] mantissa -> significand (standard and correct term). ------------------------------------------------------------------------ r7527 | vlefevre | 2011-03-05 00:17:45 +0000 (Sat, 05 Mar 2011) | 1 line Changed paths: M /trunk/tests/trint.c [tests/trint.c] Do not use snprintf (C99). ------------------------------------------------------------------------ r7526 | vlefevre | 2011-03-04 23:20:51 +0000 (Fri, 04 Mar 2011) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Added a test to check that the snprintf function (C99) is not used. ------------------------------------------------------------------------ r7525 | demengeo | 2011-03-04 17:57:53 +0000 (Fri, 04 Mar 2011) | 1 line Changed paths: M /trunk/tests/trint.c Previous extended coverage test in trint.c now self generate tests in and compare values ------------------------------------------------------------------------ r7524 | demengeo | 2011-03-04 14:14:13 +0000 (Fri, 04 Mar 2011) | 1 line Changed paths: M /trunk/tests/trint.c Extend test coverage of mpfr_rint to 100% ------------------------------------------------------------------------ r7523 | zimmerma | 2011-03-03 19:27:37 +0000 (Thu, 03 Mar 2011) | 2 lines Changed paths: M /trunk/src/add1sp.c [src/add1sp.c] same as previous commits ------------------------------------------------------------------------ r7522 | zimmerma | 2011-03-03 19:26:07 +0000 (Thu, 03 Mar 2011) | 2 lines Changed paths: M /trunk/src/sub1sp.c [src/sub1sp.c] ibidem (see previous commit log) ------------------------------------------------------------------------ r7521 | zimmerma | 2011-03-03 19:24:25 +0000 (Thu, 03 Mar 2011) | 2 lines Changed paths: M /trunk/src/add1.c [add1.c] ibidem (see previous commit log) ------------------------------------------------------------------------ r7520 | vlefevre | 2011-03-03 18:54:10 +0000 (Thu, 03 Mar 2011) | 3 lines Changed paths: M /trunk/src/add.c M /trunk/src/sub.c [src/add.c,src/sub.c] Split assertions for C90 compilers, to avoid too long strings generated by #expr. Problem seen with: gcc -ansi -pedantic-errors ------------------------------------------------------------------------ r7518 | vlefevre | 2011-03-03 16:18:16 +0000 (Thu, 03 Mar 2011) | 1 line Changed paths: M /trunk/src/yn.c [src/yn.c] Minor change. ------------------------------------------------------------------------ r7517 | vlefevre | 2011-03-03 16:17:36 +0000 (Thu, 03 Mar 2011) | 2 lines Changed paths: M /trunk/src/yn.c [src/yn.c] Extend the exponent range (code not checked concerning internal exceptions, such as overflows, underflows and divby0). ------------------------------------------------------------------------ r7516 | vlefevre | 2011-03-03 15:41:28 +0000 (Thu, 03 Mar 2011) | 1 line Changed paths: M /trunk/src/agm.c [src/agm.c] Added comments (for mpfrlint, in particular). ------------------------------------------------------------------------ r7515 | vlefevre | 2011-03-03 15:40:58 +0000 (Thu, 03 Mar 2011) | 4 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] The use of mpfr_overflow_p, etc. is allowed if mpfr_clear_flags is mentioned (useful for checking purpose at the end of a function, but this needs an explicit mpfr_clear_flags; otherwise MPFR_BLOCK should still be used). ------------------------------------------------------------------------ r7514 | vlefevre | 2011-03-03 15:29:10 +0000 (Thu, 03 Mar 2011) | 1 line Changed paths: M /trunk/src/agm.c [src/agm.c] Completed scaling to avoid intermediate overflow/underflow. ------------------------------------------------------------------------ r7513 | vlefevre | 2011-03-03 12:09:34 +0000 (Thu, 03 Mar 2011) | 3 lines Changed paths: M /trunk/src/agm.c [src/agm.c] Bug fix in error computation: in Ziv's iteration, err kept its value from the previous iteration instead of being reset to 0. Consequence: a possible loss of performance in rare cases. ------------------------------------------------------------------------ r7512 | vlefevre | 2011-03-03 11:30:29 +0000 (Thu, 03 Mar 2011) | 1 line Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Removed a useless assertion and updated comments. ------------------------------------------------------------------------ r7511 | vlefevre | 2011-03-02 14:05:39 +0000 (Wed, 02 Mar 2011) | 1 line Changed paths: M /trunk/src/agm.c [src/agm.c] Added a FIXME comment. ------------------------------------------------------------------------ r7510 | vlefevre | 2011-03-02 13:58:05 +0000 (Wed, 02 Mar 2011) | 1 line Changed paths: M /trunk/src/agm.c [src/agm.c] Updated exception checking (more informative). ------------------------------------------------------------------------ r7509 | vlefevre | 2011-03-02 13:54:18 +0000 (Wed, 02 Mar 2011) | 2 lines Changed paths: M /trunk/src/agm.c [src/agm.c] Check internal exceptions: the error analysis may be incorrect in case of exception. ------------------------------------------------------------------------ r7508 | vlefevre | 2011-03-02 13:41:36 +0000 (Wed, 02 Mar 2011) | 2 lines Changed paths: M /trunk/src/agm.c [src/agm.c] Implemented scaling to avoid intermediate overflow/underflow (but the tagm test still fails, due to a rounding error this time). ------------------------------------------------------------------------ r7507 | vlefevre | 2011-03-02 10:03:40 +0000 (Wed, 02 Mar 2011) | 1 line Changed paths: M /trunk/tests/tagm.c [tests/tagm.c] Added tests triggering intermediate underflow/overflow. ------------------------------------------------------------------------ r7506 | vlefevre | 2011-03-02 09:15:24 +0000 (Wed, 02 Mar 2011) | 1 line Changed paths: M /trunk/tests/tagm.c [tests/tagm.c] Also test the ternary value and the flags. ------------------------------------------------------------------------ r7505 | vlefevre | 2011-03-02 08:57:31 +0000 (Wed, 02 Mar 2011) | 1 line Changed paths: M /trunk/tests/tagm.c [tests/tagm.c] Corrected values (using Pari). ------------------------------------------------------------------------ r7504 | vlefevre | 2011-03-02 08:36:00 +0000 (Wed, 02 Mar 2011) | 3 lines Changed paths: M /trunk/src/agm.c [src/agm.c] Extend the exponent range. This doesn't make the algorithm correct yet, as intermediate underflow or overflow is still possible in the first multiplication. ------------------------------------------------------------------------ r7503 | demengeo | 2011-03-01 18:10:07 +0000 (Tue, 01 Mar 2011) | 1 line Changed paths: M /trunk/tests/tsin_cos.c Change some functions called in test tsin_cos.c ------------------------------------------------------------------------ r7502 | demengeo | 2011-03-01 17:08:11 +0000 (Tue, 01 Mar 2011) | 1 line Changed paths: M /trunk/tests/tsin_cos.c Extend coverage test of mpfr_sincos_fast to 100% ------------------------------------------------------------------------ r7501 | demengeo | 2011-03-01 15:47:36 +0000 (Tue, 01 Mar 2011) | 1 line Changed paths: M /trunk/tests/tstckintc.c Extend coverage test of mpfr_custom_get_kind to 100% ------------------------------------------------------------------------ r7500 | vlefevre | 2011-02-25 16:39:22 +0000 (Fri, 25 Feb 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Fix: support reduced exponent ranges for small inputs. ------------------------------------------------------------------------ r7499 | vlefevre | 2011-02-25 16:23:48 +0000 (Fri, 25 Feb 2011) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Added a comment about an overflow case. ------------------------------------------------------------------------ r7498 | vlefevre | 2011-02-25 16:20:41 +0000 (Fri, 25 Feb 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Added tests in maximum exponent range. ------------------------------------------------------------------------ r7497 | vlefevre | 2011-02-25 16:15:10 +0000 (Fri, 25 Feb 2011) | 2 lines Changed paths: M /trunk/src/gamma.c [src/gamma.c] Fixed flags when x if very small (protect from intermediate overflow). ------------------------------------------------------------------------ r7496 | vlefevre | 2011-02-25 16:08:03 +0000 (Fri, 25 Feb 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Corrected test number. ------------------------------------------------------------------------ r7495 | vlefevre | 2011-02-25 16:07:17 +0000 (Fri, 25 Feb 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Added a test in maximum exponent range. ------------------------------------------------------------------------ r7494 | vlefevre | 2011-02-25 16:02:48 +0000 (Fri, 25 Feb 2011) | 1 line Changed paths: M /trunk/src/gamma.c [src/gamma.c] Fixed inexact flag when x if very small. ------------------------------------------------------------------------ r7493 | vlefevre | 2011-02-25 16:02:04 +0000 (Fri, 25 Feb 2011) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Added tests. ------------------------------------------------------------------------ r7492 | vlefevre | 2011-02-25 15:17:44 +0000 (Fri, 25 Feb 2011) | 2 lines Changed paths: M /trunk/src/gamma.c M /trunk/tests/tgamma.c [src/gamma.c] Fixed a bug occurring in reduced exponent range. [tests/tgamma.c] Added corresponding testcase. ------------------------------------------------------------------------ r7491 | vlefevre | 2011-02-25 14:50:37 +0000 (Fri, 25 Feb 2011) | 2 lines Changed paths: M /trunk/src/lngamma.c [src/lngamma.c] Do not use MPFR_EXP after a mpfr_clear (even though this currently work). ------------------------------------------------------------------------ r7490 | vlefevre | 2011-02-25 14:23:20 +0000 (Fri, 25 Feb 2011) | 2 lines Changed paths: M /trunk/src/rem1.c [src/rem1.c] Fixed mpfr_rem1 in reduced exponent range (the function is actually simplified). ------------------------------------------------------------------------ r7487 | zimmerma | 2011-02-25 07:49:00 +0000 (Fri, 25 Feb 2011) | 2 lines Changed paths: M /trunk/TODO [TODO] added an item ------------------------------------------------------------------------ r7486 | vlefevre | 2011-02-25 02:45:40 +0000 (Fri, 25 Feb 2011) | 1 line Changed paths: M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/mpfr-impl.h M /trunk/src/mul_2si.c Fixed mpfr_div_2si, mpfr_div_2ui and mpfr_mul_2si in some corner cases. ------------------------------------------------------------------------ r7485 | vlefevre | 2011-02-25 02:38:25 +0000 (Fri, 25 Feb 2011) | 1 line Changed paths: M /trunk/tests/tmul_2exp.c [tests/tmul_2exp.c] Small correction in output (in case of failure). ------------------------------------------------------------------------ r7484 | vlefevre | 2011-02-21 23:41:20 +0000 (Mon, 21 Feb 2011) | 1 line Changed paths: M /trunk/tests/tset_q.c [tests/tset_q.c] Corrections in function prototypes. ------------------------------------------------------------------------ r7483 | demengeo | 2011-02-21 16:17:14 +0000 (Mon, 21 Feb 2011) | 1 line Changed paths: M /trunk/tests/tget_d.c M /trunk/tests/tgmpop.c Remove the use of mpfr_get_default_prec in some coverage test ------------------------------------------------------------------------ r7482 | demengeo | 2011-02-21 15:59:32 +0000 (Mon, 21 Feb 2011) | 1 line Changed paths: M /trunk/tests/tset_q.c Add some coverage test in tests/tset_q.c ------------------------------------------------------------------------ r7481 | demengeo | 2011-02-21 13:07:44 +0000 (Mon, 21 Feb 2011) | 1 line Changed paths: M /trunk/tests/tget_d.c M /trunk/tests/tgmpop.c fixed coding convention of 2 tests functions ------------------------------------------------------------------------ r7480 | zimmerma | 2011-02-19 08:18:28 +0000 (Sat, 19 Feb 2011) | 2 lines Changed paths: M /trunk/tests/tget_d.c [tget_d.c] fixed some compiler errors and warnings ------------------------------------------------------------------------ r7479 | vlefevre | 2011-02-18 15:27:22 +0000 (Fri, 18 Feb 2011) | 3 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Split a printf into several ones to reduce the string length below the 509-byte limit from C90 (useful to avoid an error when testing with gcc -ansi -pedantic-errors). ------------------------------------------------------------------------ r7478 | demengeo | 2011-02-18 15:13:38 +0000 (Fri, 18 Feb 2011) | 1 line Changed paths: M /trunk/tests/tgmpop.c Extend test coverage to 100% on mpfr_z_sub and mpfr_mul_q function ------------------------------------------------------------------------ r7477 | demengeo | 2011-02-18 14:53:44 +0000 (Fri, 18 Feb 2011) | 1 line Changed paths: M /trunk/tests/tget_d.c Extend test coverage on mpfr_get_d_2exp function ------------------------------------------------------------------------ r7476 | vlefevre | 2011-02-18 11:43:30 +0000 (Fri, 18 Feb 2011) | 1 line Changed paths: M /trunk/tests/tmul_2exp.c [tests/tmul_2exp.c] Also test mpfr_div_2si and mpfr_div_2ui (same bug). ------------------------------------------------------------------------ r7475 | vlefevre | 2011-02-18 11:37:39 +0000 (Fri, 18 Feb 2011) | 2 lines Changed paths: M /trunk/tests/tmul_2exp.c [tests/tmul_2exp.c] Added a testcase showing a bug in mpfr_mul_2si (possible intermediate overflow). ------------------------------------------------------------------------ r7474 | vlefevre | 2011-02-18 10:29:13 +0000 (Fri, 18 Feb 2011) | 2 lines Changed paths: M /trunk/src/zeta.c [src/zeta.c] Support zeta(eps) with |eps| very small or 0 in extremely reduced exponent range. ------------------------------------------------------------------------ r7473 | vlefevre | 2011-02-18 09:54:09 +0000 (Fri, 18 Feb 2011) | 2 lines Changed paths: M /trunk/src/atan2.c [src/atan2.c] Fix: the overflow or underflow flag was set in the case x = power of two and y/x overflows or underflows. ------------------------------------------------------------------------ r7472 | vlefevre | 2011-02-18 09:48:15 +0000 (Fri, 18 Feb 2011) | 1 line Changed paths: M /trunk/src/atan2.c [src/atan2.c] Support special cases in extremely reduced exponent range. ------------------------------------------------------------------------ r7471 | vlefevre | 2011-02-18 09:17:14 +0000 (Fri, 18 Feb 2011) | 1 line Changed paths: M /trunk/src/acos.c [src/acos.c] Support acos(0) in extremely reduced exponent range. ------------------------------------------------------------------------ r7470 | vlefevre | 2011-02-17 13:44:57 +0000 (Thu, 17 Feb 2011) | 2 lines Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Added generic tests in a reduced exponent range. This currently makes 10 tests fail on a 64-bit machine. ------------------------------------------------------------------------ r7469 | vlefevre | 2011-02-17 13:43:31 +0000 (Thu, 17 Feb 2011) | 3 lines Changed paths: M /trunk/tests/mpfr-test.h [tests/mpfr-test.h] Defined a SAME_VAL(X,Y) macro to test whether two floating-point data have the same value, seen as an element of the set of the floating-point data (Level 2 in the IEEE 754-2008 standard). ------------------------------------------------------------------------ r7468 | vlefevre | 2011-02-17 13:41:12 +0000 (Thu, 17 Feb 2011) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Defined a MPFR_EXP_FSPEC macro containing the format specifier for mpfr_eexp_t, to output an exponent with: printf ("%" MPFR_EXP_FSPEC "d", (mpfr_eexp_t) exponent); ------------------------------------------------------------------------ r7467 | vlefevre | 2011-02-17 12:01:57 +0000 (Thu, 17 Feb 2011) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Reformat. ------------------------------------------------------------------------ r7465 | vlefevre | 2011-02-17 11:33:30 +0000 (Thu, 17 Feb 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a warning about whitespace in the mpfr.texi file. ------------------------------------------------------------------------ r7463 | vlefevre | 2011-02-17 11:10:58 +0000 (Thu, 17 Feb 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Fixed spacing for the mpfr.info file. ------------------------------------------------------------------------ r7460 | vlefevre | 2011-02-10 01:31:16 +0000 (Thu, 10 Feb 2011) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect the use of mp_ptr and mp_srcptr. ------------------------------------------------------------------------ r7459 | vlefevre | 2011-02-10 01:26:13 +0000 (Thu, 10 Feb 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7458 | vlefevre | 2011-02-10 01:25:00 +0000 (Thu, 10 Feb 2011) | 1 line Changed paths: M /trunk/src/gmp_op.c [src/gmp_op.c] Added a blank line. ------------------------------------------------------------------------ r7457 | demengeo | 2011-02-09 17:34:50 +0000 (Wed, 09 Feb 2011) | 1 line Changed paths: M /trunk/NEWS M /trunk/TODO M /trunk/doc/mpfr.texi M /trunk/src/gmp_op.c M /trunk/src/mpfr.h M /trunk/tests/tgmpop.c Added mpfr_z_sub (function/test/doc) ------------------------------------------------------------------------ r7455 | vlefevre | 2011-02-09 14:15:10 +0000 (Wed, 09 Feb 2011) | 3 lines Changed paths: M /trunk/src/div.c M /trunk/src/eq.c M /trunk/src/init2.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mulders.c M /trunk/src/rec_sqrt.c M /trunk/src/round_prec.c M /trunk/src/set_d.c M /trunk/src/set_prec.c M /trunk/src/sqrt.c M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/src/vasprintf.c M /trunk/tests/random2.c M /trunk/tune/speed.c M /trunk/tune/tuneup.c Added new types mpfr_limb_ptr and mpfr_limb_srcptr to src/mpfr-impl.h, and replaced mp_ptr and mp_srcptr (GMP internals) by these 2 new types respectively. ------------------------------------------------------------------------ r7453 | vlefevre | 2011-02-08 11:43:39 +0000 (Tue, 08 Feb 2011) | 3 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Fix for Intel's compiler (ICC) under MS Windows: MPFR was incorrectly assuming that ICC had some extensions like under GNU/Linux. This made the MPFR compilation fail. ------------------------------------------------------------------------ r7452 | vlefevre | 2011-02-08 02:48:01 +0000 (Tue, 08 Feb 2011) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Corrected a typo in a comment. ------------------------------------------------------------------------ r7451 | vlefevre | 2011-02-05 13:37:55 +0000 (Sat, 05 Feb 2011) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Removed incorrect note. ------------------------------------------------------------------------ r7450 | zimmerma | 2011-02-05 08:15:42 +0000 (Sat, 05 Feb 2011) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added hint for VS2008 and Intel compiler v11.1 ------------------------------------------------------------------------ r7448 | vlefevre | 2011-02-03 09:02:05 +0000 (Thu, 03 Feb 2011) | 1 line Changed paths: M /trunk/Makefile.am M /trunk/configure.ac [configure.ac,Makefile.am] Clean-up and depend on GNU Automake 1.11. ------------------------------------------------------------------------ r7443 | vlefevre | 2011-01-31 01:53:11 +0000 (Mon, 31 Jan 2011) | 2 lines Changed paths: M /trunk/src/zeta_ui.c M /trunk/tests/tzeta_ui.c [src/zeta_ui.c,tests/tzeta_ui.c] Patch from Patrick Pélissier for the division-by-zero support in mpfr_zeta_ui (and test): ------------------------------------------------------------------------ r7442 | zimmerma | 2011-01-30 09:33:00 +0000 (Sun, 30 Jan 2011) | 2 lines Changed paths: M /trunk/src/zeta.c M /trunk/tests/tzeta.c [src/zeta.c] patch from Patrick Pelissier (problem with division by zero flag) ------------------------------------------------------------------------ r7440 | zimmerma | 2011-01-28 16:19:45 +0000 (Fri, 28 Jan 2011) | 2 lines Changed paths: M /trunk/TODO [TODO] removed division by zero item (done) ------------------------------------------------------------------------ r7439 | zimmerma | 2011-01-28 16:18:25 +0000 (Fri, 28 Jan 2011) | 2 lines Changed paths: M /trunk/TODO M /trunk/src/get_str.c [src/get_str.c,TODO] updated comments, mpfr_get_str already supports base <= 62 ------------------------------------------------------------------------ r7438 | vlefevre | 2011-01-27 17:53:35 +0000 (Thu, 27 Jan 2011) | 1 line Changed paths: M /trunk/tests/tj0.c [tests/tj0.c] GMP_RNDN → MPFR_RNDN. ------------------------------------------------------------------------ r7437 | vlefevre | 2011-01-27 17:07:48 +0000 (Thu, 27 Jan 2011) | 4 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/subnormal.c M /trunk/tests/tsubnormal.c [src/subnormal.c] Set the inexact and underflow flags when needed. Fixes https://gforge.inria.fr/tracker/index.php?func=detail&aid=7958&group_id=136&atid=622 [tests/tsubnormal.c] Improved the tests, in particular for the flags. [doc/mpfr.texi] Documented the change. ------------------------------------------------------------------------ r7436 | vlefevre | 2011-01-27 16:38:35 +0000 (Thu, 27 Jan 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrected order in Section "Changed Functions". ------------------------------------------------------------------------ r7435 | vlefevre | 2011-01-27 14:17:49 +0000 (Thu, 27 Jan 2011) | 1 line Changed paths: M /trunk/tests/tj0.c [tests/tj0.c] Added case for which s = 0 occurs in mpfr_jn. ------------------------------------------------------------------------ r7434 | vlefevre | 2011-01-27 13:54:45 +0000 (Thu, 27 Jan 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Added a log message. ------------------------------------------------------------------------ r7433 | vlefevre | 2011-01-27 13:47:11 +0000 (Thu, 27 Jan 2011) | 1 line Changed paths: M /trunk/src/div_ui.c [src/div_ui.c] Added logging support. ------------------------------------------------------------------------ r7431 | vlefevre | 2011-01-26 14:06:39 +0000 (Wed, 26 Jan 2011) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Fixed bug in test (do not set the exponent on 0). ------------------------------------------------------------------------ r7430 | vlefevre | 2011-01-26 13:58:44 +0000 (Wed, 26 Jan 2011) | 1 line Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Formatting. ------------------------------------------------------------------------ r7429 | vlefevre | 2011-01-26 13:58:21 +0000 (Wed, 26 Jan 2011) | 2 lines Changed paths: M /trunk/tests/tsum.c [tests/tsum.c] Fixed get_prec_max and added some checks. Current failure: tab[1] is not valid. ------------------------------------------------------------------------ r7428 | vlefevre | 2011-01-26 13:28:10 +0000 (Wed, 26 Jan 2011) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Added an assertion. ------------------------------------------------------------------------ r7427 | vlefevre | 2011-01-26 13:12:06 +0000 (Wed, 26 Jan 2011) | 4 lines Changed paths: M /trunk/src/check.c [src/check.c] Replaced MPFR_IS_PURE_FP by !MPFR_IS_SINGULAR, the former macro now has a check for validity in debug mode (r7426). The goal of mpfr_check is to test the validity, so that we don't want this check here. ------------------------------------------------------------------------ r7426 | vlefevre | 2011-01-26 13:05:53 +0000 (Wed, 26 Jan 2011) | 4 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] In the MPFR_IS_PURE_FP test, if positive, check that the number is normalized (debug mode only). This makes 2 tests fail: tcheck and tsum. Note: with logging active, tsum was already triggering an assertion failure in mpfr_get_str (via mpfr_add). ------------------------------------------------------------------------ r7425 | vlefevre | 2011-01-26 12:51:41 +0000 (Wed, 26 Jan 2011) | 1 line Changed paths: M /trunk/src/add.c [src/add.c] Formatting. ------------------------------------------------------------------------ r7423 | vlefevre | 2011-01-26 12:02:31 +0000 (Wed, 26 Jan 2011) | 1 line Changed paths: M /trunk/src/li2.c [src/li2.c] Fixed crash in mpfr_li2 when logging is used. ------------------------------------------------------------------------ r7421 | vlefevre | 2011-01-24 16:37:43 +0000 (Mon, 24 Jan 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Corrected a comment. ------------------------------------------------------------------------ r7420 | zimmerma | 2011-01-24 16:14:18 +0000 (Mon, 24 Jan 2011) | 2 lines Changed paths: M /trunk/src/jn.c [src/jn.c] added notes for correctness of the algorithm used ------------------------------------------------------------------------ r7419 | vlefevre | 2011-01-24 12:41:28 +0000 (Mon, 24 Jan 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] C90 compatibility fix (empty macro arguments are undefined). ------------------------------------------------------------------------ r7418 | vlefevre | 2011-01-24 10:17:50 +0000 (Mon, 24 Jan 2011) | 2 lines Changed paths: M /trunk/src/jn.c [src/jn.c] Added an assaertion against a potential overflow (which probably never occurs, but this should be proved...). ------------------------------------------------------------------------ r7417 | zimmerma | 2011-01-24 07:21:27 +0000 (Mon, 24 Jan 2011) | 2 lines Changed paths: M /trunk/src/jn.c [src/jn.c] patch from Patrick Pelissier ------------------------------------------------------------------------ r7416 | vlefevre | 2011-01-23 04:04:08 +0000 (Sun, 23 Jan 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Forgot to change an MPFR_EXP to MPFR_GET_EXP. ------------------------------------------------------------------------ r7415 | vlefevre | 2011-01-23 04:02:09 +0000 (Sun, 23 Jan 2011) | 3 lines Changed paths: M /trunk/src/jn.c [src/jn.c] Replaced MPFR_EXP by MPFR_GET_EXP when the value should really be an exponent. Removed incorrect and useless casts. Added an assertion to protect against potentially incorrect code. ------------------------------------------------------------------------ r7414 | vlefevre | 2011-01-23 03:41:39 +0000 (Sun, 23 Jan 2011) | 1 line Changed paths: M /trunk/src/jn.c [src/jn.c] Patch from Patrick Pélissier (mpfr_check_range and other). ------------------------------------------------------------------------ r7413 | vlefevre | 2011-01-21 14:19:35 +0000 (Fri, 21 Jan 2011) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Update the check for mpfr_printf-like functions in the tests. ------------------------------------------------------------------------ r7412 | vlefevre | 2011-01-21 14:15:39 +0000 (Fri, 21 Jan 2011) | 1 line Changed paths: M /trunk/tests/tprintf.c [tests/tprintf.c] Consistency. ------------------------------------------------------------------------ r7411 | vlefevre | 2011-01-21 13:59:12 +0000 (Fri, 21 Jan 2011) | 1 line Changed paths: M /trunk/tests/tgrandom.c [tests/tgrandom.c] Added a comment. ------------------------------------------------------------------------ r7410 | vlefevre | 2011-01-21 13:54:50 +0000 (Fri, 21 Jan 2011) | 1 line Changed paths: M /trunk/tests/tgrandom.c [tests/tgrandom.c] Protection of the mpfr_printf by #ifdef HAVE_STDARG. ------------------------------------------------------------------------ r7408 | vlefevre | 2011-01-20 12:13:58 +0000 (Thu, 20 Jan 2011) | 1 line Changed paths: M /trunk/src/eint.c [src/eint.c] Added a FIXME. ------------------------------------------------------------------------ r7406 | zimmerma | 2011-01-18 16:50:28 +0000 (Tue, 18 Jan 2011) | 2 lines Changed paths: M /trunk/src/out_raw.c [src/out_raw.c] added pointer to discussion ------------------------------------------------------------------------ r7405 | vlefevre | 2011-01-17 13:11:15 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/tests/tvalist.c [tests/tvalist.c] Correction for C++ compilers. ------------------------------------------------------------------------ r7403 | vlefevre | 2011-01-17 04:01:56 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Added division-by-zero exception. ------------------------------------------------------------------------ r7402 | vlefevre | 2011-01-17 03:55:51 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated "To make a release". ------------------------------------------------------------------------ r7401 | vlefevre | 2011-01-17 03:52:41 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/NEWS [NEWS] Update for MPFR 3.1.x. ------------------------------------------------------------------------ r7400 | vlefevre | 2011-01-17 03:39:24 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/src/grandom.c [src/grandom.c] Reformat. ------------------------------------------------------------------------ r7399 | vlefevre | 2011-01-17 03:36:24 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] tests/tvalist.c can use mpfr_printf-like functions. ------------------------------------------------------------------------ r7398 | vlefevre | 2011-01-17 03:34:40 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/tests/tgrandom.c [tests/tgrandom.c] Added a FIXME: do not use mpfr_printf in the tests. ------------------------------------------------------------------------ r7397 | vlefevre | 2011-01-17 03:33:17 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/tests/tai.c M /trunk/tests/tatan.c M /trunk/tests/tfrexp.c M /trunk/tests/tgrandom.c [tests] Untabified and removed trailing spaces. ------------------------------------------------------------------------ r7396 | vlefevre | 2011-01-17 03:31:25 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/src/grandom.c M /trunk/src/mpfr.h [src/grandom.c,src/mpfr.h] Untabified and removed trailing spaces. ------------------------------------------------------------------------ r7395 | vlefevre | 2011-01-17 03:29:36 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/src/frexp.c [src/frexp.c] Corrections. ------------------------------------------------------------------------ r7394 | vlefevre | 2011-01-17 03:25:50 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/src/out_raw.c [src/out_raw.c] Untabified. ------------------------------------------------------------------------ r7393 | vlefevre | 2011-01-17 03:25:07 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/src/out_raw.c [src/out_raw.c] Fixed some bugs on the incomplete code. ------------------------------------------------------------------------ r7392 | vlefevre | 2011-01-17 03:06:09 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/src/atan2.c [src/atan2.c] MPFR_EXP -> MPFR_GET_EXP and reformat. ------------------------------------------------------------------------ r7391 | vlefevre | 2011-01-17 03:05:33 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/src/ai.c [src/ai.c] Removed trailing spaces. ------------------------------------------------------------------------ r7390 | vlefevre | 2011-01-17 03:02:39 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7389 | vlefevre | 2011-01-17 03:01:30 +0000 (Mon, 17 Jan 2011) | 4 lines Changed paths: M /trunk/BUGS M /trunk/INSTALL M /trunk/Makefile.am M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/acinclude.m4 M /trunk/configure.ac M /trunk/doc/FAQ.html M /trunk/doc/Makefile.am M /trunk/doc/faq.xsl M /trunk/doc/mpfr.texi M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c M /trunk/src/Makefile.am M /trunk/src/abort_prec_max.c M /trunk/src/acos.c M /trunk/src/acosh.c M /trunk/src/add.c M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/add_d.c M /trunk/src/add_ui.c M /trunk/src/agm.c M /trunk/src/ai.c M /trunk/src/asin.c M /trunk/src/asinh.c M /trunk/src/atan.c M /trunk/src/atan2.c M /trunk/src/atanh.c M /trunk/src/bernoulli.c M /trunk/src/buildopt.c M /trunk/src/cache.c M /trunk/src/cbrt.c M /trunk/src/check.c M /trunk/src/clear.c M /trunk/src/clears.c M /trunk/src/cmp.c M /trunk/src/cmp2.c M /trunk/src/cmp_abs.c M /trunk/src/cmp_d.c M /trunk/src/cmp_ld.c M /trunk/src/cmp_si.c M /trunk/src/cmp_ui.c M /trunk/src/comparisons.c M /trunk/src/const_catalan.c M /trunk/src/const_euler.c M /trunk/src/const_log2.c M /trunk/src/const_pi.c M /trunk/src/constant.c M /trunk/src/copysign.c M /trunk/src/cos.c M /trunk/src/cosh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/d_div.c M /trunk/src/d_sub.c M /trunk/src/digamma.c M /trunk/src/dim.c M /trunk/src/div.c M /trunk/src/div_2exp.c M /trunk/src/div_2si.c M /trunk/src/div_2ui.c M /trunk/src/div_d.c M /trunk/src/div_ui.c M /trunk/src/dump.c M /trunk/src/eint.c M /trunk/src/eq.c M /trunk/src/erf.c M /trunk/src/erfc.c M /trunk/src/exceptions.c M /trunk/src/exp.c M /trunk/src/exp10.c M /trunk/src/exp2.c M /trunk/src/exp3.c M /trunk/src/exp_2.c M /trunk/src/expm1.c M /trunk/src/extract.c M /trunk/src/factorial.c M /trunk/src/fits_intmax.c M /trunk/src/fits_s.h M /trunk/src/fits_sint.c M /trunk/src/fits_slong.c M /trunk/src/fits_sshort.c M /trunk/src/fits_u.h M /trunk/src/fits_uint.c M /trunk/src/fits_uintmax.c M /trunk/src/fits_ulong.c M /trunk/src/fits_ushort.c M /trunk/src/fma.c M /trunk/src/fms.c M /trunk/src/frac.c M /trunk/src/free_cache.c M /trunk/src/gamma.c M /trunk/src/gammaonethird.c M /trunk/src/gen_inverse.h M /trunk/src/get_d.c M /trunk/src/get_d64.c M /trunk/src/get_exp.c M /trunk/src/get_f.c M /trunk/src/get_flt.c M /trunk/src/get_ld.c M /trunk/src/get_si.c M /trunk/src/get_sj.c M /trunk/src/get_str.c M /trunk/src/get_ui.c M /trunk/src/get_uj.c M /trunk/src/get_z.c M /trunk/src/get_z_exp.c M /trunk/src/gmp_op.c M /trunk/src/hypot.c M /trunk/src/ieee_floats.h M /trunk/src/init.c M /trunk/src/init2.c M /trunk/src/inits.c M /trunk/src/inits2.c M /trunk/src/inp_str.c M /trunk/src/int_ceil_log2.c M /trunk/src/isinf.c M /trunk/src/isinteger.c M /trunk/src/isnan.c M /trunk/src/isnum.c M /trunk/src/isqrt.c M /trunk/src/isregular.c M /trunk/src/iszero.c M /trunk/src/jn.c M /trunk/src/jyn_asympt.c M /trunk/src/li2.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log1p.c M /trunk/src/log2.c M /trunk/src/logging.c M /trunk/src/min_prec.c M /trunk/src/minmax.c M /trunk/src/modf.c M /trunk/src/mp_clz_tab.c M /trunk/src/mparam_h.in M /trunk/src/mpf2mpfr.h M /trunk/src/mpfr-gmp.c M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/mpfr-longlong.h M /trunk/src/mpfr-thread.h M /trunk/src/mpfr.h M /trunk/src/mpn_exp.c M /trunk/src/mul.c M /trunk/src/mul_2exp.c M /trunk/src/mul_2si.c M /trunk/src/mul_2ui.c M /trunk/src/mul_d.c M /trunk/src/mul_ui.c M /trunk/src/mulders.c M /trunk/src/neg.c M /trunk/src/next.c M /trunk/src/out_str.c M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_ui.c M /trunk/src/pow_z.c M /trunk/src/powerof2.c M /trunk/src/print_raw.c M /trunk/src/print_rnd_mode.c M /trunk/src/printf.c M /trunk/src/rec_sqrt.c M /trunk/src/reldiff.c M /trunk/src/rem1.c M /trunk/src/rint.c M /trunk/src/root.c M /trunk/src/round_near_x.c M /trunk/src/round_p.c M /trunk/src/round_prec.c M /trunk/src/round_raw_generic.c M /trunk/src/scale2.c M /trunk/src/sec.c M /trunk/src/sech.c M /trunk/src/set.c M /trunk/src/set_d.c M /trunk/src/set_d64.c M /trunk/src/set_dfl_prec.c M /trunk/src/set_exp.c M /trunk/src/set_f.c M /trunk/src/set_flt.c M /trunk/src/set_inf.c M /trunk/src/set_ld.c M /trunk/src/set_nan.c M /trunk/src/set_prc_raw.c M /trunk/src/set_prec.c M /trunk/src/set_q.c M /trunk/src/set_rnd.c M /trunk/src/set_si.c M /trunk/src/set_si_2exp.c M /trunk/src/set_sj.c M /trunk/src/set_str.c M /trunk/src/set_str_raw.c M /trunk/src/set_ui.c M /trunk/src/set_ui_2exp.c M /trunk/src/set_uj.c M /trunk/src/set_z.c M /trunk/src/set_z_exp.c M /trunk/src/set_zero.c M /trunk/src/setmax.c M /trunk/src/setmin.c M /trunk/src/setsign.c M /trunk/src/sgn.c M /trunk/src/si_op.c M /trunk/src/signbit.c M /trunk/src/sin.c M /trunk/src/sin_cos.c M /trunk/src/sinh.c M /trunk/src/sinh_cosh.c M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/sqrt_ui.c M /trunk/src/stack_interface.c M /trunk/src/strtofr.c M /trunk/src/sub.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/src/sub_d.c M /trunk/src/sub_ui.c M /trunk/src/subnormal.c M /trunk/src/sum.c M /trunk/src/swap.c M /trunk/src/tan.c M /trunk/src/tanh.c M /trunk/src/uceil_exp2.c M /trunk/src/uceil_log2.c M /trunk/src/ufloor_log2.c M /trunk/src/ui_div.c M /trunk/src/ui_pow.c M /trunk/src/ui_pow_ui.c M /trunk/src/ui_sub.c M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/src/vasprintf.c M /trunk/src/version.c M /trunk/src/volatile.c M /trunk/src/yn.c M /trunk/src/zeta.c M /trunk/src/zeta_ui.c M /trunk/tests/Makefile.am M /trunk/tests/cmp_str.c M /trunk/tests/data/digamma M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/random2.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tai.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstdint.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tools/ck-version-info M /trunk/tools/get_patches.sh M /trunk/tune/Makefile.am M /trunk/tune/bidimensional_sample.c M /trunk/tune/speed.c M /trunk/tune/tuneup.c Copyright notice update: added 2011 with perl -pi -e 's/2010 Free Software/2010, 2011 Free Software/' **/*(^/) under zsh, reverting the ChangeLog file and the m4 and tools/mbench directories. ------------------------------------------------------------------------ r7388 | vlefevre | 2011-01-17 02:57:17 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated year in example. ------------------------------------------------------------------------ r7387 | vlefevre | 2011-01-17 02:51:54 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r7386 | vlefevre | 2011-01-17 02:26:55 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/src/pow.c [src/pow.c] Added an assertion. ------------------------------------------------------------------------ r7385 | vlefevre | 2011-01-17 02:20:19 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/tests/td_div.c [tests/td_div.c] Consistency change. ------------------------------------------------------------------------ r7384 | vlefevre | 2011-01-17 02:19:11 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/tests/tdiv_d.c [tests/tdiv_d.c] Updated test of special cases. ------------------------------------------------------------------------ r7383 | vlefevre | 2011-01-17 02:13:23 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/src/log1p.c [src/log1p.c] Added support for the division-by-zero exception. ------------------------------------------------------------------------ r7382 | vlefevre | 2011-01-17 02:10:32 +0000 (Mon, 17 Jan 2011) | 1 line Changed paths: M /trunk/tests/tlog1p.c [tests/tlog1p.c] Test the flags for special cases. ------------------------------------------------------------------------ r7381 | vlefevre | 2011-01-17 02:04:11 +0000 (Mon, 17 Jan 2011) | 4 lines Changed paths: M /trunk/src/atanh.c M /trunk/src/cot.c M /trunk/src/coth.c M /trunk/src/csc.c M /trunk/src/csch.c M /trunk/src/digamma.c M /trunk/src/eint.c M /trunk/src/gamma.c M /trunk/src/lngamma.c M /trunk/src/log.c M /trunk/src/log10.c M /trunk/src/log2.c Added support for the division-by-zero exception in functions mpfr_atanh, mpfr_cot, mpfr_coth, mpfr_csc, mpfr_csch, mpfr_digamma, mpfr_eint, mpfr_gamma, mpfr_lgamma, mpfr_lngamma, mpfr_log, mpfr_log2 and mpfr_log10. ------------------------------------------------------------------------ r7380 | lfousse | 2011-01-16 21:13:28 +0000 (Sun, 16 Jan 2011) | 1 line Changed paths: M /trunk/tests/tgrandom.c [tests/tgrandom.c] Add missing cast for malloc. ------------------------------------------------------------------------ r7379 | vlefevre | 2011-01-16 14:00:34 +0000 (Sun, 16 Jan 2011) | 1 line Changed paths: M /trunk/src/yn.c [src/yn.c] Added support for the division-by-zero exception. ------------------------------------------------------------------------ r7378 | vlefevre | 2011-01-16 13:57:55 +0000 (Sun, 16 Jan 2011) | 1 line Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] Added support for the division-by-zero exception. ------------------------------------------------------------------------ r7377 | vlefevre | 2011-01-16 13:55:41 +0000 (Sun, 16 Jan 2011) | 1 line Changed paths: M /trunk/src/pow_si.c [src/pow_si.c] Improved robustness (in case of future changes). ------------------------------------------------------------------------ r7376 | vlefevre | 2011-01-16 13:51:36 +0000 (Sun, 16 Jan 2011) | 2 lines Changed paths: M /trunk/src/pow.c M /trunk/src/pow_si.c M /trunk/src/pow_z.c M /trunk/tests/tpow.c Added support for the division-by-zero exception for the power functions (with additional tests). (Corrected patch from Patrick.) ------------------------------------------------------------------------ r7375 | lfousse | 2011-01-16 00:25:40 +0000 (Sun, 16 Jan 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am A /trunk/src/grandom.c (from /trunk/src/urandom_gaussian.c:7374) M /trunk/src/mpfr.h D /trunk/src/urandom_gaussian.c M /trunk/tests/Makefile.am A /trunk/tests/tgrandom.c (from /trunk/tests/turandom_gaussian.c:7374) D /trunk/tests/turandom_gaussian.c Rename mpfr_urandom_gaussian to mpfr_grandom. ------------------------------------------------------------------------ r7374 | vlefevre | 2011-01-15 14:33:25 +0000 (Sat, 15 Jan 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Corrections for mpfr_urandom_gaussian. ------------------------------------------------------------------------ r7373 | vlefevre | 2011-01-15 14:28:43 +0000 (Sat, 15 Jan 2011) | 1 line Changed paths: M /trunk/tests/turandom_gaussian.c [tests/turandom_gaussian.c] Fixed C99-only code. ------------------------------------------------------------------------ r7372 | zimmerma | 2011-01-15 08:14:51 +0000 (Sat, 15 Jan 2011) | 5 lines Changed paths: M /trunk/NEWS M /trunk/TODO M /trunk/doc/mpfr.texi M /trunk/src/Makefile.am A /trunk/src/frexp.c M /trunk/src/mpfr.h M /trunk/src/out_raw.c M /trunk/src/urandom_gaussian.c M /trunk/tests/Makefile.am A /trunk/tests/tfrexp.c [src/frexp.c,tests/tfrexp.c] added new function mpfr_frexp [src/urandom_gaussian.c] fixed copyright line [src/out_raw.c] started writing code (work in progress, please continue if you are interested) ------------------------------------------------------------------------ r7371 | lfousse | 2011-01-14 22:11:44 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Document urandom_gaussian. ------------------------------------------------------------------------ r7370 | lfousse | 2011-01-14 22:10:58 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Include turandom_gaussian in tests. ------------------------------------------------------------------------ r7369 | lfousse | 2011-01-14 22:10:44 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: A /trunk/tests/turandom_gaussian.c [tests/turandom_gaussian.c] Add tests for urandom_gaussian. ------------------------------------------------------------------------ r7368 | vlefevre | 2011-01-14 19:54:38 +0000 (Fri, 14 Jan 2011) | 3 lines Changed paths: M /trunk/tests/tdiv.c [tests/tdiv.c] Added consistency tests between mpfr_div, mpfr_ui_div, mpfr_si_div, mpfr_div_ui and mpfr_div_si (check the ternary value, the flags and the result of the division). ------------------------------------------------------------------------ r7367 | vlefevre | 2011-01-14 19:52:06 +0000 (Fri, 14 Jan 2011) | 2 lines Changed paths: M /trunk/src/div_ui.c M /trunk/src/ui_div.c [src/ui_div.c] Fixed prototype formatting. [src/div_ui.c] Fixed prototype formatting. Set division-by-zero flag. ------------------------------------------------------------------------ r7366 | lfousse | 2011-01-14 17:46:07 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/src/urandom_gaussian.c [src/urandom_gaussian.c] Fix x -> xp, and scaling. ------------------------------------------------------------------------ r7365 | lfousse | 2011-01-14 17:15:32 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/src/urandom_gaussian.c [src/urandom_gaussian.c] Pick the signs of the outputs at random. ------------------------------------------------------------------------ r7364 | lfousse | 2011-01-14 16:52:35 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/src/urandom_gaussian.c [src/urandom_gaussian.c] Fix precision of temporary results. ------------------------------------------------------------------------ r7363 | lfousse | 2011-01-14 16:34:48 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/src/urandom_gaussian.c [src/urandom_gaussian.c] Add missing inits/clears. ------------------------------------------------------------------------ r7360 | lfousse | 2011-01-14 15:54:39 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Declare urandom_gaussian. ------------------------------------------------------------------------ r7359 | lfousse | 2011-01-14 15:54:38 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] Add urandom_gaussian.c to the sources. ------------------------------------------------------------------------ r7358 | lfousse | 2011-01-14 15:54:37 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: A /trunk/src/urandom_gaussian.c [src/urandom_gaussian] Start work on gaussian distribution. ------------------------------------------------------------------------ r7357 | vlefevre | 2011-01-14 15:49:37 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Fixed code introduced in r7346, again. ------------------------------------------------------------------------ r7356 | zimmerma | 2011-01-14 15:48:46 +0000 (Fri, 14 Jan 2011) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h M /trunk/src/sin_cos.c [sin_cos.c] moved macros to mpfr-impl.h, added README ------------------------------------------------------------------------ r7355 | zimmerma | 2011-01-14 15:40:49 +0000 (Fri, 14 Jan 2011) | 2 lines Changed paths: M /trunk/src/sin_cos.c [sin_cos.c] new inexact flags computed by mpfr_check_range were lost ------------------------------------------------------------------------ r7354 | vlefevre | 2011-01-14 15:28:45 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Fixed code introduced in r7346. ------------------------------------------------------------------------ r7353 | vlefevre | 2011-01-14 15:21:45 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/tools/coverage [tools/coverage] Update from Patrick. ------------------------------------------------------------------------ r7352 | vlefevre | 2011-01-14 15:10:42 +0000 (Fri, 14 Jan 2011) | 4 lines Changed paths: M /trunk/src/ui_div.c M /trunk/tests/tui_div.c [src/ui_div.c] Set the division-by-zero flag. [tests/tui_div.c] Updated and improved the test of special cases. Note: tpow_all currently fails since the support of the division-by-zero exception is not complete yet. ------------------------------------------------------------------------ r7351 | vlefevre | 2011-01-14 13:43:28 +0000 (Fri, 14 Jan 2011) | 3 lines Changed paths: M /trunk/src/div.c M /trunk/tests/td_div.c M /trunk/tests/tdiv.c [src/div.c] Set the division-by-zero flag. [tests/tdiv.c, tests/td_div.c] Updated and improved the test of special cases. ------------------------------------------------------------------------ r7348 | vlefevre | 2011-01-14 11:44:41 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/tests/tset.c [tests/tset.c] Tests didn't fail in case of error from PRINT_ERROR_IF. ------------------------------------------------------------------------ r7347 | vlefevre | 2011-01-14 11:37:11 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Added comments. ------------------------------------------------------------------------ r7346 | vlefevre | 2011-01-14 11:35:27 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/tests/tgeneric.c [tests/tgeneric.c] Check the division-by-zero flag. ------------------------------------------------------------------------ r7345 | vlefevre | 2011-01-14 11:10:43 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/tests/texceptions.c Improved tests/texceptions.c (mpfr_clear_*, mpfr_set_*). ------------------------------------------------------------------------ r7344 | vlefevre | 2011-01-14 11:03:30 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/src/exceptions.c M /trunk/src/mpfr-impl.h M /trunk/src/mpfr.h M /trunk/tests/texceptions.c Added support for the division-by-zero exception. ------------------------------------------------------------------------ r7343 | vlefevre | 2011-01-14 10:54:28 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/src/exceptions.c [src/exceptions.c] Fixed bad #undef's (with currently no consequences). ------------------------------------------------------------------------ r7342 | zimmerma | 2011-01-14 10:49:44 +0000 (Fri, 14 Jan 2011) | 3 lines Changed paths: M /trunk/TODO [TODO] removed item about inlined mpfr_neg: Patrick Pelissier tried it but it does not speed things ------------------------------------------------------------------------ r7341 | vlefevre | 2011-01-14 10:47:04 +0000 (Fri, 14 Jan 2011) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Removed an obsolete comment. ------------------------------------------------------------------------ r7338 | lfousse | 2011-01-13 18:39:57 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/src/atan2.c [src/atan2.c] "Exact" division can be inexact because of the exponent range. ------------------------------------------------------------------------ r7337 | zimmerma | 2011-01-13 18:14:26 +0000 (Thu, 13 Jan 2011) | 2 lines Changed paths: M /trunk/src/out_raw.c [out_raw.c] exchanged bits for precision and exponent ------------------------------------------------------------------------ r7336 | zimmerma | 2011-01-13 18:13:39 +0000 (Thu, 13 Jan 2011) | 2 lines Changed paths: A /trunk/src/out_raw.c [out_raw.c] first proposal for external format ------------------------------------------------------------------------ r7334 | vlefevre | 2011-01-13 17:05:35 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] MPFR_IS_POWER_OF_2: added parentheses. ------------------------------------------------------------------------ r7333 | lfousse | 2011-01-13 16:24:48 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/tests/tatan.c Add tests for special case of atan2 (x power of 2). ------------------------------------------------------------------------ r7332 | lfousse | 2011-01-13 16:24:41 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/src/atan2.c Add special case for atan2(x,y) when x is a power of 2. ------------------------------------------------------------------------ r7331 | lfousse | 2011-01-13 16:24:35 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/src/mpfr-impl.h New macro MPFR_IS_POWER_OF_2. ------------------------------------------------------------------------ r7329 | vlefevre | 2011-01-13 16:20:48 +0000 (Thu, 13 Jan 2011) | 3 lines Changed paths: M /trunk/INSTALL M /trunk/NEWS M /trunk/acinclude.m4 M /trunk/configure.ac TLS support is now detected automatically. If TLS is supported, MPFR is built as thread safe by default. To disable TLS explicitly, configure MPFR with --disable-thread-safe. ------------------------------------------------------------------------ r7328 | lfousse | 2011-01-13 15:50:37 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/tests/tai.c Add tests for mpfr_ai special case x=0. ------------------------------------------------------------------------ r7327 | lfousse | 2011-01-13 15:50:30 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/src/ai.c Add special case for x=0 in mpfr_ai1. ------------------------------------------------------------------------ r7325 | zimmerma | 2011-01-13 15:38:23 +0000 (Thu, 13 Jan 2011) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [algorithms.tex] extended Lemma 2 to the case of terms of the form 1/(1+delta) ------------------------------------------------------------------------ r7323 | vlefevre | 2011-01-13 15:27:13 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tprintf.c M /trunk/tests/tset_sj.c M /trunk/tests/tsprintf.c M /trunk/tests/tstdint.c M /trunk/tests/tvalist.c tests: return 77 for skipped tests (see GNU Automake manual). ------------------------------------------------------------------------ r7322 | vlefevre | 2011-01-13 15:20:24 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r7321 | vlefevre | 2011-01-13 15:19:32 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/TODO TODO update after r7317 and r7320. ------------------------------------------------------------------------ r7320 | vlefevre | 2011-01-13 15:17:16 +0000 (Thu, 13 Jan 2011) | 3 lines Changed paths: M /trunk/src/mpfr.h M /trunk/tests/Makefile.am A /trunk/tests/tvalist.c Support multiple inclusions of mpfr.h w.r.t. and (MPFR_USE_FILE and/or MPFR_USE_VA_LIST are needed until GMP is fixed). Added test "tests/tvalist.c". ------------------------------------------------------------------------ r7319 | zimmerma | 2011-01-13 14:46:07 +0000 (Thu, 13 Jan 2011) | 2 lines Changed paths: M /trunk/src/mpfr-longlong.h [src/mpfr-longlong.h] idem as previous commit for other 2 FIXME's ------------------------------------------------------------------------ r7318 | zimmerma | 2011-01-13 14:43:29 +0000 (Thu, 13 Jan 2011) | 2 lines Changed paths: M /trunk/src/mpfr-longlong.h [mpfr-longlong.h] resolved one FIXME, by adding a new one :-) ------------------------------------------------------------------------ r7317 | vlefevre | 2011-01-13 14:42:53 +0000 (Thu, 13 Jan 2011) | 1 line Changed paths: M /trunk/src/mpfr.h M /trunk/tests/Makefile.am Support multiple inclusions of mpfr.h w.r.t. / . ------------------------------------------------------------------------ r7314 | zimmerma | 2011-01-06 16:53:07 +0000 (Thu, 06 Jan 2011) | 2 lines Changed paths: M /trunk/tools/mbench/mfv5-mpfr.cc M /trunk/tools/mbench/mfv5.cc M /trunk/tools/mbench/mfv5.h another patch from Patrick Pelissier to test get_ld (with export of data used) ------------------------------------------------------------------------ r7313 | zimmerma | 2011-01-06 16:44:13 +0000 (Thu, 06 Jan 2011) | 6 lines Changed paths: M /trunk/tools/mbench/Makefile M /trunk/tools/mbench/timp.h patch from Patrick Pelissier to use clock_getime instead of rdtsc (use "make rt" instead of "make") References: https://stackoverflow.com/questions/3388134/rdtsc-accuracy-across-cpu-cores https://en.wikipedia.org/wiki/Time_Stamp_Counter ------------------------------------------------------------------------ r7312 | vlefevre | 2010-12-25 17:24:58 +0000 (Sat, 25 Dec 2010) | 1 line Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Updated a comment about the last change. ------------------------------------------------------------------------ r7311 | vlefevre | 2010-12-25 17:08:16 +0000 (Sat, 25 Dec 2010) | 1 line Changed paths: M /trunk/src/get_ld.c [src/get_ld.c] Minor performance improvement. ------------------------------------------------------------------------ r7310 | vlefevre | 2010-12-19 02:00:52 +0000 (Sun, 19 Dec 2010) | 2 lines Changed paths: M /trunk/tools/mbench/Makefile [tools/mbench/Makefile] Update due to source reorganization (r7087): patch from Patrick Pelissier. ------------------------------------------------------------------------ r7309 | vlefevre | 2010-12-17 16:29:47 +0000 (Fri, 17 Dec 2010) | 1 line Changed paths: M /trunk/TODO [TODO] Update (exp-int branch, internal macro). ------------------------------------------------------------------------ r7308 | vlefevre | 2010-12-17 16:22:37 +0000 (Fri, 17 Dec 2010) | 1 line Changed paths: M /trunk/src/sin.c [src/sin.c] Fixed failure in debug mode (missing MPFR_IS_ZERO test). ------------------------------------------------------------------------ r7307 | vlefevre | 2010-12-17 16:08:54 +0000 (Fri, 17 Dec 2010) | 1 line Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] Improved comment. ------------------------------------------------------------------------ r7305 | zimmerma | 2010-12-17 15:54:55 +0000 (Fri, 17 Dec 2010) | 2 lines Changed paths: M /trunk/src/rec_sqrt.c [rec_sqrt.c] put back some information lost in commit 7302 ------------------------------------------------------------------------ r7304 | vlefevre | 2010-12-17 15:31:24 +0000 (Fri, 17 Dec 2010) | 1 line Changed paths: M /trunk/src/cmp2.c [src/cmp2.c] Corrected a comment. ------------------------------------------------------------------------ r7303 | vlefevre | 2010-12-17 15:25:04 +0000 (Fri, 17 Dec 2010) | 1 line Changed paths: M /trunk/src/cos.c M /trunk/src/sin.c M /trunk/src/zeta.c Replaced some MPFR_EXP by MPFR_GET_EXP. ------------------------------------------------------------------------ r7302 | vlefevre | 2010-12-17 13:15:46 +0000 (Fri, 17 Dec 2010) | 1 line Changed paths: M /trunk/src/rec_sqrt.c [src/rec_sqrt.c] Removed a variable that was used only once. ------------------------------------------------------------------------ r7301 | vlefevre | 2010-12-17 11:40:51 +0000 (Fri, 17 Dec 2010) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Changed comment for mpfrlint. ------------------------------------------------------------------------ r7300 | vlefevre | 2010-12-17 11:38:36 +0000 (Fri, 17 Dec 2010) | 2 lines Changed paths: M /trunk/src/add1.c M /trunk/src/add1sp.c M /trunk/src/div.c M /trunk/src/div_ui.c M /trunk/src/get_str.c M /trunk/src/mpfr-impl.h M /trunk/src/mpn_exp.c M /trunk/src/mul.c M /trunk/src/mul_ui.c M /trunk/src/mulders.c M /trunk/src/rec_sqrt.c M /trunk/src/round_prec.c M /trunk/src/set_f.c M /trunk/src/sqr.c M /trunk/src/sqrt.c M /trunk/src/strtofr.c M /trunk/src/sub1.c M /trunk/src/sub1sp.c M /trunk/tools/mpfrlint Added MPFR_TMP_LIMBS_ALLOC macro and updated the source to use it. tools/mpfrlint: check its use instead of MPFR_TMP_ALLOC. ------------------------------------------------------------------------ r7299 | vlefevre | 2010-12-17 11:31:08 +0000 (Fri, 17 Dec 2010) | 1 line Changed paths: M /trunk/src/sum.c [src/sum.c] Improved readability. ------------------------------------------------------------------------ r7298 | vlefevre | 2010-12-17 09:40:03 +0000 (Fri, 17 Dec 2010) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Formatting. ------------------------------------------------------------------------ r7297 | vlefevre | 2010-12-14 14:36:06 +0000 (Tue, 14 Dec 2010) | 1 line Changed paths: M /trunk/TODO [TODO] Added year on a date (the item was added on 2007-07-28 in r4707). ------------------------------------------------------------------------ r7296 | vlefevre | 2010-12-13 00:02:38 +0000 (Mon, 13 Dec 2010) | 2 lines Changed paths: M /trunk/src Added configure.lineno (generated by configure) to the svn:ignore property of the src directory. ------------------------------------------------------------------------ r7295 | vlefevre | 2010-12-12 23:39:43 +0000 (Sun, 12 Dec 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] Update concerning the --with-gmp-build configure option. ------------------------------------------------------------------------ r7294 | vlefevre | 2010-12-12 23:36:38 +0000 (Sun, 12 Dec 2010) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Corrected a typo from r7293. ------------------------------------------------------------------------ r7293 | vlefevre | 2010-12-12 23:35:04 +0000 (Sun, 12 Dec 2010) | 2 lines Changed paths: M /trunk/INSTALL Updated INSTALL file after the recent changes in configure.ac concerning the --with-gmp-build configure option. ------------------------------------------------------------------------ r7292 | vlefevre | 2010-12-12 23:29:50 +0000 (Sun, 12 Dec 2010) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] With --with-gmp-build, do not duplicate the include search paths if the GMP source and build directories are the same. ------------------------------------------------------------------------ r7291 | vlefevre | 2010-12-12 22:31:51 +0000 (Sun, 12 Dec 2010) | 3 lines Changed paths: M /trunk/configure.ac [configure.ac] Fixed another bug in r7289. This new version now seems to work with GMP's srcdir pointing to a relative directory or to an absolute one. ------------------------------------------------------------------------ r7290 | vlefevre | 2010-12-12 22:28:53 +0000 (Sun, 12 Dec 2010) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Fixed bug in r7289. ------------------------------------------------------------------------ r7289 | vlefevre | 2010-12-12 22:17:16 +0000 (Sun, 12 Dec 2010) | 1 line Changed paths: M /trunk/configure.ac [configure.ac] Corrected Patrick Pelissier's patch (not tested). ------------------------------------------------------------------------ r7288 | zimmerma | 2010-12-12 20:47:23 +0000 (Sun, 12 Dec 2010) | 4 lines Changed paths: M /trunk/configure.ac [configure.ac] patch from Patrick Pelissier to solve the problem with --with-gmp-build when the GMP build directory and the GMP source directory differ ------------------------------------------------------------------------ r7287 | vlefevre | 2010-12-12 11:02:00 +0000 (Sun, 12 Dec 2010) | 2 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] tversion is also run at the end (after a discussion with Patrick and Paul). ------------------------------------------------------------------------ r7286 | vlefevre | 2010-12-12 09:55:44 +0000 (Sun, 12 Dec 2010) | 4 lines Changed paths: M /trunk/configure.ac [configure.ac] Fixed two problems with --with-gmp-build: * "grep -w" isn't POSIX (an error shouldn't matter with recent GMP versions, as CFLAGS and CC would then be retrieved from gmp.h). * "sed" was used instead of "$SED". ------------------------------------------------------------------------ r7279 | vlefevre | 2010-12-07 13:59:45 +0000 (Tue, 07 Dec 2010) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Added a section "If 'gmp.h' and 'libgmp' do not match". ------------------------------------------------------------------------ r7278 | vlefevre | 2010-12-07 12:51:14 +0000 (Tue, 07 Dec 2010) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Improved warning message in case of unmatched 'gmp.h' and 'libgmp'. ------------------------------------------------------------------------ r7277 | vlefevre | 2010-12-07 11:41:09 +0000 (Tue, 07 Dec 2010) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Update concerning "configure". ------------------------------------------------------------------------ r7276 | zimmerma | 2010-12-06 20:54:14 +0000 (Mon, 06 Dec 2010) | 2 lines Changed paths: M /trunk/NEWS [NEWS] fixed news for 3.0.0 ------------------------------------------------------------------------ r7275 | vlefevre | 2010-12-03 08:55:24 +0000 (Fri, 03 Dec 2010) | 3 lines Changed paths: M /trunk/tests/tversion.c [tests/tversion.c] Now fail if the versions of gmp.h and libgmp do not match (error message improved); previously, the warning could remain unnoticed, in particular with automatic installations. ------------------------------------------------------------------------ r7274 | schevill | 2010-11-30 16:41:38 +0000 (Tue, 30 Nov 2010) | 3 lines Changed paths: A /trunk/tools/metaMPFR A /trunk/tools/metaMPFR/metaMPFR_common.mpl A /trunk/tools/metaMPFR/metaMPFR_straightforwardAlgo.mpl A /trunk/tools/metaMPFR/metaMPFR_tests.mpl Added metaMPFR in the tools directory of MPFR. ------------------------------------------------------------------------ r7273 | vlefevre | 2010-11-29 15:35:52 +0000 (Mon, 29 Nov 2010) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Defined MPFR_DEPRECATED to mark MPFR functions, types or variables as deprecated. ------------------------------------------------------------------------ r7272 | vlefevre | 2010-11-25 07:52:24 +0000 (Thu, 25 Nov 2010) | 1 line Changed paths: M /trunk/tests/tui_pow.c [tests/tui_pow.c] Updated a comment. ------------------------------------------------------------------------ r7271 | vlefevre | 2010-11-23 08:28:00 +0000 (Tue, 23 Nov 2010) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Support BSD sed. ------------------------------------------------------------------------ r7270 | vlefevre | 2010-11-19 08:53:09 +0000 (Fri, 19 Nov 2010) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Detect the use of __mpfr_struct structure members in .c files. ------------------------------------------------------------------------ r7269 | vlefevre | 2010-11-19 08:46:38 +0000 (Fri, 19 Nov 2010) | 1 line Changed paths: M /trunk/src/min_prec.c [src/min_prec.c] Replaced x->_mpfr_d by MPFR_MANT(x). ------------------------------------------------------------------------ r7268 | vlefevre | 2010-11-18 23:41:50 +0000 (Thu, 18 Nov 2010) | 2 lines Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Commented out the declaration of mpfr_round_raw_3 (since this function is no longer defined). ------------------------------------------------------------------------ r7267 | vlefevre | 2010-11-18 23:20:59 +0000 (Thu, 18 Nov 2010) | 2 lines Changed paths: M /trunk/src/min_prec.c [src/min_prec.c] Major simplification of mpfr_min_prec by using mpn_scan1 (suggestion by Andreas Enge). ------------------------------------------------------------------------ r7266 | vlefevre | 2010-11-15 15:20:03 +0000 (Mon, 15 Nov 2010) | 1 line Changed paths: M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added a comment about mpn_sqr_n. ------------------------------------------------------------------------ r7265 | zimmerma | 2010-11-15 13:56:51 +0000 (Mon, 15 Nov 2010) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [algorithms.tex] replaced reference to Graillat05 by earlier one (Higham02) ------------------------------------------------------------------------ r7263 | vlefevre | 2010-11-12 11:38:42 +0000 (Fri, 12 Nov 2010) | 1 line Changed paths: M /trunk/tools/nightly-test [tools/nightly-test] Added a comment about the use of -pedantic-errors. ------------------------------------------------------------------------ r7262 | vlefevre | 2010-11-10 23:17:02 +0000 (Wed, 10 Nov 2010) | 1 line Changed paths: M /trunk/src/sub1.c [src/sub1.c] Minor simplification. ------------------------------------------------------------------------ r7261 | vlefevre | 2010-11-10 22:48:27 +0000 (Wed, 10 Nov 2010) | 1 line Changed paths: M /trunk/tests/tpow.c [tests/tpow.c] Avoid warnings if mpfr_exp_t < long. ------------------------------------------------------------------------ r7260 | zimmerma | 2010-11-10 20:17:17 +0000 (Wed, 10 Nov 2010) | 3 lines Changed paths: M /trunk/src/mul.c [mul.c] fixed bug introduced in revision 7183, and reported by Brian Gladman on Windows, where mpfr_exp_t has 32 bits and mp_limb_t has 64 bits ------------------------------------------------------------------------ r7257 | vlefevre | 2010-11-09 14:24:34 +0000 (Tue, 09 Nov 2010) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Use only mpfr_* types in __MPFR_EXP_* macro definitions (should have been done in r7236). ------------------------------------------------------------------------ r7255 | vlefevre | 2010-11-09 13:43:29 +0000 (Tue, 09 Nov 2010) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Changed a "void" into a "mpfr_void" in a macro definition (should have been done in r7236). ------------------------------------------------------------------------ r7254 | vlefevre | 2010-11-09 12:37:23 +0000 (Tue, 09 Nov 2010) | 1 line Changed paths: M /trunk/tests/tset_si.c [tests/tset_si.c] Added testcase for problem fixed in r7236. ------------------------------------------------------------------------ r7251 | vlefevre | 2010-11-08 13:22:04 +0000 (Mon, 08 Nov 2010) | 3 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Removed some useless casts that where added in r7121 and r7236 (such casts prevented the compiler from emitting diagnostics in incorrect calls). ------------------------------------------------------------------------ r7250 | vlefevre | 2010-11-08 12:55:16 +0000 (Mon, 08 Nov 2010) | 1 line Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Added a comment (warning about LOADLIBES). ------------------------------------------------------------------------ r7247 | zimmerma | 2010-10-25 13:53:16 +0000 (Mon, 25 Oct 2010) | 2 lines Changed paths: M /trunk/tests/taway.c [taway.c] reduced time of the test ------------------------------------------------------------------------ r7246 | vlefevre | 2010-10-25 10:00:45 +0000 (Mon, 25 Oct 2010) | 1 line Changed paths: M /trunk/INSTALL M /trunk/NEWS Mentioned --enable-gmp-internals in INSTALL and NEWS. ------------------------------------------------------------------------ r7244 | vlefevre | 2010-10-24 13:27:47 +0000 (Sun, 24 Oct 2010) | 1 line Changed paths: M /trunk/tests/taway.c [tests/taway.c] Added a FIXME (test is too long on old machines). ------------------------------------------------------------------------ r7243 | vlefevre | 2010-10-24 12:41:01 +0000 (Sun, 24 Oct 2010) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Corrected comment for PowerPC. ------------------------------------------------------------------------ r7242 | zimmerma | 2010-10-24 08:01:49 +0000 (Sun, 24 Oct 2010) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/Makefile.am A /trunk/src/hppa A /trunk/src/hppa/mparam.h M /trunk/src/mparam_h.in added tuning parameters for HPPA (on HP-UX machine kindly provided by David Kirkby) ------------------------------------------------------------------------ r7241 | zimmerma | 2010-10-23 16:45:32 +0000 (Sat, 23 Oct 2010) | 2 lines Changed paths: M /trunk/src/powerpc32/mparam.h [powerpc32/mparam.h] added more info on processor and operating system used ------------------------------------------------------------------------ r7240 | zimmerma | 2010-10-23 09:18:12 +0000 (Sat, 23 Oct 2010) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/src/Makefile.am M /trunk/src/mparam_h.in needed stuff to use src/powerpc32/mparam.h file (note that long double is IEEE double on PowerPC32) ------------------------------------------------------------------------ r7239 | zimmerma | 2010-10-23 09:07:33 +0000 (Sat, 23 Oct 2010) | 2 lines Changed paths: A /trunk/src/powerpc32 A /trunk/src/powerpc32/mparam.h [powerpc32/mparam.h] param file for powerpc32 (made on PowerPC 604 under AIX) ------------------------------------------------------------------------ r7238 | zimmerma | 2010-10-22 14:54:43 +0000 (Fri, 22 Oct 2010) | 5 lines Changed paths: M /trunk/tune/tuneup.c [tuneup.c] added cast from time_t to long, after warning under HP-UX: tuneup.c:1131: warning: format '%ld' expects type 'long int', but argument 3 has type 'time_t' tuneup.c:1133: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t' (I don't know if it is because time_t is unsigned, or has a different width) ------------------------------------------------------------------------ r7237 | vlefevre | 2010-10-22 13:30:50 +0000 (Fri, 22 Oct 2010) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Added a space. ------------------------------------------------------------------------ r7236 | vlefevre | 2010-10-22 13:27:59 +0000 (Fri, 22 Oct 2010) | 3 lines Changed paths: M /trunk/doc/mpfr.texi M /trunk/src/mpfr.h [src/mpfr.h] Avoid some problems with macro expansion if the user defines macros with the same name as keywords. [doc/mpfr.texi] Document the use of macros. ------------------------------------------------------------------------ r7235 | schevill | 2010-10-22 10:10:37 +0000 (Fri, 22 Oct 2010) | 3 lines Changed paths: M /trunk/src/Makefile.am Included the new /arch/mparam.h files into the dist. ------------------------------------------------------------------------ r7231 | schevill | 2010-10-20 16:08:04 +0000 (Wed, 20 Oct 2010) | 6 lines Changed paths: M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/ia64/mparam.h M /trunk/src/mparam_h.in M /trunk/src/powerpc64/mparam.h M /trunk/src/sparc64/mparam.h M /trunk/src/x86/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/pentium4/mparam.h M /trunk/tune/tuneup.c Cosmetic change: the constant MPFR_TUNE_CASE is now defined in mparam_h.in. Hence the files src/some-architecture/mparam.h are now simply obtained by performing 'make tune' on some architecture and copying the resulting src/mparam.h to src/some-architecture/mparam.h. ------------------------------------------------------------------------ r7230 | schevill | 2010-10-20 13:16:51 +0000 (Wed, 20 Oct 2010) | 3 lines Changed paths: M /trunk/tune/tuneup.c Typo. ------------------------------------------------------------------------ r7229 | schevill | 2010-10-20 11:40:52 +0000 (Wed, 20 Oct 2010) | 3 lines Changed paths: M /trunk/src/amd/athlon/mparam.h M /trunk/src/amd/k8/mparam.h M /trunk/src/arm/mparam.h M /trunk/src/ia64/mparam.h M /trunk/src/mparam_h.in M /trunk/src/powerpc64/mparam.h M /trunk/src/sparc64/mparam.h M /trunk/src/x86/core2/mparam.h M /trunk/src/x86/mparam.h M /trunk/src/x86_64/core2/mparam.h M /trunk/src/x86_64/pentium4/mparam.h M /trunk/tune/tuneup.c Up-to-date thresholds. ------------------------------------------------------------------------ r7228 | vlefevre | 2010-10-20 01:23:23 +0000 (Wed, 20 Oct 2010) | 1 line Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] mp_prec_t -> mpfr_prec_t ------------------------------------------------------------------------ r7227 | vlefevre | 2010-10-20 01:22:38 +0000 (Wed, 20 Oct 2010) | 1 line Changed paths: M /trunk/src/sub1.c [src/sub1.c] Removed trailing spaces. ------------------------------------------------------------------------ r7226 | vlefevre | 2010-10-19 16:21:41 +0000 (Tue, 19 Oct 2010) | 3 lines Changed paths: M /trunk/tests/tcan_round.c M /trunk/tests/tget_str.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsprintf.c [tests/*.c] Support the case where mpfr_exp_t is not a long int (but with such a future extension, one should probably provide a MPFR_PRIexp macro, similar to what does). ------------------------------------------------------------------------ r7225 | vlefevre | 2010-10-19 15:56:24 +0000 (Tue, 19 Oct 2010) | 1 line Changed paths: M /trunk/tests/texceptions.c [tests/texceptions.c] Added casts, in case mpfr_exp_t is not a long int. ------------------------------------------------------------------------ r7224 | zimmerma | 2010-10-19 15:03:32 +0000 (Tue, 19 Oct 2010) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] replaced hexadecimal long double constants by decimal constants ------------------------------------------------------------------------ r7223 | vlefevre | 2010-10-19 14:43:12 +0000 (Tue, 19 Oct 2010) | 1 line Changed paths: M /trunk/tests/tset_ld.c [tests/tset_ld.c] Added a FIXME for r7222 change. ------------------------------------------------------------------------ r7222 | zimmerma | 2010-10-19 14:22:09 +0000 (Tue, 19 Oct 2010) | 3 lines Changed paths: M /trunk/src/set_ld.c M /trunk/tests/tset_ld.c [set_ld.c] fixed bug #11300 on bug tracker [tset_ld.c] added corresponding tests ------------------------------------------------------------------------ r7221 | zimmerma | 2010-10-19 12:24:21 +0000 (Tue, 19 Oct 2010) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [algorithms.tex] modified proof of mpfr_sub in accordance with source code ------------------------------------------------------------------------ r7220 | zimmerma | 2010-10-19 12:06:00 +0000 (Tue, 19 Oct 2010) | 13 lines Changed paths: A /trunk/doc/sub_tree.pdf this is a tree of all possible cases that can happen for rounding in mpfr_sub (file sub1.c) for rounding to nearest. The nodes at depth 1 of the tree correspond to the 3 possible cases before rounding: (1) sh=0, (2) sh>0 and the low sh bits are 1/2 ulp, (3) sh>0 and the low sh bits are 0. The nodes at depth 2 represent the possible subcases for k=0 in the rounding loop. The nodes at depth 3 represent the possible subcases for k=1 in the rounding loop. ------------------------------------------------------------------------ r7219 | zimmerma | 2010-10-19 11:12:07 +0000 (Tue, 19 Oct 2010) | 7 lines Changed paths: M /trunk/src/sub1.c M /trunk/tests/tsub.c [src/sub1.c] fixed another remaining issue in case 1d1 (case sh=0, i.e., the result uses a full number of limbs, the first neglected limbs of b and c match, and for the next limbs, low(b) > low(c)). This case was incorrectly rounded up (add_one_ulp). [tests/tsub.c] added more test cases ------------------------------------------------------------------------ r7218 | zimmerma | 2010-10-19 11:06:38 +0000 (Tue, 19 Oct 2010) | 2 lines Changed paths: M /trunk/tests/tgmpop.c [tgmpop.c] in case of error, print mpz_t in decimal instead of binary ------------------------------------------------------------------------ r7217 | zimmerma | 2010-10-19 06:36:56 +0000 (Tue, 19 Oct 2010) | 3 lines Changed paths: M /trunk/tune/tuneup.c [tuneup.c] increase maximal number of calls to speed_measure from 5 to 30 (seems to solve problems on gcc15) ------------------------------------------------------------------------ r7215 | vlefevre | 2010-10-18 23:51:35 +0000 (Mon, 18 Oct 2010) | 3 lines Changed paths: M /trunk/tests/tcan_round.c [tests/tcan_round.c] Removed an incorrect cast, fixing a bug (in the test) that was producing a failure for GMP_CHECK_RANDOMIZE=1287710095 on 64-bit machines (visible since mpfr_prec_t is now signed). ------------------------------------------------------------------------ r7214 | vlefevre | 2010-10-18 22:21:33 +0000 (Mon, 18 Oct 2010) | 1 line Changed paths: M /trunk/src/sub1.c [src/sub1.c] Removed trailing whitespace. ------------------------------------------------------------------------ r7213 | zimmerma | 2010-10-18 21:02:22 +0000 (Mon, 18 Oct 2010) | 4 lines Changed paths: M /trunk/src/sub1.c M /trunk/tests/tfma.c M /trunk/tests/tsub.c [sub1.c] previous fix was not incorrect (but strangely our tests cases did not exhibit that) [tfma.c] added more test cases from Jakub Jelinek ------------------------------------------------------------------------ r7212 | zimmerma | 2010-10-18 18:54:56 +0000 (Mon, 18 Oct 2010) | 2 lines Changed paths: M /trunk/src/sub1.c [sub1.c] fixed bug found by Jakub Jelinek (#11301 on tracker) ------------------------------------------------------------------------ r7211 | vlefevre | 2010-10-18 17:17:11 +0000 (Mon, 18 Oct 2010) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7209 | vlefevre | 2010-10-18 16:16:39 +0000 (Mon, 18 Oct 2010) | 1 line Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Fixed inex test in bug20101017. ------------------------------------------------------------------------ r7208 | schevill | 2010-10-18 14:14:49 +0000 (Mon, 18 Oct 2010) | 9 lines Changed paths: M /trunk/INSTALL Mention the warning message displayed by gcc when the ABI of gcc and MPFR differ. Note: the message does not automatically imply the problem; however, if the message appears, the ABI somehow differ, so it is worth mentioning it. Users might look for the message in INSTALL in order to see if their problem is mentioned. ------------------------------------------------------------------------ r7206 | zimmerma | 2010-10-18 13:01:12 +0000 (Mon, 18 Oct 2010) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added "Notes about ABI" section ------------------------------------------------------------------------ r7205 | vlefevre | 2010-10-18 12:18:11 +0000 (Mon, 18 Oct 2010) | 1 line Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Updated comment of bug20101017. ------------------------------------------------------------------------ r7204 | vlefevre | 2010-10-18 11:59:39 +0000 (Mon, 18 Oct 2010) | 2 lines Changed paths: M /trunk/tests/tsub.c [tests/tsub.c] Added testcase for bug found by Jakub Jelinek (bug 11301 on INRIAGforge). ------------------------------------------------------------------------ r7203 | zimmerma | 2010-10-18 09:41:37 +0000 (Mon, 18 Oct 2010) | 2 lines Changed paths: M /trunk/tune/tuneup.c [tuneup.c] print size when speed_measure fails ------------------------------------------------------------------------ r7202 | zimmerma | 2010-10-17 19:33:37 +0000 (Sun, 17 Oct 2010) | 3 lines Changed paths: M /trunk/doc/mpfr.texi [mpfr.texi] added that the 'N' mode rounds ties to even in the mpfr*printf functions ------------------------------------------------------------------------ r7201 | schevill | 2010-10-15 15:18:18 +0000 (Fri, 15 Oct 2010) | 4 lines Changed paths: A /trunk/src/amd A /trunk/src/amd/athlon A /trunk/src/amd/athlon/mparam.h A /trunk/src/amd/k8 A /trunk/src/amd/k8/mparam.h A /trunk/src/arm A /trunk/src/arm/mparam.h M /trunk/src/buildopt.c A /trunk/src/generic A /trunk/src/generic/mparam.h A /trunk/src/ia64 A /trunk/src/ia64/mparam.h M /trunk/src/mparam_h.in M /trunk/src/mpfr.h A /trunk/src/powerpc64 A /trunk/src/powerpc64/mparam.h A /trunk/src/sparc64 A /trunk/src/sparc64/mparam.h A /trunk/src/x86 A /trunk/src/x86/core2 A /trunk/src/x86/core2/mparam.h A /trunk/src/x86/mparam.h A /trunk/src/x86_64 A /trunk/src/x86_64/core2 A /trunk/src/x86_64/core2/mparam.h A /trunk/src/x86_64/pentium4 A /trunk/src/x86_64/pentium4/mparam.h M /trunk/tune/tuneup.c Reorganized mparam_h.in in separate files. Added mpfr_buildopt_tune_case function. ------------------------------------------------------------------------ r7200 | schevill | 2010-10-14 15:31:16 +0000 (Thu, 14 Oct 2010) | 3 lines Changed paths: M /trunk/tune/tuneup.c Modified the number of iterations in the loop of mpfr_speed_measure. ------------------------------------------------------------------------ r7199 | zimmerma | 2010-10-14 10:55:09 +0000 (Thu, 14 Oct 2010) | 4 lines Changed paths: M /trunk/tune/tuneup.c [tuneup.c] new function mpfr_speed_measure, which calls speed_measure() several times (currently 30) until there is no failure. In case all 30 calls fail, give some hints to the user. ------------------------------------------------------------------------ r7198 | zimmerma | 2010-10-13 19:58:28 +0000 (Wed, 13 Oct 2010) | 5 lines Changed paths: M /trunk/tune/tuneup.c [tuneup.c] try again when speed_measure returns -1.0 (i.e. fails) also check return value of speed_measure in all cases (was not done for mulhigh, sqrhigh and divhigh, reported by Sylvain Chevillard) ------------------------------------------------------------------------ r7197 | schevill | 2010-10-12 15:39:21 +0000 (Tue, 12 Oct 2010) | 3 lines Changed paths: M /trunk/tune/tuneup.c Small indication explaining what is the negative threshold for Ai. ------------------------------------------------------------------------ r7196 | vlefevre | 2010-10-10 20:48:51 +0000 (Sun, 10 Oct 2010) | 4 lines Changed paths: M /trunk/src/add1.c M /trunk/src/mpfr-impl.h [src/mpfr-impl.h] Added MPFR_UEXP macro to check (in debug mode) that a value is nonnegative before a cast to mpfr_uexp_t. [src/add1.c] Use the MPFR_UEXP macro to make sure that the avoided warning doesn't hide a real bug. ------------------------------------------------------------------------ r7195 | zimmerma | 2010-10-10 17:28:05 +0000 (Sun, 10 Oct 2010) | 2 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/reuse.c M /trunk/tests/taway.c M /trunk/tests/tests.c M /trunk/tests/tfma.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tget_str.c M /trunk/tests/tpow_all.c M /trunk/tests/tprintf.c M /trunk/tests/trint.c M /trunk/tests/tsprintf.c avoid several compiler warnings with g++ ------------------------------------------------------------------------ r7194 | zimmerma | 2010-10-10 17:00:18 +0000 (Sun, 10 Oct 2010) | 2 lines Changed paths: M /trunk/tools/nightly-test [nightly-test] added -Wno-sign-compare for g++, to avoid spurious warnings ------------------------------------------------------------------------ r7193 | zimmerma | 2010-10-10 09:04:53 +0000 (Sun, 10 Oct 2010) | 2 lines Changed paths: M /trunk/tools/nightly-test [nightly-test] do not use -Wmissing-prototypes for g++ ------------------------------------------------------------------------ r7192 | zimmerma | 2010-10-10 08:54:37 +0000 (Sun, 10 Oct 2010) | 2 lines Changed paths: M /trunk/src/add1.c [add1.c] fixed compiler warning (from g++) ------------------------------------------------------------------------ r7191 | zimmerma | 2010-10-08 18:29:16 +0000 (Fri, 08 Oct 2010) | 2 lines Changed paths: M /trunk/src/mulders.c [src/mulders.c] fixed comment ------------------------------------------------------------------------ r7189 | zimmerma | 2010-10-03 07:39:44 +0000 (Sun, 03 Oct 2010) | 2 lines Changed paths: M /trunk/src/mulders.c M /trunk/src/sqrt.c [sqrt.c,mulders.c] added missing cast (detected by nightly builds with g++) ------------------------------------------------------------------------ r7188 | vlefevre | 2010-10-01 15:58:44 +0000 (Fri, 01 Oct 2010) | 1 line Changed paths: M /trunk/src/mulders.c [src/mulders.c] Untabified. ------------------------------------------------------------------------ r7187 | zimmerma | 2010-09-30 19:14:00 +0000 (Thu, 30 Sep 2010) | 3 lines Changed paths: M /trunk/src/mulders.c [src/mulders.c] fixed comments about error analysis in short product, and improved short division code ------------------------------------------------------------------------ r7186 | vlefevre | 2010-09-30 16:46:23 +0000 (Thu, 30 Sep 2010) | 1 line Changed paths: M /trunk/src/mparam_h.in M /trunk/src/mpfr-gmp.h M /trunk/src/mul.c M /trunk/tune/tuneup.c Removed trailing spaces and untabified several files. ------------------------------------------------------------------------ r7185 | vlefevre | 2010-09-30 16:40:04 +0000 (Thu, 30 Sep 2010) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Added comments concerning the latest changes about mulhigh. ------------------------------------------------------------------------ r7184 | zimmerma | 2010-09-30 07:10:37 +0000 (Thu, 30 Sep 2010) | 2 lines Changed paths: M /trunk/src/mulders.c [src/mulders.c] removed leftover debug stuff ------------------------------------------------------------------------ r7183 | zimmerma | 2010-09-29 16:03:04 +0000 (Wed, 29 Sep 2010) | 11 lines Changed paths: M /trunk/src/mparam_h.in M /trunk/src/mpfr-impl.h M /trunk/src/mul.c M /trunk/src/mulders.c M /trunk/src/round_p.c M /trunk/src/sqrt.c M /trunk/tune/tuneup.c [src/mulders.c] added new function mpfr_divhigh_n() for short division (not used yet), fixed comments and added error analysis in mpfr_mulhigh_n() and mpfr_sqrhigh_n() [src/sqrt.c] fixed ill-placed MPFR_TMP_MARK [src/mparam_h.in] added default MPFR_DIVHIGH_TAB for mpfr_divhigh_n() [src/round_p.c] typo [src/mpfr-impl.h] added prototype for mpfr_divhigh_n [src/mul.c] added comment, simplified code [tune/tuneup.c] added tuning for mpfr_divhigh_n(), increased MAX_STEPS to get a better tuning (will take longer), set tolerance to 1.0 ------------------------------------------------------------------------ r7182 | zimmerma | 2010-09-29 13:15:33 +0000 (Wed, 29 Sep 2010) | 3 lines Changed paths: M /trunk/configure.ac M /trunk/src/mpfr-gmp.h M /trunk/src/sqrt.c added new option --enable-gmp-internals to use GMP undocumented function (at user's own risk). So far only mpn_rootrem is used in mpfr_sqrt. ------------------------------------------------------------------------ r7181 | zimmerma | 2010-09-29 10:07:00 +0000 (Wed, 29 Sep 2010) | 2 lines Changed paths: M /trunk/doc/README.dev M /trunk/src/mpfr-gmp.h M /trunk/src/sqrt.c [doc/README.dev] added comment about mpn_rootrem ------------------------------------------------------------------------ r7180 | vlefevre | 2010-09-28 23:09:34 +0000 (Tue, 28 Sep 2010) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] Added a FIXME note about incorrect use of an internal GMP symbol (__gmpn_rootrem). ------------------------------------------------------------------------ r7179 | zimmerma | 2010-09-28 15:40:36 +0000 (Tue, 28 Sep 2010) | 4 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] followup to previous commit: only compute an extra limb of the square root for rounding to nearest (for directed rounding, it suffices to know if the remainder is zero or not) ------------------------------------------------------------------------ r7178 | zimmerma | 2010-09-28 15:08:34 +0000 (Tue, 28 Sep 2010) | 5 lines Changed paths: M /trunk/NEWS M /trunk/configure.ac M /trunk/src/mpfr-gmp.h M /trunk/src/mpfr-impl.h M /trunk/src/sqrt.c M /trunk/tests/reuse.c [src/sqrt.c] now uses mpn_rootrem (if available) instead of mpn_sqrtrem since mpn_rootrem is faster. Also refactored the code: now compute one more limb of the square root when the target precision is a multiple of GMP_NUMB_LIMB. This greatly simplifies the code. ------------------------------------------------------------------------ r7177 | zimmerma | 2010-09-28 11:40:08 +0000 (Tue, 28 Sep 2010) | 2 lines Changed paths: M /trunk/src/sqrt.c [src/sqrt.c] simplified computation of sticky bit ------------------------------------------------------------------------ r7176 | zimmerma | 2010-09-27 11:34:08 +0000 (Mon, 27 Sep 2010) | 2 lines Changed paths: M /trunk/src/mulders.c [mulders.c] fixed typo ------------------------------------------------------------------------ r7175 | vlefevre | 2010-09-27 10:25:08 +0000 (Mon, 27 Sep 2010) | 2 lines Changed paths: M /trunk/src/mulders.c [src/mulders.c] Replaced MPFR_ASSERTD with constant expression by MPFR_ASSERTN. ------------------------------------------------------------------------ r7174 | vlefevre | 2010-09-27 10:21:17 +0000 (Mon, 27 Sep 2010) | 2 lines Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Added a test: Constant checking should use MPFR_ASSERTN, not MPFR_ASSERTD. ------------------------------------------------------------------------ r7173 | zimmerma | 2010-09-27 08:17:11 +0000 (Mon, 27 Sep 2010) | 2 lines Changed paths: M /trunk/src/mulders.c [mulders.c] modified mpfr_sqrhigh_n threshold so that it is > n/2 ------------------------------------------------------------------------ r7172 | vlefevre | 2010-09-27 00:54:13 +0000 (Mon, 27 Sep 2010) | 1 line Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Added a FIXME concerning autoconf 2.68. ------------------------------------------------------------------------ r7171 | zimmerma | 2010-09-25 03:57:06 +0000 (Sat, 25 Sep 2010) | 4 lines Changed paths: M /trunk/src/mulders.c [mulders.c] use mpn_lshift instead of mpn_add_n, and improved the default Mulders cutoff k beyond 1024 limbs (extrapolated from the cutoff k for n=1023 on Core 2, and checked experimentally it is faster) ------------------------------------------------------------------------ r7170 | zimmerma | 2010-09-24 19:57:30 +0000 (Fri, 24 Sep 2010) | 4 lines Changed paths: M /trunk/tune/tuneup.c [tuneup.c] changed lower bound for exp_2 threshold from MPFR_PREC_MIN (2) to GMP_NUMB_BITS. Seems to be better (since for p=2 the 2nd routine was sometimes already faster). ------------------------------------------------------------------------ r7169 | zimmerma | 2010-09-24 19:12:08 +0000 (Fri, 24 Sep 2010) | 2 lines Changed paths: M /trunk/src/mul.c [mul.c] another changes for Mulders' algorithm in case of a square ------------------------------------------------------------------------ r7168 | vlefevre | 2010-09-24 18:51:54 +0000 (Fri, 24 Sep 2010) | 1 line Changed paths: M /trunk/src/mul.c [src/mul.c] Change in r7166 was incomplete. Fixed suspicious code. ------------------------------------------------------------------------ r7167 | zimmerma | 2010-09-24 18:35:00 +0000 (Fri, 24 Sep 2010) | 2 lines Changed paths: M /trunk/src/mparam_h.in [mparam_h.in] updated for 64-bit Core2 ------------------------------------------------------------------------ r7166 | zimmerma | 2010-09-24 18:27:25 +0000 (Fri, 24 Sep 2010) | 3 lines Changed paths: M /trunk/NEWS M /trunk/src/mparam_h.in M /trunk/src/mul.c M /trunk/src/sqr.c M /trunk/tune/tuneup.c now use Mulders' algorithm also for mpfr_sqr, provides nice speed improvement in all functions that perform squarings ------------------------------------------------------------------------ r7165 | vlefevre | 2010-09-21 10:57:23 +0000 (Tue, 21 Sep 2010) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] API compatibility section: noted that mpfr_urandom and mpfr_urandomb changed for MPFR 3.1. ------------------------------------------------------------------------ r7164 | zimmerma | 2010-09-21 08:50:50 +0000 (Tue, 21 Sep 2010) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] update about "make tune" ------------------------------------------------------------------------ r7163 | vlefevre | 2010-09-21 08:43:47 +0000 (Tue, 21 Sep 2010) | 1 line Changed paths: M /trunk/doc/FAQ.html [doc] Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r7159 | schevill | 2010-09-20 15:47:36 +0000 (Mon, 20 Sep 2010) | 3 lines Changed paths: M /trunk/README Indicated the location of README.dev. ------------------------------------------------------------------------ r7158 | vlefevre | 2010-09-19 17:58:10 +0000 (Sun, 19 Sep 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] Minor update. ------------------------------------------------------------------------ r7157 | zimmerma | 2010-09-19 12:32:22 +0000 (Sun, 19 Sep 2010) | 3 lines Changed paths: M /trunk/NEWS [NEWS] inform the users that mpfr_add_one_ulp and mpfr_sub_one_ulp will be removed ------------------------------------------------------------------------ r7156 | zimmerma | 2010-09-18 19:50:36 +0000 (Sat, 18 Sep 2010) | 2 lines Changed paths: M /trunk/TODO [TODO] added efficiency item ------------------------------------------------------------------------ r7150 | zimmerma | 2010-09-16 02:56:41 +0000 (Thu, 16 Sep 2010) | 3 lines Changed paths: M /trunk/tests/tget_flt.c M /trunk/tests/tset_z_exp.c replaced calls to mpfr_printf by calls to mpfr_dump (mpfr_printf might not be defined) ------------------------------------------------------------------------ r7149 | zimmerma | 2010-09-16 00:41:32 +0000 (Thu, 16 Sep 2010) | 3 lines Changed paths: M /trunk/NEWS M /trunk/doc/mpfr.texi [NEWS,doc/mpfr.texi] updated: the GMP random functions do not depend on the computer word size ------------------------------------------------------------------------ r7145 | vlefevre | 2010-09-15 15:17:09 +0000 (Wed, 15 Sep 2010) | 1 line Changed paths: M /trunk/tools/mpfrlint [tools/mpfrlint] Check for mpfr_printf-like functions in the tests. ------------------------------------------------------------------------ r7144 | vlefevre | 2010-09-15 15:15:06 +0000 (Wed, 15 Sep 2010) | 1 line Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] Updated the month. ------------------------------------------------------------------------ r7143 | zimmerma | 2010-09-15 13:26:39 +0000 (Wed, 15 Sep 2010) | 2 lines Changed paths: M /trunk/doc/mpfr.texi [doc/mpfr.texi] added notes for mpfr_urandom and mpfr_urandomb ------------------------------------------------------------------------ r7142 | zimmerma | 2010-09-15 09:27:38 +0000 (Wed, 15 Sep 2010) | 2 lines Changed paths: M /trunk/tests/Makefile.am [Makefile.am] updated LOADLIBES with reorganization of the sources ------------------------------------------------------------------------ r7141 | zimmerma | 2010-09-15 09:15:57 +0000 (Wed, 15 Sep 2010) | 2 lines Changed paths: M /trunk/doc/algorithms.tex [algorithms.tex] added sections for pow_ui and root ------------------------------------------------------------------------ r7140 | zimmerma | 2010-09-15 08:30:10 +0000 (Wed, 15 Sep 2010) | 4 lines Changed paths: M /trunk/NEWS M /trunk/src/urandom.c M /trunk/tests/turandom.c [src/urandom.c] now mpfr_urandom also returns identical values on 32-bit and 64-bit machines [tests/turandom.c] modified corresponding test ------------------------------------------------------------------------ r7139 | zimmerma | 2010-09-15 07:47:50 +0000 (Wed, 15 Sep 2010) | 2 lines Changed paths: M /trunk/tests/trandom.c M /trunk/tests/turandom.c replaced mpfr_printf in tests by calls to mpfr_out_str ------------------------------------------------------------------------ r7138 | vlefevre | 2010-09-15 07:35:16 +0000 (Wed, 15 Sep 2010) | 1 line Changed paths: M /trunk/doc/README.dev [doc/README.dev] Updated the paragraph added in r7137. ------------------------------------------------------------------------ r7137 | vlefevre | 2010-09-15 07:30:13 +0000 (Wed, 15 Sep 2010) | 2 lines Changed paths: M /trunk/doc/README.dev [doc/README.dev] Added a paragraph about the use of system-dependent functions in the test suite. ------------------------------------------------------------------------ r7136 | vlefevre | 2010-09-15 07:28:34 +0000 (Wed, 15 Sep 2010) | 1 line Changed paths: M /trunk/src/init2.c M /trunk/src/set_ld.c M /trunk/src/vasprintf.c Some minor corrections in comments. ------------------------------------------------------------------------ r7135 | vlefevre | 2010-09-15 07:24:05 +0000 (Wed, 15 Sep 2010) | 1 line Changed paths: M /trunk/src/printf.c [src/printf.c] Typo in a comment. ------------------------------------------------------------------------ r7134 | vlefevre | 2010-09-15 07:23:25 +0000 (Wed, 15 Sep 2010) | 1 line Changed paths: M /trunk/src/printf.c [src/printf.c] Slight modification of a comment. ------------------------------------------------------------------------ r7133 | zimmerma | 2010-09-15 02:50:32 +0000 (Wed, 15 Sep 2010) | 8 lines Changed paths: M /trunk/src/urandom.c M /trunk/src/urandomb.c M /trunk/tests/trandom.c M /trunk/tests/turandom.c [urandomb.c] modified to leave the GMP random generator in the same state, independent of GMP_NUMB_BITS [trandom.c] test of the above [urandom.c] added FIXME's [turandom.c] check we leave the GMP random generator in the same state, independent of GMP_NUMB_BITS. Currently this fails on 64-bit computers. ------------------------------------------------------------------------ r7132 | zimmerma | 2010-09-15 01:57:46 +0000 (Wed, 15 Sep 2010) | 2 lines Changed paths: M /trunk/src/urandomb.c [urandomb.c] added comment + slight change ------------------------------------------------------------------------ r7121 | vlefevre | 2010-09-01 11:30:22 +0000 (Wed, 01 Sep 2010) | 4 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Added casts to improve robustness in case of undefined behavior and compiler extensions based on UB (in particular -fwrapv). MPFR doesn't use such extensions, but these macros will be used by 3rd-party code, where such extensions may be required. ------------------------------------------------------------------------ r7120 | vlefevre | 2010-09-01 11:06:07 +0000 (Wed, 01 Sep 2010) | 1 line Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Updated a comment concerning -Wconversion. ------------------------------------------------------------------------ r7118 | vlefevre | 2010-09-01 10:42:55 +0000 (Wed, 01 Sep 2010) | 6 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Added casts to unsigned long in mpfr_cmp_si and mpfr_set_si macros for GCC, in order to avoid warnings in programs that use MPFR and are compiled with -Wconversion (suggestion by Andreas Enge); such casts are OK since if X is a constant expression, then (unsigned long) X is also a constant expression, so that the optimizations still work. Reformatted these macros. ------------------------------------------------------------------------ r7116 | vlefevre | 2010-09-01 09:25:27 +0000 (Wed, 01 Sep 2010) | 4 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Fixed bug in the mpfr_cmp_ui macro for GCC (also used by mpfr_cmp_si), when the evaluation of the first argument yields side effects and the second argument is a constant expression with the value 0. ------------------------------------------------------------------------ r7115 | vlefevre | 2010-09-01 09:19:43 +0000 (Wed, 01 Sep 2010) | 2 lines Changed paths: M /trunk/tests/tcmp_ui.c [tests/tcmp_ui.c] Added side-effect tests similar to those in tset_si.c, showing a bug in the mpfr_cmp_ui and mpfr_cmp_si macros. ------------------------------------------------------------------------ r7114 | vlefevre | 2010-09-01 09:07:59 +0000 (Wed, 01 Sep 2010) | 2 lines Changed paths: M /trunk/tests/tcmp_ui.c [tests/tcmp_ui.c] Check mpfr_cmp_ui and mpfr_cmp_si macros against side effects in the arguments. ------------------------------------------------------------------------ r7113 | vlefevre | 2010-09-01 08:58:22 +0000 (Wed, 01 Sep 2010) | 2 lines Changed paths: M /trunk/src/mpfr.h [src/mpfr.h] Added a comment about the macros that use __builtin_constant_p. ------------------------------------------------------------------------ r7112 | zimmerma | 2010-08-30 09:04:00 +0000 (Mon, 30 Aug 2010) | 2 lines Changed paths: M /trunk/tests/tsqrt.c [tsqrt.c] improved comment, and added test sqrt(+0) == +0 ------------------------------------------------------------------------ r7111 | vlefevre | 2010-08-29 19:26:00 +0000 (Sun, 29 Aug 2010) | 1 line Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] Renamed check_nan() to check_singular(). ------------------------------------------------------------------------ r7110 | vlefevre | 2010-08-29 19:23:52 +0000 (Sun, 29 Aug 2010) | 1 line Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] Check that sqrt(-0) has a negative sign. ------------------------------------------------------------------------ r7108 | vlefevre | 2010-08-26 14:44:41 +0000 (Thu, 26 Aug 2010) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Replaced "patches" by "allpatches". ------------------------------------------------------------------------ r7107 | zimmerma | 2010-08-25 20:15:24 +0000 (Wed, 25 Aug 2010) | 2 lines Changed paths: M /trunk/configure.ac [configure.ac] fixed typo ------------------------------------------------------------------------ r7106 | vlefevre | 2010-08-23 15:24:10 +0000 (Mon, 23 Aug 2010) | 1 line Changed paths: M /trunk/src/gmp_op.c [src/gmp_op.c] Extend the exponent range in mpfr_cmp_q and mpfr_cmp_f. ------------------------------------------------------------------------ r7105 | vlefevre | 2010-08-23 15:03:37 +0000 (Mon, 23 Aug 2010) | 5 lines Changed paths: M /trunk/src/gmp_op.c [src/gmp_op.c] In mpfr_add_q / mpfr_sub_q, check with MPFR_ASSERTN that an internal overflow/underflow doesn't occur. In theory, such an exception is possible, but only if q has a huge numerator or denominator. This is not supported (note: other problems may occur first, such as insufficient memory). ------------------------------------------------------------------------ r7104 | vlefevre | 2010-08-23 14:46:44 +0000 (Mon, 23 Aug 2010) | 1 line Changed paths: M /trunk/tests/tgmpop.c [tests/tgmpop.c] Added overflow tests for mpfr_add_q / mpfr_sub_q. ------------------------------------------------------------------------ r7103 | vlefevre | 2010-08-23 14:03:07 +0000 (Mon, 23 Aug 2010) | 1 line Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c [tests/{mpfr-test.h,tests.c}] Added flags_out function to output flags. ------------------------------------------------------------------------ r7102 | vlefevre | 2010-08-23 13:34:08 +0000 (Mon, 23 Aug 2010) | 3 lines Changed paths: M /trunk/src/gmp_op.c M /trunk/tests/tgmpop.c [src/gmp_op.c] Extend the exponent range in mpfr_add_q / mpfr_sub_q (overflow/underflow exceptions are not supported yet). [tests/tgmpop.c] Added corresponding testcases. ------------------------------------------------------------------------ r7101 | vlefevre | 2010-08-19 12:08:41 +0000 (Thu, 19 Aug 2010) | 2 lines Changed paths: M /trunk/src/gmp_op.c M /trunk/tests/tgmpop.c [src/gmp_op.c] Fixed the Inf +/- Inf cases for mpfr_add_q / mpfr_sub_q. [tests/tgmpop.c] Added Inf +/- Inf tests. ------------------------------------------------------------------------ r7100 | thevenyp | 2010-08-19 08:56:31 +0000 (Thu, 19 Aug 2010) | 1 line Changed paths: M /trunk/tests/tgmpop.c [tests/tgmpop.c] Fix rounding mode in overflow tests ------------------------------------------------------------------------ r7099 | vlefevre | 2010-08-19 01:26:16 +0000 (Thu, 19 Aug 2010) | 3 lines Changed paths: M /trunk/src/gmp_op.c M /trunk/tests/tgmpop.c [src/gmp_op.c] The function mpfr_cmp_z could fail in a reduced exponent range. [tests/tgmpop.c] Added a corresponding testcase. ------------------------------------------------------------------------ r7098 | vlefevre | 2010-08-19 01:00:53 +0000 (Thu, 19 Aug 2010) | 3 lines Changed paths: M /trunk/src/gmp_op.c M /trunk/tests/tgmpop.c [src/gmp_op.c] The functions mpfr_mul_z, mpfr_div_z, mpfr_add_z and mpfr_sub_z could fail in a reduced exponent range. Fixed. [tests/tgmpop.c] Added corresponding testcase. ------------------------------------------------------------------------ r7097 | vlefevre | 2010-08-18 21:19:07 +0000 (Wed, 18 Aug 2010) | 1 line Changed paths: M /trunk/tests/tgmpop.c [tests/tgmpop.c] Disabled buggy tests. ------------------------------------------------------------------------ r7096 | vlefevre | 2010-08-18 13:24:30 +0000 (Wed, 18 Aug 2010) | 2 lines Changed paths: M /trunk/src/gmp_op.c [src/gmp_op.c] Fixed the intermediate overflow case in mpfr_muldiv_z (for mpfr_mul_q and mpfr_div_q). ------------------------------------------------------------------------ r7095 | vlefevre | 2010-08-18 11:55:19 +0000 (Wed, 18 Aug 2010) | 5 lines Changed paths: M /trunk/src/gmp_op.c [src/gmp_op.c] Added function mpfr_muldiv_z (currently static -- should it be in the API?) that computes y = RND(x*n/d), where n and d are mpz integers. Changed mpfr_mul_q and mpfr_div_q to use this function. Note: the code of the general case is currently the same as the old mpfr_mul_q/mpfr_div_q code, thus needs to be fixed. ------------------------------------------------------------------------ r7094 | vlefevre | 2010-08-18 08:59:58 +0000 (Wed, 18 Aug 2010) | 1 line Changed paths: M /trunk/tests/tgmpop.c [tests/tgmpop.c] Replaced GMP_RNDN by MPFR_RNDN. ------------------------------------------------------------------------ r7093 | vlefevre | 2010-08-18 08:29:03 +0000 (Wed, 18 Aug 2010) | 2 lines Changed paths: M /trunk/tests/tgmpop.c [tests/tgmpop.c] Added testcase for mpfr_mul_q/mpfr_div_q bug noted in src/gmp_op.c (due to intermediate overflow). ------------------------------------------------------------------------ r7092 | vlefevre | 2010-08-17 15:32:53 +0000 (Tue, 17 Aug 2010) | 1 line Changed paths: M /trunk/src/logging.c [src/logging.c] Added a comment about register_printf_function. ------------------------------------------------------------------------ r7091 | vlefevre | 2010-08-17 12:45:22 +0000 (Tue, 17 Aug 2010) | 6 lines Changed paths: M /trunk/Makefile.am A /trunk/tools/ck-version-info Added tools/ck-version-info Perl script with the same license as Makefile.am, to check consistency concerning -version-info and that the -version-info value is up-to-date. Updated Makefile.am: * In dist-hook, replaced complex sh code by a call to ck-version-info. * Distribute ck-version-info (EXTRA_DIST). ------------------------------------------------------------------------ r7090 | vlefevre | 2010-08-17 12:30:02 +0000 (Tue, 17 Aug 2010) | 1 line Changed paths: M /trunk M /trunk/doc M /trunk/src M /trunk/tune Updated svn:ignore properties. ------------------------------------------------------------------------ r7089 | vlefevre | 2010-08-17 09:31:09 +0000 (Tue, 17 Aug 2010) | 1 line Changed paths: M /trunk/Makefile.am [Makefile.am] Put tools/get_patches.sh back to EXTRA_DIST. ------------------------------------------------------------------------ r7088 | vlefevre | 2010-08-17 09:25:39 +0000 (Tue, 17 Aug 2010) | 1 line Changed paths: M /trunk/src/Makefile.am [src/Makefile.am] Fixed -version-info (I forgot to increment CURRENT). ------------------------------------------------------------------------ r7087 | vlefevre | 2010-08-17 09:10:13 +0000 (Tue, 17 Aug 2010) | 38 lines Changed paths: D /trunk/FAQ.html M /trunk/INSTALL M /trunk/Makefile.am M /trunk/NEWS M /trunk/README D /trunk/README.dev M /trunk/TODO D /trunk/abort_prec_max.c M /trunk/acinclude.m4 D /trunk/acos.c D /trunk/acosh.c D /trunk/add.c D /trunk/add1.c D /trunk/add1sp.c D /trunk/add_d.c D /trunk/add_ui.c D /trunk/agm.c D /trunk/ai.c D /trunk/algorithm2e.sty D /trunk/algorithms.bib D /trunk/algorithms.tex D /trunk/asin.c D /trunk/asinh.c D /trunk/atan.c D /trunk/atan2.c D /trunk/atanh.c D /trunk/bernoulli.c D /trunk/bidimensional_sample.c D /trunk/buildopt.c D /trunk/cache.c D /trunk/cbrt.c D /trunk/check.c D /trunk/check_inits_clears D /trunk/clear.c D /trunk/clears.c D /trunk/cmp.c D /trunk/cmp2.c D /trunk/cmp_abs.c D /trunk/cmp_d.c D /trunk/cmp_ld.c D /trunk/cmp_si.c D /trunk/cmp_ui.c D /trunk/comparisons.c A /trunk/configure.ac (from /trunk/configure.in:7086) D /trunk/configure.in D /trunk/const_catalan.c D /trunk/const_euler.c D /trunk/const_log2.c D /trunk/const_pi.c D /trunk/constant.c D /trunk/copysign.c D /trunk/cos.c D /trunk/cosh.c D /trunk/cot.c D /trunk/coth.c D /trunk/coverage D /trunk/cputime.h D /trunk/csc.c D /trunk/csch.c D /trunk/d_div.c D /trunk/d_sub.c D /trunk/digamma.c D /trunk/dim.c D /trunk/div-short.c D /trunk/div.c D /trunk/div_2exp.c D /trunk/div_2si.c D /trunk/div_2ui.c D /trunk/div_d.c D /trunk/div_ui.c A /trunk/doc A /trunk/doc/FAQ.html (from /trunk/FAQ.html:7086) A /trunk/doc/Makefile.am A /trunk/doc/README.dev (from /trunk/README.dev:7086) A /trunk/doc/algorithm2e.sty (from /trunk/algorithm2e.sty:7086) A /trunk/doc/algorithms.bib (from /trunk/algorithms.bib:7086) A /trunk/doc/algorithms.tex (from /trunk/algorithms.tex:7086) A /trunk/doc/faq.xsl (from /trunk/faq.xsl:7086) A /trunk/doc/fdl.texi (from /trunk/fdl.texi:7086) A /trunk/doc/mpfr.texi (from /trunk/mpfr.texi:7086) A /trunk/doc/update-faq (from /trunk/update-faq:7086) D /trunk/dump.c D /trunk/eint.c D /trunk/eq.c D /trunk/erf.c D /trunk/erfc.c D /trunk/exceptions.c D /trunk/exp.c D /trunk/exp10.c D /trunk/exp2.c D /trunk/exp3.c D /trunk/exp_2.c D /trunk/expm1.c D /trunk/extract.c D /trunk/factorial.c D /trunk/faq.xsl D /trunk/fdl.texi D /trunk/fits_intmax.c D /trunk/fits_s.h D /trunk/fits_sint.c D /trunk/fits_slong.c D /trunk/fits_sshort.c D /trunk/fits_u.h D /trunk/fits_uint.c D /trunk/fits_uintmax.c D /trunk/fits_ulong.c D /trunk/fits_ushort.c D /trunk/fma.c D /trunk/fms.c D /trunk/frac.c D /trunk/free_cache.c D /trunk/gamma.c D /trunk/gammaonethird.c D /trunk/gen_inverse.h D /trunk/get_d.c D /trunk/get_d64.c D /trunk/get_exp.c D /trunk/get_f.c D /trunk/get_flt.c D /trunk/get_ld.c D /trunk/get_patches.sh D /trunk/get_si.c D /trunk/get_sj.c D /trunk/get_str.c D /trunk/get_ui.c D /trunk/get_uj.c D /trunk/get_z.c D /trunk/get_z_exp.c D /trunk/gmp_op.c D /trunk/hypot.c D /trunk/ieee_floats.h D /trunk/init.c D /trunk/init2.c D /trunk/inits.c D /trunk/inits2.c D /trunk/inp_str.c D /trunk/int_ceil_log2.c D /trunk/isinf.c D /trunk/isinteger.c D /trunk/isnan.c D /trunk/isnum.c D /trunk/isqrt.c D /trunk/isregular.c D /trunk/iszero.c D /trunk/jn.c D /trunk/jyn_asympt.c D /trunk/li2.c D /trunk/lngamma.c D /trunk/log.c D /trunk/log10.c D /trunk/log1p.c D /trunk/log2.c D /trunk/logging.c D /trunk/mbench D /trunk/min_prec.c D /trunk/minmax.c D /trunk/modf.c D /trunk/mp_clz_tab.c D /trunk/mparam_h.in D /trunk/mpf2mpfr.h D /trunk/mpfr-gmp.c D /trunk/mpfr-gmp.h D /trunk/mpfr-impl.h D /trunk/mpfr-longlong.h D /trunk/mpfr-thread.h D /trunk/mpfr.h D /trunk/mpfr.texi D /trunk/mpfrlint D /trunk/mpn_exp.c D /trunk/mul.c D /trunk/mul_2exp.c D /trunk/mul_2si.c D /trunk/mul_2ui.c D /trunk/mul_d.c D /trunk/mul_ui.c D /trunk/mulders.c D /trunk/neg.c D /trunk/next.c D /trunk/nightly-test A /trunk/other A /trunk/other/cputime.h (from /trunk/cputime.h:7086) A /trunk/other/div-short.c (from /trunk/div-short.c:7086) D /trunk/out_str.c D /trunk/pow.c D /trunk/pow_si.c D /trunk/pow_ui.c D /trunk/pow_z.c D /trunk/powerof2.c D /trunk/print_raw.c D /trunk/print_rnd_mode.c D /trunk/printf.c D /trunk/rec_sqrt.c D /trunk/reldiff.c D /trunk/rem1.c D /trunk/replace_all D /trunk/rint.c D /trunk/root.c D /trunk/round_near_x.c D /trunk/round_p.c D /trunk/round_prec.c D /trunk/round_raw_generic.c D /trunk/scale2.c D /trunk/sec.c D /trunk/sech.c D /trunk/set.c D /trunk/set_d.c D /trunk/set_d64.c D /trunk/set_dfl_prec.c D /trunk/set_exp.c D /trunk/set_f.c D /trunk/set_flt.c D /trunk/set_inf.c D /trunk/set_ld.c D /trunk/set_nan.c D /trunk/set_prc_raw.c D /trunk/set_prec.c D /trunk/set_q.c D /trunk/set_rnd.c D /trunk/set_si.c D /trunk/set_si_2exp.c D /trunk/set_sj.c D /trunk/set_str.c D /trunk/set_str_raw.c D /trunk/set_ui.c D /trunk/set_ui_2exp.c D /trunk/set_uj.c D /trunk/set_z.c D /trunk/set_z_exp.c D /trunk/set_zero.c D /trunk/setmax.c D /trunk/setmin.c D /trunk/setsign.c D /trunk/sgn.c D /trunk/si_op.c D /trunk/signbit.c D /trunk/sin.c D /trunk/sin_cos.c D /trunk/sinh.c D /trunk/sinh_cosh.c D /trunk/speed.c D /trunk/sqr.c D /trunk/sqrt.c D /trunk/sqrt_ui.c A /trunk/src A /trunk/src/Makefile.am (from /trunk/Makefile.am:7086) A /trunk/src/abort_prec_max.c (from /trunk/abort_prec_max.c:7086) A /trunk/src/acos.c (from /trunk/acos.c:7086) A /trunk/src/acosh.c (from /trunk/acosh.c:7086) A /trunk/src/add.c (from /trunk/add.c:7086) A /trunk/src/add1.c (from /trunk/add1.c:7086) A /trunk/src/add1sp.c (from /trunk/add1sp.c:7086) A /trunk/src/add_d.c (from /trunk/add_d.c:7086) A /trunk/src/add_ui.c (from /trunk/add_ui.c:7086) A /trunk/src/agm.c (from /trunk/agm.c:7086) A /trunk/src/ai.c (from /trunk/ai.c:7086) A /trunk/src/asin.c (from /trunk/asin.c:7086) A /trunk/src/asinh.c (from /trunk/asinh.c:7086) A /trunk/src/atan.c (from /trunk/atan.c:7086) A /trunk/src/atan2.c (from /trunk/atan2.c:7086) A /trunk/src/atanh.c (from /trunk/atanh.c:7086) A /trunk/src/bernoulli.c (from /trunk/bernoulli.c:7086) A /trunk/src/buildopt.c (from /trunk/buildopt.c:7086) A /trunk/src/cache.c (from /trunk/cache.c:7086) A /trunk/src/cbrt.c (from /trunk/cbrt.c:7086) A /trunk/src/check.c (from /trunk/check.c:7086) A /trunk/src/clear.c (from /trunk/clear.c:7086) A /trunk/src/clears.c (from /trunk/clears.c:7086) A /trunk/src/cmp.c (from /trunk/cmp.c:7086) A /trunk/src/cmp2.c (from /trunk/cmp2.c:7086) A /trunk/src/cmp_abs.c (from /trunk/cmp_abs.c:7086) A /trunk/src/cmp_d.c (from /trunk/cmp_d.c:7086) A /trunk/src/cmp_ld.c (from /trunk/cmp_ld.c:7086) A /trunk/src/cmp_si.c (from /trunk/cmp_si.c:7086) A /trunk/src/cmp_ui.c (from /trunk/cmp_ui.c:7086) A /trunk/src/comparisons.c (from /trunk/comparisons.c:7086) A /trunk/src/const_catalan.c (from /trunk/const_catalan.c:7086) A /trunk/src/const_euler.c (from /trunk/const_euler.c:7086) A /trunk/src/const_log2.c (from /trunk/const_log2.c:7086) A /trunk/src/const_pi.c (from /trunk/const_pi.c:7086) A /trunk/src/constant.c (from /trunk/constant.c:7086) A /trunk/src/copysign.c (from /trunk/copysign.c:7086) A /trunk/src/cos.c (from /trunk/cos.c:7086) A /trunk/src/cosh.c (from /trunk/cosh.c:7086) A /trunk/src/cot.c (from /trunk/cot.c:7086) A /trunk/src/coth.c (from /trunk/coth.c:7086) A /trunk/src/csc.c (from /trunk/csc.c:7086) A /trunk/src/csch.c (from /trunk/csch.c:7086) A /trunk/src/d_div.c (from /trunk/d_div.c:7086) A /trunk/src/d_sub.c (from /trunk/d_sub.c:7086) A /trunk/src/digamma.c (from /trunk/digamma.c:7086) A /trunk/src/dim.c (from /trunk/dim.c:7086) A /trunk/src/div.c (from /trunk/div.c:7086) A /trunk/src/div_2exp.c (from /trunk/div_2exp.c:7086) A /trunk/src/div_2si.c (from /trunk/div_2si.c:7086) A /trunk/src/div_2ui.c (from /trunk/div_2ui.c:7086) A /trunk/src/div_d.c (from /trunk/div_d.c:7086) A /trunk/src/div_ui.c (from /trunk/div_ui.c:7086) A /trunk/src/dump.c (from /trunk/dump.c:7086) A /trunk/src/eint.c (from /trunk/eint.c:7086) A /trunk/src/eq.c (from /trunk/eq.c:7086) A /trunk/src/erf.c (from /trunk/erf.c:7086) A /trunk/src/erfc.c (from /trunk/erfc.c:7086) A /trunk/src/exceptions.c (from /trunk/exceptions.c:7086) A /trunk/src/exp.c (from /trunk/exp.c:7086) A /trunk/src/exp10.c (from /trunk/exp10.c:7086) A /trunk/src/exp2.c (from /trunk/exp2.c:7086) A /trunk/src/exp3.c (from /trunk/exp3.c:7086) A /trunk/src/exp_2.c (from /trunk/exp_2.c:7086) A /trunk/src/expm1.c (from /trunk/expm1.c:7086) A /trunk/src/extract.c (from /trunk/extract.c:7086) A /trunk/src/factorial.c (from /trunk/factorial.c:7086) A /trunk/src/fits_intmax.c (from /trunk/fits_intmax.c:7086) A /trunk/src/fits_s.h (from /trunk/fits_s.h:7086) A /trunk/src/fits_sint.c (from /trunk/fits_sint.c:7086) A /trunk/src/fits_slong.c (from /trunk/fits_slong.c:7086) A /trunk/src/fits_sshort.c (from /trunk/fits_sshort.c:7086) A /trunk/src/fits_u.h (from /trunk/fits_u.h:7086) A /trunk/src/fits_uint.c (from /trunk/fits_uint.c:7086) A /trunk/src/fits_uintmax.c (from /trunk/fits_uintmax.c:7086) A /trunk/src/fits_ulong.c (from /trunk/fits_ulong.c:7086) A /trunk/src/fits_ushort.c (from /trunk/fits_ushort.c:7086) A /trunk/src/fma.c (from /trunk/fma.c:7086) A /trunk/src/fms.c (from /trunk/fms.c:7086) A /trunk/src/frac.c (from /trunk/frac.c:7086) A /trunk/src/free_cache.c (from /trunk/free_cache.c:7086) A /trunk/src/gamma.c (from /trunk/gamma.c:7086) A /trunk/src/gammaonethird.c (from /trunk/gammaonethird.c:7086) A /trunk/src/gen_inverse.h (from /trunk/gen_inverse.h:7086) A /trunk/src/get_d.c (from /trunk/get_d.c:7086) A /trunk/src/get_d64.c (from /trunk/get_d64.c:7086) A /trunk/src/get_exp.c (from /trunk/get_exp.c:7086) A /trunk/src/get_f.c (from /trunk/get_f.c:7086) A /trunk/src/get_flt.c (from /trunk/get_flt.c:7086) A /trunk/src/get_ld.c (from /trunk/get_ld.c:7086) A /trunk/src/get_si.c (from /trunk/get_si.c:7086) A /trunk/src/get_sj.c (from /trunk/get_sj.c:7086) A /trunk/src/get_str.c (from /trunk/get_str.c:7086) A /trunk/src/get_ui.c (from /trunk/get_ui.c:7086) A /trunk/src/get_uj.c (from /trunk/get_uj.c:7086) A /trunk/src/get_z.c (from /trunk/get_z.c:7086) A /trunk/src/get_z_exp.c (from /trunk/get_z_exp.c:7086) A /trunk/src/gmp_op.c (from /trunk/gmp_op.c:7086) A /trunk/src/hypot.c (from /trunk/hypot.c:7086) A /trunk/src/ieee_floats.h (from /trunk/ieee_floats.h:7086) A /trunk/src/init.c (from /trunk/init.c:7086) A /trunk/src/init2.c (from /trunk/init2.c:7086) A /trunk/src/inits.c (from /trunk/inits.c:7086) A /trunk/src/inits2.c (from /trunk/inits2.c:7086) A /trunk/src/inp_str.c (from /trunk/inp_str.c:7086) A /trunk/src/int_ceil_log2.c (from /trunk/int_ceil_log2.c:7086) A /trunk/src/isinf.c (from /trunk/isinf.c:7086) A /trunk/src/isinteger.c (from /trunk/isinteger.c:7086) A /trunk/src/isnan.c (from /trunk/isnan.c:7086) A /trunk/src/isnum.c (from /trunk/isnum.c:7086) A /trunk/src/isqrt.c (from /trunk/isqrt.c:7086) A /trunk/src/isregular.c (from /trunk/isregular.c:7086) A /trunk/src/iszero.c (from /trunk/iszero.c:7086) A /trunk/src/jn.c (from /trunk/jn.c:7086) A /trunk/src/jyn_asympt.c (from /trunk/jyn_asympt.c:7086) A /trunk/src/li2.c (from /trunk/li2.c:7086) A /trunk/src/lngamma.c (from /trunk/lngamma.c:7086) A /trunk/src/log.c (from /trunk/log.c:7086) A /trunk/src/log10.c (from /trunk/log10.c:7086) A /trunk/src/log1p.c (from /trunk/log1p.c:7086) A /trunk/src/log2.c (from /trunk/log2.c:7086) A /trunk/src/logging.c (from /trunk/logging.c:7086) A /trunk/src/min_prec.c (from /trunk/min_prec.c:7086) A /trunk/src/minmax.c (from /trunk/minmax.c:7086) A /trunk/src/modf.c (from /trunk/modf.c:7086) A /trunk/src/mp_clz_tab.c (from /trunk/mp_clz_tab.c:7086) A /trunk/src/mparam_h.in (from /trunk/mparam_h.in:7086) A /trunk/src/mpf2mpfr.h (from /trunk/mpf2mpfr.h:7086) A /trunk/src/mpfr-gmp.c (from /trunk/mpfr-gmp.c:7086) A /trunk/src/mpfr-gmp.h (from /trunk/mpfr-gmp.h:7086) A /trunk/src/mpfr-impl.h (from /trunk/mpfr-impl.h:7086) A /trunk/src/mpfr-longlong.h (from /trunk/mpfr-longlong.h:7086) A /trunk/src/mpfr-thread.h (from /trunk/mpfr-thread.h:7086) A /trunk/src/mpfr.h (from /trunk/mpfr.h:7086) A /trunk/src/mpn_exp.c (from /trunk/mpn_exp.c:7086) A /trunk/src/mul.c (from /trunk/mul.c:7086) A /trunk/src/mul_2exp.c (from /trunk/mul_2exp.c:7086) A /trunk/src/mul_2si.c (from /trunk/mul_2si.c:7086) A /trunk/src/mul_2ui.c (from /trunk/mul_2ui.c:7086) A /trunk/src/mul_d.c (from /trunk/mul_d.c:7086) A /trunk/src/mul_ui.c (from /trunk/mul_ui.c:7086) A /trunk/src/mulders.c (from /trunk/mulders.c:7086) A /trunk/src/neg.c (from /trunk/neg.c:7086) A /trunk/src/next.c (from /trunk/next.c:7086) A /trunk/src/out_str.c (from /trunk/out_str.c:7086) A /trunk/src/pow.c (from /trunk/pow.c:7086) A /trunk/src/pow_si.c (from /trunk/pow_si.c:7086) A /trunk/src/pow_ui.c (from /trunk/pow_ui.c:7086) A /trunk/src/pow_z.c (from /trunk/pow_z.c:7086) A /trunk/src/powerof2.c (from /trunk/powerof2.c:7086) A /trunk/src/print_raw.c (from /trunk/print_raw.c:7086) A /trunk/src/print_rnd_mode.c (from /trunk/print_rnd_mode.c:7086) A /trunk/src/printf.c (from /trunk/printf.c:7086) A /trunk/src/rec_sqrt.c (from /trunk/rec_sqrt.c:7086) A /trunk/src/reldiff.c (from /trunk/reldiff.c:7086) A /trunk/src/rem1.c (from /trunk/rem1.c:7086) A /trunk/src/rint.c (from /trunk/rint.c:7086) A /trunk/src/root.c (from /trunk/root.c:7086) A /trunk/src/round_near_x.c (from /trunk/round_near_x.c:7086) A /trunk/src/round_p.c (from /trunk/round_p.c:7086) A /trunk/src/round_prec.c (from /trunk/round_prec.c:7086) A /trunk/src/round_raw_generic.c (from /trunk/round_raw_generic.c:7086) A /trunk/src/scale2.c (from /trunk/scale2.c:7086) A /trunk/src/sec.c (from /trunk/sec.c:7086) A /trunk/src/sech.c (from /trunk/sech.c:7086) A /trunk/src/set.c (from /trunk/set.c:7086) A /trunk/src/set_d.c (from /trunk/set_d.c:7086) A /trunk/src/set_d64.c (from /trunk/set_d64.c:7086) A /trunk/src/set_dfl_prec.c (from /trunk/set_dfl_prec.c:7086) A /trunk/src/set_exp.c (from /trunk/set_exp.c:7086) A /trunk/src/set_f.c (from /trunk/set_f.c:7086) A /trunk/src/set_flt.c (from /trunk/set_flt.c:7086) A /trunk/src/set_inf.c (from /trunk/set_inf.c:7086) A /trunk/src/set_ld.c (from /trunk/set_ld.c:7086) A /trunk/src/set_nan.c (from /trunk/set_nan.c:7086) A /trunk/src/set_prc_raw.c (from /trunk/set_prc_raw.c:7086) A /trunk/src/set_prec.c (from /trunk/set_prec.c:7086) A /trunk/src/set_q.c (from /trunk/set_q.c:7086) A /trunk/src/set_rnd.c (from /trunk/set_rnd.c:7086) A /trunk/src/set_si.c (from /trunk/set_si.c:7086) A /trunk/src/set_si_2exp.c (from /trunk/set_si_2exp.c:7086) A /trunk/src/set_sj.c (from /trunk/set_sj.c:7086) A /trunk/src/set_str.c (from /trunk/set_str.c:7086) A /trunk/src/set_str_raw.c (from /trunk/set_str_raw.c:7086) A /trunk/src/set_ui.c (from /trunk/set_ui.c:7086) A /trunk/src/set_ui_2exp.c (from /trunk/set_ui_2exp.c:7086) A /trunk/src/set_uj.c (from /trunk/set_uj.c:7086) A /trunk/src/set_z.c (from /trunk/set_z.c:7086) A /trunk/src/set_z_exp.c (from /trunk/set_z_exp.c:7086) A /trunk/src/set_zero.c (from /trunk/set_zero.c:7086) A /trunk/src/setmax.c (from /trunk/setmax.c:7086) A /trunk/src/setmin.c (from /trunk/setmin.c:7086) A /trunk/src/setsign.c (from /trunk/setsign.c:7086) A /trunk/src/sgn.c (from /trunk/sgn.c:7086) A /trunk/src/si_op.c (from /trunk/si_op.c:7086) A /trunk/src/signbit.c (from /trunk/signbit.c:7086) A /trunk/src/sin.c (from /trunk/sin.c:7086) A /trunk/src/sin_cos.c (from /trunk/sin_cos.c:7086) A /trunk/src/sinh.c (from /trunk/sinh.c:7086) A /trunk/src/sinh_cosh.c (from /trunk/sinh_cosh.c:7086) A /trunk/src/sqr.c (from /trunk/sqr.c:7086) A /trunk/src/sqrt.c (from /trunk/sqrt.c:7086) A /trunk/src/sqrt_ui.c (from /trunk/sqrt_ui.c:7086) A /trunk/src/stack_interface.c (from /trunk/stack_interface.c:7086) A /trunk/src/strtofr.c (from /trunk/strtofr.c:7086) A /trunk/src/sub.c (from /trunk/sub.c:7086) A /trunk/src/sub1.c (from /trunk/sub1.c:7086) A /trunk/src/sub1sp.c (from /trunk/sub1sp.c:7086) A /trunk/src/sub_d.c (from /trunk/sub_d.c:7086) A /trunk/src/sub_ui.c (from /trunk/sub_ui.c:7086) A /trunk/src/subnormal.c (from /trunk/subnormal.c:7086) A /trunk/src/sum.c (from /trunk/sum.c:7086) A /trunk/src/swap.c (from /trunk/swap.c:7086) A /trunk/src/tan.c (from /trunk/tan.c:7086) A /trunk/src/tanh.c (from /trunk/tanh.c:7086) A /trunk/src/uceil_exp2.c (from /trunk/uceil_exp2.c:7086) A /trunk/src/uceil_log2.c (from /trunk/uceil_log2.c:7086) A /trunk/src/ufloor_log2.c (from /trunk/ufloor_log2.c:7086) A /trunk/src/ui_div.c (from /trunk/ui_div.c:7086) A /trunk/src/ui_pow.c (from /trunk/ui_pow.c:7086) A /trunk/src/ui_pow_ui.c (from /trunk/ui_pow_ui.c:7086) A /trunk/src/ui_sub.c (from /trunk/ui_sub.c:7086) A /trunk/src/urandom.c (from /trunk/urandom.c:7086) A /trunk/src/urandomb.c (from /trunk/urandomb.c:7086) A /trunk/src/vasprintf.c (from /trunk/vasprintf.c:7086) A /trunk/src/version.c (from /trunk/version.c:7086) A /trunk/src/volatile.c (from /trunk/volatile.c:7086) A /trunk/src/yn.c (from /trunk/yn.c:7086) A /trunk/src/zeta.c (from /trunk/zeta.c:7086) A /trunk/src/zeta_ui.c (from /trunk/zeta_ui.c:7086) D /trunk/stack_interface.c D /trunk/strtofr.c D /trunk/sub.c D /trunk/sub1.c D /trunk/sub1sp.c D /trunk/sub_d.c D /trunk/sub_ui.c D /trunk/subnormal.c D /trunk/sum.c D /trunk/swap.c D /trunk/tan.c D /trunk/tanh.c M /trunk/tests/Makefile.am A /trunk/tools A /trunk/tools/check_inits_clears (from /trunk/check_inits_clears:7086) A /trunk/tools/coverage (from /trunk/coverage:7086) A /trunk/tools/get_patches.sh (from /trunk/get_patches.sh:7086) A /trunk/tools/mbench (from /trunk/mbench:7086) A /trunk/tools/mpfrlint (from /trunk/mpfrlint:7086) A /trunk/tools/nightly-test (from /trunk/nightly-test:7086) A /trunk/tools/update-patchv (from /trunk/update-patchv:7086) A /trunk/tools/update-version (from /trunk/update-version:7086) A /trunk/tune A /trunk/tune/Makefile.am A /trunk/tune/bidimensional_sample.c (from /trunk/bidimensional_sample.c:7086) A /trunk/tune/speed.c (from /trunk/speed.c:7086) A /trunk/tune/tuneup.c (from /trunk/tuneup.c:7086) D /trunk/tuneup.c D /trunk/uceil_exp2.c D /trunk/uceil_log2.c D /trunk/ufloor_log2.c D /trunk/ui_div.c D /trunk/ui_pow.c D /trunk/ui_pow_ui.c D /trunk/ui_sub.c D /trunk/update-faq D /trunk/update-patchv D /trunk/update-version D /trunk/urandom.c D /trunk/urandomb.c D /trunk/vasprintf.c D /trunk/version.c D /trunk/volatile.c D /trunk/yn.c D /trunk/zeta.c D /trunk/zeta_ui.c Source reorganization. In short: * Added directories and moved related files into them: - src for the MPFR source files (to build the library). - doc for documentation files (except INSTALL, README...). - tools for various tools (scripts) and mbench. - tune for tuneup-related source files. - other for other source files (not distributed in tarballs). Existing directories: - tests for the source files of the test suite (make check). - examples for examples. - m4 for m4 files. * Renamed configure.in to configure.ac. * Added/updated Makefile.am files where needed. * Updated acinclude.m4 and configure.ac (AC_CONFIG_FILES line). * Updated the documentation (INSTALL, README, doc/README.dev and doc/mpfr.texi). * Updated NEWS and TODO. * Updated the scripts now in tools. The following script was used: #!/usr/bin/env zsh svn mkdir doc other src tools tune svn mv ${${(M)$(sed -n '/libmpfr_la_SOURCES/,/[^\]$/p' \ Makefile.am):#*.[ch]}:#get_patches.c} mparam_h.in \ round_raw_generic.c jyn_asympt.c src svn mv mbench check_inits_clears coverage get_patches.sh mpfrlint \ nightly-test update-patchv update-version tools svn mv bidimensional_sample.c speed.c tuneup.c tune svn mv *.{c,h} other svn mv FAQ.html README.dev algorithm* faq.xsl fdl.texi mpfr.texi \ update-faq doc svn mv configure.in configure.ac svn cp Makefile.am src/Makefile.am svn rm replace_all [Modifying some files, see above] svn add doc/Makefile.am svn add tune/Makefile.am ------------------------------------------------------------------------ r7086 | vlefevre | 2010-08-16 13:09:20 +0000 (Mon, 16 Aug 2010) | 4 lines Changed paths: M /trunk/Makefile.am [Makefile.am] Updated -version-info (the interface hasn't really been changed yet -- though the future bug fix / rewrite of mpfr_mul_q and mpfr_div_q could be seen as an addition -- but this eases maintenance and avoids -version-info conflict with the 3.0 branch). ------------------------------------------------------------------------ r7085 | vlefevre | 2010-08-16 12:40:14 +0000 (Mon, 16 Aug 2010) | 1 line Changed paths: M /trunk/bidimensional_sample.c [bidimensional_sample.c] Added copyright notice. ------------------------------------------------------------------------ r7084 | vlefevre | 2010-08-16 12:37:37 +0000 (Mon, 16 Aug 2010) | 1 line Changed paths: M /trunk/ai.c [ai.c] Prototype clean-up. ------------------------------------------------------------------------ r7083 | vlefevre | 2010-08-16 09:21:21 +0000 (Mon, 16 Aug 2010) | 12 lines Changed paths: M /trunk/README.dev M /trunk/acinclude.m4 M /trunk/fits_intmax.c M /trunk/fits_uintmax.c M /trunk/get_sj.c M /trunk/get_uj.c M /trunk/m4/size_max.m4 M /trunk/set_sj.c M /trunk/set_uj.c M /trunk/tests/tfits.c M /trunk/tests/tfprintf.c M /trunk/tests/tget_sj.c M /trunk/tests/tprintf.c M /trunk/tests/tset_sj.c M /trunk/vasprintf.c Avoid a compilation failure on OSF/1 (Tru64) 5.1 due to non-C99 conformance though is available. In various source files and m4 files, use the following form only: #if HAVE_INTTYPES_H # include #endif #if HAVE_STDINT_H # include #endif Updated README.dev to mention this form. ------------------------------------------------------------------------ r7078 | vlefevre | 2010-08-13 14:46:58 +0000 (Fri, 13 Aug 2010) | 1 line Changed paths: M /trunk/tests/random2.c Deleted old svn:mergeinfo property on tests/random2.c ------------------------------------------------------------------------ r7077 | vlefevre | 2010-08-13 10:11:25 +0000 (Fri, 13 Aug 2010) | 10 lines Changed paths: M /trunk/tests/mpf_compat.h M /trunk/tests/tpow.c M /trunk/tests/tpow_z.c M /trunk/tests/tremquo.c M /trunk/tests/tset.c M /trunk/tests/tset_ld.c M /trunk/tests/tzeta_ui.c [tests] Avoid warning due to -Wunused-but-set-variable (from future GCC 4.6). Only let the one from tsubnormal.c because it's a TODO. * mpf_compat.h: use the variables, that are there for prototype checking. * tpow.c, tpow_z.c: test the ternary value. * tremquo.c: removed inex variables (the bug due to the MPFR value). * tset.c: test the ternary value. * tset_ld.c: removed the long double variable (it cannot be tested in a portable way and the bug was an assertion failure). * tzeta_ui.c: removed the inexact variable (not really useful here). ------------------------------------------------------------------------ r7076 | vlefevre | 2010-08-13 09:44:19 +0000 (Fri, 13 Aug 2010) | 2 lines Changed paths: M /trunk/get_f.c [get_f.c] Avoid warning due to -Wunused-but-set-variable (from future GCC 4.6). ------------------------------------------------------------------------ r7075 | vlefevre | 2010-08-13 09:41:27 +0000 (Fri, 13 Aug 2010) | 2 lines Changed paths: M /trunk/gamma.c [gamma.c] Avoid warning due to -Wunused-but-set-variable (from future GCC 4.6). ------------------------------------------------------------------------ r7074 | vlefevre | 2010-08-13 09:38:28 +0000 (Fri, 13 Aug 2010) | 2 lines Changed paths: M /trunk/gmp_op.c [gmp_op.c] Avoid warning due to -Wunused-but-set-variable (from future GCC 4.6). ------------------------------------------------------------------------ r7073 | vlefevre | 2010-08-13 09:32:58 +0000 (Fri, 13 Aug 2010) | 3 lines Changed paths: M /trunk/exp_2.c [exp_2.c] No longer define qn and sizer, which are no longer used since r6919. This was detected by gcc-snapshot (4.6.0 prerelease) under Debian (-Wunused-but-set-variable). ------------------------------------------------------------------------ r7072 | vlefevre | 2010-08-13 08:12:06 +0000 (Fri, 13 Aug 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] Update. ------------------------------------------------------------------------ r7071 | vlefevre | 2010-08-13 08:11:16 +0000 (Fri, 13 Aug 2010) | 3 lines Changed paths: M /trunk/ieee_floats.h [ieee_floats.h] Avoid breaking aliasing-rules when _GMP_IEEE_FLOATS is defined (e.g. with --with-gmp-build), by replacing a struct by a union like in r6381 for long double. ------------------------------------------------------------------------ r7070 | vlefevre | 2010-08-13 07:58:14 +0000 (Fri, 13 Aug 2010) | 1 line Changed paths: M /trunk/configure.in [configure.in] Removed useless slash. ------------------------------------------------------------------------ r7069 | vlefevre | 2010-08-12 14:28:59 +0000 (Thu, 12 Aug 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] Prepare for new version 3.1.0. ------------------------------------------------------------------------ r7067 | vlefevre | 2010-08-12 14:13:48 +0000 (Thu, 12 Aug 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] Removed obsolete paragraph about the old prepare script. ------------------------------------------------------------------------ r7066 | vlefevre | 2010-08-12 13:46:41 +0000 (Thu, 12 Aug 2010) | 1 line Changed paths: M /trunk/update-version [update-version] Detect errors. ------------------------------------------------------------------------ r7065 | vlefevre | 2010-08-12 10:51:17 +0000 (Thu, 12 Aug 2010) | 1 line Changed paths: M /trunk/FAQ.html Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r7064 | vlefevre | 2010-08-12 10:50:56 +0000 (Thu, 12 Aug 2010) | 1 line Changed paths: M /trunk/faq.xsl [faq.xsl] Do not copy XML comments. ------------------------------------------------------------------------ r7063 | vlefevre | 2010-08-12 10:48:45 +0000 (Thu, 12 Aug 2010) | 1 line Changed paths: M /trunk/FAQ.html Updated FAQ.html with update-faq. ------------------------------------------------------------------------ r7059 | vlefevre | 2010-08-12 08:52:54 +0000 (Thu, 12 Aug 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] INRIAGforge -> INRIAGForge. ------------------------------------------------------------------------ r7058 | vlefevre | 2010-08-12 08:49:23 +0000 (Thu, 12 Aug 2010) | 5 lines Changed paths: M /trunk/README [README] Update: * InriaGforge -> INRIAGForge (official typography). * Updated URL of the Subversion FAQ (now on apache.org). * README.dev provided via SVN only. * Removed the old note about the old CVS repository. ------------------------------------------------------------------------ r7057 | vlefevre | 2010-08-11 13:56:25 +0000 (Wed, 11 Aug 2010) | 1 line Changed paths: M /trunk/gmp_op.c [gmp_op.c] mpfr_mul_q and mpfr_div_q are still buggy; added comment. ------------------------------------------------------------------------ r7056 | vlefevre | 2010-08-11 13:39:05 +0000 (Wed, 11 Aug 2010) | 1 line Changed paths: M /trunk/tests/tgmpop.c [tests/tgmpop.c] Added missing "static". ------------------------------------------------------------------------ r7055 | thevenyp | 2010-08-11 10:48:45 +0000 (Wed, 11 Aug 2010) | 1 line Changed paths: M /trunk/gmp_op.c M /trunk/tests/tgmpop.c gmp_op.c: Fix ternary value returned by mpfr_mul_q and mpfr_div_q in overflow cases. ------------------------------------------------------------------------ r7051 | vlefevre | 2010-08-04 23:51:21 +0000 (Wed, 04 Aug 2010) | 1 line Changed paths: M /trunk/README.dev README.dev: updated "To make a release" (test of FP division by 0). ------------------------------------------------------------------------ r7050 | vlefevre | 2010-08-04 23:45:25 +0000 (Wed, 04 Aug 2010) | 10 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/tadd_d.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tests.c M /trunk/tests/tgeneric.c M /trunk/tests/tget_d.c M /trunk/tests/tget_flt.c M /trunk/tests/tset_d.c M /trunk/tests/tset_ld.c Support implementations where the floating-point division by 0 fails. * acinclude.m4: added a test to check whether the FP division by 0 fails, and define MPFR_ERRDIVZERO in such a case. * tests/tests.c: if MPFR_TEST_DIVBYZERO is defined, test whether there has been a floating-point division by 0 (FE_DIVBYZERO or FE_INVALID exception). * tests/tgeneric.c: if MPFR_ERRDIVZERO is defined, disable the huge and tiny cases. * tests/t*_{flt,d,ld}.c: if MPFR_ERRDIVZERO is defined, disable tests involving NaN and infinities. ------------------------------------------------------------------------ r7049 | vlefevre | 2010-08-04 22:09:17 +0000 (Wed, 04 Aug 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] Update about the compilers. ------------------------------------------------------------------------ r7048 | vlefevre | 2010-08-04 14:50:54 +0000 (Wed, 04 Aug 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] Mention clang. ------------------------------------------------------------------------ r7047 | vlefevre | 2010-08-04 14:25:17 +0000 (Wed, 04 Aug 2010) | 7 lines Changed paths: M /trunk/get_sj.c [get_sj.c] Fixed bug found by John Regehr: https://gforge.inria.fr/tracker/index.php?func=detail&aid=10839&group_id=136&atid=619 Note: the problem was an undefined behavior that could occur when sizeof(mp_limb_t) < sizeof(intmax_t) and |x| was small enough, because a right shift was >= the type width. However as the shifted value was 0, most platforms should not be affected by this bug. This problem was detected with clang -fcatch-undefined-ansic-behavior. ------------------------------------------------------------------------ r7046 | vlefevre | 2010-08-04 14:05:09 +0000 (Wed, 04 Aug 2010) | 1 line Changed paths: M /trunk/tests/tget_sj.c [tests/tget_sj.c] Added tests of 1 and -1. ------------------------------------------------------------------------ r7045 | vlefevre | 2010-08-04 13:35:48 +0000 (Wed, 04 Aug 2010) | 2 lines Changed paths: M /trunk/get_sj.c [get_sj.c] Added assertions concerning https://gforge.inria.fr/tracker/?func=detail&atid=619&aid=10839&group_id=136 ------------------------------------------------------------------------ r7044 | vlefevre | 2010-08-04 10:59:01 +0000 (Wed, 04 Aug 2010) | 2 lines Changed paths: M /trunk/configure.in [configure.in] When logging is enabled, remove the possible -pedantic from GMP's CFLAGS to avoid warnings about C conformance. ------------------------------------------------------------------------ r7043 | vlefevre | 2010-08-04 10:17:14 +0000 (Wed, 04 Aug 2010) | 2 lines Changed paths: M /trunk/mpfr-impl.h [mpfr-impl.h] Reverse-merged changeset r7042. The code was not incorrect: the warning is due to the -pedantic from GMP's CFLAGS. ------------------------------------------------------------------------ r7042 | vlefevre | 2010-08-04 09:58:06 +0000 (Wed, 04 Aug 2010) | 4 lines Changed paths: M /trunk/mpfr-impl.h [mpfr-impl.h] Correction to avoid GCC warnings warning: invalid storage class for function 'x_f' warning: invalid storage class for function '__mpfr_log_cleanup' when building MPFR with logging support. ------------------------------------------------------------------------ r7041 | vlefevre | 2010-08-03 15:16:22 +0000 (Tue, 03 Aug 2010) | 1 line Changed paths: M /trunk/mpfrlint [mpfrlint] Correction for the future MPFR source structure. ------------------------------------------------------------------------ r7040 | vlefevre | 2010-08-03 15:08:22 +0000 (Tue, 03 Aug 2010) | 1 line Changed paths: M /trunk/mpfrlint [mpfrlint] Execute check_inits_clears. ------------------------------------------------------------------------ r7039 | vlefevre | 2010-08-03 15:06:58 +0000 (Tue, 03 Aug 2010) | 1 line Changed paths: M /trunk/check_inits_clears [check_inits_clears] Correction. ------------------------------------------------------------------------ r7038 | vlefevre | 2010-08-02 15:07:51 +0000 (Mon, 02 Aug 2010) | 1 line Changed paths: M /trunk/Makefile.am [Makefile.am] Moved ieee_floats.h from EXTRA_DIST to libmpfr_la_SOURCES. ------------------------------------------------------------------------ r7037 | vlefevre | 2010-08-02 15:03:24 +0000 (Mon, 02 Aug 2010) | 2 lines Changed paths: M /trunk/Makefile.am [Makefile.am] Clean-up: removed gen_inverse.h from EXTRA_DIST because it is already in libmpfr_la_SOURCES. ------------------------------------------------------------------------ r7036 | vlefevre | 2010-08-01 19:47:36 +0000 (Sun, 01 Aug 2010) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] Removed the comment about the dependency bug. (svn merge -r7032:7031 mparam_h.in) ------------------------------------------------------------------------ r7033 | vlefevre | 2010-08-01 19:26:12 +0000 (Sun, 01 Aug 2010) | 2 lines Changed paths: M /trunk/Makefile.am [Makefile.am] Added "BUILT_SOURCES = mparam.h", fixing bug https://gforge.inria.fr/tracker/index.php?func=detail&aid=10810&group_id=136&atid=619 ------------------------------------------------------------------------ r7032 | vlefevre | 2010-08-01 18:45:45 +0000 (Sun, 01 Aug 2010) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] Added a comment concerning the bug in the mparam.h dependency rule: https://gforge.inria.fr/tracker/index.php?func=detail&aid=10810&group_id=136&atid=619 ------------------------------------------------------------------------ r7031 | vlefevre | 2010-08-01 18:39:52 +0000 (Sun, 01 Aug 2010) | 1 line Changed paths: M /trunk/mparam_h.in [mparam_h.in] Enable C mode for Emacs. ------------------------------------------------------------------------ r7030 | vlefevre | 2010-08-01 17:09:24 +0000 (Sun, 01 Aug 2010) | 1 line Changed paths: M /trunk/mparam_h.in [mparam_h.in] Deleted trailing whitespace. ------------------------------------------------------------------------ r7029 | vlefevre | 2010-08-01 17:08:36 +0000 (Sun, 01 Aug 2010) | 1 line Changed paths: M /trunk/mparam_h.in [mparam_h.in] Bug fix: added a newline at the end of the file. ------------------------------------------------------------------------ r7026 | vlefevre | 2010-07-30 15:44:24 +0000 (Fri, 30 Jul 2010) | 4 lines Changed paths: M /trunk/BUGS M /trunk/FAQ.html M /trunk/INSTALL M /trunk/NEWS M /trunk/README M /trunk/README.dev M /trunk/TODO M /trunk/abort_prec_max.c M /trunk/acinclude.m4 M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_d.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/ai.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/bernoulli.c M /trunk/buildopt.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/check.c M /trunk/clear.c M /trunk/clears.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_abs.c M /trunk/cmp_d.c M /trunk/cmp_ld.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/comparisons.c M /trunk/configure.in M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/constant.c M /trunk/copysign.c M /trunk/cos.c M /trunk/cosh.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/digamma.c M /trunk/dim.c M /trunk/div.c M /trunk/div_2exp.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_d.c M /trunk/div_ui.c M /trunk/dump.c M /trunk/eint.c M /trunk/eq.c M /trunk/erfc.c M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/examples/version.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp10.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/extract.c M /trunk/factorial.c M /trunk/faq.xsl M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_sint.c M /trunk/fits_slong.c M /trunk/fits_sshort.c M /trunk/fits_u.h M /trunk/fits_uint.c M /trunk/fits_uintmax.c M /trunk/fits_ulong.c M /trunk/fits_ushort.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/free_cache.c M /trunk/gamma.c M /trunk/gammaonethird.c M /trunk/gen_inverse.h M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_exp.c M /trunk/get_f.c M /trunk/get_flt.c M /trunk/get_ld.c M /trunk/get_patches.sh M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/ieee_floats.h M /trunk/init.c M /trunk/init2.c M /trunk/inits.c M /trunk/inits2.c M /trunk/inp_str.c M /trunk/int_ceil_log2.c M /trunk/isinf.c M /trunk/isinteger.c M /trunk/isnan.c M /trunk/isnum.c M /trunk/isqrt.c M /trunk/isregular.c M /trunk/iszero.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/min_prec.c M /trunk/minmax.c M /trunk/modf.c M /trunk/mpf2mpfr.h M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr-thread.h M /trunk/mpfr.h M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_2exp.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/mul_d.c M /trunk/mul_ui.c M /trunk/mulders.c M /trunk/neg.c M /trunk/next.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/print_rnd_mode.c M /trunk/printf.c M /trunk/rec_sqrt.c M /trunk/reldiff.c M /trunk/rem1.c M /trunk/rint.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/scale2.c M /trunk/sec.c M /trunk/sech.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_dfl_prec.c M /trunk/set_exp.c M /trunk/set_f.c M /trunk/set_flt.c M /trunk/set_inf.c M /trunk/set_ld.c M /trunk/set_nan.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_sj.c M /trunk/set_str.c M /trunk/set_str_raw.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/set_z_exp.c M /trunk/set_zero.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/setsign.c M /trunk/sgn.c M /trunk/si_op.c M /trunk/signbit.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/speed.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_d.c M /trunk/sub_ui.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/swap.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/cmp_str.c M /trunk/tests/data/digamma M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/random2.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabs.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tai.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstdint.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta_ui.c M /trunk/tuneup.c M /trunk/uceil_exp2.c M /trunk/uceil_log2.c M /trunk/ufloor_log2.c M /trunk/ui_div.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/ui_sub.c M /trunk/urandom.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/version.c M /trunk/volatile.c M /trunk/yn.c M /trunk/zeta_ui.c Replaced Contributed by the Arenaire and Cacao projects by Contributed by the Arenaire and Caramel projects ------------------------------------------------------------------------ r7024 | vlefevre | 2010-07-30 15:26:12 +0000 (Fri, 30 Jul 2010) | 1 line Changed paths: M /trunk/AUTHORS [AUTHORS] Updated a sentence. ------------------------------------------------------------------------ r7021 | vlefevre | 2010-07-30 09:36:55 +0000 (Fri, 30 Jul 2010) | 1 line Changed paths: M /trunk Added configure.lineno (generated by configure) to svn:ignore property. ------------------------------------------------------------------------ r7016 | vlefevre | 2010-07-29 16:01:45 +0000 (Thu, 29 Jul 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] For announces, changed mpfr into mpfr-announce. ------------------------------------------------------------------------ r7014 | vlefevre | 2010-07-26 11:12:22 +0000 (Mon, 26 Jul 2010) | 1 line Changed paths: M /trunk/ai.c [ai.c] Replaced mp_exp_t by mpfr_exp_t. ------------------------------------------------------------------------ r7013 | vlefevre | 2010-07-25 19:31:31 +0000 (Sun, 25 Jul 2010) | 1 line Changed paths: M /trunk/ai.c [ai.c] Fixed several bugs in mpfr_ai. ------------------------------------------------------------------------ r7010 | schevill | 2010-07-20 13:18:42 +0000 (Tue, 20 Jul 2010) | 3 lines Changed paths: M /trunk/bidimensional_sample.c Updated bidimensional_sample to take into account the fact the mpfr_ai1 and mpfr_ai2 are now statically defined. ------------------------------------------------------------------------ r7009 | schevill | 2010-07-20 12:49:26 +0000 (Tue, 20 Jul 2010) | 3 lines Changed paths: M /trunk/ai.c M /trunk/mpfr.h mpfr_ai1 and mpfr_ai2 are now declared static. Only mpfr_ai is global. ------------------------------------------------------------------------ r7008 | schevill | 2010-07-20 12:38:44 +0000 (Tue, 20 Jul 2010) | 3 lines Changed paths: M /trunk/mpfr.h Forgot a declaration in the previous commit. ------------------------------------------------------------------------ r7007 | schevill | 2010-07-20 12:32:42 +0000 (Tue, 20 Jul 2010) | 9 lines Changed paths: M /trunk/Makefile.am M /trunk/ai.c D /trunk/ai2.c M /trunk/bidimensional_sample.c M /trunk/mparam_h.in M /trunk/mpfr-impl.h M /trunk/tuneup.c Added automatic tuning of mpfr_ai. More precisely: * removed ai2.c: both implementations are now in the same file ai.c * added thresholds and automatic choice of the method to use in function of the thresholds. * added procedures for tuning functions like ai into tuneup.c * added a tuning procedure into tuneup.c ------------------------------------------------------------------------ r7005 | vlefevre | 2010-07-19 08:29:11 +0000 (Mon, 19 Jul 2010) | 1 line Changed paths: M /trunk/tests/tget_flt.c [tests/tget_flt.c] Fixed printf strings (missing backslash). ------------------------------------------------------------------------ r7004 | zimmerma | 2010-07-15 12:54:15 +0000 (Thu, 15 Jul 2010) | 2 lines Changed paths: M /trunk/tests/tget_flt.c [tget_flt.c] completed previous commit ------------------------------------------------------------------------ r7003 | zimmerma | 2010-07-15 12:49:09 +0000 (Thu, 15 Jul 2010) | 2 lines Changed paths: M /trunk/tests/tget_flt.c [tget_flt.c] print more information in case a test fails ------------------------------------------------------------------------ r6999 | vlefevre | 2010-07-09 23:59:50 +0000 (Fri, 09 Jul 2010) | 1 line Changed paths: M /trunk/gamma.c [gamma.c] Added an assert concerning the mpfr_exp_t size. ------------------------------------------------------------------------ r6998 | vlefevre | 2010-07-09 23:48:40 +0000 (Fri, 09 Jul 2010) | 1 line Changed paths: M /trunk/tests/tgamma.c [tests/tgamma.c] Use mpfr_set_str instead of mpfr_set_d. ------------------------------------------------------------------------ r6997 | vlefevre | 2010-07-09 23:33:24 +0000 (Fri, 09 Jul 2010) | 1 line Changed paths: M /trunk/exp_2.c [exp_2.c] Untabified. ------------------------------------------------------------------------ r6996 | zimmerma | 2010-07-09 20:09:08 +0000 (Fri, 09 Jul 2010) | 6 lines Changed paths: M /trunk/gamma.c M /trunk/tests/tgamma.c [gamma.c] fixed bug reported on MPFR list: https://sympa.inria.fr/sympa/arc/mpfr/2010-07/msg00001.html In the underflow detection: * we took log instead of log2 * at the end, we added the wrong terms ------------------------------------------------------------------------ r6995 | vlefevre | 2010-07-01 12:58:19 +0000 (Thu, 01 Jul 2010) | 1 line Changed paths: M /trunk/mpfr-impl.h [mpfr-impl.h] Added a comment concerning the 'noreturn' property. ------------------------------------------------------------------------ r6994 | zimmerma | 2010-06-28 15:32:21 +0000 (Mon, 28 Jun 2010) | 6 lines Changed paths: M /trunk/exp_2.c [exp_2.c] added 3 more bits to initial working precision. On a sample of 20247 tests by Sylvain Chevillard with precisions in [50, 100], the number of Ziv's failures decreased from 1184 to 144, which is less than 1% (to reduce to zero, we would have to increase the number of extra bits from 8 to 17). ------------------------------------------------------------------------ r6993 | vlefevre | 2010-06-28 13:10:28 +0000 (Mon, 28 Jun 2010) | 3 lines Changed paths: M /trunk/round_prec.c [round_prec.c] Applied a patch from Patrick Pélissier (with slightly modified comments) to make mpfr_prec_round compatible with non-mpfr_init allocation methods when no realloc is needed. ------------------------------------------------------------------------ r6989 | vlefevre | 2010-06-25 12:46:50 +0000 (Fri, 25 Jun 2010) | 4 lines Changed paths: M /trunk/acinclude.m4 M /trunk/mpfr-gmp.h [acinclude.m4] Use AC_FUNC_ALLOCA to have HAVE_ALLOCA_H defined when available. This problem was introduced when AC_FUNC_ALLOCA was removed from configure.in in r6765. Note: building MPFR with --with-gmp-build is not affected as GMP's config.h is used. ------------------------------------------------------------------------ r6988 | vlefevre | 2010-06-25 11:44:00 +0000 (Fri, 25 Jun 2010) | 1 line Changed paths: M /trunk/mpfr-gmp.h [mpfr-gmp.h] Reverted incorrect changeset r6987 (see code about alloca). ------------------------------------------------------------------------ r6987 | zimmerma | 2010-06-25 10:00:44 +0000 (Fri, 25 Jun 2010) | 2 lines Changed paths: M /trunk/mpfr-gmp.h [mpfr-gmp.h] include alloca.h ------------------------------------------------------------------------ r6986 | zimmerma | 2010-06-25 08:20:10 +0000 (Fri, 25 Jun 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] added comment about config.log ------------------------------------------------------------------------ r6985 | zimmerma | 2010-06-24 20:39:09 +0000 (Thu, 24 Jun 2010) | 3 lines Changed paths: M /trunk/exp_2.c [exp_2.c] fixed problem reported by Sylvain Chevillard for large x, where the cancelled bits were counted twice ------------------------------------------------------------------------ r6983 | vlefevre | 2010-06-24 06:11:32 +0000 (Thu, 24 Jun 2010) | 1 line Changed paths: M /trunk/tests/tfprintf.c [tests/tfprintf.c] Cosmetic improvement suggested by Denis Excoffier. ------------------------------------------------------------------------ r6982 | vlefevre | 2010-06-23 13:47:19 +0000 (Wed, 23 Jun 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] Minor change to match a filename on the website. ------------------------------------------------------------------------ r6979 | vlefevre | 2010-06-23 10:13:07 +0000 (Wed, 23 Jun 2010) | 2 lines Changed paths: M /trunk/tests/tout_str.c [tests/tout_str.c] Fixed bug introduced in r6976: changed size_t into unsigned int for printf (the size of unsigned int is sufficient here). ------------------------------------------------------------------------ r6978 | vlefevre | 2010-06-22 15:59:16 +0000 (Tue, 22 Jun 2010) | 1 line Changed paths: M /trunk/out_str.c [out_str.c] Handle the output errors. ------------------------------------------------------------------------ r6977 | vlefevre | 2010-06-22 15:27:34 +0000 (Tue, 22 Jun 2010) | 2 lines Changed paths: M /trunk/out_str.c [out_str.c] Handle output error in the special cases of mpfr_out_str (and use MPFR_IS_SINGULAR like in the other functions). ------------------------------------------------------------------------ r6976 | thevenyp | 2010-06-22 14:59:21 +0000 (Tue, 22 Jun 2010) | 1 line Changed paths: M /trunk/mpfr.texi M /trunk/out_str.c M /trunk/tests/tout_str.c Fix wrong return value of mpfr_out_str on special values. ------------------------------------------------------------------------ r6974 | vlefevre | 2010-06-22 13:24:56 +0000 (Tue, 22 Jun 2010) | 1 line Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.in M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/version.c Updated version to 3.1.0-dev. ------------------------------------------------------------------------ r6973 | vlefevre | 2010-06-22 13:23:33 +0000 (Tue, 22 Jun 2010) | 2 lines Changed paths: M /trunk/README.dev [README.dev] Added a paragraph about the precision, rounding mode and exponent types. ------------------------------------------------------------------------ r6972 | vlefevre | 2010-06-22 13:17:29 +0000 (Tue, 22 Jun 2010) | 2 lines Changed paths: M /trunk/ai2.c M /trunk/bidimensional_sample.c M /trunk/gammaonethird.c M /trunk/get_f.c M /trunk/mpfr-impl.h M /trunk/mpfrlint In mpfrlint, detect the use of mp_exp_t and mp_prec_t. Fixed the files that were generating warnings. ------------------------------------------------------------------------ r6971 | schevill | 2010-06-22 13:12:09 +0000 (Tue, 22 Jun 2010) | 3 lines Changed paths: M /trunk/ai2.c I forgot to replace one occurrence of isqrt. ------------------------------------------------------------------------ r6968 | schevill | 2010-06-22 08:45:00 +0000 (Tue, 22 Jun 2010) | 4 lines Changed paths: M /trunk/ai2.c Use of __gmpfr_isqrt instead of my own isqrt wrapper. ------------------------------------------------------------------------ r6967 | schevill | 2010-06-22 08:43:18 +0000 (Tue, 22 Jun 2010) | 6 lines Changed paths: M /trunk/Makefile.am A /trunk/bidimensional_sample.c Added a tool for nicely displaying which method is the best in function of x and prec when several method can be used for evaluating a given function f in x at precision prec. ------------------------------------------------------------------------ r6965 | vlefevre | 2010-06-21 12:32:44 +0000 (Mon, 21 Jun 2010) | 3 lines Changed paths: M /trunk/Makefile.am [Makefile.am] Fixed dist-hook for -dev versions (I assumed that || and && were right associative, while they are left associative). Thanks to Laurent Rineau for noticing this problem. ------------------------------------------------------------------------ r6964 | zimmerma | 2010-06-21 09:40:15 +0000 (Mon, 21 Jun 2010) | 9 lines Changed paths: M /trunk/exp_2.c [exp_2.c] fixed inefficiency for large x: the initial precision was too small, which had the effect that the first Ziv iteration did fail with non-negligible probability (problem reported by Sylvain Chevillard). Also in case of 2 iterations or more the K variable was corrupted. Note (2012-03-03): huge inefficiency has been noticed when evaluating mpfr_exp on an argument close to log(2^n) in RNDU: https://sympa.inria.fr/sympa/arc/mpfr/2012-03/msg00000.html One has an obvious hard-to-round case, meaning that several iterations are needed and that K is corrupted. This changeset fixes this bug. ------------------------------------------------------------------------ r6962 | zimmerma | 2010-06-15 21:14:08 +0000 (Tue, 15 Jun 2010) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added note about problem with MSVC runtime (seems to be fixed) ------------------------------------------------------------------------ r6961 | zimmerma | 2010-06-15 20:46:21 +0000 (Tue, 15 Jun 2010) | 2 lines Changed paths: M /trunk/mbench/Makefile [Makefile] alternate patch to r6959 from Patrick Pelissier ------------------------------------------------------------------------ r6960 | zimmerma | 2010-06-15 16:56:09 +0000 (Tue, 15 Jun 2010) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] comments from Vincent Lefevre ------------------------------------------------------------------------ r6959 | zimmerma | 2010-06-15 12:14:12 +0000 (Tue, 15 Jun 2010) | 2 lines Changed paths: M /trunk/mbench/Makefile M /trunk/mbench/mfv5.h [mbench] fixes to make mbench work again (tested with GCC 4.4.3) ------------------------------------------------------------------------ r6958 | zimmerma | 2010-06-15 11:18:50 +0000 (Tue, 15 Jun 2010) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] updated notes on Windows (contributed by Brian Gladman) ------------------------------------------------------------------------ r6955 | vlefevre | 2010-06-10 14:10:03 +0000 (Thu, 10 Jun 2010) | 1 line Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] Reordered check_PROGRAMS. ------------------------------------------------------------------------ r6953 | vlefevre | 2010-06-10 11:49:55 +0000 (Thu, 10 Jun 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] Untabified. ------------------------------------------------------------------------ r6951 | vlefevre | 2010-06-10 11:26:38 +0000 (Thu, 10 Jun 2010) | 1 line Changed paths: M /trunk/BUGS [BUGS] Update. ------------------------------------------------------------------------ r6943 | vlefevre | 2010-06-09 11:26:02 +0000 (Wed, 09 Jun 2010) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] Added a note on Mac OS X; thanks to FX Coudert and Fumihiro Chiba: https://sympa.inria.fr/sympa/arc/mpfr/2010-06/msg00011.html ------------------------------------------------------------------------ r6940 | vlefevre | 2010-06-08 16:17:48 +0000 (Tue, 08 Jun 2010) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Update concerning CC/CFLAGS and the --with-gmp-build option. ------------------------------------------------------------------------ r6938 | vlefevre | 2010-06-07 08:20:58 +0000 (Mon, 07 Jun 2010) | 2 lines Changed paths: M /trunk/NEWS [NEWS] Added an item about the --with-gmp-build configure option and the use of GMP's internal header files. ------------------------------------------------------------------------ r6933 | vlefevre | 2010-06-06 11:21:26 +0000 (Sun, 06 Jun 2010) | 2 lines Changed paths: M /trunk/exp_2.c [exp_2.c] Reverted incorrect optimization patch r6922 (added a comment). There were failures on 32-bit machines. ------------------------------------------------------------------------ r6932 | vlefevre | 2010-06-06 11:17:06 +0000 (Sun, 06 Jun 2010) | 1 line Changed paths: M /trunk/mpfr-impl.h [mpfr-impl.h] Added log messages for the MPFR_GROUP_* macros. ------------------------------------------------------------------------ r6930 | vlefevre | 2010-06-06 10:16:01 +0000 (Sun, 06 Jun 2010) | 1 line Changed paths: M /trunk/mpfrlint [mpfrlint] Detect incorrect use of MPFR_LOG_MSG. ------------------------------------------------------------------------ r6929 | vlefevre | 2010-06-06 10:06:40 +0000 (Sun, 06 Jun 2010) | 2 lines Changed paths: M /trunk/ai2.c [ai2.c] Fixed build failure with --enable-logging, due to incorrect MPFR_LOG_MSG usage (see README.dev). ------------------------------------------------------------------------ r6927 | vlefevre | 2010-06-06 10:00:50 +0000 (Sun, 06 Jun 2010) | 1 line Changed paths: M /trunk/README.dev README.dev: updated "To make a release". ------------------------------------------------------------------------ r6925 | vlefevre | 2010-06-06 09:47:32 +0000 (Sun, 06 Jun 2010) | 2 lines Changed paths: M /trunk/ai.c [ai.c] Fixed build failure with --enable-logging, due to incorrect MPFR_LOG_MSG usage (see README.dev). ------------------------------------------------------------------------ r6922 | zimmerma | 2010-06-04 18:32:18 +0000 (Fri, 04 Jun 2010) | 9 lines Changed paths: M /trunk/exp_2.c [exp_2.c] speed improvement using MPFR_GROUP_* (from Patrick Pelissier): Pass 69 mpfr_add: 63 / 102.97 / 126 mpfr_exp: 430 / 11861.26 / 46588 Was before we removed MY_MPZ_INIT: Pass 50 mpfr_add: 63 / 103.09 / 126 mpfr_exp: 430 / 10911.86 / 44215 ------------------------------------------------------------------------ r6920 | vlefevre | 2010-06-04 08:37:54 +0000 (Fri, 04 Jun 2010) | 2 lines Changed paths: M /trunk/exp_2.c [exp_2.c] Removed useless and possibly incorrect cast (in case -q doesn't necessarily fit in an int). ------------------------------------------------------------------------ r6919 | zimmerma | 2010-06-04 07:51:27 +0000 (Fri, 04 Jun 2010) | 14 lines Changed paths: M /trunk/exp_2.c [exp_2.c] got rid of MY_INIT_MPZ, small slowdown, but code should be more robust. Below are timings from Patrick Pelissier with mbench: mpz_init: Pass 78 mpfr_add: 63 / 102.86 / 126 mpfr_exp: 441 / 12067.81 / 47355 MY_MPZ_INIT Pass 50 mpfr_add: 63 / 103.09 / 126 mpfr_exp: 430 / 10911.86 / 44215 Prec=53 bits (core 2 duo 64 bits) ------------------------------------------------------------------------ r6918 | zimmerma | 2010-06-03 16:18:31 +0000 (Thu, 03 Jun 2010) | 22 lines Changed paths: M /trunk/exp_2.c [exp_2.c] fixed problem reported by Sylvain Chevillard with following code and MPFR_EXP_2_THRESHOLD=36 (valgrind complains). It was due to the fact that GMP might allocate extra limbs, see https://gmplib.org/list-archives/gmp-devel/2010-June/001577.html. The fix is not optimal in the sense that GMP does not give a bound on the allocated memory, thus we can only guess. #include "mpfr.h" int main(void) { mpfr_t x,w; mpfr_init2(x, 37); mpfr_init2(w, 37); mpfr_set_str(x, "-1.000001100100100001111110110101010001p+20", 2, MPFR_RNDN); mpfr_exp (w, x, MPFR_RNDN); mpfr_clear (w); mpfr_clear (x); return 0; } ------------------------------------------------------------------------ r6915 | vlefevre | 2010-06-03 15:07:52 +0000 (Thu, 03 Jun 2010) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Math library check: removed rule specific to HP-UX (only -lM was tested while this library may not be available; so, let's use the default rule as -lm works). ------------------------------------------------------------------------ r6912 | vlefevre | 2010-06-03 08:24:49 +0000 (Thu, 03 Jun 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Arenaire -> Arénaire. ------------------------------------------------------------------------ r6909 | vlefevre | 2010-06-02 11:02:34 +0000 (Wed, 02 Jun 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] 3.0 -> 3.0.0. ------------------------------------------------------------------------ r6907 | vlefevre | 2010-06-02 11:01:18 +0000 (Wed, 02 Jun 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] Added test coverage for MPFR 3.0.0. ------------------------------------------------------------------------ r6904 | vlefevre | 2010-05-31 22:43:23 +0000 (Mon, 31 May 2010) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Added missing blank lines (consistency). ------------------------------------------------------------------------ r6901 | vlefevre | 2010-05-31 22:27:56 +0000 (Mon, 31 May 2010) | 1 line Changed paths: M /trunk/tests/tset_z_exp.c [tests/tset_z_exp.c] Fixed type in a printf. ------------------------------------------------------------------------ r6900 | zimmerma | 2010-05-31 20:10:06 +0000 (Mon, 31 May 2010) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added instructions for "make tune" ------------------------------------------------------------------------ r6899 | zimmerma | 2010-05-31 20:01:03 +0000 (Mon, 31 May 2010) | 2 lines Changed paths: M /trunk/README.dev [README.dev] completed missing instructions for "make tune" ------------------------------------------------------------------------ r6898 | zimmerma | 2010-05-31 19:36:42 +0000 (Mon, 31 May 2010) | 2 lines Changed paths: M /trunk/tests/tset_z_exp.c [tset_z_exp.c] fixed two FIXME ------------------------------------------------------------------------ r6897 | vlefevre | 2010-05-31 14:29:44 +0000 (Mon, 31 May 2010) | 1 line Changed paths: M /trunk/tests/tset_z_exp.c [tests/tset_z_exp.c] Added 2 FIXME in the test. ------------------------------------------------------------------------ r6896 | vlefevre | 2010-05-31 14:20:24 +0000 (Mon, 31 May 2010) | 3 lines Changed paths: M /trunk/tests/tset_z_exp.c [tests/tset_z_exp.c] Removed testcase bug20100531 (this was a bug in the test, which didn't detect overflow cases due to too large random exponent). ------------------------------------------------------------------------ r6895 | vlefevre | 2010-05-31 14:12:27 +0000 (Mon, 31 May 2010) | 1 line Changed paths: M /trunk/tests/tset_z_exp.c [tests/tset_z_exp.c] Added testcase bug20100531. ------------------------------------------------------------------------ r6893 | vlefevre | 2010-05-31 13:44:36 +0000 (Mon, 31 May 2010) | 3 lines Changed paths: M /trunk/NEWS M /trunk/mpfr.texi [mpfr.texi, NEWS] Update related to r6879: "Made defined the previously undefined cases of mpfr_get_si, mpfr_get_ui, mpfr_get_sj, mpfr_get_uj, mpfr_get_z and mpfr_get_z_2exp. In such cases, the erange flag is set.". ------------------------------------------------------------------------ r6892 | vlefevre | 2010-05-31 13:08:17 +0000 (Mon, 31 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Corrected mpfr_atan2 range (added in r6831). ------------------------------------------------------------------------ r6891 | vlefevre | 2010-05-28 15:07:49 +0000 (Fri, 28 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Made an example fit on 80 columns for the info manual. ------------------------------------------------------------------------ r6890 | vlefevre | 2010-05-28 14:29:08 +0000 (Fri, 28 May 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] Changed some @math into @var in the mpfr_fmod description (for consistency). ------------------------------------------------------------------------ r6889 | vlefevre | 2010-05-28 10:54:55 +0000 (Fri, 28 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Corrected a paragraph. ------------------------------------------------------------------------ r6888 | vlefevre | 2010-05-28 10:33:21 +0000 (Fri, 28 May 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] Added an example to get the MPFR version (and at the same time, check whether MPFR is already installed). ------------------------------------------------------------------------ r6886 | vlefevre | 2010-05-28 09:52:37 +0000 (Fri, 28 May 2010) | 1 line Changed paths: M /trunk/Makefile.am A /trunk/examples/version.c Added examples/version.c (and updated Makefile.am). ------------------------------------------------------------------------ r6885 | vlefevre | 2010-05-28 09:25:36 +0000 (Fri, 28 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Correction (English usage). ------------------------------------------------------------------------ r6883 | vlefevre | 2010-05-28 08:16:16 +0000 (Fri, 28 May 2010) | 1 line Changed paths: M /trunk/Makefile.am [Makefile.am] Improved dist-hook rule. ------------------------------------------------------------------------ r6882 | thevenyp | 2010-05-27 09:14:02 +0000 (Thu, 27 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi Fix typo. ------------------------------------------------------------------------ r6881 | zimmerma | 2010-05-26 19:39:02 +0000 (Wed, 26 May 2010) | 2 lines Changed paths: M /trunk/TODO [TODO] removed one item, added one ------------------------------------------------------------------------ r6880 | zimmerma | 2010-05-26 19:35:30 +0000 (Wed, 26 May 2010) | 3 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] removed FIXME (resolved: Philippe confirmed that gmp_printf does not work with mpf2mpfr.h) ------------------------------------------------------------------------ r6879 | vlefevre | 2010-05-25 16:19:48 +0000 (Tue, 25 May 2010) | 3 lines Changed paths: M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/mpfr.texi M /trunk/tests/tget_sj.c M /trunk/tests/tget_z.c M /trunk/tests/tset_si.c Made defined the previously undefined cases of mpfr_get_si, mpfr_get_ui, mpfr_get_sj, mpfr_get_uj, mpfr_get_z and mpfr_get_z_2exp. In such cases, the erange flag is set. ------------------------------------------------------------------------ r6878 | schevill | 2010-05-25 14:27:57 +0000 (Tue, 25 May 2010) | 3 lines Changed paths: M /trunk/ai.c M /trunk/ai2.c * 80 columns. ------------------------------------------------------------------------ r6877 | schevill | 2010-05-25 14:14:37 +0000 (Tue, 25 May 2010) | 3 lines Changed paths: M /trunk/gammaonethird.c do ... while(0) style for macros. ------------------------------------------------------------------------ r6875 | vlefevre | 2010-05-25 13:20:34 +0000 (Tue, 25 May 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] Correction. ------------------------------------------------------------------------ r6873 | vlefevre | 2010-05-25 11:05:42 +0000 (Tue, 25 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Minor changes. ------------------------------------------------------------------------ r6872 | vlefevre | 2010-05-25 10:43:08 +0000 (Tue, 25 May 2010) | 1 line Changed paths: M /trunk/INSTALL [INSTALL] Reverted incorrect changeset r6870. ------------------------------------------------------------------------ r6871 | vlefevre | 2010-05-25 10:41:44 +0000 (Tue, 25 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Added a comment about non-ASCII characters. ------------------------------------------------------------------------ r6870 | thevenyp | 2010-05-25 10:38:51 +0000 (Tue, 25 May 2010) | 1 line Changed paths: M /trunk/INSTALL M /trunk/mpfr.texi More explicit documentation on the use of specifiers in printf function. ------------------------------------------------------------------------ r6869 | vlefevre | 2010-05-25 10:34:07 +0000 (Tue, 25 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Encoding correction for ±. ------------------------------------------------------------------------ r6868 | vlefevre | 2010-05-25 10:26:12 +0000 (Tue, 25 May 2010) | 2 lines Changed paths: M /trunk/NEWS M /trunk/mpfr.texi [NEWS, mpfr.texi] mpfr_custom_get_mantissa was renamed to mpfr_custom_get_significand. ------------------------------------------------------------------------ r6867 | vlefevre | 2010-05-25 10:15:30 +0000 (Tue, 25 May 2010) | 3 lines Changed paths: M /trunk/tests/tstckintc.c [tests/tstckintc.c] Changed mpfr_custom_get_mantissa into mpfr_custom_get_significand (but mpfr_custom_get_mantissa was still working thanks to the #define). ------------------------------------------------------------------------ r6866 | vlefevre | 2010-05-25 10:13:26 +0000 (Tue, 25 May 2010) | 2 lines Changed paths: M /trunk/mpfr.h M /trunk/stack_interface.c [mpfr.h, stack_interface.c] Changed mpfr_custom_get_mantissa into mpfr_custom_get_significand (r6862 was incomplete). ------------------------------------------------------------------------ r6865 | vlefevre | 2010-05-25 09:29:40 +0000 (Tue, 25 May 2010) | 2 lines Changed paths: M /trunk/mpfr.h [mpfr.h] support: also test _STDINT (for MS Visual Studio). Thanks to Brian Gladman for the information. ------------------------------------------------------------------------ r6863 | vlefevre | 2010-05-25 07:24:18 +0000 (Tue, 25 May 2010) | 3 lines Changed paths: M /trunk/buildopt.c M /trunk/mpfrlint [buildopt.c] Missing #include "mpfr-impl.h" for cygwin builds. [mpfrlint] Detect such errors (mpfr-impl.h may be needed because it includes config.h when there is one). ------------------------------------------------------------------------ r6862 | zimmerma | 2010-05-24 16:56:52 +0000 (Mon, 24 May 2010) | 2 lines Changed paths: M /trunk/mpfr.h M /trunk/mpfr.texi [mpfr.texi] more changes after answers by Vincent to my questions ------------------------------------------------------------------------ r6860 | vlefevre | 2010-05-24 10:54:03 +0000 (Mon, 24 May 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] Reformat / fixed typography. ------------------------------------------------------------------------ r6855 | vlefevre | 2010-05-24 00:01:40 +0000 (Mon, 24 May 2010) | 6 lines Changed paths: M /trunk/sub1sp.c [sub1sp.c] Fixed a problem that appeared after mpfr_prec_t has been made signed. It was visible on PowerPC (tested on Linux 32 bits and on Mac OS X 32 & 64 bits), but could potentially affect any platform as a negative shift count was generated. As the faulty expressions were in a MPFR_ASSERTD, the failure could occur only when assertion checking had been enabled. ------------------------------------------------------------------------ r6852 | vlefevre | 2010-05-22 23:08:17 +0000 (Sat, 22 May 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] Removed trailing spaces. ------------------------------------------------------------------------ r6851 | vlefevre | 2010-05-22 23:06:49 +0000 (Sat, 22 May 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] Added information about intmax_t and corresponding macros. ------------------------------------------------------------------------ r6849 | vlefevre | 2010-05-22 22:42:05 +0000 (Sat, 22 May 2010) | 6 lines Changed paths: M /trunk/acinclude.m4 M /trunk/fits_intmax.c M /trunk/fits_uintmax.c M /trunk/get_sj.c M /trunk/get_uj.c M /trunk/mpfr-impl.h M /trunk/tests/tfits.c M /trunk/tests/tget_sj.c M /trunk/tests/tset_sj.c Detect when the intmax_t type is available but INTMAX_MAX doesn't work (e.g. with gcc -ansi -pedantic-errors in 32-bit mode under GNU/Linux). New macros MPFR_UINTMAX_MAX, MPFR_INTMAX_MAX and MPFR_INTMAX_MIN are defined and used internally instead of UINTMAX_MAX, INTMAX_MAX and INTMAX_MIN. If these C99 macros work, then the MPFR_* macros use them, otherwise MPFR uses its own definitions. ------------------------------------------------------------------------ r6846 | vlefevre | 2010-05-22 19:41:07 +0000 (Sat, 22 May 2010) | 1 line Changed paths: M /trunk/gammaonethird.c M /trunk/mpfr-impl.h mpfr_div_ui8 and mpfr_mul_ui5 didn't have to be exported. ------------------------------------------------------------------------ r6845 | vlefevre | 2010-05-22 19:33:22 +0000 (Sat, 22 May 2010) | 1 line Changed paths: M /trunk/ai.c M /trunk/ai2.c M /trunk/bernoulli.c M /trunk/buildopt.c M /trunk/digamma.c M /trunk/gammaonethird.c M /trunk/get_flt.c M /trunk/ieee_floats.h M /trunk/isregular.c M /trunk/mbench/mfv5.h M /trunk/mbench/timp.h M /trunk/min_prec.c M /trunk/scale2.c M /trunk/set_flt.c M /trunk/set_z_exp.c M /trunk/set_zero.c M /trunk/speed.c M /trunk/tests/tai.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tdigamma.c M /trunk/tests/tfprintf.c M /trunk/tests/tget_flt.c M /trunk/tests/tmin_prec.c M /trunk/tests/tprintf.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tstdint.c Updated Subversion properties. ------------------------------------------------------------------------ r6844 | vlefevre | 2010-05-22 19:13:37 +0000 (Sat, 22 May 2010) | 1 line Changed paths: M /trunk/ai2.c [ai2.c] GNU style. ------------------------------------------------------------------------ r6843 | vlefevre | 2010-05-22 16:04:13 +0000 (Sat, 22 May 2010) | 1 line Changed paths: M /trunk/ai2.c [ai2.c] Style correction (necessary for ansi2knr, if still useful). ------------------------------------------------------------------------ r6842 | vlefevre | 2010-05-22 13:55:22 +0000 (Sat, 22 May 2010) | 1 line Changed paths: M /trunk/ai.c M /trunk/ai2.c [ai.c, ai2.c] Untabified / removed trailing spaces. ------------------------------------------------------------------------ r6841 | vlefevre | 2010-05-22 13:53:19 +0000 (Sat, 22 May 2010) | 1 line Changed paths: M /trunk/ai.c [ai.c] GNU style. ------------------------------------------------------------------------ r6840 | vlefevre | 2010-05-22 10:21:11 +0000 (Sat, 22 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Corrected the paragraph about whether MPFR is installed. ------------------------------------------------------------------------ r6839 | vlefevre | 2010-05-22 00:12:31 +0000 (Sat, 22 May 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] Corrections and answers to PZ comments from r6831. The document encoding is now UTF-8. ------------------------------------------------------------------------ r6838 | vlefevre | 2010-05-21 21:06:07 +0000 (Fri, 21 May 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] n-char-sequence was changed into n-char-sequence-opt in r6132, but I forgot to update all the occurrences. ------------------------------------------------------------------------ r6837 | schevill | 2010-05-21 09:47:13 +0000 (Fri, 21 May 2010) | 5 lines Changed paths: M /trunk/ai.c M /trunk/ai2.c * Removed double precision numbers. * Handle +0 and -0 the same way. * Use MPFR_GET_EXP in ai2.c ------------------------------------------------------------------------ r6836 | schevill | 2010-05-20 14:19:47 +0000 (Thu, 20 May 2010) | 3 lines Changed paths: M /trunk/ai.c * Corrected a bug when x=0 (MPFR_GET_EXP requires to assert that x!=0). ------------------------------------------------------------------------ r6835 | schevill | 2010-05-20 13:34:26 +0000 (Thu, 20 May 2010) | 3 lines Changed paths: M /trunk/ai.c M /trunk/ai2.c M /trunk/gammaonethird.c M /trunk/mpfr-impl.h Corrected some warnings. ------------------------------------------------------------------------ r6834 | schevill | 2010-05-20 12:39:34 +0000 (Thu, 20 May 2010) | 3 lines Changed paths: M /trunk/mpfr.texi Corrected an error that prevented the doc from compiling. ------------------------------------------------------------------------ r6833 | vlefevre | 2010-05-20 09:47:02 +0000 (Thu, 20 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: corrections. ------------------------------------------------------------------------ r6832 | zimmerma | 2010-05-20 09:35:06 +0000 (Thu, 20 May 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] explain why mpfr_sum uses an array of pointers to mpfr_t ------------------------------------------------------------------------ r6831 | zimmerma | 2010-05-20 09:10:47 +0000 (Thu, 20 May 2010) | 4 lines Changed paths: M /trunk/TODO M /trunk/fdl.texi M /trunk/mpfr.texi [mpfr.texi] changes after a complete reading of the documentation. There are some issues left that I don't know how to solve, they are marked with @c PZ in mpfr.texi. ------------------------------------------------------------------------ r6829 | vlefevre | 2010-05-19 23:07:54 +0000 (Wed, 19 May 2010) | 2 lines Changed paths: M /trunk/NEWS M /trunk/mpfr.texi [mpfr.texi, NEWS] Noted that the mpfr_ai implementation is incomplete and experimental. ------------------------------------------------------------------------ r6827 | vlefevre | 2010-05-19 23:04:40 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/ai.c [ai.c] Use MPFR_IS_SINGULAR. Added a FIXME comment for Ai(0). ------------------------------------------------------------------------ r6825 | vlefevre | 2010-05-19 22:41:29 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/mpfr-impl.h M /trunk/tests/texceptions.c M /trunk/tests/tget_f.c M /trunk/tests/tmodf.c M /trunk/tests/tpow_all.c M /trunk/tests/turandom.c Type corrections for C++ compilers (in particular, mpfr_rnd_t vs int). ------------------------------------------------------------------------ r6822 | vlefevre | 2010-05-19 14:30:02 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/ai.c [ai.c] Fixed possible problem in reduced exponent range. ------------------------------------------------------------------------ r6821 | vlefevre | 2010-05-19 14:25:02 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/ai.c M /trunk/ai2.c Removed trailing spaces. ------------------------------------------------------------------------ r6820 | schevill | 2010-05-19 13:48:46 +0000 (Wed, 19 May 2010) | 4 lines Changed paths: M /trunk/ai.c M /trunk/ai2.c M /trunk/gammaonethird.c * Removed some warnings. * More conform to GNU coding standards. ------------------------------------------------------------------------ r6818 | vlefevre | 2010-05-19 13:09:29 +0000 (Wed, 19 May 2010) | 2 lines Changed paths: M /trunk/README.dev D /trunk/patch-aclocal-icc Removed obsolete patch-aclocal-icc and updated README.dev (about "To make a release"). ------------------------------------------------------------------------ r6813 | vlefevre | 2010-05-19 12:38:01 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/Makefile.am [Makefile.am] Added a comment concerning -version-info and MPFR 3.0.x. ------------------------------------------------------------------------ r6812 | vlefevre | 2010-05-19 11:53:33 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r6811 | vlefevre | 2010-05-19 10:18:37 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Preliminary interfaces are no longer preliminary. ------------------------------------------------------------------------ r6810 | vlefevre | 2010-05-19 10:13:39 +0000 (Wed, 19 May 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] API Compatibility: mention the detection of the availability of intmax_t with C++ compilers. ------------------------------------------------------------------------ r6809 | vlefevre | 2010-05-19 09:07:33 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] signness -> signedness (thanks to Philippe). ------------------------------------------------------------------------ r6808 | vlefevre | 2010-05-19 00:11:39 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Missing @code. ------------------------------------------------------------------------ r6807 | vlefevre | 2010-05-19 00:09:11 +0000 (Wed, 19 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Corrected C terminology (table -> array). ------------------------------------------------------------------------ r6806 | vlefevre | 2010-05-18 14:40:36 +0000 (Tue, 18 May 2010) | 1 line Changed paths: M /trunk/NEWS M /trunk/mpfr.texi [mpfr.texi, NEWS] Mention that mpfr_ai is a new function in MPFR 3.0. ------------------------------------------------------------------------ r6805 | vlefevre | 2010-05-18 14:36:05 +0000 (Tue, 18 May 2010) | 1 line Changed paths: D /trunk/prepare Removed obsolete prepare script (autoreconf does the same thing). ------------------------------------------------------------------------ r6804 | schevill | 2010-05-18 14:34:57 +0000 (Tue, 18 May 2010) | 21 lines Changed paths: M /trunk/Makefile.am M /trunk/ai.c A /trunk/ai2.c A /trunk/gammaonethird.c M /trunk/mpfr.h * I added a new implementation of Airy Ai. This implementation uses Smith's algorithm. Currently, it is provided as a separate implementation mpfr_ai2. * Please note that both mpfr_ai and mpfr_ai2 need to efficiently evaluate Gamma(1/3) and Gamma(2/3). This is provided by functions in the file gammaonethird.c * There is no test file for mpfr_ai2 since it should quickly disappear behind a single implementation using the best of mpfr_ai and mpfr_ai2. However, if necessary, a test file can be obtained by copying tai.c and replacing mpfr_ai by mpfr_ai2 everywhere. * I do not know if gammaonethird.c will remain like that in the future. Should we make this implementation available as a public MPFR function? In this case, I have to write a wrapper for providing a correctly rounded implementation. Moreover, it contains functions that could be interesting for the implementation of other functions (the functions mpfr_div_ui*). Maybe, it could be worth providing a file specially for this purpose. ------------------------------------------------------------------------ r6803 | vlefevre | 2010-05-18 14:32:07 +0000 (Tue, 18 May 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] Added release name. ------------------------------------------------------------------------ r6802 | vlefevre | 2010-05-18 14:30:38 +0000 (Tue, 18 May 2010) | 2 lines Changed paths: M /trunk/NEWS [NEWS] Updated "Changes from versions 2.3.* to version 2.4.0" from MPFR 2.4.2. ------------------------------------------------------------------------ r6801 | vlefevre | 2010-05-18 14:25:20 +0000 (Tue, 18 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Completed Section 6.1 "Type and Macro Changes". ------------------------------------------------------------------------ r6800 | vlefevre | 2010-05-18 14:07:26 +0000 (Tue, 18 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Updated Section 6.1 "Type and Macro Changes". ------------------------------------------------------------------------ r6799 | vlefevre | 2010-05-18 13:57:03 +0000 (Tue, 18 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Missing space. ------------------------------------------------------------------------ r6798 | vlefevre | 2010-05-18 13:54:47 +0000 (Tue, 18 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Updated Section 6.1 "Type and Macro Changes". ------------------------------------------------------------------------ r6797 | vlefevre | 2010-05-18 13:53:06 +0000 (Tue, 18 May 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] A bit less ambiguous... ------------------------------------------------------------------------ r6796 | vlefevre | 2010-05-18 13:12:49 +0000 (Tue, 18 May 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] More details for mp_rnd_t/mpfr_rnd_t, like mp_prec_t/mpfr_prec_t. ------------------------------------------------------------------------ r6795 | vlefevre | 2010-05-17 15:51:28 +0000 (Mon, 17 May 2010) | 2 lines Changed paths: M /trunk/NEWS M /trunk/mpfr.texi Added "API Compatibility" section to the MPFR manual. TODO: Section 6.1 "Type and Macro Changes". ------------------------------------------------------------------------ r6794 | vlefevre | 2010-05-17 13:31:19 +0000 (Mon, 17 May 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] mpfr_strtofr now accepts bases from 37 to 62 (r5965). ------------------------------------------------------------------------ r6793 | vlefevre | 2010-05-10 09:25:01 +0000 (Mon, 10 May 2010) | 1 line Changed paths: M /trunk/INSTALL INSTALL: updated section about MS Windows. ------------------------------------------------------------------------ r6792 | vlefevre | 2010-05-10 09:05:12 +0000 (Mon, 10 May 2010) | 1 line Changed paths: M /trunk/INSTALL INSTALL: updated section about MS Windows. ------------------------------------------------------------------------ r6791 | vlefevre | 2010-05-08 17:17:18 +0000 (Sat, 08 May 2010) | 1 line Changed paths: M /trunk/tests/tests.c [tests/tests.c] Fixed code when _MPFR_PREC_FORMAT != 3. ------------------------------------------------------------------------ r6790 | zimmerma | 2010-05-08 08:01:05 +0000 (Sat, 08 May 2010) | 2 lines Changed paths: M /trunk/tests/tests.c [tests/tests.c] fixed compiler warning (found by nightly tests) ------------------------------------------------------------------------ r6789 | vlefevre | 2010-05-07 15:13:02 +0000 (Fri, 07 May 2010) | 1 line Changed paths: M /trunk/NEWS M /trunk/README.dev M /trunk/TODO M /trunk/acos.c M /trunk/acosh.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/ai.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/cbrt.c M /trunk/cmp.c M /trunk/cmp_abs.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/const_euler.c M /trunk/cos.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/digamma.c M /trunk/div.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_ui.c M /trunk/eint.c M /trunk/eq.c M /trunk/erf.c M /trunk/erfc.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_u.h M /trunk/fits_uintmax.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/gamma.c M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_exp.c M /trunk/get_flt.c M /trunk/get_ld.c M /trunk/get_si.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/isinteger.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/mbench/mfv5.cc M /trunk/mbench/mpfr-v6.c M /trunk/modf.c M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/next.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_z.c M /trunk/print_raw.c M /trunk/rem1.c M /trunk/rint.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/set_d.c M /trunk/set_exp.c M /trunk/set_f.c M /trunk/set_ld.c M /trunk/set_si_2exp.c M /trunk/set_ui_2exp.c M /trunk/set_z_exp.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/swap.c M /trunk/tanh.c M /trunk/tests/mpfr-test.h M /trunk/tests/random2.c M /trunk/tests/tacos.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tasin.c M /trunk/tests/tatan.c M /trunk/tests/tcan_round.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tdiv.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/tfactorial.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tget_f.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/thypot.c M /trunk/tests/tinternals.c M /trunk/tests/tlgamma.c M /trunk/tests/tlog.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_ui.c M /trunk/tests/tpow.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trint.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_si.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tset_z_exp.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/ttanh.c M /trunk/tests/tui_pow.c M /trunk/tests/turandom.c M /trunk/ui_pow_ui.c M /trunk/urandom.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/yn.c M /trunk/zeta.c New exponent type mpfr_exp_t for MPFR (replacing GMP's mp_exp_t). ------------------------------------------------------------------------ r6788 | vlefevre | 2010-05-07 14:18:54 +0000 (Fri, 07 May 2010) | 1 line Changed paths: M /trunk/README.dev [README.dev] Updated a paragraph concerning signed and unsigned types. ------------------------------------------------------------------------ r6787 | vlefevre | 2010-05-07 13:57:28 +0000 (Fri, 07 May 2010) | 12 lines Changed paths: M /trunk/NEWS M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/tests/tcheck.c Changed the precision type mpfr_prec_t from an unsigned integer type into the corresponding signed integer type, in order to avoid problems due to the usual arithmetic conversions when mixing mpfr_prec_t and mp_exp_t in an expression. * NEWS: mentioned this change. * mpfr-impl.h: removed MPFR_INTPREC_MAX (which wasn't used) and updated the MPFR_UNSIGNED_MINUS_MODULO(S,A) macro, which assumed that A was unsigned; this macro now works even when A is signed. * mpfr.h: added mpfr_uprec_t; updated mpfr_prec_t and MPFR_PREC_MAX. * tests/tcheck.c: disabled a test on MPFR_PREC_MAX+1 with MPFR >= 3 (this test doesn't work with a signed mpfr_prec_t and isn't needed). Note: all tests pass under GNU Linux x86 and x86_64. ------------------------------------------------------------------------ r6786 | vlefevre | 2010-05-07 12:36:55 +0000 (Fri, 07 May 2010) | 1 line Changed paths: M /trunk/tests/tcheck.c [tests/tcheck.c] Forgot to remove a printf (added during testing). ------------------------------------------------------------------------ r6785 | vlefevre | 2010-05-07 12:33:57 +0000 (Fri, 07 May 2010) | 1 line Changed paths: M /trunk/tests/tcheck.c [tests/tcheck.c] Support signed mpfr_prec_t (avoid integer overflow). ------------------------------------------------------------------------ r6784 | vlefevre | 2010-05-07 12:31:53 +0000 (Fri, 07 May 2010) | 1 line Changed paths: M /trunk/tests/mpf_compat.h [tests/mpf_compat.h] Fixed prototype of function main. ------------------------------------------------------------------------ r6783 | vlefevre | 2010-05-07 12:23:22 +0000 (Fri, 07 May 2010) | 1 line Changed paths: M /trunk/mpfr.h [mpfr.h] Added a comment concerning the definition of MPFR_PREC_MAX. ------------------------------------------------------------------------ r6782 | vlefevre | 2010-05-06 10:10:52 +0000 (Thu, 06 May 2010) | 2 lines Changed paths: M /trunk/print_rnd_mode.c print_rnd_mode.c: added an assertion so that we do not forget to update this file after a new rounding mode is added. ------------------------------------------------------------------------ r6780 | vlefevre | 2010-05-03 14:26:06 +0000 (Mon, 03 May 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] Added a paragraph about multiple inclusions of mpfr.h and/or gmp.h header files. ------------------------------------------------------------------------ r6779 | thevenyp | 2010-05-03 14:19:20 +0000 (Mon, 03 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi Update documentation for mpfr_print_rnd_mode. ------------------------------------------------------------------------ r6778 | vlefevre | 2010-05-03 13:15:15 +0000 (Mon, 03 May 2010) | 3 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/mpfr.h To avoid breaking the ABI when faithful rounding gets implemented, added MPFR_RNDF to the mpfr_rnd_t enum type now, and removed MPFR_RND_MAX from the enumeration (it is now defined as a macro in mpfr-impl.h). ------------------------------------------------------------------------ r6777 | vlefevre | 2010-05-03 12:52:28 +0000 (Mon, 03 May 2010) | 1 line Changed paths: M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_sint.c M /trunk/fits_slong.c M /trunk/fits_sshort.c fits_* (signed version): corrections and optimizations. ------------------------------------------------------------------------ r6776 | vlefevre | 2010-05-03 12:30:46 +0000 (Mon, 03 May 2010) | 5 lines Changed paths: M /trunk/fits_u.h M /trunk/fits_uintmax.c [fits_uintmax.c, fits_u.h] Some casts could be incorrect in the case mp_exp_t > mpfr_prec_t. Set prec to the int type since in practice, prec will be small enough to fit in an int. The fact that prec is now signed allows us to remove a useless test (also note that prec should be computed at compile time, so that this should be at least as fast). ------------------------------------------------------------------------ r6775 | vlefevre | 2010-05-03 12:04:56 +0000 (Mon, 03 May 2010) | 1 line Changed paths: M /trunk/fits_u.h M /trunk/fits_uintmax.c [fits_uintmax.c, fits_u.h] Comments: doesn't -> don't ------------------------------------------------------------------------ r6774 | vlefevre | 2010-05-03 11:10:41 +0000 (Mon, 03 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r6773 | thevenyp | 2010-05-03 09:20:38 +0000 (Mon, 03 May 2010) | 1 line Changed paths: M /trunk/mpfr.texi M /trunk/tests/tsprintf.c M /trunk/vasprintf.c Add specifier 'Y' for the rounding away from zero mode in printf-like functions. ------------------------------------------------------------------------ r6772 | zimmerma | 2010-04-30 16:10:44 +0000 (Fri, 30 Apr 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] removed obsolete mpfr_round_prec ------------------------------------------------------------------------ r6770 | vlefevre | 2010-04-30 15:57:34 +0000 (Fri, 30 Apr 2010) | 1 line Changed paths: M /trunk/fits_intmax.c M /trunk/fits_s.h [fits_intmax.c,fits_s.h] Added FIXME comments. ------------------------------------------------------------------------ r6769 | vlefevre | 2010-04-30 15:50:27 +0000 (Fri, 30 Apr 2010) | 2 lines Changed paths: M /trunk/fits_u.h M /trunk/fits_uintmax.c Optimized fits_u.h and made fits_uintmax.c like fits_u.h for the special numbers. ------------------------------------------------------------------------ r6768 | vlefevre | 2010-04-30 15:44:39 +0000 (Fri, 30 Apr 2010) | 1 line Changed paths: M /trunk/fits_uintmax.c Optimized mpfr_fits_uintmax_p. ------------------------------------------------------------------------ r6767 | vlefevre | 2010-04-30 14:37:47 +0000 (Fri, 30 Apr 2010) | 1 line Changed paths: M /trunk/NEWS M /trunk/README.dev M /trunk/acos.c M /trunk/acosh.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/check.c M /trunk/cmp2.c M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/cos.c M /trunk/cosh.c M /trunk/digamma.c M /trunk/eint.c M /trunk/erf.c M /trunk/erfc.c M /trunk/examples/rndo-add.c M /trunk/exp.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/factorial.c M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_u.h M /trunk/fits_uintmax.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/get_f.c M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/init2.c M /trunk/inits2.c M /trunk/isinteger.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/mbench/mpfr-gfx.c M /trunk/mbench/mpfr-v4.c M /trunk/mbench/mpfr-v6.c M /trunk/modf.c M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/mul.c M /trunk/mul_ui.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/print_raw.c M /trunk/rec_sqrt.c M /trunk/root.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/set_dfl_prec.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_z_exp.c M /trunk/setmax.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/speed.c M /trunk/sqr.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/mpfr-test.h M /trunk/tests/reuse.c M /trunk/tests/tabs.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/taway.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/tests.c M /trunk/tests/texp.c M /trunk/tests/tfactorial.c M /trunk/tests/tfma.c M /trunk/tests/tfms.c M /trunk/tests/tfrac.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tgmpop.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_z.c M /trunk/tests/trandom.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tset_sj.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsqrt.c M /trunk/tests/tstckintc.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsum.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tuneup.c M /trunk/ui_pow_ui.c M /trunk/urandom.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/yn.c M /trunk/zeta.c M /trunk/zeta_ui.c Changed mp_prec_t into mpfr_prec_t. ------------------------------------------------------------------------ r6766 | vlefevre | 2010-04-19 14:35:35 +0000 (Mon, 19 Apr 2010) | 1 line Changed paths: M /trunk/configure.in [configure.in] r6765 introduced non-POSIX syntax. Fixed. ------------------------------------------------------------------------ r6765 | zimmerma | 2010-04-19 11:26:12 +0000 (Mon, 19 Apr 2010) | 2 lines Changed paths: M /trunk/configure.in [configure.in] check for GMP internal files only with --with-gmp-build ------------------------------------------------------------------------ r6764 | vlefevre | 2010-04-12 00:11:48 +0000 (Mon, 12 Apr 2010) | 1 line Changed paths: M /trunk/NEWS [NEWS] New function mpfr_regular_p (was added in r6417, 2009-09-14). ------------------------------------------------------------------------ r6762 | vlefevre | 2010-04-07 02:15:06 +0000 (Wed, 07 Apr 2010) | 2 lines Changed paths: M /trunk/mpfr-gmp.h [mpfr-gmp.h] Fixed alloca prototype (bug detected by tcc 0.9.25 under Linux/x86_64). ------------------------------------------------------------------------ r6753 | vlefevre | 2010-03-24 12:45:47 +0000 (Wed, 24 Mar 2010) | 3 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] Improved/corrected the documentation of functions mpfr_lgamma, mpfr_digamma, mpfr_j0/j1/jn, mpfr_y0/y1/yn, mpfr_agm, mpfr_hypot and mpfr_min_prec. ------------------------------------------------------------------------ r6752 | vlefevre | 2010-03-24 12:24:28 +0000 (Wed, 24 Mar 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Removed a "currently" that is no longer needed. ------------------------------------------------------------------------ r6751 | vlefevre | 2010-03-24 12:20:41 +0000 (Wed, 24 Mar 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] Updated description of mpfr_atan2, now that IEEE 754-2008 has been published and follows the same conventions as C99 for atan2. ------------------------------------------------------------------------ r6750 | vlefevre | 2010-03-24 12:12:00 +0000 (Wed, 24 Mar 2010) | 4 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] Updated description of mpfr_pow, now that IEEE 754-2008 has been published and follows the same conventions as C99 for pow. (IEEE 754-2008 doesn't currently specify pow(±inf,non-zero), but I've suggested a correction for the errata page.) ------------------------------------------------------------------------ r6747 | vlefevre | 2010-03-23 15:28:41 +0000 (Tue, 23 Mar 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] Improved documentation of mpfr_print_rnd_mode (from a suggestion by Chris Saunders). ------------------------------------------------------------------------ r6746 | vlefevre | 2010-03-22 10:59:28 +0000 (Mon, 22 Mar 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Various corrections and other improvements. ------------------------------------------------------------------------ r6745 | vlefevre | 2010-03-22 10:38:59 +0000 (Mon, 22 Mar 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Improved the documentation of mpfr_dim too. ------------------------------------------------------------------------ r6744 | zimmerma | 2010-03-22 10:04:29 +0000 (Mon, 22 Mar 2010) | 3 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] improved the documentation of mpfr_rec_sqrt and mpfr_cbrt (thanks Vincent) ------------------------------------------------------------------------ r6743 | zimmerma | 2010-03-22 09:30:44 +0000 (Mon, 22 Mar 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] improved documentation of mpfr_sqrt and mpfr_sqrt_ui ------------------------------------------------------------------------ r6741 | vlefevre | 2010-03-21 18:17:12 +0000 (Sun, 21 Mar 2010) | 1 line Changed paths: M /trunk/mpfr.h [mpfr.h] Added a comment about integer overflows in macros. ------------------------------------------------------------------------ r6740 | zimmerma | 2010-03-19 14:48:17 +0000 (Fri, 19 Mar 2010) | 2 lines Changed paths: M /trunk/tests/tai.c [tai.c] enable first test of check_large, and reduced total time ------------------------------------------------------------------------ r6739 | schevill | 2010-03-19 14:15:23 +0000 (Fri, 19 Mar 2010) | 3 lines Changed paths: M /trunk/mpfr.texi Added a mention about the current limitation of mpfr_ai in mpfr.texi. ------------------------------------------------------------------------ r6738 | schevill | 2010-03-19 13:43:13 +0000 (Fri, 19 Mar 2010) | 6 lines Changed paths: M /trunk/algorithms.tex M /trunk/tests/tai.c Removed check of ai.c for large arguments. I added in algorithms.tex a mention about the fact that mpfr_ai is currently not made for large arguments. ------------------------------------------------------------------------ r6737 | schevill | 2010-03-19 12:16:12 +0000 (Fri, 19 Mar 2010) | 3 lines Changed paths: M /trunk/ai.c * Corrected problems regarding the GNU recommendations for formatting source code. ------------------------------------------------------------------------ r6735 | vlefevre | 2010-03-18 12:55:37 +0000 (Thu, 18 Mar 2010) | 1 line Changed paths: M /trunk/tests tests: added tai to the svn:ignore property. ------------------------------------------------------------------------ r6734 | zimmerma | 2010-03-18 12:37:13 +0000 (Thu, 18 Mar 2010) | 3 lines Changed paths: M /trunk/tests/tai.c [tai.c] reduce the maximal exponents in test_generic() also reduce the number of random tests to decrease the test time ------------------------------------------------------------------------ r6733 | vlefevre | 2010-03-18 12:26:19 +0000 (Thu, 18 Mar 2010) | 1 line Changed paths: M /trunk/README.dev README.dev: in the tests, use mpfr_equal_p rather than mpfr_cmp. ------------------------------------------------------------------------ r6732 | zimmerma | 2010-03-18 12:23:43 +0000 (Thu, 18 Mar 2010) | 2 lines Changed paths: M /trunk/tests/tai.c [tai.c] replace mpfr_cmp by mpfr_equal_p ------------------------------------------------------------------------ r6731 | vlefevre | 2010-03-18 12:11:29 +0000 (Thu, 18 Mar 2010) | 1 line Changed paths: M /trunk/tests/tset_z_exp.c tests/tset_z_exp.c untabified. ------------------------------------------------------------------------ r6730 | vlefevre | 2010-03-18 12:11:13 +0000 (Thu, 18 Mar 2010) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: removed trailing whitespace. ------------------------------------------------------------------------ r6729 | vlefevre | 2010-03-18 11:59:57 +0000 (Thu, 18 Mar 2010) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r6728 | vlefevre | 2010-03-18 11:54:24 +0000 (Thu, 18 Mar 2010) | 1 line Changed paths: M /trunk/AUTHORS Untabified AUTHORS (consistency). ------------------------------------------------------------------------ r6727 | schevill | 2010-03-18 11:50:39 +0000 (Thu, 18 Mar 2010) | 4 lines Changed paths: M /trunk/ai.c * Corrected problems regarding the GNU recommendations for formatting source code. * Corrected the date of the copyright. ------------------------------------------------------------------------ r6726 | zimmerma | 2010-03-18 09:50:20 +0000 (Thu, 18 Mar 2010) | 2 lines Changed paths: M /trunk/tests/tai.c [tai.c] added test for large inputs ------------------------------------------------------------------------ r6725 | zimmerma | 2010-03-18 09:22:02 +0000 (Thu, 18 Mar 2010) | 2 lines Changed paths: M /trunk/AUTHORS [AUTHORS] added Sylvain Chevillard ------------------------------------------------------------------------ r6724 | zimmerma | 2010-03-17 21:12:09 +0000 (Wed, 17 Mar 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] added Sylvain as contributor ------------------------------------------------------------------------ r6723 | schevill | 2010-03-17 17:35:59 +0000 (Wed, 17 Mar 2010) | 18 lines Changed paths: M /trunk/Makefile.am M /trunk/README.dev A /trunk/ai.c A /trunk/algorithm2e.sty M /trunk/algorithms.tex M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/Makefile.am A /trunk/tests/tai.c * Added function mpfr_ai. The implementation is the most naive: it evaluates the series step by step until it can stop. A special strategy is used to detect possible problems when Ai(x) is very close to 0. * Updated algorithms.tex with the technical description of the implementation of mpfr_ai. * Added algorithm2e.sty and algorithm2e-compatibility.sty (necessary to compile algorithms.tex now). * Updated mpfr.texi to let it know this new function. * Added a basic test file for mpfr_ai. I will add other test cases later. * Added a small HOWTO to README.dev about how to add a new test file for new functions. ------------------------------------------------------------------------ r6720 | vlefevre | 2010-03-11 09:43:53 +0000 (Thu, 11 Mar 2010) | 1 line Changed paths: M /trunk/tests/tstrtofr.c GMP_RNDx -> MPFR_RNDx ------------------------------------------------------------------------ r6719 | zimmerma | 2010-03-11 09:24:00 +0000 (Thu, 11 Mar 2010) | 3 lines Changed paths: M /trunk/tests/tstrtofr.c [tstrtofr.c] added test for 1.23e, cf https://gmplib.org/list-archives/gmp-bugs/2010-March/001898.html ------------------------------------------------------------------------ r6718 | vlefevre | 2010-03-11 01:02:58 +0000 (Thu, 11 Mar 2010) | 4 lines Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] Add the test -1 <= x/sqrt(x^2) <= 1, which corresponds to -1 <= x/sqrt(x^2+y^2) <= 1 with y = 0. I don't think the test with random y is still necessary, though, since even a bad sqrt accuracy would not be detected. ------------------------------------------------------------------------ r6717 | vlefevre | 2010-03-10 10:07:46 +0000 (Wed, 10 Mar 2010) | 1 line Changed paths: M /trunk/tests/tsqrt.c [tests/tsqrt.c] Added a comment about the x/sqrt(x^2+y^2) test. ------------------------------------------------------------------------ r6716 | zimmerma | 2010-03-10 09:00:47 +0000 (Wed, 10 Mar 2010) | 4 lines Changed paths: M /trunk/tests/tsqrt.c [tsqrt.c] fixed bug reported by Sam Rawlins (https://sympa.inria.fr/sympa/arc/mpfr/2010-03/msg00007.html) Note: this "bug" had no noticeable consequences; this can just be seen as an incomplete test. ------------------------------------------------------------------------ r6715 | zimmerma | 2010-02-26 08:27:10 +0000 (Fri, 26 Feb 2010) | 2 lines Changed paths: M /trunk/NEWS [NEWS] added item ------------------------------------------------------------------------ r6714 | zimmerma | 2010-02-24 15:49:04 +0000 (Wed, 24 Feb 2010) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] now also recognize "IEEE double, little endian" long-double format (not tested, should happen on ARM) ------------------------------------------------------------------------ r6713 | zimmerma | 2010-02-24 15:07:39 +0000 (Wed, 24 Feb 2010) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] added recognition of "IEEE double big endian" long double format (tested on gcc40.fsffrance.org and gcc53, both PowerPC's) ------------------------------------------------------------------------ r6712 | vlefevre | 2010-02-24 12:59:19 +0000 (Wed, 24 Feb 2010) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] Added test for long double = double-double (GCC/PowerPC). This test cannot currently be reliable, so we just output a warning. ------------------------------------------------------------------------ r6711 | zimmerma | 2010-02-23 16:39:02 +0000 (Tue, 23 Feb 2010) | 2 lines Changed paths: M /trunk/NEWS [NEWS] minor grammar fix ------------------------------------------------------------------------ r6710 | zimmerma | 2010-02-23 16:27:08 +0000 (Tue, 23 Feb 2010) | 2 lines Changed paths: M /trunk/NEWS [NEWS] be more precise about API compatibility ------------------------------------------------------------------------ r6709 | zimmerma | 2010-02-23 15:54:30 +0000 (Tue, 23 Feb 2010) | 2 lines Changed paths: M /trunk/NEWS M /trunk/mpfr.h [mpfr.h] added #define mpfr_get_z_exp mpfr_get_z_2exp for compatibility ------------------------------------------------------------------------ r6708 | vlefevre | 2010-02-23 01:35:39 +0000 (Tue, 23 Feb 2010) | 1 line Changed paths: M /trunk/tests tests: added tset_z_exp to the svn:ignore property. ------------------------------------------------------------------------ r6707 | zimmerma | 2010-02-22 17:23:27 +0000 (Mon, 22 Feb 2010) | 3 lines Changed paths: M /trunk/NEWS M /trunk/atan.c M /trunk/cbrt.c M /trunk/cos.c M /trunk/eint.c M /trunk/exp_2.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/pow.c M /trunk/rem1.c M /trunk/root.c M /trunk/set_z.c M /trunk/set_z_exp.c M /trunk/sin_cos.c M /trunk/tests/tset_z_exp.c changed mpfr_get_z_exp -> mpfr_get_z_2exp (old function) mpfr_set_z_exp -> mpfr_set_z_2exp (new function) ------------------------------------------------------------------------ r6706 | zimmerma | 2010-02-22 15:45:30 +0000 (Mon, 22 Feb 2010) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/NEWS M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/set_z.c A /trunk/set_z_exp.c M /trunk/tests/Makefile.am A /trunk/tests/tset_z_exp.c added new function mpfr_set_z_exp (companion to mpfr_get_z_exp) ------------------------------------------------------------------------ r6705 | vlefevre | 2010-02-18 17:05:48 +0000 (Thu, 18 Feb 2010) | 6 lines Changed paths: M /trunk/TODO M /trunk/tests A /trunk/tests/tstdint.c * Added tests/tstdint.c to test the double inclusion of mpfr.h when only the second occurrence needs (this can happen when one uses several libraries that use MPFR under different conditions). * Added tstdint to the svn:ignore property of "tests". * TODO: mentions that tstdint should be added to check_PROGRAMS in the tests/Makefile.am file once this is fixed. ------------------------------------------------------------------------ r6701 | vlefevre | 2010-02-18 02:02:55 +0000 (Thu, 18 Feb 2010) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated Section "Internals". ------------------------------------------------------------------------ r6700 | vlefevre | 2010-02-16 17:43:28 +0000 (Tue, 16 Feb 2010) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r6699 | vlefevre | 2010-02-16 17:02:40 +0000 (Tue, 16 Feb 2010) | 5 lines Changed paths: M /trunk/mpfr.h M /trunk/mpfr.texi mpfr.h: disable the INTMAX_C / UINTMAX_C test with C++ compilers as it doesn't work well in this case (e.g. possible failure with Boost); see https://sympa.inria.fr/sympa/arc/mpfr/2010-02/msg00025.html and the whole discussion. mpfr.texi: update. ------------------------------------------------------------------------ r6696 | zimmerma | 2010-02-05 07:13:10 +0000 (Fri, 05 Feb 2010) | 3 lines Changed paths: M /trunk/configure.in [configure.in] removed check for C++ and Fortran compiler (comment said to remove it for libtool >= 2.0) ------------------------------------------------------------------------ r6695 | zimmerma | 2010-02-01 09:25:46 +0000 (Mon, 01 Feb 2010) | 2 lines Changed paths: M /trunk/TODO [TODO] dummy change to check if we still get commit mails ------------------------------------------------------------------------ r6694 | zimmerma | 2010-01-29 13:44:58 +0000 (Fri, 29 Jan 2010) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] added note about mpfr_set_str ------------------------------------------------------------------------ r6691 | vlefevre | 2010-01-25 10:54:30 +0000 (Mon, 25 Jan 2010) | 3 lines Changed paths: M /trunk/get_patches.sh Simplified get_patches.sh; minor consequence: the trailing space in the string returned by mpfr_get_patches() when there are patches is no longer present (this trailing space wasn't desired anyway). ------------------------------------------------------------------------ r6687 | vlefevre | 2010-01-25 00:33:37 +0000 (Mon, 25 Jan 2010) | 2 lines Changed paths: M /trunk/configure.in configure.in: updated message for different gmp.h and libgmp versions. See . ------------------------------------------------------------------------ r6686 | vlefevre | 2010-01-20 12:09:45 +0000 (Wed, 20 Jan 2010) | 6 lines Changed paths: M /trunk/FAQ.html M /trunk/README M /trunk/TODO M /trunk/faq.xsl FAQ.html, faq.xsl, README, TODO: slightly changed the copyright notice to make it consistent with the one of the other files. In short, "and the GNU General Public License" has been removed, but it was ambiguous (we did not say which version of the GNU GPL) and useless (for GPLv3) because the LGPLv3 is compatible with the GPLv3: https://www.gnu.org/licenses/gpl-faq.html#WhatDoesCompatMean ------------------------------------------------------------------------ r6685 | vlefevre | 2010-01-20 11:56:23 +0000 (Wed, 20 Jan 2010) | 3 lines Changed paths: M /trunk/INSTALL INSTALL: * added copyright notice (at the top, like GMP); * replaced "Installing MPFR" by "Installing GNU MPFR". ------------------------------------------------------------------------ r6684 | vlefevre | 2010-01-20 11:48:25 +0000 (Wed, 20 Jan 2010) | 3 lines Changed paths: M /trunk/BUGS M /trunk/FAQ.html M /trunk/Makefile.am M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/abort_prec_max.c M /trunk/acinclude.m4 M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_d.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/bernoulli.c M /trunk/buildopt.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/check.c M /trunk/clear.c M /trunk/clears.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_abs.c M /trunk/cmp_d.c M /trunk/cmp_ld.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/comparisons.c M /trunk/configure.in M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/constant.c M /trunk/copysign.c M /trunk/cos.c M /trunk/cosh.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/digamma.c M /trunk/dim.c M /trunk/div.c M /trunk/div_2exp.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_d.c M /trunk/div_ui.c M /trunk/dump.c M /trunk/eint.c M /trunk/eq.c M /trunk/erf.c M /trunk/erfc.c M /trunk/examples/divworst.c M /trunk/examples/rndo-add.c M /trunk/examples/sample.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp10.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/extract.c M /trunk/factorial.c M /trunk/faq.xsl M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_sint.c M /trunk/fits_slong.c M /trunk/fits_sshort.c M /trunk/fits_u.h M /trunk/fits_uint.c M /trunk/fits_uintmax.c M /trunk/fits_ulong.c M /trunk/fits_ushort.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/free_cache.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_exp.c M /trunk/get_f.c M /trunk/get_flt.c M /trunk/get_ld.c M /trunk/get_patches.sh M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/ieee_floats.h M /trunk/init.c M /trunk/init2.c M /trunk/inits.c M /trunk/inits2.c M /trunk/inp_str.c M /trunk/int_ceil_log2.c M /trunk/isinf.c M /trunk/isinteger.c M /trunk/isnan.c M /trunk/isnum.c M /trunk/isqrt.c M /trunk/isregular.c M /trunk/iszero.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/min_prec.c M /trunk/minmax.c M /trunk/modf.c M /trunk/mp_clz_tab.c M /trunk/mparam_h.in M /trunk/mpf2mpfr.h M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr-longlong.h M /trunk/mpfr-thread.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_2exp.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/mul_d.c M /trunk/mul_ui.c M /trunk/mulders.c M /trunk/neg.c M /trunk/next.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/print_rnd_mode.c M /trunk/printf.c M /trunk/rec_sqrt.c M /trunk/reldiff.c M /trunk/rem1.c M /trunk/rint.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/scale2.c M /trunk/sec.c M /trunk/sech.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_dfl_prec.c M /trunk/set_exp.c M /trunk/set_f.c M /trunk/set_flt.c M /trunk/set_inf.c M /trunk/set_ld.c M /trunk/set_nan.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_sj.c M /trunk/set_str.c M /trunk/set_str_raw.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/set_zero.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/setsign.c M /trunk/sgn.c M /trunk/si_op.c M /trunk/signbit.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/speed.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_d.c M /trunk/sub_ui.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/swap.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/Makefile.am M /trunk/tests/cmp_str.c M /trunk/tests/data/digamma M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/random2.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdigamma.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_flt.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/turandom.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tuneup.c M /trunk/uceil_exp2.c M /trunk/uceil_log2.c M /trunk/ufloor_log2.c M /trunk/ui_div.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/ui_sub.c M /trunk/urandom.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/version.c M /trunk/volatile.c M /trunk/yn.c M /trunk/zeta.c M /trunk/zeta_ui.c Copyright notice update: added 2010 with perl -pi -e 's/2009 Free Software/2009, 2010 Free Software/' **/*(^/) under zsh, reverting the ChangeLog file and the mbench directory. ------------------------------------------------------------------------ r6683 | vlefevre | 2010-01-20 11:35:49 +0000 (Wed, 20 Jan 2010) | 1 line Changed paths: M /trunk/tests tests: added turandom to the svn:ignore property. ------------------------------------------------------------------------ r6682 | vlefevre | 2010-01-20 11:33:30 +0000 (Wed, 20 Jan 2010) | 3 lines Changed paths: M /trunk/INSTALL INSTALL: updated paragraphs about the search paths (in particular, --with-gmp=/usr/local is no longer chosen as an example as it does not work as expected; a note has been added about that). ------------------------------------------------------------------------ r6681 | vlefevre | 2010-01-20 09:57:24 +0000 (Wed, 20 Jan 2010) | 1 line Changed paths: M /trunk/INSTALL INSTALL: rewrote a paragraph about search paths. ------------------------------------------------------------------------ r6680 | thevenyp | 2010-01-18 18:30:44 +0000 (Mon, 18 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c [urandom.c] Fix case emin > 0. ------------------------------------------------------------------------ r6679 | zimmerma | 2010-01-18 15:28:50 +0000 (Mon, 18 Jan 2010) | 2 lines Changed paths: M /trunk/TODO [TODO] added more details for random distribution functions ------------------------------------------------------------------------ r6678 | zimmerma | 2010-01-18 14:30:15 +0000 (Mon, 18 Jan 2010) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c [tprintf.c, tfprintf.c] cleaned up previous commit ------------------------------------------------------------------------ r6677 | vlefevre | 2010-01-18 13:50:17 +0000 (Mon, 18 Jan 2010) | 2 lines Changed paths: M /trunk/tests/turandom.c tests/turandom.c: updated a test (if emin > 1 and rnd == MPFR_RNDN, then the result is necessarily 0). ------------------------------------------------------------------------ r6676 | vlefevre | 2010-01-18 13:39:17 +0000 (Mon, 18 Jan 2010) | 1 line Changed paths: M /trunk/tests/turandom.c tests/turandom.c: more tests in restricted exponent range. ------------------------------------------------------------------------ r6675 | vlefevre | 2010-01-18 13:27:04 +0000 (Mon, 18 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c urandom.c: corrected a comment. ------------------------------------------------------------------------ r6674 | zimmerma | 2010-01-18 12:37:30 +0000 (Mon, 18 Jan 2010) | 3 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c [tprintf.c,tfprintf.c] print obtained chain in test #8 (https://sympa.inria.fr/sympa/arc/mpfr/2009-12/msg00035.html) ------------------------------------------------------------------------ r6673 | thevenyp | 2010-01-18 09:48:47 +0000 (Mon, 18 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c [urandom.c] Fix bug in setting random exponent. ------------------------------------------------------------------------ r6672 | vlefevre | 2010-01-16 10:13:53 +0000 (Sat, 16 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c urandom.c: added a FIXME comment. ------------------------------------------------------------------------ r6671 | vlefevre | 2010-01-15 17:11:08 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c urandom.c: removed unused variable k; updated a comment. ------------------------------------------------------------------------ r6670 | thevenyp | 2010-01-15 16:38:11 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c [urandom.c] Improve generation of random exponent. ------------------------------------------------------------------------ r6669 | thevenyp | 2010-01-15 16:36:42 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c [urandom.c] Fix bug introduced in r6667. ------------------------------------------------------------------------ r6668 | zimmerma | 2010-01-15 15:17:18 +0000 (Fri, 15 Jan 2010) | 2 lines Changed paths: M /trunk/TODO [TODO] added item ------------------------------------------------------------------------ r6667 | thevenyp | 2010-01-15 14:25:06 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c [urandom.c] Fix case nextabove(0) in reduced exponent range. ------------------------------------------------------------------------ r6666 | thevenyp | 2010-01-15 10:06:20 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/tests/turandom.c [tests/turandom.c] Change accumulation of ternary value in the loop, it was not portable in system with sign and magnitude representation for integers. ------------------------------------------------------------------------ r6665 | thevenyp | 2010-01-15 09:51:31 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c [urandom.c] Move generation of a random rounding bit in a separate function. ------------------------------------------------------------------------ r6664 | thevenyp | 2010-01-15 09:49:14 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c [urandom.c] Remove trailing whitespace. ------------------------------------------------------------------------ r6663 | thevenyp | 2010-01-15 09:32:43 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c [urandom.c] Call mpfr_nextabove in maximum exponent range. ------------------------------------------------------------------------ r6662 | vlefevre | 2010-01-15 04:21:01 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c urandom.c: added a FIXME so that it is not forgotten. ------------------------------------------------------------------------ r6661 | vlefevre | 2010-01-15 02:01:52 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r6659 | vlefevre | 2010-01-15 01:57:05 +0000 (Fri, 15 Jan 2010) | 1 line Changed paths: M /trunk/mpfrlint mpfrlint: require bash. ------------------------------------------------------------------------ r6658 | vlefevre | 2010-01-14 16:03:37 +0000 (Thu, 14 Jan 2010) | 1 line Changed paths: M /trunk/urandom.c urandom.c: clean-up (avoid a useless goto). ------------------------------------------------------------------------ r6657 | vlefevre | 2010-01-14 15:22:37 +0000 (Thu, 14 Jan 2010) | 1 line Changed paths: M /trunk/README.dev README.dev: added a paragraph (use MPFR_ASSERTN, not printf + exit). ------------------------------------------------------------------------ r6656 | thevenyp | 2010-01-14 12:16:15 +0000 (Thu, 14 Jan 2010) | 1 line Changed paths: M /trunk/mpfr.texi [mpfr.texi] Cosmetic change. ------------------------------------------------------------------------ r6655 | thevenyp | 2010-01-14 11:55:05 +0000 (Thu, 14 Jan 2010) | 3 lines Changed paths: M /trunk/mpfr.texi M /trunk/tests/turandom.c M /trunk/urandom.c [urandom.c, mpfr.texi] Change the behavior of mpfr_urandom to the usual mpfr function interface (wrt the ternary value and the out-of-range behavior). [tests/turandom.c] Check new behavior and add a test for the inclusion in [0, 1]. ------------------------------------------------------------------------ r6654 | thevenyp | 2010-01-13 18:12:54 +0000 (Wed, 13 Jan 2010) | 1 line Changed paths: M /trunk/Makefile.am M /trunk/NEWS M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/Makefile.am A /trunk/tests/turandom.c (from /trunk/tests/trandom.c:6653) A /trunk/urandom.c (from /trunk/urandomb.c:6653) New function mpfr_urandom. ------------------------------------------------------------------------ r6652 | vlefevre | 2010-01-11 15:42:05 +0000 (Mon, 11 Jan 2010) | 1 line Changed paths: M /trunk/README.dev README.dev: added a note about patches and the autotools. ------------------------------------------------------------------------ r6650 | vlefevre | 2010-01-10 23:24:54 +0000 (Sun, 10 Jan 2010) | 1 line Changed paths: M /trunk/mpfrlint Added mpfrlint test for the required autoconf versions (see r6649). ------------------------------------------------------------------------ r6649 | zimmerma | 2010-01-10 10:27:09 +0000 (Sun, 10 Jan 2010) | 2 lines Changed paths: M /trunk/README.dev M /trunk/acinclude.m4 [README.dev] required version of autoconf did not agree with acinclude.m4 ------------------------------------------------------------------------ r6648 | vlefevre | 2010-01-08 21:44:07 +0000 (Fri, 08 Jan 2010) | 2 lines Changed paths: M /trunk/configure.in configure.in: replaced BITS_PER_MP_LIMB by GMP_NUMB_BITS (should have been done in r6645). ------------------------------------------------------------------------ r6647 | vlefevre | 2010-01-08 21:37:05 +0000 (Fri, 08 Jan 2010) | 1 line Changed paths: M /trunk/mpfrlint mpfrlint: check that GMP_LIMB_BITS isn't used. ------------------------------------------------------------------------ r6646 | vlefevre | 2010-01-08 21:36:26 +0000 (Fri, 08 Jan 2010) | 1 line Changed paths: M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/algorithms.tex M /trunk/atan.c M /trunk/check.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/configure.in M /trunk/div-short.c M /trunk/div.c M /trunk/div_ui.c M /trunk/eq.c M /trunk/exp.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/extract.c M /trunk/frac.c M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_f.c M /trunk/get_flt.c M /trunk/get_ld.c M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/gmp_op.c M /trunk/init2.c M /trunk/int_ceil_log2.c M /trunk/isinteger.c M /trunk/lngamma.c M /trunk/log.c M /trunk/min_prec.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_ui.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/rec_sqrt.c M /trunk/rint.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_f.c M /trunk/set_ld.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_si_2exp.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/sin_cos.c M /trunk/speed.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_ui.c M /trunk/tests/mpfr-test.h M /trunk/tests/random2.c M /trunk/tests/tadd.c M /trunk/tests/tcan_round.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tests.c M /trunk/tests/tfprintf.c M /trunk/tests/tget_d.c M /trunk/tests/tget_f.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/tl2b.c M /trunk/tests/tremquo.c M /trunk/tests/tset_f.c M /trunk/tests/tsqrt.c M /trunk/tuneup.c M /trunk/ui_div.c M /trunk/ui_sub.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/zeta_ui.c Replaced GMP_LIMB_BITS by GMP_NUMB_BITS to use only one of these macros. ------------------------------------------------------------------------ r6645 | zimmerma | 2010-01-08 20:04:27 +0000 (Fri, 08 Jan 2010) | 4 lines Changed paths: M /trunk/configure.in [configure.in] put back test BITS_PER_MP_LIMB == BYTES_PER_MP_LIMB * CHAR_BIT (this is done only with --with-gmp-build, and BYTES_PER_MP_LIMB is defined in this case in gmp-impl.h, at least in GMP 5) ------------------------------------------------------------------------ r6644 | zimmerma | 2010-01-08 19:13:48 +0000 (Fri, 08 Jan 2010) | 4 lines Changed paths: M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/algorithms.tex M /trunk/atan.c M /trunk/check.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/configure.in M /trunk/div-short.c M /trunk/div.c M /trunk/div_ui.c M /trunk/eq.c M /trunk/exp.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/extract.c M /trunk/frac.c M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_f.c M /trunk/get_flt.c M /trunk/get_ld.c M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/gmp_op.c M /trunk/init2.c M /trunk/int_ceil_log2.c M /trunk/isinteger.c M /trunk/lngamma.c M /trunk/log.c M /trunk/min_prec.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_ui.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/rec_sqrt.c M /trunk/rint.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_f.c M /trunk/set_ld.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_si_2exp.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/speed.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_ui.c M /trunk/tests/mpfr-test.h M /trunk/tests/random2.c M /trunk/tests/tadd.c M /trunk/tests/tcan_round.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tests.c M /trunk/tests/tfprintf.c M /trunk/tests/tget_d.c M /trunk/tests/tget_f.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/tl2b.c M /trunk/tests/tremquo.c M /trunk/tests/tset_f.c M /trunk/tests/tsqrt.c M /trunk/tuneup.c M /trunk/ui_div.c M /trunk/ui_sub.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/zeta_ui.c BITS_PER_MP_LIMB -> GMP_LIMB_BITS got rid of BYTES_PER_MP_LIMB in configure.in (no longer defined by GMP) Note[VL] (mpfr-impl.h): a mpn_sqr_n() macro is defined to use mpn_mul if it is not already defined (in gmp-impl.h from GMP 4.x). ------------------------------------------------------------------------ r6643 | vlefevre | 2009-12-23 19:10:15 +0000 (Wed, 23 Dec 2009) | 2 lines Changed paths: M /trunk/mbench/Makefile [mbench/Makefile] Patch from Patrick Pelissier to solve the -I problem with GCC. ------------------------------------------------------------------------ r6642 | vlefevre | 2009-12-21 00:44:35 +0000 (Mon, 21 Dec 2009) | 1 line Changed paths: M /trunk/mbench/Makefile [mbench/Makefile] Added a comment (warning about the use of -I). ------------------------------------------------------------------------ r6641 | zimmerma | 2009-12-20 10:26:22 +0000 (Sun, 20 Dec 2009) | 2 lines Changed paths: M /trunk/mbench/Makefile patch from Patrick Pelissier ------------------------------------------------------------------------ r6640 | zimmerma | 2009-12-18 14:57:19 +0000 (Fri, 18 Dec 2009) | 8 lines Changed paths: M /trunk/exp_2.c M /trunk/mparam_h.in M /trunk/scale2.c M /trunk/tuneup.c [scale2.c] added missing include (compilation with --with-gmp-build did fail) [exp_2.c] small improvements in Smith method: compute x^{2i} as (x^i)^2 instead of x^{i-1} * x. The error analysis is unchanged. [tuneup.c] fix for sin_cos threshold (we had a problem since mpfr_sin_cos was calling mpfr_cos, which was calling mpfr_sincos_fast in some cases [mparam_h.in] put new thresholds for Core 2 64-bit ------------------------------------------------------------------------ r6633 | zimmerma | 2009-12-11 09:41:47 +0000 (Fri, 11 Dec 2009) | 3 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] reversed order for case "quad, mais en little endian" for coherence with other cases ------------------------------------------------------------------------ r6632 | zimmerma | 2009-12-10 21:05:50 +0000 (Thu, 10 Dec 2009) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/mpfr-impl.h patch to recognize IEEE quad, little endian format for "long double" ------------------------------------------------------------------------ r6631 | zimmerma | 2009-12-10 15:43:28 +0000 (Thu, 10 Dec 2009) | 3 lines Changed paths: M /trunk/Makefile.am M /trunk/get_d.c M /trunk/get_flt.c M /trunk/mpfr-impl.h M /trunk/scale2.c [scale2.c] now mpfr_scale2 is included in mpfr-impl.h, instead of #including "scale2.c" twice (thus it was compiled twice) ------------------------------------------------------------------------ r6628 | vlefevre | 2009-12-07 11:53:04 +0000 (Mon, 07 Dec 2009) | 7 lines Changed paths: M /trunk/sin_cos.c sin_cos.c: in case of tiny inputs, keep the flags. In practice, this fixes the following bug in mpfr_sin_cos (shown by the latest additions to tsin_cos.c): if emin is the minimal exponent (MPFR_EMIN_MIN), the absolute value of the input is the minimum positive number and the rounding mode is toward 0 (or equivalent), then the underflow flag is dropped. The other exception cases (e.g., in case of reduced exponent range) are handled by mpfr_check_range(). ------------------------------------------------------------------------ r6627 | vlefevre | 2009-12-07 11:21:51 +0000 (Mon, 07 Dec 2009) | 1 line Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: in consistency(), better error message. ------------------------------------------------------------------------ r6626 | vlefevre | 2009-12-07 11:15:46 +0000 (Mon, 07 Dec 2009) | 1 line Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: in consistency(), improved testing on underflow case. ------------------------------------------------------------------------ r6625 | vlefevre | 2009-12-07 10:29:57 +0000 (Mon, 07 Dec 2009) | 1 line Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: in consistency(), added testing on underflow case. ------------------------------------------------------------------------ r6624 | vlefevre | 2009-12-07 10:22:33 +0000 (Mon, 07 Dec 2009) | 1 line Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: in consistency(), fixed flags testing. ------------------------------------------------------------------------ r6623 | vlefevre | 2009-12-07 10:16:17 +0000 (Mon, 07 Dec 2009) | 1 line Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: in consistency(), test also the flags. ------------------------------------------------------------------------ r6622 | vlefevre | 2009-12-07 10:10:13 +0000 (Mon, 07 Dec 2009) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: in consistency(), test also the returned value (the one that gives inexact-related information). ------------------------------------------------------------------------ r6619 | zimmerma | 2009-11-30 15:12:30 +0000 (Mon, 30 Nov 2009) | 2 lines Changed paths: M /trunk/tests/tfits.c [tfits.c] converted to GNU coding style ------------------------------------------------------------------------ r6612 | vlefevre | 2009-11-30 11:57:07 +0000 (Mon, 30 Nov 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: updated "To make a release". ------------------------------------------------------------------------ r6602 | vlefevre | 2009-11-30 02:17:23 +0000 (Mon, 30 Nov 2009) | 1 line Changed paths: M /trunk/uceil_exp2.c uceil_exp2.c: fixed indentation. ------------------------------------------------------------------------ r6599 | vlefevre | 2009-11-29 03:17:53 +0000 (Sun, 29 Nov 2009) | 2 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: got rid of broken code when _GMP_IEEE_FLOATS was defined (broken aliasing rules, yielding failures with GCC 4.5.0 20091119). ------------------------------------------------------------------------ r6598 | zimmerma | 2009-11-27 06:38:45 +0000 (Fri, 27 Nov 2009) | 2 lines Changed paths: M /trunk/tests/tset_ld.c [tset_ld.c] now perform tests even if old gcc bug is present ------------------------------------------------------------------------ r6597 | zimmerma | 2009-11-26 16:38:26 +0000 (Thu, 26 Nov 2009) | 4 lines Changed paths: M /trunk/tests/tget_d.c [tget_d.c] removed workaround for old gcc bug. Comment was: /* workaround for gcc bug on m68040-unknown-netbsd1.4.1, where DBL_MIN gives (1-2^(-52))/2^1022 */ ------------------------------------------------------------------------ r6596 | zimmerma | 2009-11-26 16:26:06 +0000 (Thu, 26 Nov 2009) | 9 lines Changed paths: M /trunk/tests/tadd.c M /trunk/tests/tmul.c [tadd.c, tmul.c] got rid of workaround for old gcc bug. Comment was: /* Parameter "z1" of check() used to be last in the argument list, but that tickled a bug in 32-bit sparc gcc 2.95.2. A "double" in that position is passed on the stack at an address which is 4mod8, but the generated code didn't take into account that alignment, resulting in bus errors. The easiest workaround is to move it to the start of the arg list (where it's passed in registers), this macro does that. FIXME: Change the actual calls to check(), rather than using a macro. */ ------------------------------------------------------------------------ r6595 | zimmerma | 2009-11-26 15:58:02 +0000 (Thu, 26 Nov 2009) | 3 lines Changed paths: M /trunk/strtofr.c [strtofr.c] removed patch for old FreeBsd/Alpha bug (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=72024) ------------------------------------------------------------------------ r6594 | vlefevre | 2009-11-26 14:15:51 +0000 (Thu, 26 Nov 2009) | 2 lines Changed paths: M /trunk/pow_si.c [pow_si.c] Updated comment added in r4355 concerning a bug in Sun's compiler for Solaris/x86. ------------------------------------------------------------------------ r6593 | vlefevre | 2009-11-26 13:38:38 +0000 (Thu, 26 Nov 2009) | 1 line Changed paths: M /trunk/pow_si.c M /trunk/strtofr.c Updated comments concerning the old FreeBSD bug 72024 on LONG_MIN / 1. ------------------------------------------------------------------------ r6587 | vlefevre | 2009-11-25 12:16:22 +0000 (Wed, 25 Nov 2009) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c [tfprintf.c,tprintf.c] Fixed other types in function with variable arguments (even though there were no warnings on the tested machine). ------------------------------------------------------------------------ r6586 | vlefevre | 2009-11-25 12:00:43 +0000 (Wed, 25 Nov 2009) | 1 line Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c [tfprintf.c,tprintf.c] Fixed types in function with variable arguments. ------------------------------------------------------------------------ r6585 | zimmerma | 2009-11-25 11:03:20 +0000 (Wed, 25 Nov 2009) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c [tfprintf.c,tprintf.c] applied patch from Philippe Theveny [acinclude.m4] removed check for %zu, no longer needed ------------------------------------------------------------------------ r6582 | zimmerma | 2009-11-25 10:20:53 +0000 (Wed, 25 Nov 2009) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c [acinclude.m4] added test for %zu [tfprintf.c,tprintf.c] added #ifdef's for NPRINTF_ZU ------------------------------------------------------------------------ r6580 | vlefevre | 2009-11-25 10:16:29 +0000 (Wed, 25 Nov 2009) | 1 line Changed paths: M /trunk/configure.in configure.in: corrected a comment. ------------------------------------------------------------------------ r6577 | vlefevre | 2009-11-25 09:46:52 +0000 (Wed, 25 Nov 2009) | 1 line Changed paths: M /trunk/tests/tstckintc.c tests/tstckintc.c: fixed types for the printf %p format specifier. ------------------------------------------------------------------------ r6576 | zimmerma | 2009-11-25 08:33:58 +0000 (Wed, 25 Nov 2009) | 2 lines Changed paths: M /trunk/tests/tget_flt.c [tget_flt.c] replaced %a by %.8e ------------------------------------------------------------------------ r6575 | zimmerma | 2009-11-25 08:23:23 +0000 (Wed, 25 Nov 2009) | 2 lines Changed paths: M /trunk/tests/tget_d.c M /trunk/tests/tget_ld_2exp.c [tget_d.c,tget_ld_2exp.c] replaced %a and %La by %.16e and %.16Le ------------------------------------------------------------------------ r6574 | zimmerma | 2009-11-25 08:05:41 +0000 (Wed, 25 Nov 2009) | 2 lines Changed paths: M /trunk/tests/tget_d.c [tget_d.c] removed C99-specific instruction ------------------------------------------------------------------------ r6573 | zimmerma | 2009-11-25 07:51:47 +0000 (Wed, 25 Nov 2009) | 2 lines Changed paths: M /trunk/nightly-test [nightly-test] added -ansi -pedantic-errors ------------------------------------------------------------------------ r6571 | vlefevre | 2009-11-24 17:59:14 +0000 (Tue, 24 Nov 2009) | 1 line Changed paths: M /trunk/configure.in configure.in: completed the GMP CC/CFLAGS detection. ------------------------------------------------------------------------ r6570 | vlefevre | 2009-11-24 17:52:04 +0000 (Tue, 24 Nov 2009) | 2 lines Changed paths: M /trunk/configure.in configure.in: added a test to check for CC and CFLAGS in gmp.h only when the user doesn't redefine them and he isn't cross-compiling. ------------------------------------------------------------------------ r6569 | vlefevre | 2009-11-24 17:32:43 +0000 (Tue, 24 Nov 2009) | 1 line Changed paths: M /trunk/configure.in configure.in: improved the GMP CC/CFLAGS detection. ------------------------------------------------------------------------ r6568 | vlefevre | 2009-11-24 16:52:57 +0000 (Tue, 24 Nov 2009) | 1 line Changed paths: M /trunk/configure.in configure.in: try to fix the GMP CC/CFLAGS detection. Not finished. ------------------------------------------------------------------------ r6567 | vlefevre | 2009-11-24 15:48:35 +0000 (Tue, 24 Nov 2009) | 2 lines Changed paths: M /trunk/configure.in configure.in: replaced "test ... -o ..." (obsolete in POSIX) by "test ... || test ...". ------------------------------------------------------------------------ r6566 | vlefevre | 2009-11-24 15:44:44 +0000 (Tue, 24 Nov 2009) | 2 lines Changed paths: M /trunk/configure.in configure.in: replaced "test ... -a ..." (obsolete in POSIX) by "test ... && test ...". ------------------------------------------------------------------------ r6564 | vlefevre | 2009-11-24 15:23:00 +0000 (Tue, 24 Nov 2009) | 1 line Changed paths: M /trunk/INSTALL INSTALL: made instructions more clear. ------------------------------------------------------------------------ r6561 | vlefevre | 2009-11-23 13:55:54 +0000 (Mon, 23 Nov 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: updated "To make a release". ------------------------------------------------------------------------ r6560 | vlefevre | 2009-11-23 13:51:21 +0000 (Mon, 23 Nov 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: last things to do when making a release. ------------------------------------------------------------------------ r6557 | vlefevre | 2009-11-22 23:29:45 +0000 (Sun, 22 Nov 2009) | 10 lines Changed paths: M /trunk/sin_cos.c sin_cos.c: fixed a potential bug by changing a rnd_mode into MPFR_RNDZ in mpfr_can_round. Indeed, in r4574, the change from if (!mpfr_can_round (c, m, GMP_RNDZ, rnd_mode, MPFR_PREC (z))) to if (!mpfr_can_round (c, m, GMP_RNDN, rnd_mode, MPFR_PREC (z) + (rnd_mode == GMP_RNDN))) looks wrong to me: in RNDN, the extra bit due to rnd_mode == GMP_RNDN changes a RNDN worst case into a RNDZ worst case. Note: The second mpfr_can_round with the same problem has been fixed in r6513. ------------------------------------------------------------------------ r6556 | vlefevre | 2009-11-22 22:44:40 +0000 (Sun, 22 Nov 2009) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: ported bug20091122 from the 2.4 branch to the trunk. But no failure in the trunk. ------------------------------------------------------------------------ r6550 | vlefevre | 2009-11-20 21:40:00 +0000 (Fri, 20 Nov 2009) | 1 line Changed paths: M /trunk/tests/tconst_pi.c tests/tconst_pi.c: fixed types for C++. ------------------------------------------------------------------------ r6545 | vlefevre | 2009-11-20 12:48:49 +0000 (Fri, 20 Nov 2009) | 2 lines Changed paths: M /trunk/mpfr.h M /trunk/mpfr.texi Changeset r6162 broke Solaris builds. Fixed that by no longer checking INTMAX_MAX and UINTMAX_MAX to detect use of / . ------------------------------------------------------------------------ r6535 | zimmerma | 2009-11-01 21:22:16 +0000 (Sun, 01 Nov 2009) | 2 lines Changed paths: M /trunk/cos.c [cos.c] fixed case where reduced argument is zero ------------------------------------------------------------------------ r6534 | vlefevre | 2009-10-30 15:13:05 +0000 (Fri, 30 Oct 2009) | 2 lines Changed paths: M /trunk/tests/tcos.c tcos.c: added a testcase yielding an assertion failure (this bug makes tsin_cos fail). ------------------------------------------------------------------------ r6533 | vlefevre | 2009-10-30 15:05:28 +0000 (Fri, 30 Oct 2009) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: ported the consistency test from the 2.4 branch. This yields an assertion failure (Linux/x86_64). ------------------------------------------------------------------------ r6527 | zimmerma | 2009-10-30 10:09:56 +0000 (Fri, 30 Oct 2009) | 3 lines Changed paths: M /trunk/TODO M /trunk/cache.c M /trunk/tests/tconst_pi.c [cache.c] fixed bug with directed rounding [tconst_pi.c] added test for bug with directed rounding ------------------------------------------------------------------------ r6524 | vlefevre | 2009-10-21 13:38:30 +0000 (Wed, 21 Oct 2009) | 1 line Changed paths: M /trunk/exceptions.c exceptions.c: improved a comment. ------------------------------------------------------------------------ r6523 | vlefevre | 2009-10-21 13:21:04 +0000 (Wed, 21 Oct 2009) | 1 line Changed paths: M /trunk/tests/tpow.c tpow.c: added an overflow test. ------------------------------------------------------------------------ r6522 | vlefevre | 2009-10-21 13:13:54 +0000 (Wed, 21 Oct 2009) | 1 line Changed paths: M /trunk/tests/tpow.c tpow.c: added an overflow test in RNDZ. ------------------------------------------------------------------------ r6521 | zimmerma | 2009-10-20 07:21:23 +0000 (Tue, 20 Oct 2009) | 2 lines Changed paths: M /trunk/TODO [TODO] added efficiency item ------------------------------------------------------------------------ r6520 | zimmerma | 2009-10-19 08:16:45 +0000 (Mon, 19 Oct 2009) | 3 lines Changed paths: M /trunk/lngamma.c [lngamma.c] fixed typo, added comments about argument reduction, and replaced code using doubles ------------------------------------------------------------------------ r6519 | zimmerma | 2009-10-19 06:57:02 +0000 (Mon, 19 Oct 2009) | 2 lines Changed paths: M /trunk/TODO [TODO] added efficiency item ------------------------------------------------------------------------ r6518 | zimmerma | 2009-10-15 11:19:20 +0000 (Thu, 15 Oct 2009) | 4 lines Changed paths: M /trunk/exp.c [exp.c] binary splitting is now used for prec >= MPFR_EXP_THRESHOLD (instead of prec > MPFR_EXP_THRESHOLD before). This is more consistent with the other thresholds. ------------------------------------------------------------------------ r6517 | zimmerma | 2009-10-15 11:07:26 +0000 (Thu, 15 Oct 2009) | 2 lines Changed paths: M /trunk/TODO [TODO] added efficiency item ------------------------------------------------------------------------ r6516 | zimmerma | 2009-10-15 10:30:55 +0000 (Thu, 15 Oct 2009) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] added /* bits */ for MPFR_EXP_THRESHOLD and MPFR_EXP_2_THRESHOLD ------------------------------------------------------------------------ r6514 | zimmerma | 2009-10-13 08:11:10 +0000 (Tue, 13 Oct 2009) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c [tsin_cos.c] removed useless instruction, and added comments ------------------------------------------------------------------------ r6513 | zimmerma | 2009-10-13 06:57:06 +0000 (Tue, 13 Oct 2009) | 3 lines Changed paths: M /trunk/sin_cos.c M /trunk/tests/tsin_cos.c [sin_cos.c] fixed call to mpfr_can_round (rounding mode was wrong) [tsin_cos.c] added new test ------------------------------------------------------------------------ r6512 | zimmerma | 2009-10-13 06:37:15 +0000 (Tue, 13 Oct 2009) | 3 lines Changed paths: M /trunk/li2.c M /trunk/tests/tli2.c [li2.c] fixed bug when x is near 0 [tli2.c] added new test ------------------------------------------------------------------------ r6510 | vlefevre | 2009-10-09 07:29:54 +0000 (Fri, 09 Oct 2009) | 1 line Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: mp_rnd_t -> mpfr_rnd_t. ------------------------------------------------------------------------ r6509 | vlefevre | 2009-10-09 07:27:36 +0000 (Fri, 09 Oct 2009) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: added a comment about bug20091008, corresponding to r6507; in fact, the bug concerns only the return value (see r6444). ------------------------------------------------------------------------ r6507 | zimmerma | 2009-10-08 07:51:49 +0000 (Thu, 08 Oct 2009) | 3 lines Changed paths: M /trunk/sin_cos.c M /trunk/tests/tsin_cos.c [sin_cos.c] fixed error analysis [tsin_cos.c] added new test ------------------------------------------------------------------------ r6506 | vlefevre | 2009-10-07 14:18:35 +0000 (Wed, 07 Oct 2009) | 1 line Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: mp_rnd_t -> mpfr_rnd_t. ------------------------------------------------------------------------ r6505 | vlefevre | 2009-10-07 12:06:35 +0000 (Wed, 07 Oct 2009) | 1 line Changed paths: M /trunk/tests/tsin_cos.c tests/tsin_cos.c: removed trailing spaces. ------------------------------------------------------------------------ r6504 | zimmerma | 2009-10-07 08:58:51 +0000 (Wed, 07 Oct 2009) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c [tsin_cos.c] changed binary to hexadecimal string (was too long for C89) ------------------------------------------------------------------------ r6503 | zimmerma | 2009-10-07 07:05:13 +0000 (Wed, 07 Oct 2009) | 3 lines Changed paths: M /trunk/sin_cos.c M /trunk/tests/tsin_cos.c [sin_cos.c] fixed bug introduced in r6447 (some variables had their precision not updated in Ziv's loop) [tsin_cos.c] added a new test ------------------------------------------------------------------------ r6498 | vlefevre | 2009-09-29 14:44:22 +0000 (Tue, 29 Sep 2009) | 1 line Changed paths: M /trunk/FAQ.html FAQ update. ------------------------------------------------------------------------ r6497 | zimmerma | 2009-09-29 11:28:00 +0000 (Tue, 29 Sep 2009) | 3 lines Changed paths: M /trunk/mpfr.texi M /trunk/round_prec.c M /trunk/tests/tcan_round.c [mpfr.texi] added note about mpfr_can_round [tcan_round.c] added more tests ------------------------------------------------------------------------ r6490 | zimmerma | 2009-09-24 06:16:52 +0000 (Thu, 24 Sep 2009) | 4 lines Changed paths: M /trunk/README.dev [README.dev] added item for new releases: we should say if they are binary and/or API compatible with previous releases (we often forgot to say it in the past) ------------------------------------------------------------------------ r6489 | vlefevre | 2009-09-23 15:09:42 +0000 (Wed, 23 Sep 2009) | 1 line Changed paths: M /trunk/tests tests: added tget_flt to the svn:ignore property. ------------------------------------------------------------------------ r6488 | vlefevre | 2009-09-23 15:08:39 +0000 (Wed, 23 Sep 2009) | 1 line Changed paths: M /trunk/tests/Makefile.am tests/Makefile.am: added information about LOADLIBES. ------------------------------------------------------------------------ r6487 | zimmerma | 2009-09-23 13:32:35 +0000 (Wed, 23 Sep 2009) | 3 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] put back LOADLIBES=... (enables to compile a program foo.c in the test directory by simply doing "make foo") ------------------------------------------------------------------------ r6486 | zimmerma | 2009-09-23 06:21:27 +0000 (Wed, 23 Sep 2009) | 2 lines Changed paths: M /trunk/atan.c [atan.c] updated the comments ------------------------------------------------------------------------ r6485 | vlefevre | 2009-09-22 15:56:16 +0000 (Tue, 22 Sep 2009) | 1 line Changed paths: M /trunk/atan.c atan.c: added a FIXME comment. ------------------------------------------------------------------------ r6484 | vlefevre | 2009-09-22 15:51:15 +0000 (Tue, 22 Sep 2009) | 1 line Changed paths: M /trunk/atan.c atan.c: added some assertions. ------------------------------------------------------------------------ r6483 | zimmerma | 2009-09-22 13:58:25 +0000 (Tue, 22 Sep 2009) | 2 lines Changed paths: M /trunk/NEWS M /trunk/algorithms.tex M /trunk/atan.c [atan.c] implemented argument reduction (cf error analysis in algorithms.tex) ------------------------------------------------------------------------ r6482 | zimmerma | 2009-09-21 07:34:07 +0000 (Mon, 21 Sep 2009) | 2 lines Changed paths: M /trunk/tests/Makefile.am [tests/Makefile.am] removed LOADLIBES=... ------------------------------------------------------------------------ r6480 | vlefevre | 2009-09-20 23:31:37 +0000 (Sun, 20 Sep 2009) | 1 line Changed paths: M /trunk/mpfrlint mpfrlint: check that lines aren't too long. ------------------------------------------------------------------------ r6478 | vlefevre | 2009-09-20 19:07:03 +0000 (Sun, 20 Sep 2009) | 2 lines Changed paths: M /trunk/Makefile.am Makefile.am: line-wrap libmpfr_la_SOURCES (M-q with Emacs) for compatibility with some vendor grep. ------------------------------------------------------------------------ r6476 | vlefevre | 2009-09-20 19:00:11 +0000 (Sun, 20 Sep 2009) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/tests/Makefile.am Makefile.am, tests/Makefile.am: patch from Ralf Wildenhues. https://lists.gnu.org/archive/html/bug-automake/2009-09/msg00033.html ------------------------------------------------------------------------ r6475 | vlefevre | 2009-09-18 15:00:09 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/mpfr-impl.h M /trunk/sin_cos.c M /trunk/tests/tsin_cos.c mpfr-impl.h, sin_cos.c, tests/tsin_cos.c: mp_rnd_t -> mpfr_rnd_t. ------------------------------------------------------------------------ r6474 | vlefevre | 2009-09-18 14:55:57 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/sin_cos.c sin_cos.c: GMP_RNDx -> MPFR_RNDx. ------------------------------------------------------------------------ r6473 | vlefevre | 2009-09-18 14:54:38 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/sin_cos.c sin_cos.c: untabified. ------------------------------------------------------------------------ r6471 | vlefevre | 2009-09-18 14:45:47 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/frac.c M /trunk/tests/tfrac.c frac.c, tests/tfrac.c: fixed underflow case in mpfr_frac and added testcase. ------------------------------------------------------------------------ r6470 | zimmerma | 2009-09-18 14:03:56 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/acos.c M /trunk/atan.c [acos.c] initial working precision was too small ------------------------------------------------------------------------ r6469 | vlefevre | 2009-09-18 13:56:21 +0000 (Fri, 18 Sep 2009) | 3 lines Changed paths: M /trunk/modf.c modf.c: no longer extend the exponent range at all, since there are no intermediate computations (note: the mpfr_frac bug that has just been fixed affected this change in modf.c). ------------------------------------------------------------------------ r6467 | vlefevre | 2009-09-18 13:50:21 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/frac.c [frac.c] Patch r6456 was incorrect: the problem with the non-significant bits had to be dealt with only in the case t = r. This is now fixed. ------------------------------------------------------------------------ r6466 | vlefevre | 2009-09-18 13:47:10 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/tests/tfrac.c tests/tfrac.c: reverted overflow case test (was incorrect because the input was too large). ------------------------------------------------------------------------ r6465 | vlefevre | 2009-09-18 13:42:12 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/tests/tfrac.c tests/tfrac.c: also test the overflow case. ------------------------------------------------------------------------ r6464 | vlefevre | 2009-09-18 13:33:43 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/tests/tfrac.c tests/tfrac.c: more tests (case where the fractional part rounds to 1). ------------------------------------------------------------------------ r6463 | zimmerma | 2009-09-18 13:31:56 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/NEWS [NEWS] added item ------------------------------------------------------------------------ r6461 | zimmerma | 2009-09-18 13:10:35 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/cos.c M /trunk/mpfr-impl.h M /trunk/mpfr.texi M /trunk/sin.c M /trunk/sin_cos.c M /trunk/tuneup.c [sin.c,cos.c] use mpfr_sincos_fast when prec >= MPFR_SINCOS_THRESHOLD ------------------------------------------------------------------------ r6460 | vlefevre | 2009-09-18 12:03:38 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/tests/tfrac.c tests/tfrac.c: more tests (there are also problems in rounding away from zero or equivalent). ------------------------------------------------------------------------ r6459 | zimmerma | 2009-09-18 11:59:23 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/mparam_h.in M /trunk/sin_cos.c M /trunk/tests/tsin_cos.c M /trunk/tuneup.c added tuning mechanism for mpfr_sin_cos ------------------------------------------------------------------------ r6458 | vlefevre | 2009-09-18 11:46:28 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/tests/tfrac.c tests/tfrac.c: also test the ternary value (it is incorrect too). ------------------------------------------------------------------------ r6456 | vlefevre | 2009-09-18 11:27:48 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/frac.c frac.c: fixed bug in mpfr_frac (the non-significant bits in low limb were not cleared). ------------------------------------------------------------------------ r6455 | vlefevre | 2009-09-18 11:19:11 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/tests/tfrac.c tests/tfrac.c: improved the testcase so that it triggers the bug for both 32 bits and 64 bits. ------------------------------------------------------------------------ r6454 | vlefevre | 2009-09-18 11:16:00 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/tests/tfrac.c tests/tfrac.c: added a comment for latest testcase. ------------------------------------------------------------------------ r6453 | vlefevre | 2009-09-18 11:09:03 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/tests/tfrac.c tests/tfrac.c: added testcase for bug in mpfr_frac. ------------------------------------------------------------------------ r6451 | vlefevre | 2009-09-18 10:38:19 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/tests/tmodf.c tests/tmodf.c: typo in error message. ------------------------------------------------------------------------ r6450 | vlefevre | 2009-09-18 10:26:26 +0000 (Fri, 18 Sep 2009) | 3 lines Changed paths: M /trunk/modf.c modf.c: extending the exponent range in the first two cases is useless because there are no intermediate computations (just a mpfr_set). Let's do that only for the general case. ------------------------------------------------------------------------ r6449 | vlefevre | 2009-09-18 10:23:07 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/tests/tmodf.c tests/tmodf.c: added overflow tests. ------------------------------------------------------------------------ r6448 | vlefevre | 2009-09-18 09:27:10 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/modf.c modf.c: corrected a comment (rounding can yield an overflow, but not an underflow). ------------------------------------------------------------------------ r6447 | zimmerma | 2009-09-18 09:08:01 +0000 (Fri, 18 Sep 2009) | 3 lines Changed paths: M /trunk/sin_cos.c M /trunk/tests/tsin_cos.c [sin_cos.c] added asymptotically fast code, with threshold currently hardcoded at 20000 bits, should be determined by tuneup.c ------------------------------------------------------------------------ r6446 | vlefevre | 2009-09-18 09:00:24 +0000 (Fri, 18 Sep 2009) | 1 line Changed paths: M /trunk/mpfr.texi M /trunk/tests/tget_flt.c Deleted trailing spaces. ------------------------------------------------------------------------ r6445 | zimmerma | 2009-09-18 08:13:43 +0000 (Fri, 18 Sep 2009) | 2 lines Changed paths: M /trunk/modf.c M /trunk/mpfr.texi M /trunk/tests/tmodf.c [modf.c] changed semantics of return value in accordance with mpfr_sin_cos ------------------------------------------------------------------------ r6444 | zimmerma | 2009-09-17 11:30:18 +0000 (Thu, 17 Sep 2009) | 4 lines Changed paths: M /trunk/mpfr.texi M /trunk/sin_cos.c M /trunk/sinh_cosh.c M /trunk/tests/taway.c M /trunk/tests/tsin_cos.c [sin_cos.c] more precise meaning of the return value [sinh_cosh.c] idem as above [taway.c] fixed to check the more precise return value ------------------------------------------------------------------------ r6443 | zimmerma | 2009-09-16 06:17:47 +0000 (Wed, 16 Sep 2009) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] t was not initialized in Newton's example ------------------------------------------------------------------------ r6442 | zimmerma | 2009-09-15 13:48:15 +0000 (Tue, 15 Sep 2009) | 5 lines Changed paths: M /trunk/Makefile.am D /trunk/get_binary32.c A /trunk/get_flt.c (from /trunk/get_binary32.c:6441) D /trunk/set_binary32.c A /trunk/set_flt.c (from /trunk/set_binary32.c:6441) M /trunk/tests/Makefile.am D /trunk/tests/tget_binary32.c A /trunk/tests/tget_flt.c (from /trunk/tests/tget_binary32.c:6441) changed _binary32 into _flt for file names too: svn mv get_binary32.c get_flt.c svn mv set_binary32.c set_flt.c svn mv tests/tget_binary32.c tests/tget_flt.c ------------------------------------------------------------------------ r6441 | zimmerma | 2009-09-15 13:42:49 +0000 (Tue, 15 Sep 2009) | 3 lines Changed paths: M /trunk/TODO M /trunk/mpfr.texi [TODO] removed an item [mpfr.texi] added an example for mpfr_prec_round ------------------------------------------------------------------------ r6440 | zimmerma | 2009-09-15 13:26:11 +0000 (Tue, 15 Sep 2009) | 2 lines Changed paths: M /trunk/NEWS [NEWS] added mpfr_set_flt and mpfr_get_flt ------------------------------------------------------------------------ r6439 | zimmerma | 2009-09-15 13:17:40 +0000 (Tue, 15 Sep 2009) | 3 lines Changed paths: M /trunk/get_binary32.c M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/set_binary32.c M /trunk/tests/tget_binary32.c changed suffix _binary32 -> _flt [get_binary32.c] fixed a bug in subnormal range ------------------------------------------------------------------------ r6437 | vlefevre | 2009-09-15 13:15:23 +0000 (Tue, 15 Sep 2009) | 1 line Changed paths: M /trunk/mpfrlint mpfrlint: bug fix. ------------------------------------------------------------------------ r6435 | vlefevre | 2009-09-15 13:13:28 +0000 (Tue, 15 Sep 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r6433 | vlefevre | 2009-09-15 13:12:38 +0000 (Tue, 15 Sep 2009) | 1 line Changed paths: M /trunk/mpfrlint mpfrlint: execute svn in C locale. ------------------------------------------------------------------------ r6431 | vlefevre | 2009-09-15 13:10:50 +0000 (Tue, 15 Sep 2009) | 1 line Changed paths: M /trunk/mpfrlint mpfrlint: check mpfr.texi's UPDATED-MONTH. ------------------------------------------------------------------------ r6428 | zimmerma | 2009-09-15 12:21:15 +0000 (Tue, 15 Sep 2009) | 2 lines Changed paths: M /trunk/tests/tget_d.c [tget_d.c] fixed FIXME ------------------------------------------------------------------------ r6427 | vlefevre | 2009-09-15 12:12:35 +0000 (Tue, 15 Sep 2009) | 1 line Changed paths: M /trunk/tests/tget_d.c tget_d.c code is C99-only (bug introduced in r6424). Please fix! ------------------------------------------------------------------------ r6426 | zimmerma | 2009-09-15 11:42:27 +0000 (Tue, 15 Sep 2009) | 2 lines Changed paths: A /trunk/get_binary32.c [get_binary32.c] also forgot in previous commit ------------------------------------------------------------------------ r6425 | zimmerma | 2009-09-15 11:41:52 +0000 (Tue, 15 Sep 2009) | 2 lines Changed paths: A /trunk/set_binary32.c [set_binary32.c] file forgot in previous commit ------------------------------------------------------------------------ r6424 | zimmerma | 2009-09-15 11:37:40 +0000 (Tue, 15 Sep 2009) | 3 lines Changed paths: M /trunk/Makefile.am M /trunk/get_d.c M /trunk/get_d64.c A /trunk/ieee_floats.h M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi A /trunk/scale2.c M /trunk/tests/Makefile.am A /trunk/tests/tget_binary32.c M /trunk/tests/tget_d.c added new functions mpfr_set_binary32 and mpfr_get_binary32 fixed bug in mpfr_get_d and mpfr_get_decimal64 for RNDA ------------------------------------------------------------------------ r6423 | zimmerma | 2009-09-15 08:27:20 +0000 (Tue, 15 Sep 2009) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] improved description of mpfr_sum, and fixed typo ------------------------------------------------------------------------ r6421 | vlefevre | 2009-09-14 16:29:44 +0000 (Mon, 14 Sep 2009) | 1 line Changed paths: M /trunk/mpfr.h mpfr.h: added mpfr_regular_p macro. ------------------------------------------------------------------------ r6419 | zimmerma | 2009-09-14 14:12:03 +0000 (Mon, 14 Sep 2009) | 2 lines Changed paths: M /trunk/sum.c [sum.c] added reference ------------------------------------------------------------------------ r6418 | zimmerma | 2009-09-14 13:10:57 +0000 (Mon, 14 Sep 2009) | 3 lines Changed paths: M /trunk/get_ld.c M /trunk/tests/tget_ld_2exp.c [get_ld.c] fixed bug reported by Nelson Beebe https://sympa.inria.fr/sympa/arc/mpfr/2009-05/msg00061.html ------------------------------------------------------------------------ r6417 | zimmerma | 2009-09-14 09:29:55 +0000 (Mon, 14 Sep 2009) | 4 lines Changed paths: M /trunk/Makefile.am A /trunk/isregular.c M /trunk/iszero.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/tisnan.c [isregular.c] new function mpfr_regular_p [iszero.c] fixed typo in comment [tests/tisnan.c] added tests for mpfr_regular_p ------------------------------------------------------------------------ r6415 | vlefevre | 2009-09-11 22:03:10 +0000 (Fri, 11 Sep 2009) | 6 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: changeset r6414 was incorrect, in particular under Linux (at least some platforms), where wint_t is an unsigned int, not an int. Instead, let's detect whether integer promotion will occur or not, even though the ISO C99 standard requires a wint_t type that doesn't yield an integer promotion (7.24.1#2), because mingw32 defines wint_t as an unsigned short (thus with integer promotion). ------------------------------------------------------------------------ r6414 | zimmerma | 2009-09-11 07:52:33 +0000 (Fri, 11 Sep 2009) | 3 lines Changed paths: M /trunk/vasprintf.c [vasprintf.c] https://sympa.inria.fr/sympa/arc/mpfr/2009-09/msg00012.html (changed __wint_type into int) ------------------------------------------------------------------------ r6413 | vlefevre | 2009-09-08 08:49:33 +0000 (Tue, 08 Sep 2009) | 1 line Changed paths: M /trunk/tests/tdigamma.c tests/tdigamma.c: added missing void in prototype. ------------------------------------------------------------------------ r6412 | zimmerma | 2009-09-08 08:35:04 +0000 (Tue, 08 Sep 2009) | 2 lines Changed paths: M /trunk/digamma.c M /trunk/tests/tdigamma.c [digamma.c] forgot to set sign for Psi(+Inf) ------------------------------------------------------------------------ r6411 | zimmerma | 2009-09-04 12:29:27 +0000 (Fri, 04 Sep 2009) | 3 lines Changed paths: M /trunk/Makefile.am M /trunk/bernoulli.c M /trunk/digamma.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/mpfr-impl.h changed function into bernoulli.c (which was static, included 3 times) into an internal function mpfr_bernoulli_internal ------------------------------------------------------------------------ r6410 | zimmerma | 2009-09-03 06:45:11 +0000 (Thu, 03 Sep 2009) | 2 lines Changed paths: M /trunk/TODO [TODO] removed psi(=digamma) ------------------------------------------------------------------------ r6409 | vlefevre | 2009-09-02 23:17:32 +0000 (Wed, 02 Sep 2009) | 2 lines Changed paths: M /trunk/tests/data/digamma tests/data/digamma: for the special values, use the new mode '*' (exact cases) instead of 'n'. ------------------------------------------------------------------------ r6408 | vlefevre | 2009-09-02 23:16:03 +0000 (Wed, 02 Sep 2009) | 2 lines Changed paths: M /trunk/tests/tests.c tests.c: added special support for exact cases in data_check (to test all the rounding modes and check the ternary value). ------------------------------------------------------------------------ r6407 | vlefevre | 2009-09-02 23:02:29 +0000 (Wed, 02 Sep 2009) | 1 line Changed paths: M /trunk/atan2.c M /trunk/div.c M /trunk/exp2.c M /trunk/gen_inverse.h M /trunk/get_str.c M /trunk/mpfr-impl.h M /trunk/mpfr-longlong.h M /trunk/mpn_exp.c M /trunk/pow.c M /trunk/pow_z.c M /trunk/rec_sqrt.c M /trunk/rint.c M /trunk/round_near_x.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/tests/tests.c M /trunk/tests/texp.c M /trunk/tests/tli2.c M /trunk/tests/tsqrt.c towards -> toward (consistency). ------------------------------------------------------------------------ r6404 | vlefevre | 2009-09-02 12:13:23 +0000 (Wed, 02 Sep 2009) | 1 line Changed paths: M /trunk/tests tests: added tdigamma to svn:ignore property. ------------------------------------------------------------------------ r6403 | vlefevre | 2009-09-02 12:11:05 +0000 (Wed, 02 Sep 2009) | 1 line Changed paths: M /trunk/digamma.c digamma.c: moved a comment. ------------------------------------------------------------------------ r6402 | zimmerma | 2009-09-02 12:08:05 +0000 (Wed, 02 Sep 2009) | 4 lines Changed paths: M /trunk/digamma.c M /trunk/tests/data/digamma M /trunk/tests/tests.c [digamma.c] fixed bug (emin/emax were not restored) [data/digamma] added special values [tests/tests.c] fix to allow putting nan in data/* files ------------------------------------------------------------------------ r6401 | zimmerma | 2009-09-02 11:56:48 +0000 (Wed, 02 Sep 2009) | 3 lines Changed paths: A /trunk/tests/data/digamma M /trunk/tests/tdigamma.c [data/digamma] unitary test file for mpfr_digamma [tdigamma.c] now use data/digamma ------------------------------------------------------------------------ r6400 | vlefevre | 2009-09-02 11:54:53 +0000 (Wed, 02 Sep 2009) | 1 line Changed paths: M /trunk/digamma.c Removed trailing whitespace. ------------------------------------------------------------------------ r6399 | zimmerma | 2009-09-02 11:39:14 +0000 (Wed, 02 Sep 2009) | 2 lines Changed paths: M /trunk/Makefile.am bernoulli.c goes into EXTRA_DIST ------------------------------------------------------------------------ r6398 | zimmerma | 2009-09-02 11:38:07 +0000 (Wed, 02 Sep 2009) | 4 lines Changed paths: M /trunk/Makefile.am M /trunk/NEWS M /trunk/algorithms.tex A /trunk/bernoulli.c A /trunk/digamma.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/Makefile.am A /trunk/tests/tdigamma.c [digamma.c] new function mpfr_digamma [lngamma.c,li2.c] factored computation of Bernoulli numbers in new file bernoulli.c (also used by digamma.c) ------------------------------------------------------------------------ r6397 | zimmerma | 2009-08-27 09:27:10 +0000 (Thu, 27 Aug 2009) | 8 lines Changed paths: M /trunk/cbrt.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/cos.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/get_z.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/pow.c M /trunk/rem1.c M /trunk/root.c M /trunk/tests/mpf_compat.h M /trunk/urandomb.c M /trunk/zeta_ui.c replaced obsolete GMP functions (suggested by Brian Gladman): 1. mpz_div_2exp ==> mpz_fdiv_q_2exp 2. mpz_div_ui ==> mpz_fdiv_q_ui 3. gmp_randinit (state, GMP_RAND_ALG_LC, 128) ==> gmp_randinit_lc_2exp_size (state, 128) (Didn't replace mpn_divrem by mpn_tdiv_qr since the parameters differ, and also for efficiency reasons.) ------------------------------------------------------------------------ r6396 | vlefevre | 2009-08-26 23:30:06 +0000 (Wed, 26 Aug 2009) | 1 line Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: fixed locale_da_DK test. ------------------------------------------------------------------------ r6394 | zimmerma | 2009-08-26 20:13:50 +0000 (Wed, 26 Aug 2009) | 3 lines Changed paths: M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c [csch.c,coth.c,csc.c,cot.c] fixed bug for tiny input and RNDA (result was rounded to zero instead of away) ------------------------------------------------------------------------ r6393 | vlefevre | 2009-08-26 17:01:54 +0000 (Wed, 26 Aug 2009) | 1 line Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: bug fix (uncommented an "exit(1);"). ------------------------------------------------------------------------ r6390 | zimmerma | 2009-08-26 15:28:25 +0000 (Wed, 26 Aug 2009) | 2 lines Changed paths: M /trunk/tests/tgeneric.c [tgeneric.c] revert previous change, bug is elsewhere ------------------------------------------------------------------------ r6389 | zimmerma | 2009-08-26 15:23:51 +0000 (Wed, 26 Aug 2009) | 3 lines Changed paths: M /trunk/tests/tgeneric.c [tgeneric.c] temporary fix in mpfr_can_round call (mpfr_can_round does not correctly handle MPFR_RNDA) ------------------------------------------------------------------------ r6381 | vlefevre | 2009-08-26 08:48:37 +0000 (Wed, 26 Aug 2009) | 5 lines Changed paths: M /trunk/set_ld.c set_ld.c: replaced a struct by a union. The struct was triggering the following warning with GCC 4.4: dereferencing type-punned pointer will break strict-aliasing rules (possibly due to possible memory alignment problems). The old code looked strange anyway and unions are exactly for such kind of things. ------------------------------------------------------------------------ r6380 | zimmerma | 2009-08-26 08:10:51 +0000 (Wed, 26 Aug 2009) | 2 lines Changed paths: M /trunk/tests/tset.c [tset.c] removed unused variables ------------------------------------------------------------------------ r6378 | vlefevre | 2009-08-25 12:23:42 +0000 (Tue, 25 Aug 2009) | 4 lines Changed paths: M /trunk/tests/tcmp_ld.c tcmp_ld.c: use "long double" constants. Note: this might solve the tcmp_ld failure reported on https://www.linuxquestions.org/questions/linux-from-scratch-13/mpfr-2-4-1-check-failures-in-lfs-6-5-rc2-746538/ (not tested). ------------------------------------------------------------------------ r6376 | vlefevre | 2009-08-24 13:21:03 +0000 (Mon, 24 Aug 2009) | 1 line Changed paths: M /trunk/NEWS NEWS: update (new function mpfr_set_zero, added in r6339). ------------------------------------------------------------------------ r6375 | vlefevre | 2009-08-24 13:01:15 +0000 (Mon, 24 Aug 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: NaN has a sign bit (in its binary representation), but as a FP datum, it does not have a sign. ------------------------------------------------------------------------ r6374 | zimmerma | 2009-08-24 12:48:30 +0000 (Mon, 24 Aug 2009) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] added mention of unspecified NaN sign bit for mpfr_set_nan ------------------------------------------------------------------------ r6372 | vlefevre | 2009-08-21 21:58:15 +0000 (Fri, 21 Aug 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: do not use @code for roundTiesToAway and binary64 as this is not code and the IEEE 754-2008 standard doesn't use special typography. ------------------------------------------------------------------------ r6369 | vlefevre | 2009-08-21 21:43:16 +0000 (Fri, 21 Aug 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: the sign bit of a NaN is unspecified. ------------------------------------------------------------------------ r6368 | vlefevre | 2009-08-18 15:51:08 +0000 (Tue, 18 Aug 2009) | 7 lines Changed paths: M /trunk/Makefile.am M /trunk/README A /trunk/examples A /trunk/examples/ReadMe A /trunk/examples/divworst.c A /trunk/examples/rndo-add.c A /trunk/examples/sample.c Add examples into $docdir (without using a subdir, as this would be a bit bloated just to add a few files). * Added "examples" directory with a ReadMe file and 3 examples. * Makefile.am: added files from the "examples" directory and changed dist_doc_DATA into nobase_dist_doc_DATA so that the "examples" directory is not stripped in the target directory $docdir. * README: added "examples/". ------------------------------------------------------------------------ r6367 | vlefevre | 2009-08-18 13:46:15 +0000 (Tue, 18 Aug 2009) | 1 line Changed paths: M /trunk/get_str.c get_str.c: corrected copyright notice, incorrectly modified in r6364. ------------------------------------------------------------------------ r6366 | thevenyp | 2009-08-12 14:30:48 +0000 (Wed, 12 Aug 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: Fix typo. ------------------------------------------------------------------------ r6365 | thevenyp | 2009-08-12 14:10:33 +0000 (Wed, 12 Aug 2009) | 2 lines Changed paths: M /trunk/get_str.c get_str.c: Format a comment. ------------------------------------------------------------------------ r6364 | thevenyp | 2009-08-12 14:07:24 +0000 (Wed, 12 Aug 2009) | 4 lines Changed paths: M /trunk/get_str.c M /trunk/mpfr.texi M /trunk/tests/tget_str.c M /trunk/tests/tsprintf.c M /trunk/vasprintf.c get_str.c vasprintf.c: Add support for the rounding away from zero mode. mpfr.texi: MPFR_RNDA mode support in printf functions. tests/tsprintf.c tests/tget_str.c: Test MPFR_RNDA support. ------------------------------------------------------------------------ r6363 | vlefevre | 2009-08-06 00:21:17 +0000 (Thu, 06 Aug 2009) | 1 line Changed paths: M /trunk/NEWS NEWS: update. ------------------------------------------------------------------------ r6362 | vlefevre | 2009-08-06 00:18:37 +0000 (Thu, 06 Aug 2009) | 1 line Changed paths: M /trunk/Makefile.am M /trunk/mpfr.texi Install some documentation files. ------------------------------------------------------------------------ r6360 | vlefevre | 2009-08-05 11:39:30 +0000 (Wed, 05 Aug 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated section "Installing MPFR". ------------------------------------------------------------------------ r6358 | vlefevre | 2009-08-05 10:39:20 +0000 (Wed, 05 Aug 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: corrected a spelling mistake. ------------------------------------------------------------------------ r6356 | vlefevre | 2009-08-05 10:24:16 +0000 (Wed, 05 Aug 2009) | 4 lines Changed paths: M /trunk/Makefile.am M /trunk/configure.in Since GNU Automake 1.11 is available on too few platforms, removed its requirement (reverted to 1.10 requirement: 1.10.1 was needed only for dist-lzma, which has been removed). Instead, added hardcoded dist-xz support (tested with both Automake 1.10.2 and Automake 1.11). ------------------------------------------------------------------------ r6354 | vlefevre | 2009-08-04 00:55:30 +0000 (Tue, 04 Aug 2009) | 3 lines Changed paths: M /trunk/configure.in configure.in: replaced dist-lzma by dist-xz (the xz format is the successor of the lzma format); as a consequence, automake 1.11 is needed. ------------------------------------------------------------------------ r6353 | vlefevre | 2009-07-30 18:06:49 +0000 (Thu, 30 Jul 2009) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/tests/Makefile.am Makefile.am, tests/Makefile.am: added copyright notice (similar to the one of the generated Makefile.in file). ------------------------------------------------------------------------ r6352 | vlefevre | 2009-07-30 17:59:36 +0000 (Thu, 30 Jul 2009) | 3 lines Changed paths: M /trunk/COPYING M /trunk/README Since COPYING.LESSER makes a reference to the GPLv3, updated COPYING to the GPLv3. Autotools files are now distributed under the same license as MPFR (to avoid any reference to the GPLv2). ------------------------------------------------------------------------ r6351 | vlefevre | 2009-07-30 17:47:39 +0000 (Thu, 30 Jul 2009) | 2 lines Changed paths: M /trunk/BUGS A /trunk/COPYING.LESSER (from /trunk/COPYING.LIB:6350) D /trunk/COPYING.LIB M /trunk/FAQ.html M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/abort_prec_max.c M /trunk/acinclude.m4 M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_d.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/buildopt.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/check.c M /trunk/clear.c M /trunk/clears.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_abs.c M /trunk/cmp_d.c M /trunk/cmp_ld.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/comparisons.c M /trunk/configure.in M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/constant.c M /trunk/copysign.c M /trunk/cos.c M /trunk/cosh.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/dim.c M /trunk/div.c M /trunk/div_2exp.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_d.c M /trunk/div_ui.c M /trunk/dump.c M /trunk/eint.c M /trunk/eq.c M /trunk/erf.c M /trunk/erfc.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp10.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/extract.c M /trunk/factorial.c M /trunk/faq.xsl M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_sint.c M /trunk/fits_slong.c M /trunk/fits_sshort.c M /trunk/fits_u.h M /trunk/fits_uint.c M /trunk/fits_uintmax.c M /trunk/fits_ulong.c M /trunk/fits_ushort.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/free_cache.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_exp.c M /trunk/get_f.c M /trunk/get_ld.c M /trunk/get_patches.sh M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/init.c M /trunk/init2.c M /trunk/inits.c M /trunk/inits2.c M /trunk/inp_str.c M /trunk/int_ceil_log2.c M /trunk/isinf.c M /trunk/isinteger.c M /trunk/isnan.c M /trunk/isnum.c M /trunk/isqrt.c M /trunk/iszero.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/mbench/Makefile M /trunk/mbench/generate.c M /trunk/mbench/mfv5-arprec.cc M /trunk/mbench/mfv5-cln.cc M /trunk/mbench/mfv5-crlibm.cc M /trunk/mbench/mfv5-libc.cc M /trunk/mbench/mfv5-lidia.cc M /trunk/mbench/mfv5-mpf.cc M /trunk/mbench/mfv5-mpfr.cc M /trunk/mbench/mfv5-ntl.cc M /trunk/mbench/mfv5-pari.cc M /trunk/mbench/mfv5-void.cc M /trunk/mbench/mfv5.cc M /trunk/mbench/mfv5.h M /trunk/mbench/mpfr-gfx.c M /trunk/mbench/mpfr-v4.c M /trunk/mbench/mpfr-v6.c M /trunk/mbench/timp.h M /trunk/min_prec.c M /trunk/minmax.c M /trunk/modf.c M /trunk/mp_clz_tab.c M /trunk/mparam_h.in M /trunk/mpf2mpfr.h M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr-thread.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_2exp.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/mul_d.c M /trunk/mul_ui.c M /trunk/mulders.c M /trunk/neg.c M /trunk/next.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/print_rnd_mode.c M /trunk/printf.c M /trunk/rec_sqrt.c M /trunk/reldiff.c M /trunk/rem1.c M /trunk/rint.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/sec.c M /trunk/sech.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_dfl_prec.c M /trunk/set_exp.c M /trunk/set_f.c M /trunk/set_inf.c M /trunk/set_ld.c M /trunk/set_nan.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_sj.c M /trunk/set_str.c M /trunk/set_str_raw.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/set_zero.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/setsign.c M /trunk/sgn.c M /trunk/si_op.c M /trunk/signbit.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/speed.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_d.c M /trunk/sub_ui.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/swap.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/cmp_str.c M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/random2.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tbuildopt.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tmin_prec.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tuneup.c M /trunk/uceil_exp2.c M /trunk/uceil_log2.c M /trunk/ufloor_log2.c M /trunk/ui_div.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/ui_sub.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/version.c M /trunk/volatile.c M /trunk/yn.c M /trunk/zeta.c M /trunk/zeta_ui.c Renamed COPYING.LIB as COPYING.LESSER (GNU Coding Standards, #7.3) and updated all the references (except in ChangeLog). ------------------------------------------------------------------------ r6350 | vlefevre | 2009-07-30 17:38:46 +0000 (Thu, 30 Jul 2009) | 1 line Changed paths: M /trunk Added algorithms.fdb_latexmk to svn:ignore property. ------------------------------------------------------------------------ r6349 | thevenyp | 2009-07-30 16:30:24 +0000 (Thu, 30 Jul 2009) | 2 lines Changed paths: M /trunk/tests/tset.c tests/tset.c: With revision 6339, some tests were moved and added in the function check_special but this one was not called. ------------------------------------------------------------------------ r6348 | thevenyp | 2009-07-30 16:22:55 +0000 (Thu, 30 Jul 2009) | 2 lines Changed paths: M /trunk/tests/Makefile.am tests/Makefile.am: Strech check_PROGRAMS list to ease insertion of new tests. ------------------------------------------------------------------------ r6347 | thevenyp | 2009-07-30 16:03:04 +0000 (Thu, 30 Jul 2009) | 2 lines Changed paths: M /trunk/tests/Makefile.am Makefile.am: Sort tests in alphabetical order except the very first ones which are needed by the test suite itself. ------------------------------------------------------------------------ r6340 | thevenyp | 2009-07-20 14:40:40 +0000 (Mon, 20 Jul 2009) | 3 lines Changed paths: M /trunk/mpfr.texi M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c mpfr.texi: Change behavior with %Rf and an empty precision field. The default precision is now 6 with %Rf and %Rg. tests/tprintf.c tests/tfprintf.c tests/tsprintf.c: Change tests with empty precision field and %Rf. ------------------------------------------------------------------------ r6339 | thevenyp | 2009-07-20 09:22:08 +0000 (Mon, 20 Jul 2009) | 3 lines Changed paths: M /trunk/Makefile.am M /trunk/mpfr.h M /trunk/mpfr.texi A /trunk/set_zero.c M /trunk/tests/tset.c Makefile.am mpfr.h mpfr.texi set_zero.c: New function mpfr_set_zero. tests/tset.c: Replace all MPFR_ASSERTN with verbose message. Add tests for mpfr_set_zero. ------------------------------------------------------------------------ r6336 | zimmerma | 2009-07-15 00:30:44 +0000 (Wed, 15 Jul 2009) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] hint about patch command ------------------------------------------------------------------------ r6335 | zimmerma | 2009-07-14 08:37:32 +0000 (Tue, 14 Jul 2009) | 3 lines Changed paths: M /trunk/mpn_exp.c [mpn_exp.c] reverted previous change (MPN_ZERO is a macro for memset, which does not forbid zero size) ------------------------------------------------------------------------ r6334 | zimmerma | 2009-07-14 07:47:57 +0000 (Tue, 14 Jul 2009) | 2 lines Changed paths: M /trunk/coth.c M /trunk/tests/tcoth.c [coth.c, tcoth.c] fixed coth(+/0) which was wrong (reported by Christopher Creutzig) ------------------------------------------------------------------------ r6333 | zimmerma | 2009-07-14 07:39:38 +0000 (Tue, 14 Jul 2009) | 3 lines Changed paths: M /trunk/mpn_exp.c [mpn_exp.c] fixed bug reported by David Kirkby on Solaris (GMP compiled with Solaris compiler) ------------------------------------------------------------------------ r6330 | vlefevre | 2009-07-08 13:35:34 +0000 (Wed, 08 Jul 2009) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: typo in a comment. ------------------------------------------------------------------------ r6329 | thevenyp | 2009-07-08 13:24:46 +0000 (Wed, 08 Jul 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: Fix bug with %Rf, non-zero precision and a value rounded up to the next power of ten. ------------------------------------------------------------------------ r6328 | vlefevre | 2009-07-08 10:44:31 +0000 (Wed, 08 Jul 2009) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: deleted trailing spaces. ------------------------------------------------------------------------ r6326 | vlefevre | 2009-07-08 10:42:02 +0000 (Wed, 08 Jul 2009) | 1 line Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: added tests of some halfway cases. ------------------------------------------------------------------------ r6325 | thevenyp | 2009-07-08 09:46:52 +0000 (Wed, 08 Jul 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: Fix bug in precision 0 with format %.0Rf (0.5 rounds to 0). ------------------------------------------------------------------------ r6322 | vlefevre | 2009-07-08 07:39:56 +0000 (Wed, 08 Jul 2009) | 1 line Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: added a test that triggers an assertion failure. ------------------------------------------------------------------------ r6319 | vlefevre | 2009-07-08 07:17:20 +0000 (Wed, 08 Jul 2009) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: fixed a test and added more tests for %.0Rf with the even rounding rule (shows a bug added in the latest corrections). ------------------------------------------------------------------------ r6316 | vlefevre | 2009-07-07 08:18:45 +0000 (Tue, 07 Jul 2009) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: completed the test on emax (for %Ra and %Rb). Everything is OK. ------------------------------------------------------------------------ r6315 | vlefevre | 2009-07-07 07:55:06 +0000 (Tue, 07 Jul 2009) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: my test was incorrect (I forgot the R), sorry. Still completing it... ------------------------------------------------------------------------ r6314 | vlefevre | 2009-07-07 07:40:22 +0000 (Tue, 07 Jul 2009) | 1 line Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: comment (so that the test can be ported to the 2.4 branch). ------------------------------------------------------------------------ r6313 | vlefevre | 2009-07-07 07:38:00 +0000 (Tue, 07 Jul 2009) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: started to write a test for emax, showing a bug (random output). ------------------------------------------------------------------------ r6311 | vlefevre | 2009-07-06 12:44:41 +0000 (Mon, 06 Jul 2009) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r6307 | vlefevre | 2009-07-06 11:17:09 +0000 (Mon, 06 Jul 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r6305 | vlefevre | 2009-07-06 11:15:38 +0000 (Mon, 06 Jul 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi consistency: @var{stdout} -> @code{stdout}. ------------------------------------------------------------------------ r6303 | vlefevre | 2009-07-06 11:04:50 +0000 (Mon, 06 Jul 2009) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: do not use a potential function call in SAFE_ABS macro. ------------------------------------------------------------------------ r6301 | thevenyp | 2009-07-06 08:36:59 +0000 (Mon, 06 Jul 2009) | 2 lines Changed paths: M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c tests/tsprintf.c: deleted trailing spaces. ------------------------------------------------------------------------ r6298 | thevenyp | 2009-06-29 13:09:42 +0000 (Mon, 29 Jun 2009) | 3 lines Changed paths: M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c: Fix bug when the value to be printed is rounded to the next power of ten with %Rf or %Rg (continuation of fix in r6278). tests/tsprintf.c: Add tests for rounding to next power of ten bug with %Rf or %Rg. ------------------------------------------------------------------------ r6297 | vlefevre | 2009-06-26 15:47:03 +0000 (Fri, 26 Jun 2009) | 1 line Changed paths: M /trunk/add1.c M /trunk/add1sp.c M /trunk/cmp2.c M /trunk/fma.c M /trunk/fms.c M /trunk/get_z_exp.c M /trunk/hypot.c M /trunk/mpn_exp.c M /trunk/round_prec.c M /trunk/strtofr.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/vasprintf.c mp_exp_unsigned_t -> mpfr_uexp_t (internal type only). ------------------------------------------------------------------------ r6296 | vlefevre | 2009-06-26 15:40:06 +0000 (Fri, 26 Jun 2009) | 1 line Changed paths: M /trunk/mpfrlint mpfrlint: check the use of the obsolete mp_rnd_t type. ------------------------------------------------------------------------ r6295 | vlefevre | 2009-06-26 15:35:01 +0000 (Fri, 26 Jun 2009) | 1 line Changed paths: M /trunk/NEWS M /trunk/README.dev M /trunk/TODO M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_d.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/copysign.c M /trunk/cos.c M /trunk/cosh.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/dim.c M /trunk/div.c M /trunk/div_2exp.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_d.c M /trunk/div_ui.c M /trunk/eint.c M /trunk/erf.c M /trunk/erfc.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp10.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/factorial.c M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_u.h M /trunk/fits_uintmax.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_f.c M /trunk/get_ld.c M /trunk/get_si.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_z.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/inp_str.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/minmax.c M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/mul.c M /trunk/mul_2exp.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/mul_d.c M /trunk/mul_ui.c M /trunk/neg.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/print_rnd_mode.c M /trunk/rec_sqrt.c M /trunk/reldiff.c M /trunk/rem1.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_f.c M /trunk/set_ld.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_sj.c M /trunk/set_str.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/setsign.c M /trunk/si_op.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_d.c M /trunk/sub_ui.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/cmp_str.c M /trunk/tests/mpfr-test.h M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tasin.c M /trunk/tests/tatan.c M /trunk/tests/taway.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcmp.c M /trunk/tests/tcmpabs.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teq.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tgmpop.c M /trunk/tests/thypot.c M /trunk/tests/tinternals.c M /trunk/tests/tlgamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_ui.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trec_sqrt.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/ui_div.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/ui_sub.c M /trunk/vasprintf.c M /trunk/yn.c M /trunk/zeta.c M /trunk/zeta_ui.c mp_rnd_t -> mpfr_rnd_t ------------------------------------------------------------------------ r6294 | vlefevre | 2009-06-26 15:19:14 +0000 (Fri, 26 Jun 2009) | 1 line Changed paths: M /trunk/add.c M /trunk/agm.c M /trunk/div.c M /trunk/div_ui.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/frac.c M /trunk/hypot.c M /trunk/inp_str.c M /trunk/mpfr-impl.h M /trunk/mul.c M /trunk/next.c M /trunk/pow_si.c M /trunk/rec_sqrt.c M /trunk/set_d.c M /trunk/set_f.c M /trunk/set_si_2exp.c M /trunk/set_ui_2exp.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sub.c M /trunk/tests/random2.c M /trunk/tests/tadd.c M /trunk/tests/tdiv.c M /trunk/tests/tsqrt.c M /trunk/tests/tui_div.c M /trunk/urandomb.c Suppressed MPFR_CLEAR_FLAGS (no longer did anything). ------------------------------------------------------------------------ r6290 | vlefevre | 2009-06-23 02:17:04 +0000 (Tue, 23 Jun 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r6287 | vlefevre | 2009-06-23 02:06:27 +0000 (Tue, 23 Jun 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: fixed description of mpfr_get_str (clash with variables, inconsistent cases in the info format). ------------------------------------------------------------------------ r6286 | vlefevre | 2009-06-23 01:56:01 +0000 (Tue, 23 Jun 2009) | 1 line Changed paths: M /trunk/get_str.c get_str.c: added a space. ------------------------------------------------------------------------ r6283 | vlefevre | 2009-06-21 20:54:34 +0000 (Sun, 21 Jun 2009) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: corrected comments. ------------------------------------------------------------------------ r6282 | thevenyp | 2009-06-19 19:55:18 +0000 (Fri, 19 Jun 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: convert GMP_RNDx to MPFR_RNDx. ------------------------------------------------------------------------ r6280 | thevenyp | 2009-06-19 16:40:57 +0000 (Fri, 19 Jun 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: Add brace to disambiguate nested if, and remove unused variable. ------------------------------------------------------------------------ r6279 | thevenyp | 2009-06-19 15:57:09 +0000 (Fri, 19 Jun 2009) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c tests/tfprintf.c tests/tprintf.c: Do not test very small values with %f. ------------------------------------------------------------------------ r6278 | thevenyp | 2009-06-19 15:55:57 +0000 (Fri, 19 Jun 2009) | 3 lines Changed paths: M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c: Fix bug when the value to be printed is rounded to the next power of ten with %Rf or %Rg. tests/tsprintf.c: Add tests for rounding to next power of ten bug. ------------------------------------------------------------------------ r6277 | zimmerma | 2009-06-18 12:34:24 +0000 (Thu, 18 Jun 2009) | 2 lines Changed paths: M /trunk/TODO [TODO] added new functions to implement ------------------------------------------------------------------------ r6276 | thevenyp | 2009-06-16 11:14:48 +0000 (Tue, 16 Jun 2009) | 2 lines Changed paths: M /trunk/sinh_cosh.c sinh_cosh.c: precision of intermediate computation no more depends on precision of input variables. ------------------------------------------------------------------------ r6275 | vlefevre | 2009-06-15 01:58:34 +0000 (Mon, 15 Jun 2009) | 2 lines Changed paths: M /trunk/mpfr.h mpfr.h: new MPFR_VALUE_OF macro, now used by mpfr_get_prec and mpfr_get_exp macros (this is cleaner than the old hack). ------------------------------------------------------------------------ r6274 | vlefevre | 2009-06-14 11:57:18 +0000 (Sun, 14 Jun 2009) | 5 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: Make sure results of calculations on constants used with the fesetround() test are not precomputed by GCC (occurs on MIPS). Patch from Maciej W. Rozycki. https://sympa.inria.fr/sympa/arc/mpfr/2009-06/msg00036.html gmane.comp.lib.mpfr.general:174 ------------------------------------------------------------------------ r6272 | zimmerma | 2009-06-13 02:00:58 +0000 (Sat, 13 Jun 2009) | 2 lines Changed paths: M /trunk/algorithms.tex [algorithms.tex] bounds for get_str were checked by Mark Dickinson ------------------------------------------------------------------------ r6271 | zimmerma | 2009-06-12 04:25:44 +0000 (Fri, 12 Jun 2009) | 2 lines Changed paths: M /trunk/algorithms.tex [algorithms.tex] fixed typo ------------------------------------------------------------------------ r6270 | zimmerma | 2009-06-12 04:17:46 +0000 (Fri, 12 Jun 2009) | 4 lines Changed paths: M /trunk/algorithms.tex M /trunk/mpfr.texi [algorithms.tex] fixed and completed up to b=62 table of bounds for get_str [mpfr.texi] fixed description of case n=0 for get_str (case of powers of two bases was not coherent with the code) ------------------------------------------------------------------------ r6269 | zimmerma | 2009-06-10 18:52:10 +0000 (Wed, 10 Jun 2009) | 3 lines Changed paths: M /trunk/algorithms.tex M /trunk/get_str.c M /trunk/mpfr.texi [algorithms.tex] analyzed precisely the cases where the value is m+1 instead of m ------------------------------------------------------------------------ r6268 | vlefevre | 2009-06-10 05:21:05 +0000 (Wed, 10 Jun 2009) | 11 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: reverted incorrect patch r6267 that makes the test no longer work on x86 (with traditional FPU, no SSE), where one should get checking for gcc float-conversion bug... yes, use -ffloat-store instead of checking for gcc float-conversion bug... no Indeed the "volatile" has the effect to have all the intermediate results x stored into memory, i.e. it is more or less equivalent to the -ffloat-store option, so that it does not allow one to test whether -ffloat-store is needed or not (which is the goal of this test). ------------------------------------------------------------------------ r6267 | zimmerma | 2009-06-09 22:02:10 +0000 (Tue, 09 Jun 2009) | 2 lines Changed paths: M /trunk/acinclude.m4 [acinclude.m4] patch from Maciej W. Rozycki on mpfr mailing-list, 9 Jun 2009 ------------------------------------------------------------------------ r6266 | zimmerma | 2009-06-09 18:42:04 +0000 (Tue, 09 Jun 2009) | 3 lines Changed paths: M /trunk/tests/data/j0 M /trunk/tests/data/j1 M /trunk/tests/data/y0 M /trunk/tests/data/y1 added more test cases for the Bessel functions (from John Harrison paper at Arith19) ------------------------------------------------------------------------ r6265 | thevenyp | 2009-06-04 17:15:24 +0000 (Thu, 04 Jun 2009) | 3 lines Changed paths: M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c: Binary output with no digit after the decimal point is now supported. Fix bug when the binary or hexadecimal output value is rounded to the next power of the base. This also change outputs like 0xf.f with format string "%.0Ra" from 8p+1 to 1p+4 (as does gnu libc's printf). tests/tsprintf.c: add check for rounding to the next base power and fix some test value with %.0Ra (now output 1p+4 instead of 8p+3). ------------------------------------------------------------------------ r6264 | thevenyp | 2009-06-03 09:01:22 +0000 (Wed, 03 Jun 2009) | 2 lines Changed paths: M /trunk/mpfr-longlong.h mpfr-longlong.h: Update to newer GMP version (changeset 12418:12a1d0bf21f0 Sun Mar 01 23:47:31 2009 +0100), merging modifications from r4657. ------------------------------------------------------------------------ r6263 | vlefevre | 2009-05-29 13:53:06 +0000 (Fri, 29 May 2009) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: do not use GMP's namespace for identifiers defined in MPFR. ------------------------------------------------------------------------ r6261 | vlefevre | 2009-05-29 13:05:24 +0000 (Fri, 29 May 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: added: do not use the GMP namespaces... ------------------------------------------------------------------------ r6259 | vlefevre | 2009-05-29 12:27:38 +0000 (Fri, 29 May 2009) | 1 line Changed paths: M /trunk/mpfr.h mpfr.h: rewrote a comment. ------------------------------------------------------------------------ r6258 | thevenyp | 2009-05-29 07:37:23 +0000 (Fri, 29 May 2009) | 3 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/vasprintf.c vasprintf.c: Fix bug, "%%" was not correctly displayed when used alone or before a mpfr_t output. tests/tfprintf.c tests/tprintf.c: Fix expected values for tests with "%%". ------------------------------------------------------------------------ r6257 | thevenyp | 2009-05-29 06:56:02 +0000 (Fri, 29 May 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: Restate subsection Formatted Output Functions/Format String. ------------------------------------------------------------------------ r6256 | thevenyp | 2009-05-28 07:33:43 +0000 (Thu, 28 May 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: details on use of 'P' type in mpfr_printf. ------------------------------------------------------------------------ r6252 | thevenyp | 2009-05-27 14:59:54 +0000 (Wed, 27 May 2009) | 2 lines Changed paths: M /trunk/NEWS NEWS: remind bug fixes since version 2.4.0. ------------------------------------------------------------------------ r6248 | thevenyp | 2009-05-27 13:17:03 +0000 (Wed, 27 May 2009) | 2 lines Changed paths: M /trunk/set_d64.c set_d64.c: Partial revert of r6190 to fix problem in a simpler way: the decimal digits can be stored in array of char (no need to be unsigned). ------------------------------------------------------------------------ r6245 | vlefevre | 2009-05-27 02:26:50 +0000 (Wed, 27 May 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r6241 | vlefevre | 2009-05-27 02:20:51 +0000 (Wed, 27 May 2009) | 1 line Changed paths: M /trunk/tests/tfmod.c tests/tfmod.c: deleted trailing whitespace. ------------------------------------------------------------------------ r6240 | thevenyp | 2009-05-22 10:44:03 +0000 (Fri, 22 May 2009) | 2 lines Changed paths: M /trunk/tests/tatan.c tests/tatan.c: Add test triggering underflow (test coverage is now 100%). ------------------------------------------------------------------------ r6237 | vlefevre | 2009-05-20 21:54:03 +0000 (Wed, 20 May 2009) | 3 lines Changed paths: M /trunk/tests/tgeneric.c tests/tgeneric.c: for the second computation, increase the precision of the inputs in order to trigger the mpfr_fmod bug fixed in r6230 (and potentially other bugs). Thanks to Eric Veach for the idea. ------------------------------------------------------------------------ r6236 | vlefevre | 2009-05-20 21:34:52 +0000 (Wed, 20 May 2009) | 1 line Changed paths: M /trunk/tests Added tbuildopt to svn:ignore property of tests. ------------------------------------------------------------------------ r6234 | thevenyp | 2009-05-20 15:28:07 +0000 (Wed, 20 May 2009) | 2 lines Changed paths: M /trunk/tests/tfmod.c tests/tfmod.c: complete tests with special values. ------------------------------------------------------------------------ r6233 | thevenyp | 2009-05-20 15:26:47 +0000 (Wed, 20 May 2009) | 2 lines Changed paths: M /trunk/tests/tfmod.c tests/tfmod.c: code simplification + check ternary value too. ------------------------------------------------------------------------ r6232 | vlefevre | 2009-05-20 10:34:33 +0000 (Wed, 20 May 2009) | 1 line Changed paths: M /trunk/tests/tfmod.c tests/tfmod.c: replaced NULL by (mpfr_ptr) 0 in mpfr_inits2/mpfr_clears. ------------------------------------------------------------------------ r6231 | vlefevre | 2009-05-20 10:32:07 +0000 (Wed, 20 May 2009) | 3 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tfmod.c tests/mpfr-test.h: added mpfr_cmp_ui0 macro (check that x is not a NaN). tests/tfmod.c (bug20090519): check that the results are not NaN's and replaced GMP_RNDN by MPFR_RNDN. ------------------------------------------------------------------------ r6230 | zimmerma | 2009-05-20 10:17:17 +0000 (Wed, 20 May 2009) | 3 lines Changed paths: M /trunk/rem1.c M /trunk/tests/tfmod.c [tests/tfmod.c] added testcase for bug reported by Eric Veach [rem1.c] fixed bug reported by Eric Veach ------------------------------------------------------------------------ r6229 | zimmerma | 2009-05-19 08:20:15 +0000 (Tue, 19 May 2009) | 2 lines Changed paths: M /trunk/TODO [TODO] added one item ------------------------------------------------------------------------ r6220 | lfousse | 2009-05-13 20:33:03 +0000 (Wed, 13 May 2009) | 2 lines Changed paths: M /trunk/mpfr.texi Clarify the fact that mpfr_sum guarantees correct rounding. ------------------------------------------------------------------------ r6211 | vlefevre | 2009-05-13 15:40:36 +0000 (Wed, 13 May 2009) | 1 line Changed paths: M /trunk/mpfr.h mpfr.h: updated a comment. ------------------------------------------------------------------------ r6210 | thevenyp | 2009-05-13 15:37:35 +0000 (Wed, 13 May 2009) | 3 lines Changed paths: M /trunk/mpfr.h mpfr.h: Add a warning comment (removed in r6026). [merge -c 6209 from branch 2.4] ------------------------------------------------------------------------ r6196 | vlefevre | 2009-05-13 00:02:10 +0000 (Wed, 13 May 2009) | 2 lines Changed paths: M /trunk/fms.c fms.c: improve the performance of memory allocations in small precision (almost identical to changeset 6195 for fma.c). ------------------------------------------------------------------------ r6195 | vlefevre | 2009-05-12 23:54:31 +0000 (Tue, 12 May 2009) | 2 lines Changed paths: M /trunk/fma.c fma.c: patch by Patrick Pélissier to improve the performance of memory allocations in small precision. ------------------------------------------------------------------------ r6192 | thevenyp | 2009-05-05 17:13:37 +0000 (Tue, 05 May 2009) | 3 lines Changed paths: M /trunk/algorithms.tex M /trunk/dump.c M /trunk/get_d64.c M /trunk/get_str.c M /trunk/mpfr-impl.h M /trunk/out_str.c M /trunk/printf.c M /trunk/set_d.c M /trunk/strtofr.c M /trunk/swap.c M /trunk/tests/tests.c M /trunk/tests/tget_str.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow_all.c M /trunk/tests/trint.c M /trunk/tests/tset_str.c M /trunk/tests/tsin.c M /trunk/tests/tsprintf.c M /trunk/tests/tstckintc.c M /trunk/tests/tstrtofr.c M /trunk/tests/tversion.c M /trunk/vasprintf.c Put '#include ' in mpfr-impl.h, remove it elsewhere. Other cleanup of header inclusion. Other change (by mistake): corrections in algorithms.tex ------------------------------------------------------------------------ r6191 | vlefevre | 2009-05-05 15:42:32 +0000 (Tue, 05 May 2009) | 1 line Changed paths: M /trunk/NEWS NEWS: corrections / limit to 80 characters per line. ------------------------------------------------------------------------ r6190 | thevenyp | 2009-05-05 14:37:42 +0000 (Tue, 05 May 2009) | 2 lines Changed paths: M /trunk/get_d64.c M /trunk/set_d64.c get_d64.c set_d64.c: Fix types. ------------------------------------------------------------------------ r6189 | thevenyp | 2009-05-05 14:34:41 +0000 (Tue, 05 May 2009) | 2 lines Changed paths: M /trunk/printf.c M /trunk/tests/tpow_all.c printf.c tests/tpow_all.c: is not automatically included when compiling with --with-gmp-build option. ------------------------------------------------------------------------ r6188 | thevenyp | 2009-05-05 14:06:43 +0000 (Tue, 05 May 2009) | 3 lines Changed paths: M /trunk/Makefile.am M /trunk/NEWS A /trunk/buildopt.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/Makefile.am A /trunk/tests/tbuildopt.c NEWS Makefile.am mpfr.h mpfr.texi buildopt.c: New functions mpfr_buildopt_tls_p and mpfr_buildopt_decimal_p. tests/Makefile.am tests/tbuildopt.c: Add tests for mpfr_buildopt_tls_p and mpfr_buildopt_decimal_p. ------------------------------------------------------------------------ r6187 | vlefevre | 2009-05-05 13:55:21 +0000 (Tue, 05 May 2009) | 1 line Changed paths: M /trunk/atan.c atan.c: added comments after checking r6186. ------------------------------------------------------------------------ r6186 | thevenyp | 2009-05-05 10:07:47 +0000 (Tue, 05 May 2009) | 3 lines Changed paths: M /trunk/atan.c M /trunk/tests/tatan.c atan.c: expand exponent range when computing arctan(Inf) and arctan(+-1). tests/tatan.c: Check underflow of arctan(Inf) and arctan(1) with reduced exponent range. ------------------------------------------------------------------------ r6185 | vlefevre | 2009-05-04 16:27:56 +0000 (Mon, 04 May 2009) | 1 line Changed paths: M /trunk/tests/tatan.c tests/tatan.c: replaced GMP_RNDN by MPFR_RNDN. ------------------------------------------------------------------------ r6182 | vlefevre | 2009-04-29 16:19:26 +0000 (Wed, 29 Apr 2009) | 1 line Changed paths: M /trunk/INSTALL M /trunk/tests/tget_f.c Removed trailing spaces. ------------------------------------------------------------------------ r6181 | zimmerma | 2009-04-29 16:07:29 +0000 (Wed, 29 Apr 2009) | 2 lines Changed paths: M /trunk/atan.c [atan.c] fixed bug when x is very near but differs from 1 ------------------------------------------------------------------------ r6180 | vlefevre | 2009-04-29 15:41:23 +0000 (Wed, 29 Apr 2009) | 2 lines Changed paths: M /trunk/tests/tatan.c tests/tatan.c: added testcase for bug found by Christopher Creutzig (atan2_different_prec). ------------------------------------------------------------------------ r6177 | vlefevre | 2009-04-22 12:46:41 +0000 (Wed, 22 Apr 2009) | 2 lines Changed paths: M /trunk/tests/tests.c tests/tests.c (data_check): try to open the data file first from the build directory, then from the source directory. ------------------------------------------------------------------------ r6176 | vlefevre | 2009-04-22 12:00:23 +0000 (Wed, 22 Apr 2009) | 4 lines Changed paths: M /trunk/init2.c init2.c: check that mp_bits_per_limb == BITS_PER_MP_LIMB (useful in case GMP is upgraded with a different ABI, e.g. 32 vs mode32 on PowerPC 64). Without such a check, MPFR can give incorrect results if the ABI's don't match. ------------------------------------------------------------------------ r6175 | vlefevre | 2009-04-22 08:33:57 +0000 (Wed, 22 Apr 2009) | 2 lines Changed paths: M /trunk/tests/Makefile.am M /trunk/tests/tmul.c Improved fix for problem dealt with in r6174: use function src_fopen() (from tests.c) instead of a macro MPFR_SRCDIR. ------------------------------------------------------------------------ r6174 | vlefevre | 2009-04-22 08:13:40 +0000 (Wed, 22 Apr 2009) | 10 lines Changed paths: M /trunk/tests/Makefile.am M /trunk/tests/tmul.c Fixed problem when the srcdir value contains a word that is #define'd by the C implementation (test failure) or a comma (worse, the build of the tests terminates with an error). This can happen only when objdir and srcdir are different directories. * tests/Makefile.am (tmul_CPPFLAGS): Put srcdir pathname in quotes. * tests/tmul.c (MPFR_SRCDIR): Make the default a string. (QUOTE, NAME): Delete. (check_regression): Don't QUOTE MPFR_SRCDIR. Thanks to Sandra Loosemore for the patch. https://sympa.inria.fr/sympa/arc/mpfr/2009-04/msg00038.html ------------------------------------------------------------------------ r6173 | thevenyp | 2009-04-15 17:07:42 +0000 (Wed, 15 Apr 2009) | 3 lines Changed paths: M /trunk/get_f.c M /trunk/tests/tget_f.c get_f.c: remove dead code (x and z always have the same number of limbs). tests/tget_f.c: Add tests with every rounding mode, add tests with random values. ------------------------------------------------------------------------ r6172 | thevenyp | 2009-04-15 09:34:54 +0000 (Wed, 15 Apr 2009) | 2 lines Changed paths: M /trunk/tests/tget_f.c tests/tget_f.c: Fix typos, better error messages. ------------------------------------------------------------------------ r6171 | thevenyp | 2009-04-14 14:34:20 +0000 (Tue, 14 Apr 2009) | 2 lines Changed paths: M /trunk/get_f.c M /trunk/tests/tget_f.c tests/tget_f.c get_f.c: Set result to the maximum value when the mpfr_t is plus infinity and set correct ternary value. ------------------------------------------------------------------------ r6170 | thevenyp | 2009-04-14 14:29:16 +0000 (Tue, 14 Apr 2009) | 2 lines Changed paths: M /trunk/tests/tget_f.c tests/tget_f.c: Fix typo, increase size of y so that x and y have different limb size (they had the same size on MacOS X-32bits). ------------------------------------------------------------------------ r6168 | vlefevre | 2009-04-10 08:29:47 +0000 (Fri, 10 Apr 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: update concerning intmax_t after the change in r6166. ------------------------------------------------------------------------ r6166 | vlefevre | 2009-04-10 08:23:33 +0000 (Fri, 10 Apr 2009) | 2 lines Changed paths: M /trunk/mpfr.h mpfr.h: for intmax_t, also test _STDINT_H and _STDINT_H_. [merged changeset r6165 from the 2.4 branch] ------------------------------------------------------------------------ r6164 | vlefevre | 2009-04-10 08:10:37 +0000 (Fri, 10 Apr 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r6162 | vlefevre | 2009-04-10 08:09:47 +0000 (Fri, 10 Apr 2009) | 5 lines Changed paths: M /trunk/mpfr.h M /trunk/mpfr.texi mpfr.h: for the intmax_t detection, also test INTMAX_MAX / UINTMAX_MAX (this may be useful for users of C++ compilers, if they have defined __STDC_LIMIT_MACROS but not __STDC_CONSTANT_MACROS). mpfr.texi: improvement concerning the use of intmax_t and uintmax_t. [merged changesets r6160 and r6161 from the 2.4 branch] ------------------------------------------------------------------------ r6159 | zimmerma | 2009-04-09 07:40:14 +0000 (Thu, 09 Apr 2009) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] updated Notes on AIX/PowerPC ------------------------------------------------------------------------ r6158 | thevenyp | 2009-04-08 14:59:21 +0000 (Wed, 08 Apr 2009) | 3 lines Changed paths: M /trunk/NEWS M /trunk/get_f.c M /trunk/mpfr.texi M /trunk/tests/tget_f.c NEWS mpfr.texi get_f.c: mpfr_get_f now returns the usual ternary value. tests/tget_f.c: test the ternary value and the erange flag. ------------------------------------------------------------------------ r6157 | vlefevre | 2009-04-08 14:25:26 +0000 (Wed, 08 Apr 2009) | 2 lines Changed paths: M /trunk/get_z.c M /trunk/tests/tget_z.c tests/tget_z.c: do not assume specific values of the ternary value. get_z.c: simplified code. ------------------------------------------------------------------------ r6156 | vlefevre | 2009-04-08 14:19:23 +0000 (Wed, 08 Apr 2009) | 1 line Changed paths: M /trunk/NEWS NEWS: s/an inexact value/a ternary value/ ------------------------------------------------------------------------ r6155 | thevenyp | 2009-04-08 12:53:37 +0000 (Wed, 08 Apr 2009) | 4 lines Changed paths: M /trunk/NEWS M /trunk/get_z.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/tget_z.c NEWS mpfr.texi get_z.c: mpfr_get_z now returns an inexact value. mpfr.h: change prototype of mpfr_get_z. tests/tget_z.c: test inexact value. ------------------------------------------------------------------------ r6154 | zimmerma | 2009-04-08 11:10:46 +0000 (Wed, 08 Apr 2009) | 2 lines Changed paths: M /trunk/mpf2mpfr.h [mpf2mpfr.h] added comment for #endif ------------------------------------------------------------------------ r6153 | thevenyp | 2009-04-08 11:09:14 +0000 (Wed, 08 Apr 2009) | 2 lines Changed paths: M /trunk/mpf2mpfr.h mpf2mpfr.h: fix typo ------------------------------------------------------------------------ r6152 | vlefevre | 2009-04-02 16:03:05 +0000 (Thu, 02 Apr 2009) | 1 line Changed paths: M /trunk/get_z.c get_z.c: fixed title in comment. ------------------------------------------------------------------------ r6151 | vlefevre | 2009-04-01 14:22:03 +0000 (Wed, 01 Apr 2009) | 2 lines Changed paths: M /trunk/get_z.c get_z.c: detect out-of-range precision (such a detection could be missed if mpfr_exp_t > mpfr_prec_t). ------------------------------------------------------------------------ r6150 | vlefevre | 2009-04-01 14:07:29 +0000 (Wed, 01 Apr 2009) | 2 lines Changed paths: M /trunk/get_z.c M /trunk/mpfr.h Removed the comment from mpfr.h added in r6149, and patched get_z.c (safer code is better than a comment). ------------------------------------------------------------------------ r6149 | vlefevre | 2009-04-01 14:02:14 +0000 (Wed, 01 Apr 2009) | 1 line Changed paths: M /trunk/mpfr.h mpfr.h: important comment to validate the change done in r6147. ------------------------------------------------------------------------ r6148 | vlefevre | 2009-04-01 13:46:30 +0000 (Wed, 01 Apr 2009) | 1 line Changed paths: M /trunk/get_z_exp.c get_z_exp.c: updated comments. ------------------------------------------------------------------------ r6147 | zimmerma | 2009-04-01 13:26:42 +0000 (Wed, 01 Apr 2009) | 3 lines Changed paths: M /trunk/get_z.c M /trunk/tests/tget_z.c [get_z.c] simplified the code, removed the FIXME [tget_z.c] added new test ------------------------------------------------------------------------ r6146 | zimmerma | 2009-04-01 13:11:13 +0000 (Wed, 01 Apr 2009) | 4 lines Changed paths: M /trunk/mpfr.texi M /trunk/tests/tget_z.c [mpfr.texi] completed documentation of mpfr_get_z_exp (was incomplete for 0) [tget_z.c] added test case for 0 with emin > 0 (should give 100% coverage for get_z.c) ------------------------------------------------------------------------ r6145 | thevenyp | 2009-03-30 14:47:28 +0000 (Mon, 30 Mar 2009) | 3 lines Changed paths: M /trunk/strtofr.c M /trunk/tests/tset_str.c M /trunk/vasprintf.c strtofr.c tests/tset_str.c: Code simplification (sizeof (char) is always 1). vasprintf.c: Cast into size_t (just in case). ------------------------------------------------------------------------ r6144 | thevenyp | 2009-03-30 12:15:40 +0000 (Mon, 30 Mar 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: Code simplification (sizeof (char) is always 1). ------------------------------------------------------------------------ r6143 | thevenyp | 2009-03-27 09:34:03 +0000 (Fri, 27 Mar 2009) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/printf.c M /trunk/vasprintf.c acinclude.m4: remove definition of va_copy, just detect its presence. printf.c vasprintf.c: #define a replacement of va_copy if needed (in the same way as gmp). ------------------------------------------------------------------------ r6142 | thevenyp | 2009-03-26 15:09:38 +0000 (Thu, 26 Mar 2009) | 2 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: Change MPFR_FUNC_PRINTF_SPEC (renamed MPFR_FUNC_GMP_PRINTF_SPEC) so that it actually checks output. ------------------------------------------------------------------------ r6141 | thevenyp | 2009-03-25 17:53:50 +0000 (Wed, 25 Mar 2009) | 2 lines Changed paths: M /trunk/get_str.c M /trunk/mpfr-impl.h M /trunk/mpfr.texi M /trunk/mpn_exp.c M /trunk/out_str.c M /trunk/tests/inp_str.data M /trunk/tests/tget_str.c M /trunk/tests/tinp_str.c M /trunk/tests/tout_str.c M /trunk/tests/tset_str.c Change base upper limit in string conversion up to 62. ------------------------------------------------------------------------ r6140 | zimmerma | 2009-03-25 12:13:58 +0000 (Wed, 25 Mar 2009) | 4 lines Changed paths: M /trunk/get_str.c M /trunk/mpfr.texi M /trunk/tests/tget_str.c [mpfr.texi] fixed documentation of mpfr_get_str which was wrong [tget_str.c] added test cases for odd base and tie breaking case [get_str.c] fixed typos in comments ------------------------------------------------------------------------ r6139 | zimmerma | 2009-03-25 08:54:17 +0000 (Wed, 25 Mar 2009) | 5 lines Changed paths: M /trunk/tests/random2.c [tests/random2.c] added missing mpfr-test.h (revealed by nightly tests), and removed mpfr-impl.h (already included in mpfr-test.h) I have also removed MPFR_NEED_LONGLONG_H: I don't see why it is needed, and all tests pass. ------------------------------------------------------------------------ r6138 | thevenyp | 2009-03-24 17:19:55 +0000 (Tue, 24 Mar 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: Add a note on mpfr_printf output in binary with precision one. ------------------------------------------------------------------------ r6137 | thevenyp | 2009-03-24 16:51:17 +0000 (Tue, 24 Mar 2009) | 4 lines Changed paths: M /trunk/TODO M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/tests/random2.c M /trunk/tests/tests.c M /trunk/urandomb.c urandomb.c mpfr-gmp.c mpfr-gmp.h: mpfr_rand_raw is now in urandom.c. mpfr-impl.h: mpfr_rand_raw is now always build as an internal function. TODO tests/tests.c tests/random2.c: Use mpfr_rand_raw instead of _gmp_rand ------------------------------------------------------------------------ r6136 | thevenyp | 2009-03-24 15:10:52 +0000 (Tue, 24 Mar 2009) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/NEWS M /trunk/mpfr.h M /trunk/mpfr.texi D /trunk/random2.c M /trunk/tests/Makefile.am M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h A /trunk/tests/random2.c (from /trunk/random2.c:6135) M /trunk/tests/tadd.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/tgamma.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tmul.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tpow.c M /trunk/tests/trandom.c M /trunk/tests/tsi_op.c M /trunk/tests/tsub.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c Move mpfr_random2 to tests directory, remove it from API. ------------------------------------------------------------------------ r6135 | thevenyp | 2009-03-24 14:29:04 +0000 (Tue, 24 Mar 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: Improve documentation in Formatted Output Functions/Format String subsection. ------------------------------------------------------------------------ r6134 | vlefevre | 2009-03-24 11:33:41 +0000 (Tue, 24 Mar 2009) | 1 line Changed paths: M /trunk/cos.c M /trunk/sin.c cos.c, sin.c: added MPFR_ASSERTN for huge expx. ------------------------------------------------------------------------ r6132 | vlefevre | 2009-03-21 00:52:31 +0000 (Sat, 21 Mar 2009) | 6 lines Changed paths: M /trunk/mpfr.texi M /trunk/tests/tstrtofr.c mpfr.texi: corrected mpfr_strtofr documentation ("NAN()" is accepted). tests/tstrtofr.c: added a test for "NAN()". Note: the code follows the ISO C99 standard for strtod, as explained in the mpfr_strtofr documentation, so that the code was correct. [merged changeset 6131 from the 2.4 branch and changed GMP_RNDN into MPFR_RNDN] ------------------------------------------------------------------------ r6130 | vlefevre | 2009-03-19 02:11:38 +0000 (Thu, 19 Mar 2009) | 1 line Changed paths: M /trunk/mpfrlint mpfrlint: added some tests for acinclude.m4 and configure.in (sh). ------------------------------------------------------------------------ r6128 | vlefevre | 2009-03-19 02:03:29 +0000 (Thu, 19 Mar 2009) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.in Applied patch from Ralf Wildenhues. * configure.in: Avoid unportable (and unneeded) shell quoting. * acinclude.m4: Avoid non-POSIX shell construct. ------------------------------------------------------------------------ r6126 | vlefevre | 2009-03-18 11:15:05 +0000 (Wed, 18 Mar 2009) | 1 line Changed paths: M /trunk/tests/tmin_prec.c tests/tmin_prec.c: replaced GMP_RNDN by MPFR_RNDN. ------------------------------------------------------------------------ r6125 | vlefevre | 2009-03-16 18:38:03 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/tests/tset_ld.c tests/tset_ld.c: removed unused variable. ------------------------------------------------------------------------ r6124 | thevenyp | 2009-03-16 17:46:18 +0000 (Mon, 16 Mar 2009) | 2 lines Changed paths: M /trunk/tests/tset_ld.c tests/tset_ld.c: Add test case for the bug fixed with r6101. ------------------------------------------------------------------------ r6123 | vlefevre | 2009-03-16 15:50:58 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/tests/tmin_prec.c tests/tmin_prec.c: added tests. ------------------------------------------------------------------------ r6122 | vlefevre | 2009-03-16 15:43:39 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r6121 | vlefevre | 2009-03-16 15:40:48 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/min_prec.c min_prec.c: fixed another bug (the code was incorrect with >= 2 limbs). ------------------------------------------------------------------------ r6120 | vlefevre | 2009-03-16 15:37:10 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/tests/tmin_prec.c tests/tmin_prec.c: bug fix (side effects in MPFR_ASSERTN), new tests. ------------------------------------------------------------------------ r6119 | vlefevre | 2009-03-16 15:28:11 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: added a note about assertions and code with side effects. ------------------------------------------------------------------------ r6118 | thevenyp | 2009-03-16 15:23:46 +0000 (Mon, 16 Mar 2009) | 2 lines Changed paths: M /trunk/tests/tfprintf.c tests/tfprintf.c: Use a value less than 2^31-1 compatible (thus < LONG_MAX) in bug_20090316 (cf r6112). ------------------------------------------------------------------------ r6117 | vlefevre | 2009-03-16 15:07:50 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tmin_prec.c Replaced GMP_RND* by MPFR_RND*. ------------------------------------------------------------------------ r6116 | zimmerma | 2009-03-16 12:50:24 +0000 (Mon, 16 Mar 2009) | 3 lines Changed paths: M /trunk/tests/Makefile.am A /trunk/tests/tmin_prec.c [tests/tmin_prec.c] new file contributed from Laurent Fousse [tests/Makefile.am] added tmin_prec ------------------------------------------------------------------------ r6115 | vlefevre | 2009-03-16 12:35:27 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/min_prec.c min_prec.c: removed a useless test. ------------------------------------------------------------------------ r6114 | vlefevre | 2009-03-16 12:30:20 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/min_prec.c min_prec.c: fixed another bug. ------------------------------------------------------------------------ r6113 | thevenyp | 2009-03-16 12:26:29 +0000 (Mon, 16 Mar 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: Add more debug assertion on the buffer size. ------------------------------------------------------------------------ r6112 | thevenyp | 2009-03-16 12:03:43 +0000 (Mon, 16 Mar 2009) | 3 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/vasprintf.c vasprintf.c: Fix bug_20090316 (in buffer_cat, the buffer was 1 character too small in some cases). tests/tfprintf.c: Add test for bug_20090316. ------------------------------------------------------------------------ r6111 | vlefevre | 2009-03-16 11:57:41 +0000 (Mon, 16 Mar 2009) | 2 lines Changed paths: M /trunk/tests/tadd.c tests/tadd.c: changed GMP_RND* (from r6071) into MPFR_RND*; this should have been done when porting the patch from the 2.4 branch. ------------------------------------------------------------------------ r6110 | thevenyp | 2009-03-16 10:25:16 +0000 (Mon, 16 Mar 2009) | 2 lines Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: Use new environment variable MPFR_CHECK_LARGEMEM for memory expensive test. ------------------------------------------------------------------------ r6109 | vlefevre | 2009-03-16 10:12:57 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/min_prec.c min_prec.c: bug fixed by Laurent. ------------------------------------------------------------------------ r6108 | thevenyp | 2009-03-16 10:01:24 +0000 (Mon, 16 Mar 2009) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: Fix typo. ------------------------------------------------------------------------ r6107 | vlefevre | 2009-03-16 09:32:21 +0000 (Mon, 16 Mar 2009) | 2 lines Changed paths: M /trunk/min_prec.c M /trunk/mpfr.h M /trunk/mpfr.texi Fixed the prototype of mpfr_min_prec (should return a mpfr_prec_t) and its description. ------------------------------------------------------------------------ r6106 | vlefevre | 2009-03-16 09:26:54 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/min_prec.c min_prec.c: fixed a bug (but the code should be improved). ------------------------------------------------------------------------ r6105 | vlefevre | 2009-03-16 09:23:46 +0000 (Mon, 16 Mar 2009) | 1 line Changed paths: M /trunk/min_prec.c min_prec.c: simplified the singular cases (see other functions). ------------------------------------------------------------------------ r6104 | lfousse | 2009-03-15 20:44:23 +0000 (Sun, 15 Mar 2009) | 2 lines Changed paths: M /trunk/mpfr.h Add prototype for mpfr_min_prec in mpfr.h. ------------------------------------------------------------------------ r6103 | lfousse | 2009-03-15 20:34:33 +0000 (Sun, 15 Mar 2009) | 2 lines Changed paths: M /trunk/mpfr.texi Add documentation for mpfr_min_prec. ------------------------------------------------------------------------ r6102 | lfousse | 2009-03-15 20:34:00 +0000 (Sun, 15 Mar 2009) | 2 lines Changed paths: M /trunk/Makefile.am A /trunk/min_prec.c New function mpfr_min_prec. ------------------------------------------------------------------------ r6101 | vlefevre | 2009-03-15 03:17:06 +0000 (Sun, 15 Mar 2009) | 2 lines Changed paths: M /trunk/get_ld.c get_ld.c: fixed bugs in the case HAVE_LDOUBLE_IEEE_EXT_LITTLE (one found by Steve Kargl, and another one concerning the mpfr_set_emax value). ------------------------------------------------------------------------ r6100 | thevenyp | 2009-03-13 17:58:59 +0000 (Fri, 13 Mar 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: This is probably dead code, but being uncertain, put an assert here. ------------------------------------------------------------------------ r6099 | thevenyp | 2009-03-13 17:55:13 +0000 (Fri, 13 Mar 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: As the buffer helper functions are not used in the current code with a zero parameter len, do not handle this case anymore, check that these cases do not happened in MPFR_ASSERTD macros, add some additional assert to ensure consistency. ------------------------------------------------------------------------ r6098 | thevenyp | 2009-03-13 17:47:57 +0000 (Fri, 13 Mar 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: make clear that string_buffer.curr is a pointer to the null terminating character, fix the only place where it was not handle so. ------------------------------------------------------------------------ r6097 | thevenyp | 2009-03-13 17:36:20 +0000 (Fri, 13 Mar 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: Fix bug. ------------------------------------------------------------------------ r6096 | thevenyp | 2009-03-13 17:30:10 +0000 (Fri, 13 Mar 2009) | 3 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c tests/tprintf.c: Add an expensive test where the output number has more than INT_MAX characters. vasprintf.c: Fix the bug triggered by the new test in tsprintf.c. ------------------------------------------------------------------------ r6095 | thevenyp | 2009-03-13 17:17:42 +0000 (Fri, 13 Mar 2009) | 4 lines Changed paths: M /trunk/mpfr.texi M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c mpfr.texi: Do cosmetic changes and add some details on printf behavior when the precision field is empty. tests/tsprintf.c: improve code coverage. tests/tprintf.c: improve code coverage, check the behavior describe in mpfr.texi. ------------------------------------------------------------------------ r6091 | vlefevre | 2009-03-12 12:54:29 +0000 (Thu, 12 Mar 2009) | 3 lines Changed paths: M /trunk/zeta_ui.c zeta_ui.c: correction r6090 was incorrect as there was another problem: the 3rd argument of mpz_divexact_ui is an unsigned long, not a limb. So, fixed the shift count (assuming no padding bits in unsigned long). ------------------------------------------------------------------------ r6090 | vlefevre | 2009-03-12 12:45:21 +0000 (Thu, 12 Mar 2009) | 3 lines Changed paths: M /trunk/zeta_ui.c zeta_ui.c bug fix: a shift count could be >= width of type (if a limb is a long long and long long is twice the size of a long). This problem was detected by a warning on gcc40 with CFLAGS="-mpowerpc64 -mcpu=970 -O2". ------------------------------------------------------------------------ r6088 | vlefevre | 2009-03-10 01:11:36 +0000 (Tue, 10 Mar 2009) | 1 line Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: added missing cast to void * for %p. ------------------------------------------------------------------------ r6086 | vlefevre | 2009-03-09 15:51:27 +0000 (Mon, 09 Mar 2009) | 1 line Changed paths: M /trunk/tests/tfprintf.c tests/tfprintf.c: added missing cast to void * for %p. ------------------------------------------------------------------------ r6084 | vlefevre | 2009-03-09 15:42:51 +0000 (Mon, 09 Mar 2009) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: fixed bug in CONSUME_VA_ARG for case MP_LIMB_ARG (%Mu). ------------------------------------------------------------------------ r6082 | vlefevre | 2009-03-09 14:09:10 +0000 (Mon, 09 Mar 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: GMP with ABI=mode32 should be tested on 64-bit PowerPC. ------------------------------------------------------------------------ r6081 | thevenyp | 2009-03-06 18:07:12 +0000 (Fri, 06 Mar 2009) | 3 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c vasprintf.c: now return -1 when the format string is invalid (undefined behavior in standard C99) tests/tprintf.c: Additional checks with invalid format strings. ------------------------------------------------------------------------ r6080 | thevenyp | 2009-03-06 18:01:24 +0000 (Fri, 06 Mar 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: Add missing conversion specifier accepted with mpfr_t variable. ------------------------------------------------------------------------ r6079 | vlefevre | 2009-03-06 13:03:44 +0000 (Fri, 06 Mar 2009) | 1 line Changed paths: M /trunk/add1.c add1.c: assertions on the argument values should use MPFR_ASSERTN. ------------------------------------------------------------------------ r6077 | zimmerma | 2009-03-06 11:50:19 +0000 (Fri, 06 Mar 2009) | 2 lines Changed paths: M /trunk/cache.c [cache.c] improved comment for mpfr_init_cache ------------------------------------------------------------------------ r6076 | zimmerma | 2009-03-06 11:44:10 +0000 (Fri, 06 Mar 2009) | 2 lines Changed paths: M /trunk/add1.c [add1.c] transformed switch() into if-then-else, to get 100% coverage ------------------------------------------------------------------------ r6074 | vlefevre | 2009-03-06 00:45:57 +0000 (Fri, 06 Mar 2009) | 1 line Changed paths: M /trunk/atan.c M /trunk/cache.c untabify ------------------------------------------------------------------------ r6073 | vlefevre | 2009-03-06 00:40:20 +0000 (Fri, 06 Mar 2009) | 3 lines Changed paths: M /trunk/update-faq update-faq: change GMP_RND into MPFR_RND from the version on the web (since MPFR 3.0 hasn't been released yet, the FAQ still uses the 2.x API). ------------------------------------------------------------------------ r6071 | vlefevre | 2009-03-05 23:46:45 +0000 (Thu, 05 Mar 2009) | 1 line Changed paths: M /trunk/tests/tadd.c tests/tadd.c: completed the code coverage (case bk == 0 in add1.c). ------------------------------------------------------------------------ r6070 | zimmerma | 2009-03-05 19:44:05 +0000 (Thu, 05 Mar 2009) | 2 lines Changed paths: M /trunk/cache.c M /trunk/mpfr-impl.h [mpfr-impl.h,cache.c] commented out mpfr_init_cache ------------------------------------------------------------------------ r6069 | zimmerma | 2009-03-05 16:37:19 +0000 (Thu, 05 Mar 2009) | 2 lines Changed paths: M /trunk/const_catalan.c [const_catalan.c] decreased initial Ziv precision to get 100% coverage ------------------------------------------------------------------------ r6068 | zimmerma | 2009-03-05 16:28:13 +0000 (Thu, 05 Mar 2009) | 3 lines Changed paths: M /trunk/cmp2.c M /trunk/tests/tcmp2.c [cmp2.c] added comments [tcmp2.c] added test to improve coverage to 100% ------------------------------------------------------------------------ r6067 | zimmerma | 2009-03-05 14:12:32 +0000 (Thu, 05 Mar 2009) | 3 lines Changed paths: M /trunk/atan2.c M /trunk/tests/tatan.c [atan2.c,tatan.c] reduced Ziv's initial precision and added test to have 100% coverage of atan2.c ------------------------------------------------------------------------ r6066 | zimmerma | 2009-03-05 13:43:18 +0000 (Thu, 05 Mar 2009) | 2 lines Changed paths: M /trunk/atan.c [atan.c] coverage should now be 100% ------------------------------------------------------------------------ r6065 | zimmerma | 2009-03-04 17:09:02 +0000 (Wed, 04 Mar 2009) | 3 lines Changed paths: M /trunk/TODO M /trunk/algorithms.bib M /trunk/algorithms.tex [algorithms.bib] added new reference [TODO] added pointers ------------------------------------------------------------------------ r6059 | vlefevre | 2009-03-04 12:59:50 +0000 (Wed, 04 Mar 2009) | 2 lines Changed paths: M /trunk/mpfr-gmp.c mpfr-gmp.c (mpfr_assert_fail): output "MPFR" too in assertion failure messages. ------------------------------------------------------------------------ r6057 | vlefevre | 2009-03-04 01:33:17 +0000 (Wed, 04 Mar 2009) | 1 line Changed paths: M /trunk/mpfrlint Updated mpfrlint script. ------------------------------------------------------------------------ r6056 | vlefevre | 2009-03-04 01:06:47 +0000 (Wed, 04 Mar 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated month. ------------------------------------------------------------------------ r6055 | vlefevre | 2009-03-04 01:02:26 +0000 (Wed, 04 Mar 2009) | 1 line Changed paths: M /trunk/NEWS NEWS: say that the license has changed. ------------------------------------------------------------------------ r6054 | vlefevre | 2009-03-03 17:32:00 +0000 (Tue, 03 Mar 2009) | 1 line Changed paths: M /trunk/NEWS Updated NEWS (function mpfr_random has been removed). ------------------------------------------------------------------------ r6053 | zimmerma | 2009-03-03 16:51:07 +0000 (Tue, 03 Mar 2009) | 2 lines Changed paths: M /trunk/FAQ.html M /trunk/NEWS M /trunk/TODO M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/cmp_d.c M /trunk/cmp_ld.c M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/cos.c M /trunk/cosh.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/div.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_ui.c M /trunk/eint.c M /trunk/erf.c M /trunk/erfc.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/factorial.c M /trunk/fits_intmax.c M /trunk/fits_uintmax.c M /trunk/fma.c M /trunk/fms.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_ld.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/modf.c M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/mul.c M /trunk/mul_2si.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/print_rnd_mode.c M /trunk/rec_sqrt.c M /trunk/reldiff.c M /trunk/rem1.c M /trunk/replace_all M /trunk/rint.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/sech.c M /trunk/set_ld.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_str_raw.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/speed.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/mpfr-test.h M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tuneup.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/vasprintf.c M /trunk/yn.c M /trunk/zeta.c M /trunk/zeta_ui.c GMP_RNDX -> MPFR_RNDX ------------------------------------------------------------------------ r6051 | vlefevre | 2009-03-03 14:05:38 +0000 (Tue, 03 Mar 2009) | 1 line Changed paths: M /trunk/tests tests: added taway to svn:ignore property. ------------------------------------------------------------------------ r6050 | vlefevre | 2009-03-03 14:03:06 +0000 (Tue, 03 Mar 2009) | 1 line Changed paths: M /trunk/BUGS M /trunk/COPYING.LIB M /trunk/FAQ.html M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/abort_prec_max.c M /trunk/acinclude.m4 M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_d.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/check.c M /trunk/clear.c M /trunk/clears.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_abs.c M /trunk/cmp_d.c M /trunk/cmp_ld.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/comparisons.c M /trunk/configure.in M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/constant.c M /trunk/copysign.c M /trunk/cos.c M /trunk/cosh.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/dim.c M /trunk/div.c M /trunk/div_2exp.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_d.c M /trunk/div_ui.c M /trunk/dump.c M /trunk/eint.c M /trunk/eq.c M /trunk/erf.c M /trunk/erfc.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp10.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/extract.c M /trunk/factorial.c M /trunk/faq.xsl M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_sint.c M /trunk/fits_slong.c M /trunk/fits_sshort.c M /trunk/fits_u.h M /trunk/fits_uint.c M /trunk/fits_uintmax.c M /trunk/fits_ulong.c M /trunk/fits_ushort.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/free_cache.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_exp.c M /trunk/get_f.c M /trunk/get_ld.c M /trunk/get_patches.sh M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/init.c M /trunk/init2.c M /trunk/inits.c M /trunk/inits2.c M /trunk/inp_str.c M /trunk/int_ceil_log2.c M /trunk/isinf.c M /trunk/isinteger.c M /trunk/isnan.c M /trunk/isnum.c M /trunk/isqrt.c M /trunk/iszero.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/mbench/Makefile M /trunk/mbench/README M /trunk/mbench/generate.c M /trunk/mbench/mfv5-arprec.cc M /trunk/mbench/mfv5-cln.cc M /trunk/mbench/mfv5-crlibm.cc M /trunk/mbench/mfv5-libc.cc M /trunk/mbench/mfv5-lidia.cc M /trunk/mbench/mfv5-mpf.cc M /trunk/mbench/mfv5-mpfr.cc M /trunk/mbench/mfv5-ntl.cc M /trunk/mbench/mfv5-pari.cc M /trunk/mbench/mfv5-void.cc M /trunk/mbench/mfv5.cc M /trunk/mbench/mfv5.h M /trunk/mbench/mpfr-gfx.c M /trunk/mbench/mpfr-v4.c M /trunk/mbench/mpfr-v6.c M /trunk/mbench/timp.h M /trunk/minmax.c M /trunk/modf.c M /trunk/mp_clz_tab.c M /trunk/mparam_h.in M /trunk/mpf2mpfr.h M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr-longlong.h M /trunk/mpfr-thread.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_2exp.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/mul_d.c M /trunk/mul_ui.c M /trunk/mulders.c M /trunk/neg.c M /trunk/next.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/print_rnd_mode.c M /trunk/printf.c M /trunk/random2.c M /trunk/rec_sqrt.c M /trunk/reldiff.c M /trunk/rem1.c M /trunk/rint.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/sec.c M /trunk/sech.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_dfl_prec.c M /trunk/set_exp.c M /trunk/set_f.c M /trunk/set_inf.c M /trunk/set_ld.c M /trunk/set_nan.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_sj.c M /trunk/set_str.c M /trunk/set_str_raw.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/setsign.c M /trunk/sgn.c M /trunk/si_op.c M /trunk/signbit.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/speed.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_d.c M /trunk/sub_ui.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/swap.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/cmp_str.c M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/taway.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tuneup.c M /trunk/uceil_exp2.c M /trunk/uceil_log2.c M /trunk/ufloor_log2.c M /trunk/ui_div.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/ui_sub.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/version.c M /trunk/volatile.c M /trunk/yn.c M /trunk/zeta.c M /trunk/zeta_ui.c Update to LGPL v3+, as decided by the main MPFR developers. ------------------------------------------------------------------------ r6043 | vlefevre | 2009-02-27 15:46:06 +0000 (Fri, 27 Feb 2009) | 1 line Changed paths: M /trunk/add.c M /trunk/div_ui.c M /trunk/exp.c M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/rem1.c M /trunk/round_near_x.c M /trunk/set_z.c M /trunk/tests/taway.c M /trunk/tests/tcoth.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/tget_sj.c M /trunk/tests/tinternals.c M /trunk/tests/tpow_all.c M /trunk/zeta.c M /trunk/zeta_ui.c Untabified and deleted trailing spaces (for patches). ------------------------------------------------------------------------ r6041 | zimmerma | 2009-02-27 14:33:12 +0000 (Fri, 27 Feb 2009) | 3 lines Changed paths: M /trunk/rint.c M /trunk/tests/tget_sj.c [rint.c] fixed a bug incorporated with the round away mode [tget_sj.c] fixed the tests for round away ------------------------------------------------------------------------ r6040 | zimmerma | 2009-02-27 14:11:22 +0000 (Fri, 27 Feb 2009) | 5 lines Changed paths: M /trunk/rint.c M /trunk/set_z.c M /trunk/tests/Makefile.am A /trunk/tests/taway.c [rint.c] fixed bug with round away [taway.c] new test file for round away (with random values) [tests/Makefile.am] added taway [set_z.c] GNU style ------------------------------------------------------------------------ r6037 | thevenyp | 2009-02-27 13:38:30 +0000 (Fri, 27 Feb 2009) | 5 lines Changed paths: M /trunk/tests/tests.c tests/tests.c: Change test5rm (formerly test4rm) so that it checks the new GMP_RNDA rounding mode, and that the corresponding rounding towards infinity is checked with GMP_RNDZ or with GMP_RNDA in one-pass mode (now, two-pass mode). Remove a comment about a warning from gcc solved with r5057. ------------------------------------------------------------------------ r6036 | zimmerma | 2009-02-27 13:27:41 +0000 (Fri, 27 Feb 2009) | 2 lines Changed paths: M /trunk/rem1.c M /trunk/tests/tremquo.c [rem1.c] fixed bug found in adding tests for round away ------------------------------------------------------------------------ r6035 | zimmerma | 2009-02-27 06:36:54 +0000 (Fri, 27 Feb 2009) | 2 lines Changed paths: M /trunk/add.c [add.c] added comment for 0 + 0 with round away ------------------------------------------------------------------------ r6034 | vlefevre | 2009-02-26 23:02:57 +0000 (Thu, 26 Feb 2009) | 1 line Changed paths: M /trunk/tests/texceptions.c tests/texceptions.c: removed obsolete comments from r2427. ------------------------------------------------------------------------ r6033 | zimmerma | 2009-02-26 21:28:42 +0000 (Thu, 26 Feb 2009) | 4 lines Changed paths: M /trunk/mpfr.h M /trunk/tests/texceptions.c M /trunk/tests/tsub.c [mpfr.h] added comment about order of rounding modes [texceptions.c] added comments, fixed typo [tsub.c] added test, fixed typo ------------------------------------------------------------------------ r6032 | thevenyp | 2009-02-26 18:21:14 +0000 (Thu, 26 Feb 2009) | 2 lines Changed paths: M /trunk/tests/tdiv.c M /trunk/tests/tmul.c M /trunk/tests/tsqrt.c M /trunk/tests/tsub.c Add tests with round away mode. ------------------------------------------------------------------------ r6031 | vlefevre | 2009-02-26 17:25:26 +0000 (Thu, 26 Feb 2009) | 1 line Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.in M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/version.c Updated version to 3.0.0-dev. ------------------------------------------------------------------------ r6030 | zimmerma | 2009-02-26 15:47:06 +0000 (Thu, 26 Feb 2009) | 2 lines Changed paths: M /trunk/NEWS M /trunk/TODO M /trunk/add1.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/div_ui.c M /trunk/erf.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/hypot.c M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/print_rnd_mode.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/set_rnd.c M /trunk/tests/tcoth.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/tfma.c M /trunk/tests/tfms.c M /trunk/tests/thypot.c M /trunk/tests/tinternals.c M /trunk/tests/tpow.c M /trunk/tests/tpow_all.c M /trunk/zeta.c M /trunk/zeta_ui.c added round to away (still experimental) ------------------------------------------------------------------------ r6026 | zimmerma | 2009-02-26 10:31:39 +0000 (Thu, 26 Feb 2009) | 2 lines Changed paths: M /trunk/mpfr.h [mpfr.h] added comments for rounding modes ------------------------------------------------------------------------ r6022 | vlefevre | 2009-02-26 01:41:26 +0000 (Thu, 26 Feb 2009) | 2 lines Changed paths: M /trunk/m4 Added svn:ignore property on the m4 directory (these .m4 files are generated automatically). ------------------------------------------------------------------------ r6021 | vlefevre | 2009-02-26 01:36:06 +0000 (Thu, 26 Feb 2009) | 2 lines Changed paths: M /trunk/Makefile.am Makefile.am: updated -version-info (since mpfr_random has been removed, we already know its value). ------------------------------------------------------------------------ r6019 | vlefevre | 2009-02-26 01:26:45 +0000 (Thu, 26 Feb 2009) | 2 lines Changed paths: M /trunk/Makefile.am Makefile.am: do not check libtool -version-info value if the VERSION file contains "-dev". ------------------------------------------------------------------------ r6018 | vlefevre | 2009-02-26 01:16:02 +0000 (Thu, 26 Feb 2009) | 2 lines Changed paths: M /trunk/Makefile.am Makefile.am: In a "make dist", check that libtool -version-info value is up-to-date (this is a heuristic only). ------------------------------------------------------------------------ r6016 | vlefevre | 2009-02-26 00:36:25 +0000 (Thu, 26 Feb 2009) | 3 lines Changed paths: M /trunk/README.dev README.dev: updated "To make a release" -- it is important to read this section entirely before making any release (even if some steps may be skipped for some particular releases). ------------------------------------------------------------------------ r6010 | vlefevre | 2009-02-25 22:06:27 +0000 (Wed, 25 Feb 2009) | 1 line Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: do not use VLA's (C99 only). ------------------------------------------------------------------------ r6003 | vlefevre | 2009-02-25 14:24:06 +0000 (Wed, 25 Feb 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: update about patches. ------------------------------------------------------------------------ r5999 | vlefevre | 2009-02-25 12:44:51 +0000 (Wed, 25 Feb 2009) | 1 line Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: coding style: removed spurious spaces. ------------------------------------------------------------------------ r5997 | vlefevre | 2009-02-25 12:16:17 +0000 (Wed, 25 Feb 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated month. ------------------------------------------------------------------------ r5996 | vlefevre | 2009-02-25 12:14:38 +0000 (Wed, 25 Feb 2009) | 3 lines Changed paths: M /trunk/printf.c printf.c: fixed assertion failures in the case buffer == NULL and size == 0 (see r5995). Also replaced MPFR_ASSERTD(buf != NULL) by MPFR_ASSERTN(buf != NULL) since buf is provided as an argument. ------------------------------------------------------------------------ r5995 | vlefevre | 2009-02-25 12:12:52 +0000 (Wed, 25 Feb 2009) | 3 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: added mpfr_snprintf/mpfr_vsnprintf tests with buffer == NULL and size == 0 (as allowed in C99 snprintf/vsnprintf and by the MPFR documentation). ------------------------------------------------------------------------ r5994 | thevenyp | 2009-02-25 09:58:15 +0000 (Wed, 25 Feb 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: Fix typos. ------------------------------------------------------------------------ r5993 | vlefevre | 2009-02-24 19:40:06 +0000 (Tue, 24 Feb 2009) | 1 line Changed paths: M /trunk/tuneup.c tuneup.c: untabified. ------------------------------------------------------------------------ r5992 | thevenyp | 2009-02-24 18:04:04 +0000 (Tue, 24 Feb 2009) | 3 lines Changed paths: M /trunk/printf.c M /trunk/tests/tsprintf.c printf.c: Fix wrong return value, mpfr_snprintf and mpfr_vsnprintf functions must always return the number of character that would be written if the parameter n had been sufficiently large (it previously returned zero when n == 0). tests/tsprintf.c: Fix test of mpfr_snprintf and mpfr_vsnprintf (the wrong return value was checked). ------------------------------------------------------------------------ r5991 | vlefevre | 2009-02-24 15:38:37 +0000 (Tue, 24 Feb 2009) | 1 line Changed paths: M /trunk/printf.c printf.c: fix buffer overflow in mpfr_snprintf and mpfr_vsnprintf. ------------------------------------------------------------------------ r5990 | vlefevre | 2009-02-24 15:37:33 +0000 (Tue, 24 Feb 2009) | 1 line Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: added a test showing a buffer overflow in mpfr_vsnprintf. ------------------------------------------------------------------------ r5989 | vlefevre | 2009-02-24 15:30:06 +0000 (Tue, 24 Feb 2009) | 1 line Changed paths: M /trunk/tests/tsprintf.c tsprintf.c: added a test showing a buffer overflow in mpfr_snprintf. ------------------------------------------------------------------------ r5985 | vlefevre | 2009-02-23 12:21:47 +0000 (Mon, 23 Feb 2009) | 12 lines Changed paths: M /trunk/tests/tests.c M /trunk/tests/tversion.c M /trunk/update-version Changed how the test of MPFR_VERSION_MAJOR, MPFR_VERSION_MINOR and MPFR_VERSION_PATCHLEVEL vs MPFR_VERSION_STRING is performed. Detailed explanations: The test was enabled only in release tarballs (suffix not present), where tests/tversion.c normally contained a "#if 1" (though this is not the case in the MPFR 2.4.0 tarball). In patches, this test should be disabled by changing the "#if 1" into "#if 0", due to the suffix. But as one should be able to apply any patches (in any order), this method was not satisfactory. The test has been moved from tests/tversion.c to tests/tests.c (in function test_version), and the suffix is now ignored in this test; the change of #if has been removed from the update-version script. ------------------------------------------------------------------------ r5981 | vlefevre | 2009-02-20 21:51:01 +0000 (Fri, 20 Feb 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: corrected update-version usage for patches. ------------------------------------------------------------------------ r5978 | vlefevre | 2009-02-20 16:04:19 +0000 (Fri, 20 Feb 2009) | 1 line Changed paths: M /trunk/FAQ.html FAQ update. ------------------------------------------------------------------------ r5975 | zimmerma | 2009-02-20 15:11:17 +0000 (Fri, 20 Feb 2009) | 3 lines Changed paths: M /trunk/mparam_h.in M /trunk/tuneup.c [mparam_h.in] added default thresholds for sparc64 [tuneup.c] print gcc patchlevel ------------------------------------------------------------------------ r5970 | vlefevre | 2009-02-19 01:10:31 +0000 (Thu, 19 Feb 2009) | 1 line Changed paths: M /trunk/speed.c M /trunk/tests/texp.c speed.c, tests/texp.c: untabified. ------------------------------------------------------------------------ r5969 | vlefevre | 2009-02-19 01:08:00 +0000 (Thu, 19 Feb 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: improved mpfr_strtofr documentation (completing r5965). ------------------------------------------------------------------------ r5967 | zimmerma | 2009-02-18 21:31:24 +0000 (Wed, 18 Feb 2009) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] added tuning for powerpc64 ------------------------------------------------------------------------ r5966 | thevenyp | 2009-02-18 17:06:02 +0000 (Wed, 18 Feb 2009) | 2 lines Changed paths: M /trunk/strtofr.c strtofr.c: fix typo. ------------------------------------------------------------------------ r5965 | thevenyp | 2009-02-18 16:55:21 +0000 (Wed, 18 Feb 2009) | 4 lines Changed paths: M /trunk/mpfr.texi M /trunk/strtofr.c M /trunk/tests/tstrtofr.c strtofr.c: accept bases up to 62. mpfr.texi: modify mpfr_strtofr documentation accordingly. tests/tstrtofr.c: add tests for bases 62, 60, and 61. ------------------------------------------------------------------------ r5964 | thevenyp | 2009-02-17 16:52:33 +0000 (Tue, 17 Feb 2009) | 2 lines Changed paths: M /trunk/mparam_h.in mparam_h.in: Change core2/64bit parameters. ------------------------------------------------------------------------ r5963 | vlefevre | 2009-02-17 16:46:56 +0000 (Tue, 17 Feb 2009) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/vasprintf.c Checks whether C99 length modifiers 'hh' and 'll' are supported by the system ('hh' is absent on alpha-OSF1-V5, bug reported by Kate Minola). [Merged changeset 5956 from the 2.4 branch.] ------------------------------------------------------------------------ r5962 | zimmerma | 2009-02-17 16:31:46 +0000 (Tue, 17 Feb 2009) | 2 lines Changed paths: M /trunk/tests/texp.c [texp.c] yet another better fix ------------------------------------------------------------------------ r5961 | zimmerma | 2009-02-17 16:23:41 +0000 (Tue, 17 Feb 2009) | 2 lines Changed paths: M /trunk/tests/texp.c [texp.c] fixed previous patch and added comment ------------------------------------------------------------------------ r5960 | zimmerma | 2009-02-17 16:19:25 +0000 (Tue, 17 Feb 2009) | 2 lines Changed paths: M /trunk/tests/texp.c [texp.c] fixed corner case test ------------------------------------------------------------------------ r5958 | vlefevre | 2009-02-16 14:27:52 +0000 (Mon, 16 Feb 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: improved latest change. ------------------------------------------------------------------------ r5957 | vlefevre | 2009-02-16 14:25:10 +0000 (Mon, 16 Feb 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: mentioned update-version for patches. ------------------------------------------------------------------------ r5955 | zimmerma | 2009-02-11 10:09:36 +0000 (Wed, 11 Feb 2009) | 2 lines Changed paths: M /trunk/mbench/mpfr-gfx.c [mpfr-gfx.c] added -p option to produce a Postscript file ------------------------------------------------------------------------ r5954 | zimmerma | 2009-02-10 21:02:22 +0000 (Tue, 10 Feb 2009) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] added thresholds for ARM ------------------------------------------------------------------------ r5953 | zimmerma | 2009-02-10 17:39:27 +0000 (Tue, 10 Feb 2009) | 2 lines Changed paths: M /trunk/README.dev [README.dev] added description of how to tune MPFR ------------------------------------------------------------------------ r5952 | zimmerma | 2009-02-10 15:52:48 +0000 (Tue, 10 Feb 2009) | 2 lines Changed paths: M /trunk/README.dev [README.dev] added another example of using mpfr-gfx ------------------------------------------------------------------------ r5951 | zimmerma | 2009-02-10 15:50:40 +0000 (Tue, 10 Feb 2009) | 3 lines Changed paths: M /trunk/mbench/Makefile [Makefile] modified Makefile to compile statically, and to allow also build directories of GMP/MPFR ------------------------------------------------------------------------ r5950 | thevenyp | 2009-02-10 14:21:45 +0000 (Tue, 10 Feb 2009) | 2 lines Changed paths: M /trunk/mbench/mpfr-gfx.c mbench/mpfr-gfx.c: add option -rPREC_RATIO for geometric progression. ------------------------------------------------------------------------ r5949 | zimmerma | 2009-02-10 12:10:46 +0000 (Tue, 10 Feb 2009) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] updated Itanium parameters (now for Itanium2) ------------------------------------------------------------------------ r5948 | zimmerma | 2009-02-10 11:26:25 +0000 (Tue, 10 Feb 2009) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] added symbol __itanium__ for Itanium[12] ------------------------------------------------------------------------ r5947 | zimmerma | 2009-02-09 21:50:22 +0000 (Mon, 09 Feb 2009) | 3 lines Changed paths: M /trunk/README.dev M /trunk/mbench/mpfr-gfx.c [README.dev] fixed typo [mpfr-gfx.c] added comments in the code (might be useful) ------------------------------------------------------------------------ r5946 | zimmerma | 2009-02-09 20:25:42 +0000 (Mon, 09 Feb 2009) | 2 lines Changed paths: M /trunk/README.dev [README.dev] added pointer to mbench to check the thresholds ------------------------------------------------------------------------ r5945 | zimmerma | 2009-02-09 20:17:46 +0000 (Mon, 09 Feb 2009) | 2 lines Changed paths: M /trunk/mbench/mpfr-gfx.c [mpfr-gfx.c] now also produces a plot.gnuplot file together with plot.data ------------------------------------------------------------------------ r5944 | zimmerma | 2009-02-09 16:18:50 +0000 (Mon, 09 Feb 2009) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] updated default thresholds with gmp-4.2.4 ------------------------------------------------------------------------ r5943 | zimmerma | 2009-02-09 16:16:33 +0000 (Mon, 09 Feb 2009) | 2 lines Changed paths: M /trunk/tuneup.c [tuneup.c] fixed typo ------------------------------------------------------------------------ r5942 | zimmerma | 2009-02-09 14:34:34 +0000 (Mon, 09 Feb 2009) | 2 lines Changed paths: M /trunk/Makefile.am [Makefile.am] added stuff to compile speed program ------------------------------------------------------------------------ r5941 | zimmerma | 2009-02-09 14:22:20 +0000 (Mon, 09 Feb 2009) | 5 lines Changed paths: A /trunk/speed.c [speed.c] preliminary program to check the tuning of mpfr (based on tuneup.c) So far it only measures mpfr_mul up to 1000 bits, with increment ratio of 1.1. Requires --with-gmp-build like tuneup. Feel free to improve! ------------------------------------------------------------------------ r5940 | zimmerma | 2009-02-09 13:26:07 +0000 (Mon, 09 Feb 2009) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] allow __tune_ia64__ in addition to __ia64 ------------------------------------------------------------------------ r5937 | zimmerma | 2009-02-09 08:16:08 +0000 (Mon, 09 Feb 2009) | 2 lines Changed paths: M /trunk/mparam_h.in [mparam_h.in] replaced __pentium4 by __tune_pentium4__, ... ------------------------------------------------------------------------ r5936 | zimmerma | 2009-02-08 21:58:11 +0000 (Sun, 08 Feb 2009) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/mparam_h.in [acinclude.m4] removed detection of HAVE_HOST_CORE2 [mparam_h.in] replaced HAVE_HOST_CORE2 by __tune_core2__ ------------------------------------------------------------------------ r5930 | thevenyp | 2009-02-06 14:06:54 +0000 (Fri, 06 Feb 2009) | 2 lines Changed paths: M /trunk/tests/mpf_compat.h tests/mpf_compat.h: complete r5922 adding missing mpz_init/mpz_clear. ------------------------------------------------------------------------ r5927 | vlefevre | 2009-02-06 11:57:57 +0000 (Fri, 06 Feb 2009) | 1 line Changed paths: M /trunk/TODO TODO: updated efficiency items. ------------------------------------------------------------------------ r5926 | zimmerma | 2009-02-06 11:18:48 +0000 (Fri, 06 Feb 2009) | 2 lines Changed paths: M /trunk/TODO [TODO] added 2 efficiency items ------------------------------------------------------------------------ r5925 | vlefevre | 2009-02-06 00:02:35 +0000 (Fri, 06 Feb 2009) | 3 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: moved MPFR_DECL_INIT specification into Section "Initialization Functions" (now in the standard MPFR API), and removed now empty Section "Advanced Functions". ------------------------------------------------------------------------ r5924 | vlefevre | 2009-02-05 14:40:38 +0000 (Thu, 05 Feb 2009) | 1 line Changed paths: M /trunk/mparam_h.in mparam_h.in: updated comment to mention -march=native and -mtune=native. ------------------------------------------------------------------------ r5923 | vlefevre | 2009-02-05 11:42:26 +0000 (Thu, 05 Feb 2009) | 1 line Changed paths: M /trunk/mpfr.h mpfr.h: updated a comment concerning MPFR_DECL_INIT. ------------------------------------------------------------------------ r5922 | zimmerma | 2009-02-05 08:01:46 +0000 (Thu, 05 Feb 2009) | 2 lines Changed paths: M /trunk/mpf2mpfr.h M /trunk/tests/mpf_compat.h [mpf2mpfr.h] added mpz_set_f (reported by Francois Morain) ------------------------------------------------------------------------ r5921 | zimmerma | 2009-02-05 07:26:51 +0000 (Thu, 05 Feb 2009) | 3 lines Changed paths: M /trunk/TODO M /trunk/mpfr.texi [mpfr.texi] moved mpfr_inits, mpfr_inits2, mpfr_clears to supported functions [TODO] added new info about MPIR ------------------------------------------------------------------------ r5920 | zimmerma | 2009-02-04 19:46:50 +0000 (Wed, 04 Feb 2009) | 2 lines Changed paths: M /trunk/TODO [TODO] added info to distinguish GMP and MPIR ------------------------------------------------------------------------ r5893 | vlefevre | 2009-01-26 17:04:26 +0000 (Mon, 26 Jan 2009) | 1 line Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.in M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/version.c Updated the version on the trunk. ------------------------------------------------------------------------ r5888 | zimmerma | 2009-01-25 12:50:42 +0000 (Sun, 25 Jan 2009) | 2 lines Changed paths: M /trunk/nightly-test [nightly-test] removed --disable-alloca (GMP option) ------------------------------------------------------------------------ r5887 | vlefevre | 2009-01-25 00:19:30 +0000 (Sun, 25 Jan 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: --disable-alloca is a GMP configure option. ------------------------------------------------------------------------ r5886 | thevenyp | 2009-01-21 15:01:25 +0000 (Wed, 21 Jan 2009) | 3 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: remove tests against libc's printf with "%a" (not in ISO C90), and with "%p" (implementation defined). [merge -c 5885 from branches/2.4] ------------------------------------------------------------------------ r5883 | vlefevre | 2009-01-21 12:43:57 +0000 (Wed, 21 Jan 2009) | 2 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: avoid a compiler bug under Mac OS X Tiger + Xcode (&x == &x is false) that makes tset_d fail; this problem was introduced in r5880. ------------------------------------------------------------------------ r5880 | vlefevre | 2009-01-20 22:12:11 +0000 (Tue, 20 Jan 2009) | 6 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/tests/tset_ld.c Fixed bug reported by Chris Saunders: if _GMP_IEEE_FLOATS is defined, the build of tset_ld.c fails because DOUBLE_ISNAN expects a lvalue. * mpfr-impl.h: documented that for such macros, the argument must be a lvalue, and always make sure that it is a lvalue (so that a failure doesn't depend on the environment). * tests/tset_ld.c: fixed the bug. ------------------------------------------------------------------------ r5879 | vlefevre | 2009-01-20 15:08:45 +0000 (Tue, 20 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tversion.c tests/tversion.c: be more tolerant when checking whether gmp.h version and libgmp version are the same (in case patch level is 0). ------------------------------------------------------------------------ r5878 | vlefevre | 2009-01-20 12:47:05 +0000 (Tue, 20 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tset_ld.c tests/tset_ld.c: added explanation of NaN-related failures in case MPFR_NANISNAN is defined. ------------------------------------------------------------------------ r5875 | vlefevre | 2009-01-20 00:43:20 +0000 (Tue, 20 Jan 2009) | 1 line Changed paths: M /trunk/tests/tconst_log2.c M /trunk/tests/tests.c M /trunk/tests/texp.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tgmpop.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tset.c M /trunk/tests/tset_sj.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tstrtofr.c Added missing void's. ------------------------------------------------------------------------ r5874 | vlefevre | 2009-01-20 00:35:41 +0000 (Tue, 20 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: removed a blank line (for consistency with the 2.4 branch). ------------------------------------------------------------------------ r5873 | vlefevre | 2009-01-20 00:33:09 +0000 (Tue, 20 Jan 2009) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: deleted trailing spaces. ------------------------------------------------------------------------ r5869 | vlefevre | 2009-01-19 23:57:53 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: comment for DOUBLE_ISNAN with MPFR_NANISNAN defined. ------------------------------------------------------------------------ r5868 | vlefevre | 2009-01-19 23:42:33 +0000 (Mon, 19 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tset_d.c tests/tset_d.c: fixed test of mpfr_set_d on -0 with gcc -ffast-math (the -d for d = 0.0 was giving 0.0, hence a spurious failure). ------------------------------------------------------------------------ r5867 | vlefevre | 2009-01-19 23:34:54 +0000 (Mon, 19 Jan 2009) | 4 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/tests/tset_ld.c mpfr-impl.h: the DOUBLE_ISNAN macro wasn't working with gcc -ffast-math (at least on x86_64); fixed that by adding another test. tests/tset_ld.c: Isnan_ld wasn't working either; also the NaN test was incorrect. Now, the failure on NaN is correctly reported. ------------------------------------------------------------------------ r5866 | vlefevre | 2009-01-19 22:44:45 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tset_d.c tests/tcmp_d.c, tests/tcmp_ld.c, tests/tset_d.c: corrected message. ------------------------------------------------------------------------ r5865 | vlefevre | 2009-01-19 22:37:27 +0000 (Mon, 19 Jan 2009) | 4 lines Changed paths: M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tset_d.c tests/tcmp_d.c, tests/tcmp_ld.c, tests/tset_d.c: added explanations of NaN-related failures in case MPFR_NANISNAN is defined. Note: in tset_d.c, moved the NaN test before the signed-zero test to catch the failure on the NaN first. ------------------------------------------------------------------------ r5864 | vlefevre | 2009-01-19 22:23:26 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/acinclude.m4 acinclude.m4: improved warning message. ------------------------------------------------------------------------ r5863 | vlefevre | 2009-01-19 22:16:15 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/INSTALL INSTALL: updated "In case of problem". ------------------------------------------------------------------------ r5862 | vlefevre | 2009-01-19 22:12:09 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/acinclude.m4 acinclude.m4: added a warning message for the NAN != NAN test. ------------------------------------------------------------------------ r5860 | thevenyp | 2009-01-19 19:59:12 +0000 (Mon, 19 Jan 2009) | 3 lines Changed paths: M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tests.c M /trunk/tests/tset_d.c tcmp_d.c tset_d.c tcmp_ld.c: Remove tests with NaN when MPFR_NANISNAN is defined. tests.c: Add a warning in a comment that Isnan always returns 0 on systems where MPFR_NANISNAN is defined. ------------------------------------------------------------------------ r5855 | thevenyp | 2009-01-19 18:14:55 +0000 (Mon, 19 Jan 2009) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: do not support 't' when NPRINTF_T is defined, HAVE_STDINT_H -> _MPFR_H_HAVE_INTMAX_T. ------------------------------------------------------------------------ r5853 | thevenyp | 2009-01-19 17:05:13 +0000 (Mon, 19 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tfprintf.c tests/tfprintf.c: renumber tests (there was two tests #9). ------------------------------------------------------------------------ r5852 | vlefevre | 2009-01-19 16:56:17 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/tests/tfprintf.c tests/tfprintf.c: %c takes an int argument, not a char (see C standard). ------------------------------------------------------------------------ r5851 | vlefevre | 2009-01-19 16:53:56 +0000 (Mon, 19 Jan 2009) | 4 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c tests/tprintf.c, tests/tsprintf.c: * %c takes an int argument, not a char (see C standard), even though this may be equivalent due to integer promotion. * Add void in prototypes of functions taking no arguments. ------------------------------------------------------------------------ r5844 | vlefevre | 2009-01-19 15:46:41 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated references to the GMP manual. ------------------------------------------------------------------------ r5843 | vlefevre | 2009-01-19 15:31:54 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: typo in comment. ------------------------------------------------------------------------ r5842 | vlefevre | 2009-01-19 15:30:52 +0000 (Mon, 19 Jan 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: added .info extension in cross-references, to avoid the bug reported here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484740 ------------------------------------------------------------------------ r5841 | vlefevre | 2009-01-19 14:34:22 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: added a reference to a texinfo bug in a comment. ------------------------------------------------------------------------ r5840 | vlefevre | 2009-01-19 14:02:49 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: added missing @code{}. ------------------------------------------------------------------------ r5839 | vlefevre | 2009-01-19 14:01:13 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: don't -> do not, doesn't -> does not, won't -> will not. ------------------------------------------------------------------------ r5838 | vlefevre | 2009-01-19 13:58:50 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: improved Section "Format String". ------------------------------------------------------------------------ r5837 | thevenyp | 2009-01-19 13:51:45 +0000 (Mon, 19 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: check if native types are really processed by libc printf. ------------------------------------------------------------------------ r5836 | vlefevre | 2009-01-19 13:31:27 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/README.dev README.dev: no longer mentions HAVE_QUAD_T since it is no longer used. ------------------------------------------------------------------------ r5835 | thevenyp | 2009-01-19 12:50:08 +0000 (Mon, 19 Jan 2009) | 5 lines Changed paths: M /trunk/acinclude.m4 M /trunk/mpfr.texi M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/vasprintf.c mpfr.texi: Explicit list of type supported by mpfr_printf functions. acinclude.m4: Remove detection of type modifier 'q'. vasprintf.c: Remove support of type modifier 'q'. tests/tfprintf.c tests/tprintf.c: Remove tests with type modifier 'q'. ------------------------------------------------------------------------ r5834 | thevenyp | 2009-01-19 11:05:10 +0000 (Mon, 19 Jan 2009) | 3 lines Changed paths: M /trunk/INSTALL M /trunk/configure.in INSTALL: Warn that --with-gmp, --with-gmp-include/--with-gmp-lib, and --with-gmp-build options are mutually exclusive. configure.in: Check and fail if --with-gmp, --with-gmp-include/--with-gmp-lib, or --with-gmp-build are use simultaneously. ------------------------------------------------------------------------ r5833 | vlefevre | 2009-01-19 10:08:58 +0000 (Mon, 19 Jan 2009) | 1 line Changed paths: M /trunk/tests/tests.c tests/tests.c: include only if need be. ------------------------------------------------------------------------ r5831 | zimmerma | 2009-01-16 15:32:11 +0000 (Fri, 16 Jan 2009) | 3 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] made difference between mpfr_set_str and mpfr_strtofr clearer (after remark from Luis Rivera) ------------------------------------------------------------------------ r5830 | zimmerma | 2009-01-16 15:24:45 +0000 (Fri, 16 Jan 2009) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] fixed order -> kind (typo found by Luis Rivera, thanks) ------------------------------------------------------------------------ r5828 | thevenyp | 2009-01-16 13:35:04 +0000 (Fri, 16 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c tfprintf.c tprintf.c: Test double with "%f" instead of "%e" so as to avoid failure due to exponent "e+000" on MS Windows. ------------------------------------------------------------------------ r5827 | thevenyp | 2009-01-16 13:06:27 +0000 (Fri, 16 Jan 2009) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c M /trunk/vasprintf.c tests/tfprintf.c tests/tsprintf.c tests/tprintf.c acinclude.m4 vasprintf.c: No longer check libc's printf. ------------------------------------------------------------------------ r5826 | thevenyp | 2009-01-16 09:53:15 +0000 (Fri, 16 Jan 2009) | 3 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c acinclude.m4: Check if %Ld specification is supported (not always the case with MS Windows) tests/tfprintf.c tests/tprintf.c tests/tsprintf.c: do not check %Ld specification when not available. ------------------------------------------------------------------------ r5825 | thevenyp | 2009-01-16 09:26:18 +0000 (Fri, 16 Jan 2009) | 3 lines Changed paths: M /trunk/fits_intmax.c M /trunk/fits_uintmax.c M /trunk/get_sj.c M /trunk/get_uj.c M /trunk/set_sj.c M /trunk/set_uj.c M /trunk/tests/tfits.c M /trunk/tests/tset_sj.c M /trunk/vasprintf.c get_uj.c get_sj.c tests/tset_sj.c tests/tfits.c fits_intmax.c fits_uintmax.c set_uj.c set_sj.c: make #include-s for intmax_t uniform. vasprintf.c: make #include-s for intmax_t uniform and use _MPFR_H_HAVE_INTMAX_T instead of HAVE_INTMAX_T. ------------------------------------------------------------------------ r5823 | thevenyp | 2009-01-15 13:24:35 +0000 (Thu, 15 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c tfprintf.c tprintf.c: Remove tests with u_quad_t (on Solaris 10, quad_t exists but u_quad_t doesn't, bug reported by Michael Abshoff). ------------------------------------------------------------------------ r5822 | thevenyp | 2009-01-15 13:17:14 +0000 (Thu, 15 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c tfprintf.c tprintf.c: Fix included headers, type intmax_t may be defined in inttypes.h or in stdint.h (see autoconf manual 5.6.1 Portability of Headers). ------------------------------------------------------------------------ r5821 | vlefevre | 2009-01-15 10:13:44 +0000 (Thu, 15 Jan 2009) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r5817 | vlefevre | 2009-01-15 02:22:45 +0000 (Thu, 15 Jan 2009) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: deleted trailing spaces. ------------------------------------------------------------------------ r5816 | vlefevre | 2009-01-15 02:21:57 +0000 (Thu, 15 Jan 2009) | 2 lines Changed paths: M /trunk/configure.in configure.in: be more tolerant when checking whether gmp.h version and libgmp version are the same (in case patch level is 0). ------------------------------------------------------------------------ r5814 | vlefevre | 2009-01-15 01:56:55 +0000 (Thu, 15 Jan 2009) | 3 lines Changed paths: M /trunk/BUGS M /trunk/ChangeLog M /trunk/FAQ.html M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/abort_prec_max.c M /trunk/acinclude.m4 M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_d.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/check.c M /trunk/clear.c M /trunk/clears.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_abs.c M /trunk/cmp_d.c M /trunk/cmp_ld.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/comparisons.c M /trunk/configure.in M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/constant.c M /trunk/copysign.c M /trunk/cos.c M /trunk/cosh.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/dim.c M /trunk/div.c M /trunk/div_2exp.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_d.c M /trunk/div_ui.c M /trunk/dump.c M /trunk/eint.c M /trunk/eq.c M /trunk/erf.c M /trunk/erfc.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp10.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/extract.c M /trunk/factorial.c M /trunk/faq.xsl M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_sint.c M /trunk/fits_slong.c M /trunk/fits_sshort.c M /trunk/fits_u.h M /trunk/fits_uint.c M /trunk/fits_uintmax.c M /trunk/fits_ulong.c M /trunk/fits_ushort.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/free_cache.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_exp.c M /trunk/get_f.c M /trunk/get_ld.c M /trunk/get_patches.sh M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/init.c M /trunk/init2.c M /trunk/inits.c M /trunk/inits2.c M /trunk/inp_str.c M /trunk/int_ceil_log2.c M /trunk/isinf.c M /trunk/isinteger.c M /trunk/isnan.c M /trunk/isnum.c M /trunk/isqrt.c M /trunk/iszero.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/mbench/Makefile M /trunk/mbench/generate.c M /trunk/mbench/mfv5-arprec.cc M /trunk/mbench/mfv5-cln.cc M /trunk/mbench/mfv5-crlibm.cc M /trunk/mbench/mfv5-libc.cc M /trunk/mbench/mfv5-lidia.cc M /trunk/mbench/mfv5-mpf.cc M /trunk/mbench/mfv5-mpfr.cc M /trunk/mbench/mfv5-ntl.cc M /trunk/mbench/mfv5-pari.cc M /trunk/mbench/mfv5-void.cc M /trunk/mbench/mfv5.cc M /trunk/mbench/mfv5.h M /trunk/mbench/mpfr-gfx.c M /trunk/mbench/mpfr-v4.c M /trunk/mbench/mpfr-v6.c M /trunk/mbench/timp.h M /trunk/minmax.c M /trunk/modf.c M /trunk/mp_clz_tab.c M /trunk/mparam_h.in M /trunk/mpf2mpfr.h M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr-thread.h M /trunk/mpfr.h M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_2exp.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/mul_d.c M /trunk/mul_ui.c M /trunk/mulders.c M /trunk/neg.c M /trunk/next.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/print_rnd_mode.c M /trunk/printf.c M /trunk/random2.c M /trunk/rec_sqrt.c M /trunk/reldiff.c M /trunk/rem1.c M /trunk/rint.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/sec.c M /trunk/sech.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_dfl_prec.c M /trunk/set_exp.c M /trunk/set_f.c M /trunk/set_inf.c M /trunk/set_ld.c M /trunk/set_nan.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_sj.c M /trunk/set_str.c M /trunk/set_str_raw.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/setsign.c M /trunk/sgn.c M /trunk/si_op.c M /trunk/signbit.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_d.c M /trunk/sub_ui.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/swap.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/cmp_str.c M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tuneup.c M /trunk/uceil_exp2.c M /trunk/uceil_log2.c M /trunk/ufloor_log2.c M /trunk/ui_div.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/ui_sub.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/version.c M /trunk/volatile.c M /trunk/yn.c M /trunk/zeta.c M /trunk/zeta_ui.c Copyright notice update: added 2009 with perl -pi -e 's/2008 Free Software/2008, 2009 Free Software/' **/*(^/) under zsh. ------------------------------------------------------------------------ r5813 | vlefevre | 2009-01-14 00:46:45 +0000 (Wed, 14 Jan 2009) | 1 line Changed paths: M /trunk/tests/tcan_round.c M /trunk/tests/texp.c M /trunk/tests/tfprintf.c M /trunk/tests/tgamma.c M /trunk/tests/tpow.c M /trunk/tests/tpow_z.c M /trunk/tests/tsqrt.c Fixed remaining printf format strings. ------------------------------------------------------------------------ r5812 | vlefevre | 2009-01-14 00:27:06 +0000 (Wed, 14 Jan 2009) | 1 line Changed paths: M /trunk/tests/tadd1sp.c M /trunk/tests/tsub1sp.c tests/tadd1sp.c, tests/tsub1sp.c: fixed function prototypes. ------------------------------------------------------------------------ r5811 | vlefevre | 2009-01-14 00:23:44 +0000 (Wed, 14 Jan 2009) | 1 line Changed paths: M /trunk/tests/teq.c M /trunk/tests/tests.c tests/teq.c, tests/tests.c: fixed printf format strings. ------------------------------------------------------------------------ r5810 | vlefevre | 2009-01-14 00:06:00 +0000 (Wed, 14 Jan 2009) | 1 line Changed paths: M /trunk/tests/tcmp2.c tests/tcmp2.c: fixed printf format strings. ------------------------------------------------------------------------ r5809 | vlefevre | 2009-01-13 23:59:17 +0000 (Tue, 13 Jan 2009) | 1 line Changed paths: M /trunk/tests/tset_str.c tests/tset_str.c: fixed printf format string. ------------------------------------------------------------------------ r5804 | vlefevre | 2009-01-12 17:30:00 +0000 (Mon, 12 Jan 2009) | 4 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: consistency changes and corrections concerning the "erange" flag (do not use @code{} as this is not an identifier, @emph{} is used as this is not an English word -- but @emph{} should probably be used too for the other flag names). ------------------------------------------------------------------------ r5803 | vlefevre | 2009-01-12 17:18:45 +0000 (Mon, 12 Jan 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: typo. ------------------------------------------------------------------------ r5801 | thevenyp | 2009-01-12 16:01:14 +0000 (Mon, 12 Jan 2009) | 5 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.in M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/vasprintf.c acinclude.m4: New macro MPFR_CHECK_PRINTF_SPEC looking for support of the "%jd", "%qd", and "%td" conversion specifications in printf and gmp_printf. configure.in: Call MPFR_CHECK_PRINTF_SPEC when we can link against a suitable gmp library and run test programs at compile time, otherwise (for instance, when cross compiling), everything is enable by default. vasprintf.c: Disable support for length modifiers not supported by libc's printf ('j' and 'q' for this time). tests/tprintf.c, tests/tfprintf.c: Disable tests for length modifiers not supported by gmp_printf ('j', 'q', and 't' for this time). ------------------------------------------------------------------------ r5800 | thevenyp | 2009-01-12 14:16:22 +0000 (Mon, 12 Jan 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: Fix typo. ------------------------------------------------------------------------ r5795 | vlefevre | 2009-01-08 15:36:55 +0000 (Thu, 08 Jan 2009) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: update to January 2009. ------------------------------------------------------------------------ r5794 | vlefevre | 2009-01-08 15:34:27 +0000 (Thu, 08 Jan 2009) | 2 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tsprintf.c Removed useless #include of gmp.h from tests/tfprintf.c and tests/tsprintf.c for consistency. ------------------------------------------------------------------------ r5788 | thevenyp | 2009-01-08 11:56:10 +0000 (Thu, 08 Jan 2009) | 4 lines Changed paths: M /trunk/mpfr.texi M /trunk/tests/tfprintf.c M /trunk/vasprintf.c tests/tfprintf.c: Make tests with 'M' specifier optional. mpfr.texi: Add a warning that gmp may not support 'M' specifier. vasprintf.c: Add warning comment about 'M' specifier. ------------------------------------------------------------------------ r5787 | thevenyp | 2009-01-08 11:52:52 +0000 (Thu, 08 Jan 2009) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: Fix wrong definition of rounding specifiers. ------------------------------------------------------------------------ r5786 | vlefevre | 2008-12-30 13:57:11 +0000 (Tue, 30 Dec 2008) | 1 line Changed paths: M /trunk/out_str.c out_str.c: added assert (check that base is in the required range). ------------------------------------------------------------------------ r5785 | vlefevre | 2008-12-26 14:10:24 +0000 (Fri, 26 Dec 2008) | 1 line Changed paths: M /trunk/README.dev README.dev: suggest "-Wformat=2". ------------------------------------------------------------------------ r5784 | vlefevre | 2008-12-26 14:02:55 +0000 (Fri, 26 Dec 2008) | 1 line Changed paths: M /trunk/zeta.c zeta.c: fixed types for printf when DEBUG is defined. ------------------------------------------------------------------------ r5783 | vlefevre | 2008-12-26 13:57:32 +0000 (Fri, 26 Dec 2008) | 2 lines Changed paths: M /trunk/sub1sp.c sub1sp.c: fixed types for printf when WANT_ASSERT >= 2 and when DEBUG is defined. ------------------------------------------------------------------------ r5782 | vlefevre | 2008-12-26 13:50:14 +0000 (Fri, 26 Dec 2008) | 1 line Changed paths: M /trunk/sub1.c sub1.c: fixed types for printf when DEBUG is defined. ------------------------------------------------------------------------ r5781 | vlefevre | 2008-12-26 13:44:28 +0000 (Fri, 26 Dec 2008) | 2 lines Changed paths: M /trunk/set_d64.c set_d64.c: set T[] to unsigned int (instead of int) since its values are printed with %u. ------------------------------------------------------------------------ r5780 | vlefevre | 2008-12-26 13:36:13 +0000 (Fri, 26 Dec 2008) | 1 line Changed paths: M /trunk/add1sp.c add1sp.c: fixed types for printf when DEBUG is defined. ------------------------------------------------------------------------ r5779 | vlefevre | 2008-12-26 13:33:05 +0000 (Fri, 26 Dec 2008) | 2 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: fixed MPFR_UNSIGNED_MINUS_MODULO logic and added missing parentheses. ------------------------------------------------------------------------ r5778 | vlefevre | 2008-12-26 13:06:14 +0000 (Fri, 26 Dec 2008) | 1 line Changed paths: M /trunk/div.c div.c: fixed types for fprintf when DEBUG and/or DEBUG2 is defined. ------------------------------------------------------------------------ r5777 | vlefevre | 2008-12-26 12:56:09 +0000 (Fri, 26 Dec 2008) | 1 line Changed paths: M /trunk/div.c div.c: fixed #ifdef. ------------------------------------------------------------------------ r5775 | vlefevre | 2008-12-26 12:39:03 +0000 (Fri, 26 Dec 2008) | 2 lines Changed paths: M /trunk/round_p.c round_p.c: fixed types for fprintf when WANT_ASSERT >= 2 (since mp_prec_t is unsigned, it's better to use unsigned long). ------------------------------------------------------------------------ r5774 | vlefevre | 2008-12-26 12:02:07 +0000 (Fri, 26 Dec 2008) | 1 line Changed paths: M /trunk/round_p.c round_p.c: fixed types for fprintf when WANT_ASSERT >= 2. ------------------------------------------------------------------------ r5772 | zimmerma | 2008-12-22 10:40:24 +0000 (Mon, 22 Dec 2008) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.tex] improve documentation of %P ------------------------------------------------------------------------ r5768 | vlefevre | 2008-12-18 15:59:55 +0000 (Thu, 18 Dec 2008) | 1 line Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c Deleted trailing spaces. ------------------------------------------------------------------------ r5762 | thevenyp | 2008-12-17 16:07:32 +0000 (Wed, 17 Dec 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: clean-up code, improve comment, and put optional tests in tail so that they fail last. ------------------------------------------------------------------------ r5761 | thevenyp | 2008-12-17 15:55:20 +0000 (Wed, 17 Dec 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: Add two regression tests. ------------------------------------------------------------------------ r5760 | thevenyp | 2008-12-16 15:56:42 +0000 (Tue, 16 Dec 2008) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/mpfr.texi M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/vasprintf.c acinclude.m4, vasprintf.c, tests/tfprintf.c, tests/tprintf.c, mpfr.texi: quad_t support ------------------------------------------------------------------------ r5759 | thevenyp | 2008-12-16 15:51:59 +0000 (Tue, 16 Dec 2008) | 4 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c tests/tfprintf.c: code clean-up and output improvement. tests/tprintf.c: code clean-up. Note that unsigned long long variable is not set to 1 instead of -1 which was architecture dependent. ------------------------------------------------------------------------ r5758 | vlefevre | 2008-12-16 13:56:28 +0000 (Tue, 16 Dec 2008) | 3 lines Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: * stdout_redirect is a boolean (i.e., 0 or 1). * output freopen(..., stdout) error message to stderr. ------------------------------------------------------------------------ r5757 | thevenyp | 2008-12-16 13:10:05 +0000 (Tue, 16 Dec 2008) | 3 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c tfprintf.c: more user-friendly messages. tprintf.c: more user-friendly messages. Warning: because stdout might be redirected, error messages are printed to stderr. ------------------------------------------------------------------------ r5756 | vlefevre | 2008-12-15 23:38:21 +0000 (Mon, 15 Dec 2008) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: more explanations on the precision field for mpfr_printf. ------------------------------------------------------------------------ r5755 | vlefevre | 2008-12-15 17:37:05 +0000 (Mon, 15 Dec 2008) | 1 line Changed paths: M /trunk/INSTALL M /trunk/tests/tsprintf.c untabify and remove trailing spaces ------------------------------------------------------------------------ r5754 | thevenyp | 2008-12-15 17:07:40 +0000 (Mon, 15 Dec 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: more explanations on the precision field. ------------------------------------------------------------------------ r5753 | thevenyp | 2008-12-15 16:19:26 +0000 (Mon, 15 Dec 2008) | 5 lines Changed paths: M /trunk/acinclude.m4 M /trunk/mpfr.texi M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/vasprintf.c mpfr.texi: Clearly mention that the length modifier 'q' is unsupported by mpfr-*printf. vasprintf.c: Do not take quad_t as a long long but as an insupported length modifier. acinclude.m4: Remove check for quad_t. tests/tprintf.c tests/tfprintf.c: Remove tests with 'q' length modifier. ------------------------------------------------------------------------ r5751 | vlefevre | 2008-12-15 14:52:54 +0000 (Mon, 15 Dec 2008) | 1 line Changed paths: M /trunk/tests/tstrtofr.c tests/tstrtofr.c: fixed a test (in case |res| > 1). ------------------------------------------------------------------------ r5750 | vlefevre | 2008-12-15 14:35:01 +0000 (Mon, 15 Dec 2008) | 1 line Changed paths: M /trunk/tests/tstrtofr.c tests/tstrtofr.c: fixed alignment bug in error message. ------------------------------------------------------------------------ r5749 | zimmerma | 2008-12-15 13:44:25 +0000 (Mon, 15 Dec 2008) | 2 lines Changed paths: M /trunk/nightly-test [nightly-test] added MPFR_CHECK_LIBC_PRINTF ------------------------------------------------------------------------ r5748 | thevenyp | 2008-12-15 13:43:52 +0000 (Mon, 15 Dec 2008) | 4 lines Changed paths: M /trunk/README.dev M /trunk/acinclude.m4 M /trunk/vasprintf.c acinclude.m4: Check for quad_t. vasprintf.c: Accept length modifier 'q' if HAVE_QUAD_T is defined (instead of HAVE_LONG_LONG). README.dev: Add notice for new HAVE_QUAD_T macro. ------------------------------------------------------------------------ r5747 | zimmerma | 2008-12-15 13:43:40 +0000 (Mon, 15 Dec 2008) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] added warning about usage of mpfr_init ------------------------------------------------------------------------ r5746 | vlefevre | 2008-12-15 13:39:35 +0000 (Mon, 15 Dec 2008) | 1 line Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: _MPFR_H_HAVE_INTMAX_T -> HAVE_STDINT_H for . ------------------------------------------------------------------------ r5745 | thevenyp | 2008-12-15 13:33:22 +0000 (Mon, 15 Dec 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: Tests against libc's sprintf function are no more executed unless the MPFR_CHECK_LIBC_PRINTF is defined. ------------------------------------------------------------------------ r5744 | thevenyp | 2008-12-15 13:27:49 +0000 (Mon, 15 Dec 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: move bugs 20080610 and 20081214 outside the function random_double. ------------------------------------------------------------------------ r5743 | vlefevre | 2008-12-15 12:49:58 +0000 (Mon, 15 Dec 2008) | 1 line Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: completed comment about the sign of a null exponent. ------------------------------------------------------------------------ r5742 | vlefevre | 2008-12-15 12:44:09 +0000 (Mon, 15 Dec 2008) | 2 lines Changed paths: M /trunk/INSTALL INSTALL: added a note saying the L modifier was added in C89 (source: C99 rationale, Section 7.19.6.1). ------------------------------------------------------------------------ r5741 | zimmerma | 2008-12-15 12:17:46 +0000 (Mon, 15 Dec 2008) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] more Windows-related changes ------------------------------------------------------------------------ r5740 | zimmerma | 2008-12-15 11:02:17 +0000 (Mon, 15 Dec 2008) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] update on Windows (from Brian Gladman) ------------------------------------------------------------------------ r5739 | zimmerma | 2008-12-15 09:47:46 +0000 (Mon, 15 Dec 2008) | 2 lines Changed paths: M /trunk/configure.in [configure.in] removed useless comment ------------------------------------------------------------------------ r5738 | vlefevre | 2008-12-14 15:28:17 +0000 (Sun, 14 Dec 2008) | 1 line Changed paths: M /trunk/INSTALL INSTALL: references to ISO (international) instead of ANSI (American). ------------------------------------------------------------------------ r5737 | vlefevre | 2008-12-14 15:18:54 +0000 (Sun, 14 Dec 2008) | 1 line Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: corrected a comment. ------------------------------------------------------------------------ r5736 | zimmerma | 2008-12-14 09:43:40 +0000 (Sun, 14 Dec 2008) | 3 lines Changed paths: M /trunk/printf.c M /trunk/vasprintf.c [printf.c,vasprintf.c] include config.h if HAVE_CONFIG_H is defined, to solve problem noticed by Brian Gladman ------------------------------------------------------------------------ r5735 | vlefevre | 2008-12-14 09:37:05 +0000 (Sun, 14 Dec 2008) | 1 line Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: untabified. ------------------------------------------------------------------------ r5734 | zimmerma | 2008-12-14 09:27:08 +0000 (Sun, 14 Dec 2008) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added hint for using the MinGW runtime ------------------------------------------------------------------------ r5733 | zimmerma | 2008-12-14 08:36:37 +0000 (Sun, 14 Dec 2008) | 3 lines Changed paths: M /trunk/tests/tsprintf.c [tsprintf.c] added new hard-coded test (needs work to overcome error in system asprintf) ------------------------------------------------------------------------ r5732 | zimmerma | 2008-12-14 08:24:42 +0000 (Sun, 14 Dec 2008) | 3 lines Changed paths: M /trunk/tests/tsprintf.c [tsprintf.c] fixed hard-coded test (spec was missing), and print values of xi,yi,spec in case of error ------------------------------------------------------------------------ r5731 | vlefevre | 2008-12-14 00:05:20 +0000 (Sun, 14 Dec 2008) | 1 line Changed paths: M /trunk/INSTALL INSTALL: corrections on r5730. ------------------------------------------------------------------------ r5730 | zimmerma | 2008-12-13 10:19:25 +0000 (Sat, 13 Dec 2008) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added notes on Windows Vista 64 problem ------------------------------------------------------------------------ r5727 | vlefevre | 2008-12-12 15:00:33 +0000 (Fri, 12 Dec 2008) | 1 line Changed paths: M /trunk/README README: added "compile" since it is distributed in the tarball. ------------------------------------------------------------------------ r5723 | vlefevre | 2008-12-12 14:07:19 +0000 (Fri, 12 Dec 2008) | 2 lines Changed paths: M /trunk Added "compile" to svn:ignore property (this file is installed by "automake --add-missing" due to AM_PROG_CC_C_O, added in r5710). ------------------------------------------------------------------------ r5722 | vlefevre | 2008-12-12 14:01:33 +0000 (Fri, 12 Dec 2008) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: avoid an abort if field width or precision is > INT_MAX. ------------------------------------------------------------------------ r5721 | thevenyp | 2008-12-12 14:00:33 +0000 (Fri, 12 Dec 2008) | 2 lines Changed paths: M /trunk/tests/tests.c M /trunk/tests/tgeneric.c M /trunk/tests/tset_ld.c tests.c, tset_ld.c, tgeneric.c: Code clean-up based on icc warnings (as in r5492): Use #ifdef BOOL_MACRO instead of #if BOOL_MACRO. ------------------------------------------------------------------------ r5720 | thevenyp | 2008-12-12 13:54:37 +0000 (Fri, 12 Dec 2008) | 2 lines Changed paths: M /trunk/configure.in configure.in: remove line 'GCC=' in icc tests which seems to confuse libtool. ------------------------------------------------------------------------ r5719 | vlefevre | 2008-12-12 12:54:10 +0000 (Fri, 12 Dec 2008) | 1 line Changed paths: M /trunk/set_ld.c set_ld.c: rewrote exp computation. ------------------------------------------------------------------------ r5718 | vlefevre | 2008-12-12 12:12:11 +0000 (Fri, 12 Dec 2008) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: avoid a possible gcc 4.1.2 bug with -ftrapv. ------------------------------------------------------------------------ r5717 | vlefevre | 2008-12-12 11:57:37 +0000 (Fri, 12 Dec 2008) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: revert incorrect change in r5713. ------------------------------------------------------------------------ r5716 | zimmerma | 2008-12-12 11:47:52 +0000 (Fri, 12 Dec 2008) | 8 lines Changed paths: M /trunk/set_ld.c [set_ld.c] fixed problem with CC=g++ on 64-bit computer: $ g++ -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release x86_64-linux-gnu Thread model: posix gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) ------------------------------------------------------------------------ r5713 | zimmerma | 2008-12-12 10:05:49 +0000 (Fri, 12 Dec 2008) | 3 lines Changed paths: M /trunk/vasprintf.c [vasprintf.c] patch to MPFR_ASSERTN(...) call to avoid failure with gcc -ftrapv with gcc 4.1.2 (probably compiler error) ------------------------------------------------------------------------ r5712 | thevenyp | 2008-12-12 09:20:14 +0000 (Fri, 12 Dec 2008) | 2 lines Changed paths: M /trunk/tests/Makefile.am M /trunk/tests/tmul.c Makefile.am, tmul.c: Rename macro __SRCDIR to MPFR_SRCDIR. ------------------------------------------------------------------------ r5710 | thevenyp | 2008-12-11 15:20:56 +0000 (Thu, 11 Dec 2008) | 4 lines Changed paths: M /trunk/configure.in M /trunk/tests/Makefile.am M /trunk/tests/tmul.c configure.in: Add AM_PROG_CC_C_O needed by tmul_CPPFLAGS. tests/Makefile.am: Add tmul.dat in EXTRA_DIST and pass srcdir to tmul.c through tmul_CPPFLAGS. tests/tmul.c: Add path to tmul.dat. ------------------------------------------------------------------------ r5703 | vlefevre | 2008-12-09 16:46:13 +0000 (Tue, 09 Dec 2008) | 2 lines Changed paths: M /trunk/INSTALL INSTALL: TLS on darwin may work, but I don't know anything more. See thread . ------------------------------------------------------------------------ r5702 | vlefevre | 2008-12-08 16:02:29 +0000 (Mon, 08 Dec 2008) | 1 line Changed paths: M /trunk/README README: CVS -> Subversion. ------------------------------------------------------------------------ r5701 | vlefevre | 2008-12-03 12:40:01 +0000 (Wed, 03 Dec 2008) | 1 line Changed paths: M /trunk/configure.in configure.in: format --enable-decimal-float description on 80 columns. ------------------------------------------------------------------------ r5700 | vlefevre | 2008-12-03 12:38:06 +0000 (Wed, 03 Dec 2008) | 2 lines Changed paths: M /trunk/configure.in configure.in: for --enable-thread-safe, say that the system must support it (like what has been done for --enable-logging, just above). ------------------------------------------------------------------------ r5699 | vlefevre | 2008-12-03 12:31:28 +0000 (Wed, 03 Dec 2008) | 1 line Changed paths: M /trunk/INSTALL INSTALL: added details about ---enable-thread-safe and TLS support. ------------------------------------------------------------------------ r5698 | vlefevre | 2008-11-28 12:09:08 +0000 (Fri, 28 Nov 2008) | 2 lines Changed paths: M /trunk/mpfr.texi M /trunk/urandomb.c urandomb.c: added comments and cleaned up code. mpfr.texi: improved description of mpfr_urandomb. ------------------------------------------------------------------------ r5697 | vlefevre | 2008-11-26 14:39:22 +0000 (Wed, 26 Nov 2008) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: changed URL added in r5696 to avoid a redirection. ------------------------------------------------------------------------ r5696 | zimmerma | 2008-11-26 14:22:37 +0000 (Wed, 26 Nov 2008) | 2 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] added official url on ftp.gnu.org ------------------------------------------------------------------------ r5695 | vlefevre | 2008-11-26 09:16:40 +0000 (Wed, 26 Nov 2008) | 1 line Changed paths: M /trunk/tests/tmul.c tests/tmul.c: removed useless variable. ------------------------------------------------------------------------ r5694 | vlefevre | 2008-11-26 09:14:38 +0000 (Wed, 26 Nov 2008) | 1 line Changed paths: M /trunk/tests/tmul.c tests/tmul.c: made reading a string from file more robust. ------------------------------------------------------------------------ r5693 | zimmerma | 2008-11-26 08:14:13 +0000 (Wed, 26 Nov 2008) | 4 lines Changed paths: M /trunk/tests/tmul.c A /trunk/tests/tmul.dat [tmul.c] moved long strings to file tmul.dat, so that gcc -ansi -pedantic-errors works (ISO C90 does not support strings of length > 509) ------------------------------------------------------------------------ r5692 | vlefevre | 2008-11-26 00:55:32 +0000 (Wed, 26 Nov 2008) | 4 lines Changed paths: M /trunk/tests/tinternals.c tests/tinternals.c: updated tests for guaranteed C90 support, e.g. with gcc -ansi -pedantic-errors (avoid error "string length 'nnn' is greater than the length '509' ISO C90 compilers are required to support" because expression for #expr in ASSERT_FAIL macro is too long). ------------------------------------------------------------------------ r5691 | vlefevre | 2008-11-26 00:48:12 +0000 (Wed, 26 Nov 2008) | 1 line Changed paths: M /trunk/README.dev README.dev: in Section "To make a release", suggest -pedantic-errors. ------------------------------------------------------------------------ r5690 | vlefevre | 2008-11-22 15:49:07 +0000 (Sat, 22 Nov 2008) | 5 lines Changed paths: M /trunk/acosh.c M /trunk/agm.c M /trunk/atan.c M /trunk/cos.c M /trunk/fma.c M /trunk/fms.c M /trunk/gamma.c M /trunk/get_str.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/modf.c M /trunk/mpfr-impl.h M /trunk/mul.c M /trunk/mulders.c M /trunk/rec_sqrt.c M /trunk/root.c M /trunk/tanh.c M /trunk/vasprintf.c M /trunk/yn.c r5689 undone: some casts were incorrect (mp_exp_t may be greater than mp_prec_t, so that casting a mp_exp_t into a mp_prec_t can introduce a bug). There may be bugs in some cases, but the casts fix the symptom, not the bug (unless one casts the unsigned type to a signed type that is *strictly* larger, which is not possible here). ------------------------------------------------------------------------ r5689 | zimmerma | 2008-11-22 09:55:42 +0000 (Sat, 22 Nov 2008) | 2 lines Changed paths: M /trunk/acosh.c M /trunk/agm.c M /trunk/atan.c M /trunk/cos.c M /trunk/fma.c M /trunk/fms.c M /trunk/gamma.c M /trunk/get_str.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/modf.c M /trunk/mpfr-impl.h M /trunk/mul.c M /trunk/mulders.c M /trunk/rec_sqrt.c M /trunk/root.c M /trunk/tanh.c M /trunk/vasprintf.c M /trunk/yn.c fixed some signed/unsigned warnings with g++ (please review) ------------------------------------------------------------------------ r5688 | zimmerma | 2008-11-21 12:53:47 +0000 (Fri, 21 Nov 2008) | 3 lines Changed paths: M /trunk/nightly-test [nightly-test] removed MPFR_CHECK_ALL (no longer used) added possibility to choose compiler (e.g., g++) ------------------------------------------------------------------------ r5687 | zimmerma | 2008-11-21 12:44:39 +0000 (Fri, 21 Nov 2008) | 2 lines Changed paths: M /trunk/README.dev [README.dev] better check ./configure CC=g++ ------------------------------------------------------------------------ r5686 | thevenyp | 2008-11-21 10:07:53 +0000 (Fri, 21 Nov 2008) | 2 lines Changed paths: M /trunk/vasprintf.c Fix inclusion order: the limit of integer types like size_t are defined in C++ only when __STDC_LIMIT_MACROS is defined before is included (from ISO C99 7.18.3). ------------------------------------------------------------------------ r5685 | vlefevre | 2008-11-21 08:27:07 +0000 (Fri, 21 Nov 2008) | 1 line Changed paths: M /trunk/README README: added m4 directory (since it is distributed in the tarball). ------------------------------------------------------------------------ r5684 | vlefevre | 2008-11-20 19:29:58 +0000 (Thu, 20 Nov 2008) | 1 line Changed paths: M /trunk/Makefile.am Forgot to update Makefile.am too (for r5680). ------------------------------------------------------------------------ r5683 | vlefevre | 2008-11-20 19:20:18 +0000 (Thu, 20 Nov 2008) | 1 line Changed paths: M /trunk/configure.in configure.in: added AC_CONFIG_MACRO_DIR([m4]) for r5680. ------------------------------------------------------------------------ r5682 | zimmerma | 2008-11-20 17:14:35 +0000 (Thu, 20 Nov 2008) | 2 lines Changed paths: M /trunk/mpfr-gmp.c [mpfr-gmp.c] added comment on recent bug fix on MacOS ------------------------------------------------------------------------ r5681 | zimmerma | 2008-11-20 10:53:02 +0000 (Thu, 20 Nov 2008) | 3 lines Changed paths: M /trunk/tests/texp.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tpow_all.c [tests] changes to make compilation work with g++ (only fixed errors, several warnings remain) ------------------------------------------------------------------------ r5680 | vlefevre | 2008-11-20 10:42:50 +0000 (Thu, 20 Nov 2008) | 1 line Changed paths: A /trunk/m4 A /trunk/m4/size_max.m4 Added m4/size_max.m4 file (from gettext). ------------------------------------------------------------------------ r5679 | vlefevre | 2008-11-20 10:26:32 +0000 (Thu, 20 Nov 2008) | 1 line Changed paths: M /trunk/README.dev README.dev: paragraph on tentative definitions. ------------------------------------------------------------------------ r5678 | zimmerma | 2008-11-20 09:13:09 +0000 (Thu, 20 Nov 2008) | 3 lines Changed paths: M /trunk/mpfr-gmp.c [mpfr-gmp.c] replace tentative definitions by real definitions, solves configure problems with mpc (see https://lists.gforge.inria.fr/pipermail/mpc-discuss/2008-November/000048.html) ------------------------------------------------------------------------ r5677 | vlefevre | 2008-11-18 01:01:33 +0000 (Tue, 18 Nov 2008) | 1 line Changed paths: M /trunk/hypot.c hypot.c: updated a comment. ------------------------------------------------------------------------ r5676 | vlefevre | 2008-11-18 00:40:13 +0000 (Tue, 18 Nov 2008) | 1 line Changed paths: M /trunk/tests/thypot.c tests/thypot.c: added a test. ------------------------------------------------------------------------ r5675 | vlefevre | 2008-11-18 00:21:09 +0000 (Tue, 18 Nov 2008) | 1 line Changed paths: M /trunk/hypot.c hypot.c: simplified an expression; cosmetic changes. ------------------------------------------------------------------------ r5674 | thevenyp | 2008-11-17 08:43:59 +0000 (Mon, 17 Nov 2008) | 2 lines Changed paths: M /trunk/hypot.c hypot.c: Fix underflow problem when diff_exp<=MPFR_EMAX_MAX-2 using fma (provided that mpfr_fma is immune to it). ------------------------------------------------------------------------ r5673 | thevenyp | 2008-11-17 08:40:52 +0000 (Mon, 17 Nov 2008) | 2 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: Fix one typo in dilogarithm section. ------------------------------------------------------------------------ r5672 | vlefevre | 2008-11-12 14:53:07 +0000 (Wed, 12 Nov 2008) | 1 line Changed paths: M /trunk/NEWS M /trunk/mpfr.texi mpfr.texi, NEWS: update concerning mpfr_eq. ------------------------------------------------------------------------ r5671 | vlefevre | 2008-11-12 14:09:45 +0000 (Wed, 12 Nov 2008) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: improved mpfr_eq documentation. ------------------------------------------------------------------------ r5670 | thevenyp | 2008-11-12 12:33:37 +0000 (Wed, 12 Nov 2008) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c tests/tstrtofr.c: Add more information when test bug20081028 fails. ------------------------------------------------------------------------ r5669 | thevenyp | 2008-11-07 10:19:42 +0000 (Fri, 07 Nov 2008) | 3 lines Changed paths: M /trunk/strtofr.c M /trunk/tests/tstrtofr.c strtofr.c: Replace non-zero digits look up by a simpler test, using the fact that parse_string did remove zeros at end of pstr->mant. tests/tstrtofr.c: Add other test values around 1 for the bug20081028 non regression test. ------------------------------------------------------------------------ r5668 | vlefevre | 2008-11-07 01:12:36 +0000 (Fri, 07 Nov 2008) | 1 line Changed paths: M /trunk/strtofr.c strtofr.c: improved style ("exact" is a boolean). ------------------------------------------------------------------------ r5667 | zimmerma | 2008-11-06 16:53:17 +0000 (Thu, 06 Nov 2008) | 4 lines Changed paths: M /trunk/strtofr.c M /trunk/tests/tstrtofr.c [strtofr.c] new patch (ternary value was still wrong in some cases), should be ok now [tstrtofr.c] added new test ------------------------------------------------------------------------ r5666 | zimmerma | 2008-11-05 17:10:10 +0000 (Wed, 05 Nov 2008) | 2 lines Changed paths: M /trunk/mpn_exp.c M /trunk/strtofr.c [strtofr.c] review of patch added in revision 5660, and added comments ------------------------------------------------------------------------ r5665 | vlefevre | 2008-10-29 14:31:20 +0000 (Wed, 29 Oct 2008) | 1 line Changed paths: M /trunk/NEWS Updated NEWS file. ------------------------------------------------------------------------ r5662 | vlefevre | 2008-10-29 13:52:17 +0000 (Wed, 29 Oct 2008) | 2 lines Changed paths: M /trunk/strtofr.c strtofr.c: in r5660, as pstr_size and pstr->prec both have type size_t, changed the type of i from mp_size_t to size_t for consistency. ------------------------------------------------------------------------ r5661 | vlefevre | 2008-10-29 13:43:14 +0000 (Wed, 29 Oct 2008) | 3 lines Changed paths: M /trunk/strtofr.c strtofr.c: reverted the change done in r3008, which led to a trivial assertion. I think the goal is to make sure that pstr_size (of type size_t) can be represented in a mp_exp_t (as required in the code). ------------------------------------------------------------------------ r5660 | thevenyp | 2008-10-29 12:05:11 +0000 (Wed, 29 Oct 2008) | 2 lines Changed paths: M /trunk/strtofr.c strtofr.c: fix bug '[#6604] incorrect directed rounding in mpfr_strtofr'. ------------------------------------------------------------------------ r5659 | vlefevre | 2008-10-29 02:31:21 +0000 (Wed, 29 Oct 2008) | 3 lines Changed paths: M /trunk/configure.in configure.in: replaced $(...) quoting style by "`...`" since the former is not supported everywhere (and indeed is not used by the autotools): https://gmplib.org/list-archives/gmp-bugs/2008-October/001185.html ------------------------------------------------------------------------ r5658 | vlefevre | 2008-10-29 01:21:29 +0000 (Wed, 29 Oct 2008) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c tests/tstrtofr.c: added bug20081028 (bug found by Christoph Lauter in mpfr_set_str; this is the corresponding bug in mpfr_strtofr). ------------------------------------------------------------------------ r5657 | vlefevre | 2008-10-29 01:10:36 +0000 (Wed, 29 Oct 2008) | 1 line Changed paths: M /trunk/tests/tstrtofr.c tests/tstrtofr.c: corrections related to C usage. ------------------------------------------------------------------------ r5656 | vlefevre | 2008-10-29 00:59:00 +0000 (Wed, 29 Oct 2008) | 1 line Changed paths: M /trunk/tests/tset_str.c tests/tset_str.c: added bug20081028 (bug found by Christoph Lauter). ------------------------------------------------------------------------ r5655 | vlefevre | 2008-10-27 03:55:33 +0000 (Mon, 27 Oct 2008) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated @dircategory (request by Karl Berry). ------------------------------------------------------------------------ r5654 | vlefevre | 2008-10-27 03:27:10 +0000 (Mon, 27 Oct 2008) | 1 line Changed paths: M /trunk/BUGS M /trunk/FAQ.html M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/abort_prec_max.c M /trunk/acinclude.m4 M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_d.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/check.c M /trunk/clear.c M /trunk/clears.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_abs.c M /trunk/cmp_d.c M /trunk/cmp_ld.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/comparisons.c M /trunk/configure.in M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/constant.c M /trunk/copysign.c M /trunk/cos.c M /trunk/cosh.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/dim.c M /trunk/div.c M /trunk/div_2exp.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_d.c M /trunk/div_ui.c M /trunk/dump.c M /trunk/eint.c M /trunk/eq.c M /trunk/erf.c M /trunk/erfc.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp10.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/extract.c M /trunk/factorial.c M /trunk/faq.xsl M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_sint.c M /trunk/fits_slong.c M /trunk/fits_sshort.c M /trunk/fits_u.h M /trunk/fits_uint.c M /trunk/fits_uintmax.c M /trunk/fits_ulong.c M /trunk/fits_ushort.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/free_cache.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_exp.c M /trunk/get_f.c M /trunk/get_ld.c M /trunk/get_patches.sh M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/init.c M /trunk/init2.c M /trunk/inits.c M /trunk/inits2.c M /trunk/inp_str.c M /trunk/int_ceil_log2.c M /trunk/isinf.c M /trunk/isinteger.c M /trunk/isnan.c M /trunk/isnum.c M /trunk/isqrt.c M /trunk/iszero.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/minmax.c M /trunk/modf.c M /trunk/mp_clz_tab.c M /trunk/mparam_h.in M /trunk/mpf2mpfr.h M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr-thread.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/mpfrlint M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_2exp.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/mul_d.c M /trunk/mul_ui.c M /trunk/mulders.c M /trunk/neg.c M /trunk/next.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/print_rnd_mode.c M /trunk/printf.c M /trunk/random2.c M /trunk/rec_sqrt.c M /trunk/reldiff.c M /trunk/rem1.c M /trunk/rint.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/sec.c M /trunk/sech.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_dfl_prec.c M /trunk/set_exp.c M /trunk/set_f.c M /trunk/set_inf.c M /trunk/set_ld.c M /trunk/set_nan.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_sj.c M /trunk/set_str.c M /trunk/set_str_raw.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/setsign.c M /trunk/sgn.c M /trunk/si_op.c M /trunk/signbit.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_d.c M /trunk/sub_ui.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/swap.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/cmp_str.c M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfprintf.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_all.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tuneup.c M /trunk/uceil_exp2.c M /trunk/uceil_log2.c M /trunk/ufloor_log2.c M /trunk/ui_div.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/ui_sub.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/version.c M /trunk/volatile.c M /trunk/yn.c M /trunk/zeta.c M /trunk/zeta_ui.c This is now GNU MPFR! ------------------------------------------------------------------------ r5653 | vlefevre | 2008-10-27 03:10:36 +0000 (Mon, 27 Oct 2008) | 1 line Changed paths: M /trunk/README README: CVS -> Subversion. ------------------------------------------------------------------------ r5652 | thevenyp | 2008-10-23 18:40:33 +0000 (Thu, 23 Oct 2008) | 3 lines Changed paths: M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c: Fix bug with '#' and 'g' flag combination, see also defect report at http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_233.htm. tests/tsprintf.c: Fix wrong test value accordingly, add non-regression tests. ------------------------------------------------------------------------ r5651 | zimmerma | 2008-10-23 07:29:29 +0000 (Thu, 23 Oct 2008) | 2 lines Changed paths: M /trunk/get_d64.c M /trunk/set_d64.c [get_d64.c,set_d64.c] added reference to TR 24732 ------------------------------------------------------------------------ r5650 | vlefevre | 2008-10-16 08:17:35 +0000 (Thu, 16 Oct 2008) | 1 line Changed paths: M /trunk/mpfr.h mpfr.h: added a comment about MPFR_SIGN. ------------------------------------------------------------------------ r5649 | zimmerma | 2008-10-05 08:51:41 +0000 (Sun, 05 Oct 2008) | 3 lines Changed paths: M /trunk/mpfr.h [mpfr.h] fixed typo, and added warning about MPFR_SIGN. Shouldn't we move it in mpfr-impl.h? ------------------------------------------------------------------------ r5647 | vlefevre | 2008-10-03 11:45:14 +0000 (Fri, 03 Oct 2008) | 1 line Changed paths: M /trunk/INSTALL M /trunk/configure.in INSTALL, configure.in: corrected documentation of --with-gmp* options. ------------------------------------------------------------------------ r5645 | vlefevre | 2008-10-02 11:40:42 +0000 (Thu, 02 Oct 2008) | 1 line Changed paths: M /trunk/INSTALL INSTALL: gave more details about --with-gmp-build. ------------------------------------------------------------------------ r5644 | zimmerma | 2008-10-02 11:17:49 +0000 (Thu, 02 Oct 2008) | 2 lines Changed paths: M /trunk/INSTALL [INSTALL] added warning about usage of --with-gmp-build ------------------------------------------------------------------------ r5643 | vlefevre | 2008-09-21 11:56:06 +0000 (Sun, 21 Sep 2008) | 2 lines Changed paths: M /trunk/TODO TODO: updated LIA-2 terminology ("pole" was in the latest public draft, "infinitary" in the final standard). ------------------------------------------------------------------------ r5642 | thevenyp | 2008-09-19 08:50:01 +0000 (Fri, 19 Sep 2008) | 2 lines Changed paths: M /trunk/tests/tstrtofr.c tests/tstrtofr.c: Remove underflow test unintentionally committed with revision 5640. ------------------------------------------------------------------------ r5640 | thevenyp | 2008-09-18 16:33:16 +0000 (Thu, 18 Sep 2008) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/mpfr.h M /trunk/mpfr.texi D /trunk/random.c M /trunk/tests/reuse.c M /trunk/tests/tabs.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tatan.c M /trunk/tests/tcmp2.c M /trunk/tests/tcomparisons.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teq.c M /trunk/tests/tests.c M /trunk/tests/texp.c M /trunk/tests/tfma.c M /trunk/tests/tfms.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_str.c M /trunk/tests/tmul.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_z.c M /trunk/tests/trandom.c M /trunk/tests/tset.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_str.c M /trunk/tests/tsgn.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsum.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c Remove obsolete mpfr_random function and replace it by mpfr_urandomb in tests. ------------------------------------------------------------------------ r5639 | thevenyp | 2008-09-18 16:25:31 +0000 (Thu, 18 Sep 2008) | 2 lines Changed paths: M /trunk/exceptions.c Add void in prototype. ------------------------------------------------------------------------ r5638 | vlefevre | 2008-09-18 13:40:11 +0000 (Thu, 18 Sep 2008) | 1 line Changed paths: M /trunk/tests/tests.c tests/tests.c: added comments about the MPFR_FPU_PREC macro. ------------------------------------------------------------------------ r5636 | zimmerma | 2008-09-18 12:48:28 +0000 (Thu, 18 Sep 2008) | 3 lines Changed paths: M /trunk/tests/tget_str.c [tget_str.c] replaced 'double' input by 'char*' to avoid problems with single precision (partially solves #3353) ------------------------------------------------------------------------ r5634 | zimmerma | 2008-09-17 12:28:22 +0000 (Wed, 17 Sep 2008) | 2 lines Changed paths: M /trunk/README.dev [README.dev] added item about coverage of releases ------------------------------------------------------------------------ r5632 | zimmerma | 2008-09-16 12:48:29 +0000 (Tue, 16 Sep 2008) | 2 lines Changed paths: M /trunk/AUTHORS M /trunk/Makefile.am M /trunk/algorithms.tex M /trunk/atan.c M /trunk/extract.c M /trunk/mpfr.texi final got rid of generic.c (bug 6199) ------------------------------------------------------------------------ r5631 | zimmerma | 2008-09-16 12:37:11 +0000 (Tue, 16 Sep 2008) | 2 lines Changed paths: D /trunk/generic.c [generic.c] removed unused file ------------------------------------------------------------------------ r5630 | vlefevre | 2008-09-16 09:53:59 +0000 (Tue, 16 Sep 2008) | 2 lines Changed paths: M /trunk/NEWS M /trunk/mpfr.texi NEWS, mpfr.texi: documented the fact that mpfr_random and mpfr_random2 will be suppressed in the next release. ------------------------------------------------------------------------ r5629 | vlefevre | 2008-09-16 08:53:00 +0000 (Tue, 16 Sep 2008) | 1 line Changed paths: M /trunk/ChangeLog ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v". ------------------------------------------------------------------------ r5623 | thevenyp | 2008-09-10 10:00:31 +0000 (Wed, 10 Sep 2008) | 2 lines Changed paths: M /trunk/tests/tpow_z.c tests/tpow_z.c: Check test for bug20080904 with the minimum possible negative exponent so as not to underflow with (future) 128 bits machine. ------------------------------------------------------------------------ r5620 | vlefevre | 2008-09-06 10:19:10 +0000 (Sat, 06 Sep 2008) | 1 line Changed paths: M /trunk/pow.c pow.c: fixed bug20080904 (from tpow_z.c). ------------------------------------------------------------------------ r5619 | vlefevre | 2008-09-06 10:08:37 +0000 (Sat, 06 Sep 2008) | 1 line Changed paths: M /trunk/pow.c pow.c: added log messages. ------------------------------------------------------------------------ r5618 | thevenyp | 2008-09-05 10:10:41 +0000 (Fri, 05 Sep 2008) | 2 lines Changed paths: M /trunk/tests/tpow_z.c tests/tpow_z.c: Add a test that underflows. ------------------------------------------------------------------------ r5616 | vlefevre | 2008-09-05 09:05:25 +0000 (Fri, 05 Sep 2008) | 1 line Changed paths: M /trunk/configure.in configure.in: updated a comment (for the next automake version). ------------------------------------------------------------------------ r5614 | vlefevre | 2008-09-05 08:56:53 +0000 (Fri, 05 Sep 2008) | 1 line Changed paths: M /trunk/NEWS NEWS: added a note about mpfr_init_gmp_rand (removed in r4953). ------------------------------------------------------------------------ r5613 | vlefevre | 2008-09-04 02:44:04 +0000 (Thu, 04 Sep 2008) | 1 line Changed paths: M /trunk/README.dev README.dev: update (about AM_MAINTAINER_MODE). ------------------------------------------------------------------------ r5609 | vlefevre | 2008-09-02 15:09:20 +0000 (Tue, 02 Sep 2008) | 1 line Changed paths: M /trunk/README Updated README file. ------------------------------------------------------------------------ r5607 | vlefevre | 2008-09-01 11:51:00 +0000 (Mon, 01 Sep 2008) | 1 line Changed paths: M /trunk/README.dev D /trunk/patch-libtool Removed patch-libtool and updated README.dev as libtool has been fixed. ------------------------------------------------------------------------ r5606 | vlefevre | 2008-09-01 11:47:16 +0000 (Mon, 01 Sep 2008) | 1 line Changed paths: M /trunk/NEWS NEWS file update (get default $CC and $CFLAGS from gmp.h). ------------------------------------------------------------------------ r5605 | vlefevre | 2008-09-01 11:46:24 +0000 (Mon, 01 Sep 2008) | 1 line Changed paths: M /trunk/configure.in configure.in: removed a useless blank line. ------------------------------------------------------------------------ r5604 | vlefevre | 2008-09-01 11:40:36 +0000 (Mon, 01 Sep 2008) | 1 line Changed paths: M /trunk/README.dev README.dev: reverse-merged r5440 (about __GMP_CC/__GMP_CFLAGS) as said. ------------------------------------------------------------------------ r5602 | zimmerma | 2008-08-27 11:43:31 +0000 (Wed, 27 Aug 2008) | 3 lines Changed paths: M /trunk/algorithms.tex [algorithms.tex] the truncation error for rec_sqrt was correct, but the reasoning was not detailed enough ------------------------------------------------------------------------ r5600 | vlefevre | 2008-08-27 10:58:23 +0000 (Wed, 27 Aug 2008) | 3 lines Changed paths: A /trunk/patch-aclocal-icc Added patch-aclocal-icc; this is a port of the patch posted on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=485421 for aclocal.m4 when libtool 1.5.26-4 from Debian has been used. ------------------------------------------------------------------------ r5599 | zimmerma | 2008-08-27 10:00:35 +0000 (Wed, 27 Aug 2008) | 3 lines Changed paths: M /trunk/algorithms.tex M /trunk/rec_sqrt.c M /trunk/round_p.c [rec_sqrt.c] fixed bug "bad_case1" (truncation error was forgotten, when output precision was smaller than input precision) ------------------------------------------------------------------------ r5595 | vlefevre | 2008-08-27 08:40:53 +0000 (Wed, 27 Aug 2008) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r5593 | vlefevre | 2008-08-26 13:56:06 +0000 (Tue, 26 Aug 2008) | 1 line Changed paths: M /trunk/tests/trec_sqrt.c tests/trec_sqrt.c: enable the tests only with MPFR 2.4.0+. ------------------------------------------------------------------------ r5592 | vlefevre | 2008-08-26 13:32:45 +0000 (Tue, 26 Aug 2008) | 1 line Changed paths: M /trunk/NEWS NEWS: noted when some changes were applied in 2.3.* versions. ------------------------------------------------------------------------ r5590 | vlefevre | 2008-08-25 13:26:32 +0000 (Mon, 25 Aug 2008) | 1 line Changed paths: M /trunk/README.dev README.dev: completed information about integer types. ------------------------------------------------------------------------ r5589 | vlefevre | 2008-08-25 10:55:38 +0000 (Mon, 25 Aug 2008) | 1 line Changed paths: M /trunk/README.dev README.dev: added information about mixing signed and unsigned types. ------------------------------------------------------------------------ r5588 | vlefevre | 2008-08-25 10:40:09 +0000 (Mon, 25 Aug 2008) | 3 lines Changed paths: M /trunk/li2.c li2.c: avoid even more mixing between signed and unsigned types, by casting mpfr_prec_t to mp_exp_t in expressions involving mp_exp_t. This time the bug is fixed: tli2 no longer freezes in 64 bits. ------------------------------------------------------------------------ r5587 | vlefevre | 2008-08-25 10:26:54 +0000 (Mon, 25 Aug 2008) | 4 lines Changed paths: M /trunk/li2.c li2.c: use an "int" instead of "unsigned int" in li2_series() to avoid mixing signed and unsigned types, which can yield implicit conversions from signed into unsigned, and maybe problems on some platforms. This doesn't fix the current freeze of tli2 on 64-bit machines, though. ------------------------------------------------------------------------ r5585 | vlefevre | 2008-08-24 23:07:45 +0000 (Sun, 24 Aug 2008) | 2 lines Changed paths: M /trunk/tests/tgeneric.c tests/tgeneric.c: changed the way a warning with gcc 4.2+ is avoided (r5335), as suggested by Manuel López-Ibáñez on GCC bug 36299. ------------------------------------------------------------------------ r5584 | vlefevre | 2008-08-21 10:27:58 +0000 (Thu, 21 Aug 2008) | 2 lines Changed paths: A /trunk/tests/data/sqr M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c Added data_check support to mpfr_sqr. Added bad_cases support to mpfr_sqr and mpfr_sqrt. ------------------------------------------------------------------------ r5582 | vlefevre | 2008-08-21 10:17:19 +0000 (Thu, 21 Aug 2008) | 1 line Changed paths: M /trunk/tests/tsqr.c tests/tsqr.c: corrected function definitions. ------------------------------------------------------------------------ r5581 | vlefevre | 2008-08-21 10:12:49 +0000 (Thu, 21 Aug 2008) | 1 line Changed paths: A /trunk/tests/data/rec_sqrt M /trunk/tests/trec_sqrt.c Added data_check & bad_cases support to mpfr_rec_sqrt. ------------------------------------------------------------------------ r5580 | vlefevre | 2008-08-21 10:09:34 +0000 (Thu, 21 Aug 2008) | 1 line Changed paths: M /trunk/tests/trec_sqrt.c tests/trec_sqrt.c: added bad case that makes mpfr_rec_sqrt fail. ------------------------------------------------------------------------ r5579 | vlefevre | 2008-08-21 03:03:23 +0000 (Thu, 21 Aug 2008) | 3 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: as not all ICC versions define the __ICC macro (only the __INTEL_COMPILER macro can be defined), define the __MPFR_ICC and __MPFR_GNUC macros in another way. ------------------------------------------------------------------------ r5578 | vlefevre | 2008-08-21 02:48:41 +0000 (Thu, 21 Aug 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: fixed compilation failure when HAVE_DENORMS isn't defined, such as with icc 10.1 on Itanium. ------------------------------------------------------------------------ r5577 | vlefevre | 2008-08-21 02:43:45 +0000 (Thu, 21 Aug 2008) | 3 lines Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: to allow random values to be reproducible, do not call randlimb several times in a same expression, because the evaluation order is unspecified. ------------------------------------------------------------------------ r5576 | vlefevre | 2008-08-21 02:38:07 +0000 (Thu, 21 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: added test of mpfr_rec_sqrt (only with MPFR 2.4.0+). ------------------------------------------------------------------------ r5575 | vlefevre | 2008-08-21 02:35:37 +0000 (Thu, 21 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: removed useless parentheses. ------------------------------------------------------------------------ r5574 | vlefevre | 2008-08-21 02:27:56 +0000 (Thu, 21 Aug 2008) | 1 line Changed paths: M /trunk/rec_sqrt.c rec_sqrt.c: added logging support. ------------------------------------------------------------------------ r5572 | vlefevre | 2008-08-21 01:27:38 +0000 (Thu, 21 Aug 2008) | 2 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: replaced "towards" by "toward" for consistency with the MPFR manual and the standards. ------------------------------------------------------------------------ r5570 | vlefevre | 2008-08-21 01:22:42 +0000 (Thu, 21 Aug 2008) | 2 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: corrected English usage, spelling and typography in the section on mpfr_hypot. ------------------------------------------------------------------------ r5566 | vlefevre | 2008-08-20 22:17:34 +0000 (Wed, 20 Aug 2008) | 3 lines Changed paths: M /trunk/tests/thypot.c tests/thypot.c: added a test for tiny x and y (already done by the generic tests, but not yet in the 2.3 branch in extended exponent range). ------------------------------------------------------------------------ r5565 | vlefevre | 2008-08-20 21:43:34 +0000 (Wed, 20 Aug 2008) | 2 lines Changed paths: M /trunk/tests/tgeneric.c tests/tgeneric.c: for the special cases tested in precision p1 for n <= 3, set the extended exponent range. ------------------------------------------------------------------------ r5564 | vlefevre | 2008-08-20 21:10:29 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/tests/thypot.c tests/thypot.c: improved error messages. ------------------------------------------------------------------------ r5563 | vlefevre | 2008-08-20 20:48:44 +0000 (Wed, 20 Aug 2008) | 3 lines Changed paths: M /trunk/tests/thypot.c tests/thypot.c: perform some tests both in the current exponent range and in the extended exponent range, so that the lost-overflow bug of MPFR 2.3.1 can be triggered on 64-bit machines too. ------------------------------------------------------------------------ r5561 | vlefevre | 2008-08-20 19:43:57 +0000 (Wed, 20 Aug 2008) | 3 lines Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: * In cmpres(), if z1 and z2 were both zeros, their sign wasn't tested. * Added test of mpfr_sqr and mpfr_sqrt. ------------------------------------------------------------------------ r5559 | vlefevre | 2008-08-20 16:24:24 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: added a paragraph on MPFR internal data. ------------------------------------------------------------------------ r5557 | vlefevre | 2008-08-20 14:11:18 +0000 (Wed, 20 Aug 2008) | 2 lines Changed paths: M /trunk/pow_si.c pow_si.c: fixed the underflow/overflow detection for n < 0 by using a method similar to mpfr_pow_z. ------------------------------------------------------------------------ r5556 | vlefevre | 2008-08-20 13:21:00 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/pow_si.c pow_si.c: added logging support. ------------------------------------------------------------------------ r5555 | vlefevre | 2008-08-20 12:58:21 +0000 (Wed, 20 Aug 2008) | 4 lines Changed paths: M /trunk/pow.c pow.c: fixed bug in mpfr_pow_general by computing correct bounds on exp(y*ln|x|). ==> tpow no longer fails in bug20080820. Note: this bug could affect only underflow cases and possibly cases near overflow. ------------------------------------------------------------------------ r5554 | vlefevre | 2008-08-20 12:48:53 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow.c tests/tpow.c: updated comment for bug20080820(). ------------------------------------------------------------------------ r5553 | vlefevre | 2008-08-20 12:47:40 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow.c tests/tpow.c: added testcase for bug mentioned in r5552. ------------------------------------------------------------------------ r5552 | vlefevre | 2008-08-20 11:41:13 +0000 (Wed, 20 Aug 2008) | 4 lines Changed paths: M /trunk/pow_z.c pow_z.c: solves the underflow problem in round-to-nearest by using mpfr_pow_general in precision 2 (like in mpfr_pow_pos_z), but this currently fails due to a more general bug from r4940 (the rounding modes to compute an upper bound on exp(y*ln|x|) are incorrect). ------------------------------------------------------------------------ r5551 | vlefevre | 2008-08-20 06:42:16 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/pow_z.c pow_z.c: formatting. ------------------------------------------------------------------------ r5550 | vlefevre | 2008-08-20 06:36:59 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/pow_z.c pow_z.c: moved a log message. ------------------------------------------------------------------------ r5549 | vlefevre | 2008-08-20 06:34:52 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/pow_z.c pow_z.c: added log messages. ------------------------------------------------------------------------ r5548 | vlefevre | 2008-08-20 05:55:56 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: added an underflow test of x^y with y integer < 0. ------------------------------------------------------------------------ r5547 | vlefevre | 2008-08-20 04:17:03 +0000 (Wed, 20 Aug 2008) | 3 lines Changed paths: M /trunk/pow_z.c pow_z.c: no longer take care of the possibly lost overflow flag, as the other functions do not do this either; this general problem has been fixed in mpfr_check_range (r5545). ------------------------------------------------------------------------ r5545 | vlefevre | 2008-08-20 04:07:16 +0000 (Wed, 20 Aug 2008) | 7 lines Changed paths: M /trunk/NEWS M /trunk/exceptions.c M /trunk/mpfr.texi Fixed the following problem: The overflow flag can be lost in many functions called with the maximum exponent equal to MPFR_EMAX_MAX (this is the default on 32-bit machines) when the temporary result (in a higher precision) is representable but once rounded, it yields an overflow. This needed a slight change of behavior of the mpfr_check_range function (defined in exceptions.c). Described this change in mpfr.texi and NEWS. ------------------------------------------------------------------------ r5544 | vlefevre | 2008-08-20 02:59:16 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/pow_z.c pow_z.c: fixed some of the underflow/overflow problems for z < 0. ------------------------------------------------------------------------ r5543 | vlefevre | 2008-08-20 02:56:38 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: fixed mpfr_clear in overflow_inv. ------------------------------------------------------------------------ r5542 | vlefevre | 2008-08-20 02:50:02 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: more detailed error messages. ------------------------------------------------------------------------ r5541 | vlefevre | 2008-08-20 01:23:30 +0000 (Wed, 20 Aug 2008) | 5 lines Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: improved overflow_inv tests to trigger a bug in mpfr_pow_z due to incorrect rounding mode settings in r5315: on a 64-bit Linux machine, "./tpow_all 1" ends with: Bad overflow flag in overflow_inv for mpfr_pow, extended exponent range, s = 1, t = 1, GMP_RNDZ ------------------------------------------------------------------------ r5540 | vlefevre | 2008-08-20 00:32:17 +0000 (Wed, 20 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: in overflow_inv, reduced t to [0,5] and added tests. ------------------------------------------------------------------------ r5539 | vlefevre | 2008-08-19 23:48:19 +0000 (Tue, 19 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: improved error messages. ------------------------------------------------------------------------ r5538 | vlefevre | 2008-08-19 23:39:35 +0000 (Tue, 19 Aug 2008) | 2 lines Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: changed the precisions in overflow_inv for clearer output (the reported failures are the same). ------------------------------------------------------------------------ r5537 | vlefevre | 2008-08-19 23:34:23 +0000 (Tue, 19 Aug 2008) | 3 lines Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: information about extended exponent range wasn't always output. For simplicity to provide such an information, made ext a global variable. ------------------------------------------------------------------------ r5536 | vlefevre | 2008-08-19 23:23:10 +0000 (Tue, 19 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: added overflow tests for x^(-1). -> Failure. ------------------------------------------------------------------------ r5535 | vlefevre | 2008-08-19 00:35:49 +0000 (Tue, 19 Aug 2008) | 1 line Changed paths: M /trunk/mpfr-impl.h M /trunk/pow.c Fixed basic underflow checking in mpfr_pow. ------------------------------------------------------------------------ r5534 | vlefevre | 2008-08-18 23:30:59 +0000 (Mon, 18 Aug 2008) | 4 lines Changed paths: M /trunk/README.dev M /trunk/lngamma.c M /trunk/mpfr-impl.h mpfr-impl.h: defined macro INITIALIZED to declare that some variable is initialized before being used. README.dev: described the use of this macro. lngamma.c: replaced the dummy initialization by this macro. ------------------------------------------------------------------------ r5533 | vlefevre | 2008-08-16 01:04:05 +0000 (Sat, 16 Aug 2008) | 1 line Changed paths: M /trunk/pow.c pow.c: updated comments. ------------------------------------------------------------------------ r5532 | vlefevre | 2008-08-16 00:48:58 +0000 (Sat, 16 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: added tests -> assertion failed in pow.c line 603. ------------------------------------------------------------------------ r5531 | vlefevre | 2008-08-15 23:56:47 +0000 (Fri, 15 Aug 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: added test of mpfr_ui_div. ------------------------------------------------------------------------ r5530 | vlefevre | 2008-08-15 23:28:46 +0000 (Fri, 15 Aug 2008) | 1 line Changed paths: M /trunk/pow_z.c pow_z.c: improved comments. ------------------------------------------------------------------------ r5527 | vlefevre | 2008-08-14 16:34:58 +0000 (Thu, 14 Aug 2008) | 4 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: additions related to MPFR caches. * Added Section "Memory Handling" mentioning caches. * Added call to mpfr_free_cache in the first example. * Updated description of function mpfr_free_cache. ------------------------------------------------------------------------ r5525 | vlefevre | 2008-08-14 10:17:24 +0000 (Thu, 14 Aug 2008) | 2 lines Changed paths: M /trunk/tests/texp.c tests/texp.c: improved an underflow test to trigger the bug fixed in r5453 on 32-bit machines too. ------------------------------------------------------------------------ r5524 | vlefevre | 2008-08-14 09:39:24 +0000 (Thu, 14 Aug 2008) | 1 line Changed paths: M /trunk/log.c log.c: fixed a log message. ------------------------------------------------------------------------ r5523 | vlefevre | 2008-08-14 09:38:04 +0000 (Thu, 14 Aug 2008) | 1 line Changed paths: M /trunk/exp_2.c exp_2.c: fixed other log messages. ------------------------------------------------------------------------ r5522 | vlefevre | 2008-08-14 09:20:14 +0000 (Thu, 14 Aug 2008) | 2 lines Changed paths: M /trunk/exp_2.c exp_2.c: fixed a log message (the format didn't correspond to the types) and improved it. ------------------------------------------------------------------------ r5519 | vlefevre | 2008-08-12 22:27:44 +0000 (Tue, 12 Aug 2008) | 1 line Changed paths: M /trunk/tests/tdiv.c tests/tdiv.c: completed underflow test by testing negative results too. ------------------------------------------------------------------------ r5517 | vlefevre | 2008-08-12 22:03:37 +0000 (Tue, 12 Aug 2008) | 5 lines Changed paths: M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/mul_2si.c M /trunk/tests/tmul_2exp.c mul_2si.c, div_2si.c, div_2ui.c: fixed double-rounding problem in rounding to nearest when the rounded result in unbounded exponent range is 2^(emin - 2). tests/tmul_2exp.c: test x = 15/16 too. Now tmul_2exp no longer fails (with the correction in div.c from r5515). ------------------------------------------------------------------------ r5516 | vlefevre | 2008-08-12 21:56:55 +0000 (Tue, 12 Aug 2008) | 2 lines Changed paths: M /trunk/tests/tdiv.c tests/tdiv.c correction: the underflow bug was in case when the result had to be zero. ------------------------------------------------------------------------ r5515 | vlefevre | 2008-08-12 21:52:25 +0000 (Tue, 12 Aug 2008) | 3 lines Changed paths: M /trunk/div.c div.c: fixed underflow bug that occurs in rounding to nearest when the rounded result in unbounded exponent range is 2^(emin - 2) and inex > 0: one got a non-zero result instead of +/-0. ------------------------------------------------------------------------ r5514 | vlefevre | 2008-08-12 21:47:44 +0000 (Tue, 12 Aug 2008) | 2 lines Changed paths: M /trunk/tests/tdiv.c tests/tdiv.c: added a test that triggers a bug in mpfr_div in case of underflow in rounding to nearest when the result must be non-zero. ------------------------------------------------------------------------ r5513 | vlefevre | 2008-08-12 14:43:50 +0000 (Tue, 12 Aug 2008) | 1 line Changed paths: M /trunk/div.c div.c: added logging support. ------------------------------------------------------------------------ r5512 | vlefevre | 2008-08-12 13:54:40 +0000 (Tue, 12 Aug 2008) | 1 line Changed paths: M /trunk/tests/tmul_2exp.c tests/tmul_2exp.c: test mpfr_div_2ui too. ------------------------------------------------------------------------ r5511 | vlefevre | 2008-08-12 13:37:03 +0000 (Tue, 12 Aug 2008) | 1 line Changed paths: M /trunk/tests/tmul_2exp.c tests/tmul_2exp.c: test mpfr_div_2si too. ------------------------------------------------------------------------ r5510 | vlefevre | 2008-08-12 13:28:20 +0000 (Tue, 12 Aug 2008) | 2 lines Changed paths: M /trunk/tests/tmul_2exp.c tests/tmul_2exp.c: updated underflow() test to trigger a double-rounding bug in case of underflow. ------------------------------------------------------------------------ r5509 | vlefevre | 2008-08-12 13:11:19 +0000 (Tue, 12 Aug 2008) | 2 lines Changed paths: M /trunk/tests/texp.c tests/texp.c: updated comment (the double-rounding bug triggered by underflow_up() is in mpfr_mul_2si). ------------------------------------------------------------------------ r5508 | vlefevre | 2008-08-12 13:02:08 +0000 (Tue, 12 Aug 2008) | 2 lines Changed paths: M /trunk/tests/texp.c tests/texp.c: updated underflow_up() test: added case exp(eps) ~= 1/2, which fails due to a double-rounding problem in rescaling the result. ------------------------------------------------------------------------ r5507 | vlefevre | 2008-08-12 12:08:10 +0000 (Tue, 12 Aug 2008) | 1 line Changed paths: M /trunk/tests/texp.c tests/texp.c: improved comments in underflow_up(). ------------------------------------------------------------------------ r5505 | vlefevre | 2008-08-11 08:09:14 +0000 (Mon, 11 Aug 2008) | 33 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/pow.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/tests/tpow_all.c Merged vlefevre branch: svn merge -c-5445 . svn merge -r5436:HEAD .../mpfr/branches/vlefevre * pow.c: - Moved the general case from mpfr_pow() to a new internal function mpfr_pow_general(). - In this function (from old code), avoid unnecessary overflow test if the intermediate result is not an infinity (which was the case of underflow with non-zero result, thus not an overflow). - Fixed a double-rounding problem that occurred in this function in some underflow cases when rescaling the result. - Added log messages. * mpfr-impl.h: added mpfr_pow_general prototype. * pow_z.c: - The underflow case of mpfr_pow_pos_z() in rounding to nearest, which was incorrect, is now handled by calling mpfr_pow_general(), which can scale the result thus decide whether the rounded result should be 0 or nextabove(0). To avoid the exact cases of x^y with y integer (not supported by mpfr_pow_general()), rounding is done in precision 2 (this is also faster!). - Fixed underflow-related bug (case exact result = 2^(emin-2), in rounding to nearest). - Added log messages. * pow_ui.c: - Swapped parameters x and y for consistency (-> y = x^n). - Fixed the internal overflows and underflows (which could yield spurious overflows/underflows and incorrect results) by using mpfr_pow_z. * tests/tpow_all.c: - Test flags in test_others and cmpres; cmpres argument z1 can now be a null pointer (if unknown pure FP value, thus not tested). - Added a test of 2^(emin - i/4) with 0 <= i <= 12, that triggered the bugs mentioned above (and now fixed). ------------------------------------------------------------------------ r5503 | vlefevre | 2008-08-11 07:02:01 +0000 (Mon, 11 Aug 2008) | 1 line Changed paths: M /trunk/tests/tmul_2exp.c tests/tmul_2exp.c: added underflow tests. ------------------------------------------------------------------------ r5502 | vlefevre | 2008-08-11 07:00:17 +0000 (Mon, 11 Aug 2008) | 1 line Changed paths: M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/mul_2si.c M /trunk/mul_2ui.c Added logging support to mpfr_{mul,div}_2{si,ui}. ------------------------------------------------------------------------ r5498 | vlefevre | 2008-08-08 14:29:03 +0000 (Fri, 08 Aug 2008) | 1 line Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: added a space for MPFR_LOG_MSG. ------------------------------------------------------------------------ r5496 | vlefevre | 2008-08-08 14:20:45 +0000 (Fri, 08 Aug 2008) | 1 line Changed paths: M /trunk/README.dev README.dev: corrected MPFR_LOG_MSG example. ------------------------------------------------------------------------ r5494 | vlefevre | 2008-08-08 07:27:23 +0000 (Fri, 08 Aug 2008) | 1 line Changed paths: M /trunk/mpfr.h mpfr.h: added a comment concerning ICC. ------------------------------------------------------------------------ r5493 | vlefevre | 2008-08-07 21:56:50 +0000 (Thu, 07 Aug 2008) | 1 line Changed paths: M /trunk/atan2.c M /trunk/get_d64.c M /trunk/li2.c M /trunk/set_d64.c M /trunk/tests/tget_set_d64.c M /trunk/yn.c Final code clean-up based on icc warnings. ------------------------------------------------------------------------ r5492 | vlefevre | 2008-08-07 21:17:14 +0000 (Thu, 07 Aug 2008) | 7 lines Changed paths: M /trunk/cache.c M /trunk/clears.c M /trunk/cos.c M /trunk/fits_intmax.c M /trunk/fits_uintmax.c M /trunk/frac.c M /trunk/get_ld.c M /trunk/get_sj.c M /trunk/get_uj.c M /trunk/hypot.c M /trunk/inits.c M /trunk/inits2.c M /trunk/mpfr-impl.h M /trunk/mul.c M /trunk/set_sj.c M /trunk/set_uj.c M /trunk/tests/tfits.c M /trunk/tests/tget_sj.c M /trunk/tests/tset_sj.c M /trunk/volatile.c Further code clean-up (and consistency) based on icc warnings: * Removed useless code. * Avoid hiding variable declarations. * Use #ifdef BOOL_MACRO instead of #if BOOL_MACRO. * In MPFR_RNDRAW_GEN macro definition, variables declared locally now start with an underscore to avoid possible conflits with parameters (and modified macro calls that use these variables). ------------------------------------------------------------------------ r5491 | vlefevre | 2008-08-07 17:13:16 +0000 (Thu, 07 Aug 2008) | 1 line Changed paths: M /trunk/round_prec.c round_prec.c: avoid hiding variable declaration (detected by icc). ------------------------------------------------------------------------ r5490 | vlefevre | 2008-08-07 16:30:13 +0000 (Thu, 07 Aug 2008) | 2 lines Changed paths: M /trunk/pow_si.c pow_si.c: fixed Ziv's iteration (code from r3305) by using MPFR_ZIV_NEXT (problem detected by icc, because variable "loop" was never used). ------------------------------------------------------------------------ r5489 | vlefevre | 2008-08-07 16:15:28 +0000 (Thu, 07 Aug 2008) | 2 lines Changed paths: M /trunk/mul_ui.c mul_ui.c: removed variable that was set but never used (detected by icc, but not by gcc, probably because of early optimization). ------------------------------------------------------------------------ r5488 | vlefevre | 2008-08-07 16:08:45 +0000 (Thu, 07 Aug 2008) | 4 lines Changed paths: M /trunk/inp_str.c inp_str.c: fixed possible implementation-defined behavior (a value from the unsigned char range -- from getc -- was stored in a char, and if the char type is signed and the value cannot be represented in a char, this is implementation-defined). ------------------------------------------------------------------------ r5487 | vlefevre | 2008-08-07 15:36:59 +0000 (Thu, 07 Aug 2008) | 1 line Changed paths: M /trunk/get_str.c get_str.c: avoid hiding variable declaration (detected by icc). ------------------------------------------------------------------------ r5486 | vlefevre | 2008-08-07 14:44:18 +0000 (Thu, 07 Aug 2008) | 1 line Changed paths: M /trunk/div.c div.c: avoid hiding variable declaration (detected by icc). ------------------------------------------------------------------------ r5485 | vlefevre | 2008-08-07 14:33:44 +0000 (Thu, 07 Aug 2008) | 2 lines Changed paths: M /trunk/README.dev M /trunk/mpfr-impl.h M /trunk/mpfr.h mpfr.h, mpfr-impl.h: avoid warnings with icc (at least icc 10.1). README.dev: added a paragraph on the test of "boolean" macros. ------------------------------------------------------------------------ r5483 | vlefevre | 2008-08-05 08:02:07 +0000 (Tue, 05 Aug 2008) | 1 line Changed paths: M /trunk/configure.in configure.in: dist-lzma needs automake 1.10.1. ------------------------------------------------------------------------ r5481 | vlefevre | 2008-08-04 08:39:47 +0000 (Mon, 04 Aug 2008) | 1 line Changed paths: M /trunk/configure.in configure.in: "make dist" generates lzma-compressed tarball too. ------------------------------------------------------------------------ r5480 | zimmerma | 2008-08-02 09:36:31 +0000 (Sat, 02 Aug 2008) | 3 lines Changed paths: M /trunk/exp_2.c [exp_2.c] fixed case where cancel is negative, added comments and improved code when initial n is known to be 0 ------------------------------------------------------------------------ r5479 | vlefevre | 2008-08-01 21:18:06 +0000 (Fri, 01 Aug 2008) | 1 line Changed paths: M /trunk/exp_2.c exp_2.c: MPFR_EXP -> MPFR_GET_EXP. ------------------------------------------------------------------------ r5478 | zimmerma | 2008-08-01 16:45:45 +0000 (Fri, 01 Aug 2008) | 2 lines Changed paths: M /trunk/exp_2.c [exp_2.c] fixed bug20080731 ------------------------------------------------------------------------ r5477 | vlefevre | 2008-07-31 16:30:31 +0000 (Thu, 31 Jul 2008) | 1 line Changed paths: M /trunk Added algorithms.out to svn:ignore property. ------------------------------------------------------------------------ r5476 | vlefevre | 2008-07-31 16:27:42 +0000 (Thu, 31 Jul 2008) | 1 line Changed paths: M /trunk/tests/texp.c tests/texp.c: added testcase for new bug found in mpfr_exp_2. ------------------------------------------------------------------------ r5475 | vlefevre | 2008-07-31 16:02:54 +0000 (Thu, 31 Jul 2008) | 3 lines Changed paths: M /trunk/exp.c M /trunk/exp_2.c exp.c, exp_2.c: fixed the overflow/underflow detection. The underflow_up test in texp.c still fails for mpfr_exp_2 only, but this seems to be due to a bug in this function (incorrect error bound?). ------------------------------------------------------------------------ r5474 | vlefevre | 2008-07-31 15:03:49 +0000 (Thu, 31 Jul 2008) | 3 lines Changed paths: M /trunk/tests/texp.c tests/texp.c: added underflow tests to underflow_up; currently fail due to incorrect underflow detection in mpfr_exp (and if this detection is disabled, mpfr_exp_3 behaves correctly, but not mpfr_exp_2). ------------------------------------------------------------------------ r5473 | thevenyp | 2008-07-31 14:08:09 +0000 (Thu, 31 Jul 2008) | 2 lines Changed paths: M /trunk/algorithms.tex Fix typos, improve wording. ------------------------------------------------------------------------ r5472 | vlefevre | 2008-07-31 13:01:16 +0000 (Thu, 31 Jul 2008) | 1 line Changed paths: M /trunk/exp_2.c Added logging support to mpfr_exp_2 (exp_2.c). ------------------------------------------------------------------------ r5471 | vlefevre | 2008-07-31 11:36:01 +0000 (Thu, 31 Jul 2008) | 1 line Changed paths: M /trunk/tests/texp.c tests/texp.c: updated comment concerning the bug fixed in r5469. ------------------------------------------------------------------------ r5470 | vlefevre | 2008-07-31 10:24:28 +0000 (Thu, 31 Jul 2008) | 1 line Changed paths: M /trunk/exp.c exp.c: updated comment about the exp3.c routine. ------------------------------------------------------------------------ r5469 | vlefevre | 2008-07-31 10:22:48 +0000 (Thu, 31 Jul 2008) | 1 line Changed paths: M /trunk/exp3.c exp3.c: fixed internal underflow. ------------------------------------------------------------------------ r5468 | vlefevre | 2008-07-31 09:59:53 +0000 (Thu, 31 Jul 2008) | 1 line Changed paths: M /trunk/fma.c M /trunk/fms.c fma.c, fms.c: added a comment about apparently incorrect scaling. ------------------------------------------------------------------------ r5466 | vlefevre | 2008-07-31 09:46:43 +0000 (Thu, 31 Jul 2008) | 1 line Changed paths: M /trunk/sqr.c M /trunk/sqrt.c Added logging support to mpfr_sqr and mpfr_sqrt. ------------------------------------------------------------------------ r5465 | thevenyp | 2008-07-31 08:31:11 +0000 (Thu, 31 Jul 2008) | 3 lines Changed paths: M /trunk/BUGS M /trunk/hypot.c hypot.c: Fix comment. BUGS: Add known bug for mpfr_hypot. ------------------------------------------------------------------------ r5464 | thevenyp | 2008-07-30 15:13:42 +0000 (Wed, 30 Jul 2008) | 5 lines Changed paths: M /trunk/algorithms.tex M /trunk/hypot.c M /trunk/tests/thypot.c algorithms.tex: Prove the correctness of the algorithm used for mpfr_hypot when the difference of inputs' exponents is less then exp_max - 2. hypot.c: Change algorithm according to its description in algorithms.tex tests/thypot.c: Fix tests (some were present but didn't trigger any error). ------------------------------------------------------------------------ r5463 | vlefevre | 2008-07-30 14:01:45 +0000 (Wed, 30 Jul 2008) | 1 line Changed paths: M /trunk/tests/texp.c tests/texp.c: completed a comment. ------------------------------------------------------------------------ r5462 | vlefevre | 2008-07-30 11:26:52 +0000 (Wed, 30 Jul 2008) | 6 lines Changed paths: M /trunk/tests/texp.c tests/texp.c: updated underflow_up test of log(2^(emin - 1)) + eps: * In the old test (- log(2) < eps < 0 in GMP_RNDN), do not test the flags, as this may be incorrect on some platforms (though unlikely). Better tests will be provided later. * Added test for case eps > 0, which triggers a bug in mpfr_exp_3 (underflow flag sometimes set while it shouldn't be set). ------------------------------------------------------------------------ r5461 | vlefevre | 2008-07-30 08:33:51 +0000 (Wed, 30 Jul 2008) | 2 lines Changed paths: M /trunk/exp.c exp.c: completed a comment, describing how rigorous underflow/overflow detection can be done. ------------------------------------------------------------------------ r5460 | vlefevre | 2008-07-30 08:18:01 +0000 (Wed, 30 Jul 2008) | 2 lines Changed paths: M /trunk/exp.c exp.c: removed an incorrect comment (corresponds to exp_2.c and already in exp_2.c). ------------------------------------------------------------------------ r5459 | vlefevre | 2008-07-29 14:34:10 +0000 (Tue, 29 Jul 2008) | 1 line Changed paths: M /trunk/exp.c exp.c: underflow/overflow detection is still a bit incorrect. ------------------------------------------------------------------------ r5458 | vlefevre | 2008-07-29 14:17:18 +0000 (Tue, 29 Jul 2008) | 1 line Changed paths: M /trunk/TODO TODO: added "test underflow/overflow detection...". ------------------------------------------------------------------------ r5457 | vlefevre | 2008-07-29 14:13:11 +0000 (Tue, 29 Jul 2008) | 1 line Changed paths: M /trunk/exp.c exp.c: fixed underflow/overflow detection. ------------------------------------------------------------------------ r5456 | vlefevre | 2008-07-29 13:24:19 +0000 (Tue, 29 Jul 2008) | 1 line Changed paths: M /trunk/exp_2.c exp_2.c: GNU style. ------------------------------------------------------------------------ r5455 | vlefevre | 2008-07-29 12:23:04 +0000 (Tue, 29 Jul 2008) | 2 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: make sure that mpfr_get_exp_t and mpfr_set_exp_t are correctly defined. ------------------------------------------------------------------------ r5454 | vlefevre | 2008-07-26 10:46:26 +0000 (Sat, 26 Jul 2008) | 1 line Changed paths: M /trunk/tests/texp.c tests/texp.c: updated comment of underflow_up. ------------------------------------------------------------------------ r5453 | vlefevre | 2008-07-26 10:44:22 +0000 (Sat, 26 Jul 2008) | 3 lines Changed paths: M /trunk/exp_2.c exp_2.c: solved the assertion failure by detecting a zero due to a cancellation and increasing the precision via Ziv's loop in such a case. ------------------------------------------------------------------------ r5452 | vlefevre | 2008-07-26 10:29:57 +0000 (Sat, 26 Jul 2008) | 2 lines Changed paths: M /trunk/exp_2.c exp_2.c: added another assertion, that is checked independently of the value of MPFR_EXP_2_THRESHOLD (better for debugging). ------------------------------------------------------------------------ r5451 | vlefevre | 2008-07-26 10:21:09 +0000 (Sat, 26 Jul 2008) | 3 lines Changed paths: M /trunk/exp_2.c exp_2.c: added an assertion (more explicit than a similar assertion that would fail later) in mpfr_exp2_aux, caught by the underflow_up test in texp.c for prec = 16 on a 64-bit Linux machine. ------------------------------------------------------------------------ r5450 | vlefevre | 2008-07-25 21:02:13 +0000 (Fri, 25 Jul 2008) | 2 lines Changed paths: M /trunk/tests/texp.c tests/texp.c: added a test that shows incorrect underflow detection in mpfr_exp, with possible assertion failure. ------------------------------------------------------------------------ r5445 | vlefevre | 2008-07-25 11:52:07 +0000 (Fri, 25 Jul 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: added test of mpfr_exp2 and mpfr_exp10. ------------------------------------------------------------------------ r5443 | vlefevre | 2008-07-25 10:31:19 +0000 (Fri, 25 Jul 2008) | 1 line Changed paths: M /trunk/TODO TODO: update. ------------------------------------------------------------------------ r5442 | vlefevre | 2008-07-25 10:28:41 +0000 (Fri, 25 Jul 2008) | 1 line Changed paths: M /trunk/TODO TODO: added "option to use a 32-bit exponent type on LP64 machines". ------------------------------------------------------------------------ r5441 | vlefevre | 2008-07-23 13:52:09 +0000 (Wed, 23 Jul 2008) | 1 line Changed paths: M /trunk/acinclude.m4 acinclude.m4: updated AC_PREREQ line due to the use of AC_PROG_SED. ------------------------------------------------------------------------ r5440 | zimmerma | 2008-07-23 13:29:50 +0000 (Wed, 23 Jul 2008) | 2 lines Changed paths: M /trunk/README.dev added reminder ------------------------------------------------------------------------ r5439 | zimmerma | 2008-07-23 13:26:26 +0000 (Wed, 23 Jul 2008) | 4 lines Changed paths: M /trunk/configure.in patch from Patrick to get __GMP_CC and __GMP_CFLAGS from gmp.h (future undocumented feature for GMP 4.2.3) -> we need to check those are the names chosen by GMP 4.2.3 when it will be out ------------------------------------------------------------------------ r5434 | vlefevre | 2008-07-21 23:03:36 +0000 (Mon, 21 Jul 2008) | 2 lines Changed paths: M /trunk/pow.c pow.c: fixed incorrect rounding in the general case when the result is negative and rnd = GMP_RNDD or GMP_RNDU (bug20080721 in tpow.c). ------------------------------------------------------------------------ r5433 | vlefevre | 2008-07-21 22:44:32 +0000 (Mon, 21 Jul 2008) | 1 line Changed paths: M /trunk/tests/tpow.c tests/tpow.c: completed test bug20080721. ------------------------------------------------------------------------ r5432 | vlefevre | 2008-07-21 22:01:11 +0000 (Mon, 21 Jul 2008) | 1 line Changed paths: M /trunk/pow.c pow.c: fixed the non-trivial cases with large integer y. ------------------------------------------------------------------------ r5431 | vlefevre | 2008-07-21 17:17:51 +0000 (Mon, 21 Jul 2008) | 1 line Changed paths: M /trunk/tests/tpow.c tests/tpow.c: added comment for bug20080721. ------------------------------------------------------------------------ r5430 | vlefevre | 2008-07-21 16:54:18 +0000 (Mon, 21 Jul 2008) | 1 line Changed paths: M /trunk/tests/tpow.c tests/tpow.c: found another bug in mpfr_pow with large integers. ------------------------------------------------------------------------ r5429 | vlefevre | 2008-07-21 13:06:51 +0000 (Mon, 21 Jul 2008) | 1 line Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: added a test that detects a bug in an underflow case. ------------------------------------------------------------------------ r5428 | vlefevre | 2008-07-21 09:48:22 +0000 (Mon, 21 Jul 2008) | 2 lines Changed paths: M /trunk/tests/tpow_all.c tests/tpow_all.c: made the comparisons between the power functions generic to be able to add other tests. ------------------------------------------------------------------------ r5427 | vlefevre | 2008-07-20 23:34:50 +0000 (Sun, 20 Jul 2008) | 1 line Changed paths: M /trunk/pow_z.c pow_z.c: use MPFR_IS_POS(x) instead of MPFR_SIGN(x) > 0. ------------------------------------------------------------------------ r5425 | vlefevre | 2008-07-20 00:36:23 +0000 (Sun, 20 Jul 2008) | 1 line Changed paths: M /trunk/pow_si.c pow_si.c: corrected a comment. ------------------------------------------------------------------------ r5424 | vlefevre | 2008-07-20 00:22:50 +0000 (Sun, 20 Jul 2008) | 1 line Changed paths: M /trunk/tests/tpow_z.c tests/tpow_z.c: fixed NaN^0 test. ------------------------------------------------------------------------ r5423 | vlefevre | 2008-07-20 00:17:02 +0000 (Sun, 20 Jul 2008) | 4 lines Changed paths: M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/tests M /trunk/tests/Makefile.am A /trunk/tests/tpow_all.c Fixed a bug in pow_ui.c and pow_z.c: NaN^0 returned NaN instead of 1 (see documentation). Affected functions: mpfr_pow_ui, mpfr_pow_si and mpfr_pow_z (but not mpfr_pow). Added new test file tests/tpow_all.c to test all the MPFR power functions on simple and special values. ------------------------------------------------------------------------ r5418 | vlefevre | 2008-07-19 16:09:13 +0000 (Sat, 19 Jul 2008) | 1 line Changed paths: M /trunk/mpfr.texi mpfr.texi: forgot the case x^(±0). ------------------------------------------------------------------------ r5417 | vlefevre | 2008-07-19 15:36:57 +0000 (Sat, 19 Jul 2008) | 1 line Changed paths: M /trunk/pow_z.c pow_z.c: updated comments. ------------------------------------------------------------------------ r5416 | vlefevre | 2008-07-19 15:21:30 +0000 (Sat, 19 Jul 2008) | 2 lines Changed paths: M /trunk/tests/tpow_z.c tests/tpow_z.c: test bug20080223() didn't check that the result wasn't a NaN. Fixed. ------------------------------------------------------------------------ r5413 | vlefevre | 2008-07-19 13:52:27 +0000 (Sat, 19 Jul 2008) | 1 line Changed paths: M /trunk/tests/tsprintf.c tests/tsprintf.c: removed trailing whitespace. ------------------------------------------------------------------------ r5412 | vlefevre | 2008-07-11 01:52:47 +0000 (Fri, 11 Jul 2008) | 2 lines Changed paths: M /trunk/BUGS BUGS: potential problem with integer division and pre-C99 compilers, noted by Philippe. ------------------------------------------------------------------------ r5411 | thevenyp | 2008-07-08 12:44:59 +0000 (Tue, 08 Jul 2008) | 1 line Changed paths: M /trunk/generic.c M /trunk/vasprintf.c Fix typos ------------------------------------------------------------------------ r5410 | thevenyp | 2008-06-30 12:31:54 +0000 (Mon, 30 Jun 2008) | 2 lines Changed paths: M /trunk/vasprintf.c Fix typo (gmp macro TMP_ALLOC instead of MPFR_TMP_ALLOC). ------------------------------------------------------------------------ r5409 | vlefevre | 2008-06-27 09:26:43 +0000 (Fri, 27 Jun 2008) | 1 line Changed paths: M /trunk/vasprintf.c vasprintf.c: fixed comment from r5408. ------------------------------------------------------------------------ r5408 | thevenyp | 2008-06-27 08:36:34 +0000 (Fri, 27 Jun 2008) | 6 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c M /trunk/tests/tsprintf.c M /trunk/vasprintf.c acinclude.m4: add a check defining va_copy macro when needed. vasprintf.c: use TMP_ALLOC instead of variable-length array (C99). tests/tfprintf.c tests/tsprintf.c: #define length of array instead of const int so as to avoid variable-length array (C99). tests/tprintf.c: #define length of array instead of const int so as to avoid variable-length array (C99). remove use of function dup (dependency with ). ------------------------------------------------------------------------ r5407 | vlefevre | 2008-06-25 09:08:26 +0000 (Wed, 25 Jun 2008) | 1 line Changed paths: M /trunk/README.dev README.dev: updated "To make a release" (mention various compilers). ------------------------------------------------------------------------ r5406 | vlefevre | 2008-06-23 02:27:02 +0000 (Mon, 23 Jun 2008) | 1 line Changed paths: M /trunk/configure.in configure.in: added comments about icc. ------------------------------------------------------------------------ r5405 | vlefevre | 2008-06-22 12:16:43 +0000 (Sun, 22 Jun 2008) | 2 lines Changed paths: M /trunk/TODO TODO: added "replace the *_THRESHOLD macros by global (TLS) variables that can be changed at run time [...]". ------------------------------------------------------------------------ r5400 | vlefevre | 2008-06-16 22:06:11 +0000 (Mon, 16 Jun 2008) | 4 lines Changed paths: M /trunk/INSTALL INSTALL: updated GMP's URL (the old one no longer worked), using http://www.gnu.org/software/gmp/ as suggested by Karl Berry (see GNU policies). ------------------------------------------------------------------------ r5398 | vlefevre | 2008-06-13 13:54:37 +0000 (Fri, 13 Jun 2008) | 3 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: changed the license for the inclusion of the manual in Debian (see to #include when compiled with a C++ compiler. Assume that mpfr_rnd_t and wchar_t arguments in a variadic functions are converted to 'int' by C++ compilers. ------------------------------------------------------------------------ r5387 | vlefevre | 2008-06-10 14:13:59 +0000 (Tue, 10 Jun 2008) | 4 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: generate an error (with a clear error message) with g++ and --enable-logging since compilation fails (--enable-logging is mainly for testing and is already incompatible with threading support anyway). ------------------------------------------------------------------------ r5386 | zimmerma | 2008-06-10 08:47:11 +0000 (Tue, 10 Jun 2008) | 3 lines Changed paths: M /trunk/algorithms.bib M /trunk/algorithms.tex M /trunk/exp_2.c the O(l^{1/2}) method to evaluate power series is due to Paterson and Stockmeyer and not Brent/Kung ------------------------------------------------------------------------ r5385 | vlefevre | 2008-06-09 16:21:34 +0000 (Mon, 09 Jun 2008) | 9 lines Changed paths: M /trunk/README.dev M /trunk/acinclude.m4 M /trunk/get_str.c M /trunk/mpfr-gmp.c M /trunk/tests/mpfr-test.h M /trunk/tests/reuse.c M /trunk/tests/tabs.c M /trunk/tests/tadd.c M /trunk/tests/tconst_log2.c M /trunk/tests/tcos.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tdiv.c M /trunk/tests/tests.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/tfactorial.c M /trunk/tests/tfma.c M /trunk/tests/tfms.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_str.c M /trunk/tests/tgmpop.c M /trunk/tests/thypot.c M /trunk/tests/tinternals.c M /trunk/tests/tlgamma.c M /trunk/tests/tmul.c M /trunk/tests/tout_str.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset_f.c M /trunk/tests/tset_si.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsqrt.c M /trunk/tests/tstckintc.c M /trunk/tests/tsub.c M /trunk/tests/tsubnormal.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tzeta_ui.c M /trunk/vasprintf.c Clean-up and various changes to be able to build MPFR with g++. But the following 3 tests currently fail with g++ 4.3.1: FAIL: tprintf FAIL: tsprintf FAIL: tfprintf This is an "Illegal instruction" error, so probably a bug in g++. [Edit: acinclude.m4 now uses gl_SIZE_MAX, typically from size_max.m4, but which is not installed on all machines; this will be added to the MPFR repository in changesets 5680 and 5683.] ------------------------------------------------------------------------ r5384 | vlefevre | 2008-06-09 14:09:34 +0000 (Mon, 09 Jun 2008) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: do not use pointer arithmetic on void *. ------------------------------------------------------------------------ r5383 | vlefevre | 2008-06-09 13:55:05 +0000 (Mon, 09 Jun 2008) | 4 lines Changed paths: M /trunk/configure.in configure.in: added -Wpointer-arith to gcc options (this warning is useful as pointer arithmetic on void * is a gcc extension and doesn't work with g++). ------------------------------------------------------------------------ r5382 | vlefevre | 2008-06-09 12:26:26 +0000 (Mon, 09 Jun 2008) | 2 lines Changed paths: M /trunk/README.dev README.dev: mentioned a libtool bug with recent versions of icc. ------------------------------------------------------------------------ r5381 | vlefevre | 2008-06-09 08:47:58 +0000 (Mon, 09 Jun 2008) | 4 lines Changed paths: M /trunk/sum.c sum.c: * Completed a comment about T ** and const T ** mismatch. * Removed a useless and misleading const that makes icc complain. ------------------------------------------------------------------------ r5380 | zimmerma | 2008-06-08 12:14:11 +0000 (Sun, 08 Jun 2008) | 2 lines Changed paths: M /trunk/algorithms.tex M /trunk/log.c fixed typos ------------------------------------------------------------------------ r5379 | zimmerma | 2008-06-07 21:45:24 +0000 (Sat, 07 Jun 2008) | 2 lines Changed paths: M /trunk/algorithms.tex use DeclareMathOperator for erf and erfc ------------------------------------------------------------------------ r5378 | zimmerma | 2008-06-07 11:34:59 +0000 (Sat, 07 Jun 2008) | 3 lines Changed paths: M /trunk/algorithms.tex M /trunk/atan.c fixed typo, added argument reduction for atan (we should try it since I believe atan is slow wrt exp, log, sin, cos for large precisions) ------------------------------------------------------------------------ r5377 | zimmerma | 2008-06-07 11:21:14 +0000 (Sat, 07 Jun 2008) | 3 lines Changed paths: M /trunk/algorithms.tex M /trunk/log1p.c simplified error analysis of log1p (did not match the code), and improved the code (in particular when 1+x is exact, directly call mpfr_log and avoid Ziv). ------------------------------------------------------------------------ r5376 | vlefevre | 2008-06-06 12:01:17 +0000 (Fri, 06 Jun 2008) | 2 lines Changed paths: M /trunk/rec_sqrt.c rec_sqrt.c: removed execution bit. ------------------------------------------------------------------------ r5375 | vlefevre | 2008-06-06 11:47:19 +0000 (Fri, 06 Jun 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: update about build problems and the FAQ. ------------------------------------------------------------------------ r5374 | vlefevre | 2008-06-06 02:10:19 +0000 (Fri, 06 Jun 2008) | 3 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: added a comment about why the cross reference to GNU Libtool doesn't work from MPFR's directory. ------------------------------------------------------------------------ r5373 | vlefevre | 2008-06-06 01:33:49 +0000 (Fri, 06 Jun 2008) | 5 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: added Section 4.1 "Headers and Libraries" partly based on GMP's. Note: in the generated mpfr.info file, the cross reference to libtool does not work (though GMP's info manual has exactly the same one and it works there). I couldn't figure out why. ------------------------------------------------------------------------ r5372 | vlefevre | 2008-06-06 01:17:08 +0000 (Fri, 06 Jun 2008) | 3 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: make cross reference in HTML similar to texinfo's default one in PDF. ------------------------------------------------------------------------ r5371 | vlefevre | 2008-06-04 11:57:28 +0000 (Wed, 04 Jun 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the month. ------------------------------------------------------------------------ r5370 | vlefevre | 2008-06-04 11:51:25 +0000 (Wed, 04 Jun 2008) | 2 lines Changed paths: M /trunk/mpfrlint mpfrlint: check the LGPL license version. ------------------------------------------------------------------------ r5369 | vlefevre | 2008-06-04 11:34:10 +0000 (Wed, 04 Jun 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated paragraph on the license in "Introduction to MPFR". ------------------------------------------------------------------------ r5368 | vlefevre | 2008-06-04 11:25:59 +0000 (Wed, 04 Jun 2008) | 3 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated GFDL version from 1.1 to 1.2 to match fdl.texi (this should have been done in r4059). ------------------------------------------------------------------------ r5367 | vlefevre | 2008-06-04 11:24:37 +0000 (Wed, 04 Jun 2008) | 2 lines Changed paths: M /trunk/mpfrlint mpfrlint: check GFDL versions. ------------------------------------------------------------------------ r5366 | vlefevre | 2008-06-04 11:13:23 +0000 (Wed, 04 Jun 2008) | 4 lines Changed paths: M /trunk/mpfr.texi M /trunk/update-version mpfr.texi, update-version: in the MPFR manual, replaced two http://www.mpfr.org/ by the URL corresponding to the version, which can be updated by update-version. ------------------------------------------------------------------------ r5365 | vlefevre | 2008-06-04 10:30:48 +0000 (Wed, 04 Jun 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: completed paragraph on MPFR vs double-precision numbers. ------------------------------------------------------------------------ r5364 | vlefevre | 2008-06-04 10:22:02 +0000 (Wed, 04 Jun 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: replaced each @code{mpfr} by MPFR (for consistency). ------------------------------------------------------------------------ r5362 | vlefevre | 2008-06-03 09:06:48 +0000 (Tue, 03 Jun 2008) | 2 lines Changed paths: M /trunk/mpfr.h mpfr.h: fixed a comment. ------------------------------------------------------------------------ r5361 | vlefevre | 2008-05-23 13:44:59 +0000 (Fri, 23 May 2008) | 2 lines Changed paths: M /trunk/tests tests: added tprintf to svn:ignore property. ------------------------------------------------------------------------ r5360 | vlefevre | 2008-05-23 11:00:28 +0000 (Fri, 23 May 2008) | 3 lines Changed paths: M /trunk/README.dev M /trunk/lngamma.c M /trunk/sub1sp.c Added documentation about "'var' may be used uninitialized in this function" warnings. ------------------------------------------------------------------------ r5359 | zimmerma | 2008-05-22 11:05:19 +0000 (Thu, 22 May 2008) | 3 lines Changed paths: M /trunk/lngamma.c M /trunk/sub1sp.c Added comments about int i = i trick to avoid warning about uninitialized variables. This has the advantage to generate no code, but works for gcc only. ------------------------------------------------------------------------ r5358 | zimmerma | 2008-05-21 08:23:21 +0000 (Wed, 21 May 2008) | 4 lines Changed paths: M /trunk/sub1sp.c initialize bbcp and bbcp1 to -1 (should be invalid) added MPFR_ASSERTN to check they are not -1 before reads simplified a test: (rnd == RNDN) || (rnd != RNDZ) ==> rnd != RNDZ ------------------------------------------------------------------------ r5357 | zimmerma | 2008-05-21 07:01:17 +0000 (Wed, 21 May 2008) | 4 lines Changed paths: M /trunk/lngamma.c M /trunk/sub1sp.c got rid of false (?) compiler warnings for uninitialized values -> we might want to revert this change if we find a better solution and/or if the problem is fixed in gcc ------------------------------------------------------------------------ r5356 | vlefevre | 2008-05-20 09:38:38 +0000 (Tue, 20 May 2008) | 4 lines Changed paths: M /trunk/cache.c M /trunk/hypot.c M /trunk/mpfr-impl.h M /trunk/round_near_x.c Reverted changeset r5355. Better patch to avoid the warnings "warning: label 'addoneulp_doit' defined but not used" in MPFR_RNDRAW_GEN by adding the dummy code in the macro itself. ------------------------------------------------------------------------ r5355 | vlefevre | 2008-05-20 09:31:17 +0000 (Tue, 20 May 2008) | 4 lines Changed paths: M /trunk/cache.c M /trunk/hypot.c M /trunk/mpfr-impl.h M /trunk/round_near_x.c Avoid warnings "warning: label 'addoneulp_doit' defined but not used" due to the use of MPFR_RNDRAW_GEN. Dummy source code is inserted, but this is safe, clean (optimized away) and IMHO not too obtrusive. ------------------------------------------------------------------------ r5353 | vlefevre | 2008-05-08 01:12:42 +0000 (Thu, 08 May 2008) | 3 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: locally add -I$srcdir to CPPFLAGS for the thread-safe test (fixes bug #5556). ------------------------------------------------------------------------ r5351 | vlefevre | 2008-04-10 08:13:11 +0000 (Thu, 10 Apr 2008) | 2 lines Changed paths: M /trunk/INSTALL INSTALL: added a paragraph about -ffast-math / -fast compiler options. ------------------------------------------------------------------------ r5350 | vlefevre | 2008-04-07 09:13:52 +0000 (Mon, 07 Apr 2008) | 4 lines Changed paths: M /trunk/tests/tcmp.c tcmp.c: fixed some tests (if mpfr_cmp2 returns an incorrect result, the bug may be some non-reproducible behavior, so don't compute it a second time to say what the value was!) and clean-up. ------------------------------------------------------------------------ r5349 | zimmerma | 2008-04-07 08:54:32 +0000 (Mon, 07 Apr 2008) | 2 lines Changed paths: M /trunk/tests/tcmp.c fixed compiler warning ------------------------------------------------------------------------ r5348 | zimmerma | 2008-04-06 21:14:07 +0000 (Sun, 06 Apr 2008) | 2 lines Changed paths: M /trunk/tests/memory.c M /trunk/tests/tcmp2.c some other changes suggested by Patrick Pelissier for 16-bit portability ------------------------------------------------------------------------ r5347 | zimmerma | 2008-04-06 20:03:47 +0000 (Sun, 06 Apr 2008) | 4 lines Changed paths: M /trunk/tests/tcmp.c M /trunk/tests/tdiv.c M /trunk/tests/tget_f.c M /trunk/tests/tout_str.c M /trunk/tests/tpow_z.c M /trunk/tests/tset_d.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tstrtofr.c M /trunk/tests/tui_sub.c a few patches suggested by Patrick Pelissier to ease porting to 16-bit architectures: removed useless #include , changed 1024 to 1024L, int i to lng i ------------------------------------------------------------------------ r5346 | zimmerma | 2008-03-17 12:14:38 +0000 (Mon, 17 Mar 2008) | 2 lines Changed paths: M /trunk/TODO added item about frac_* functions ------------------------------------------------------------------------ r5345 | zimmerma | 2008-03-16 12:45:07 +0000 (Sun, 16 Mar 2008) | 2 lines Changed paths: M /trunk/modf.c fixed typo ------------------------------------------------------------------------ r5344 | thevenyp | 2008-03-11 12:35:57 +0000 (Tue, 11 Mar 2008) | 4 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tprintf.c tests/tfprintf.c: set output to stdout when invocked with one command-line parameter. tests/tprintf.c: add IO errors processing. ------------------------------------------------------------------------ r5343 | thevenyp | 2008-03-10 16:33:41 +0000 (Mon, 10 Mar 2008) | 3 lines Changed paths: M /trunk/tests/Makefile.am A /trunk/tests/tprintf.c tests/tprintf.c: add tests for mpfr_printf and mpfr_vprintf. Makefile.am: add tprintf.c to check_PROGRAMS. ------------------------------------------------------------------------ r5342 | thevenyp | 2008-03-10 16:18:45 +0000 (Mon, 10 Mar 2008) | 6 lines Changed paths: M /trunk/TODO M /trunk/tests/tfprintf.c M /trunk/vasprintf.c TODO: remove newly added functions vasprintf.c: change type of some variables taking care of signed/unsigned comparisons, improve conditional tests, improve buffer allocation, improve comments. tests/tfprintf.c: remove silly code. ------------------------------------------------------------------------ r5341 | thevenyp | 2008-03-10 15:41:09 +0000 (Mon, 10 Mar 2008) | 5 lines Changed paths: M /trunk/acinclude.m4 M /trunk/tests/tfprintf.c M /trunk/vasprintf.c acinclude.m4: add check for long long compiler support, define HAVE_LONG_LONG. vasprintf.c: raise an error when it encounter an unsupported format in format string. tests/tfprintf.c: HAVE_SDTINT_H -> _MPFR_H_HAVE_INTMAX_T ------------------------------------------------------------------------ r5340 | thevenyp | 2008-03-10 14:14:12 +0000 (Mon, 10 Mar 2008) | 4 lines Changed paths: M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c: fix rounding bit bug with %RNa. tests/tsprintf.c: add tests for %RNa (rounding bit bug, tie case, trailing zeros in fractional part. ------------------------------------------------------------------------ r5339 | thevenyp | 2008-03-10 13:56:46 +0000 (Mon, 10 Mar 2008) | 5 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/vasprintf.c vasprintf.c: fix bug in macro CONSUME_VA_ARG with a mp_limb_t or mp_limb_t array argument vasprintf.c: clean code storing the number of character in a pointer and fix bug with a mp_limb_t or mp_limb_t array argument tests/tfprintf.c: add tests for %n with all kinds of type, get rid of machine dependent limits of type (use +1/-1 instead) ------------------------------------------------------------------------ r5338 | thevenyp | 2008-03-10 10:56:03 +0000 (Mon, 10 Mar 2008) | 3 lines Changed paths: M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c: fix bug of forgotten decimal point with %#.0Rf tests/tsprintf.c: add test with %#Rf and an integer mpfr_t ------------------------------------------------------------------------ r5337 | thevenyp | 2008-03-10 10:06:48 +0000 (Mon, 10 Mar 2008) | 3 lines Changed paths: M /trunk/algorithms.tex M /trunk/li2.c li2.c: improve error estimation in Ziv loop. algorithm.tex:improve proof of mpfr_li2 algorithm. ------------------------------------------------------------------------ r5336 | thevenyp | 2008-03-10 09:53:18 +0000 (Mon, 10 Mar 2008) | 3 lines Changed paths: M /trunk/algorithms.tex M /trunk/hypot.c hypot.c: change shift amount for exponents so as to avoid overflow in Ziv loop. algorithm.tex: improve proof for mpfr_hypot algorithm (unfinished). ------------------------------------------------------------------------ r5335 | vlefevre | 2008-03-07 15:08:07 +0000 (Fri, 07 Mar 2008) | 3 lines Changed paths: M /trunk/tests/tgeneric.c tgeneric.c: avoid a warning with gcc 4.2+ about a test that is always true (the style of the code is now a bit better too). ------------------------------------------------------------------------ r5334 | thevenyp | 2008-02-29 14:29:15 +0000 (Fri, 29 Feb 2008) | 2 lines Changed paths: M /trunk/tests/reuse.c add mpfr_hypot ------------------------------------------------------------------------ r5333 | thevenyp | 2008-02-29 12:30:07 +0000 (Fri, 29 Feb 2008) | 2 lines Changed paths: M /trunk/tests/reuse.c fix wrong arguments (set in r5332) ------------------------------------------------------------------------ r5332 | thevenyp | 2008-02-29 12:16:26 +0000 (Fri, 29 Feb 2008) | 2 lines Changed paths: M /trunk/tests/reuse.c add missing functions ------------------------------------------------------------------------ r5331 | thevenyp | 2008-02-29 10:23:46 +0000 (Fri, 29 Feb 2008) | 2 lines Changed paths: M /trunk/tests/reuse.c cosmetic changes ------------------------------------------------------------------------ r5330 | thevenyp | 2008-02-28 16:11:33 +0000 (Thu, 28 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tfprintf.c add mixed format tests (with different types and different sizes) ------------------------------------------------------------------------ r5329 | thevenyp | 2008-02-28 16:05:50 +0000 (Thu, 28 Feb 2008) | 3 lines Changed paths: M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c: fix "%%" bug tests/tsprintf.c: add a test setting "%%" bug off ------------------------------------------------------------------------ r5328 | thevenyp | 2008-02-28 15:17:52 +0000 (Thu, 28 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c cosmetic changes ------------------------------------------------------------------------ r5327 | thevenyp | 2008-02-28 15:16:09 +0000 (Thu, 28 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c use system number of bits in the significant of a double (instead of 53) ------------------------------------------------------------------------ r5326 | thevenyp | 2008-02-27 15:19:55 +0000 (Wed, 27 Feb 2008) | 2 lines Changed paths: M /trunk/cosh.c M /trunk/sinh.c M /trunk/sinh_cosh.c add handle for the case exp(x) overflows but sinh(x) is representable ------------------------------------------------------------------------ r5325 | thevenyp | 2008-02-27 13:42:35 +0000 (Wed, 27 Feb 2008) | 2 lines Changed paths: M /trunk/add_d.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/div_d.c M /trunk/mul_d.c M /trunk/sub_d.c further code simplification ------------------------------------------------------------------------ r5324 | thevenyp | 2008-02-27 12:57:24 +0000 (Wed, 27 Feb 2008) | 2 lines Changed paths: M /trunk/mul_d.c code simplification (same as in r5323) ------------------------------------------------------------------------ r5323 | thevenyp | 2008-02-27 12:55:12 +0000 (Wed, 27 Feb 2008) | 2 lines Changed paths: M /trunk/add_d.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/div_d.c M /trunk/sub_d.c code simplification. ------------------------------------------------------------------------ r5322 | thevenyp | 2008-02-27 11:13:18 +0000 (Wed, 27 Feb 2008) | 4 lines Changed paths: M /trunk/add_d.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/div_d.c M /trunk/sub_d.c M /trunk/tests/tadd_d.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv_d.c M /trunk/tests/tmul_d.c M /trunk/tests/tsub_d.c add_d.c, div_d.c, sub_d.c, d_div.c, d_sub.c: restore flags in case of exception. This fixes the bug revealed by MPFR_SUSPICIOUS_OVERFLOW tests/tadd_d.c, tests/tsub_d.c, tests/tdiv_d.c, tests/tmul_d.c, tests/td_sub.c, tests/td_div.c, test/tmul_d.c: add checks for exception flags and ternary value ------------------------------------------------------------------------ r5321 | thevenyp | 2008-02-27 10:00:11 +0000 (Wed, 27 Feb 2008) | 3 lines Changed paths: M /trunk/mul_d.c M /trunk/tests/tmul_d.c mul_d.c: restore flags set by mpfr_mul. This fixes the bug revealed by MPFR_SUSPICIOUS_OVERFLOW test/tmul_d.c: add checks for exception flags ------------------------------------------------------------------------ r5320 | vlefevre | 2008-02-27 09:43:38 +0000 (Wed, 27 Feb 2008) | 3 lines Changed paths: M /trunk/README.dev README.dev: updated the section about new functions (added a paragraph on exception handling). ------------------------------------------------------------------------ r5319 | thevenyp | 2008-02-26 17:45:53 +0000 (Tue, 26 Feb 2008) | 2 lines Changed paths: M /trunk/algorithms.tex improve proof for euclidean distance algorithm (unfinished) ------------------------------------------------------------------------ r5318 | vlefevre | 2008-02-26 16:20:04 +0000 (Tue, 26 Feb 2008) | 2 lines Changed paths: M /trunk/pow_z.c pow_z.c: rewrote an ambiguous comment. ------------------------------------------------------------------------ r5317 | vlefevre | 2008-02-26 16:10:28 +0000 (Tue, 26 Feb 2008) | 2 lines Changed paths: M /trunk/pow_z.c pow_z.c: removed obsolete comments and updated a comment. ------------------------------------------------------------------------ r5316 | vlefevre | 2008-02-26 15:57:53 +0000 (Tue, 26 Feb 2008) | 4 lines Changed paths: M /trunk/pow_z.c pow_z.c: the same variable was used with two different meanings. Changed the type and the name of the one inside the Ziv loop (unsigned is theoretically more correct due to the bitwise OR). ------------------------------------------------------------------------ r5315 | zimmerma | 2008-02-24 18:17:18 +0000 (Sun, 24 Feb 2008) | 8 lines Changed paths: M /trunk/pow_z.c M /trunk/tests/tpow_z.c fixed bug reported by Carl Witty (on 32-bit computers): sage: RR(1.99999999)^RR(-(2^30)) 5.11264311088393e-323228495 sage: RR(1.999999999)^RR(-(2^30)) 0.000000000000000 sage: RR(2.0)^RR(-(2^30)) 2.38256490488795e-323228497 ------------------------------------------------------------------------ r5314 | zimmerma | 2008-02-23 22:52:30 +0000 (Sat, 23 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tpow_z.c added bug reported by Carl Witty ------------------------------------------------------------------------ r5313 | thevenyp | 2008-02-22 16:04:09 +0000 (Fri, 22 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tli2.c remove commented code ------------------------------------------------------------------------ r5312 | thevenyp | 2008-02-22 15:59:35 +0000 (Fri, 22 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tli2.c add worst cases for RNDZ and RNDU with inexact flag checking ------------------------------------------------------------------------ r5311 | vlefevre | 2008-02-22 15:49:36 +0000 (Fri, 22 Feb 2008) | 2 lines Changed paths: M /trunk/hypot.c hypot.c: added a FIXME comment. ------------------------------------------------------------------------ r5310 | vlefevre | 2008-02-22 15:45:27 +0000 (Fri, 22 Feb 2008) | 3 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: one can have a better upper bound on \sqrt{x^2+y^2}-|x| (added as a comment in case this can be useful). ------------------------------------------------------------------------ r5309 | vlefevre | 2008-02-22 15:17:19 +0000 (Fri, 22 Feb 2008) | 2 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: use hyperref. ------------------------------------------------------------------------ r5308 | thevenyp | 2008-02-21 16:42:13 +0000 (Thu, 21 Feb 2008) | 2 lines Changed paths: M /trunk/algorithms.tex add more details in mpfr_hypot description ------------------------------------------------------------------------ r5307 | thevenyp | 2008-02-21 16:40:40 +0000 (Thu, 21 Feb 2008) | 3 lines Changed paths: M /trunk/algorithms.tex cosmetic change: display "EXP" in small capitals no more use of {\rm \EXP}, use macro \Exp everywhere ------------------------------------------------------------------------ r5306 | thevenyp | 2008-02-20 14:04:46 +0000 (Wed, 20 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tli2.c add worst case test ------------------------------------------------------------------------ r5305 | thevenyp | 2008-02-20 11:54:26 +0000 (Wed, 20 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c add test with locale da_DK ------------------------------------------------------------------------ r5304 | thevenyp | 2008-02-20 10:33:33 +0000 (Wed, 20 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tfma.c M /trunk/tests/tfms.c actually trigger overflow on all architectures ------------------------------------------------------------------------ r5303 | zimmerma | 2008-02-20 08:36:44 +0000 (Wed, 20 Feb 2008) | 2 lines Changed paths: M /trunk/nightly-test added MPFR_SUSPICIOUS_OVERFLOW in nightly tests ------------------------------------------------------------------------ r5302 | vlefevre | 2008-02-20 03:08:46 +0000 (Wed, 20 Feb 2008) | 3 lines Changed paths: M /trunk/hypot.c hypot.c: fixed overflow flag problem in RNDD/RNDZ modes (testcase was added in r5301, and another check in r5300). ------------------------------------------------------------------------ r5301 | vlefevre | 2008-02-20 02:51:30 +0000 (Wed, 20 Feb 2008) | 2 lines Changed paths: M /trunk/tests/thypot.c tests/thypot.c: added check_overflow test (currently fails in 32 bits). ------------------------------------------------------------------------ r5300 | vlefevre | 2008-02-20 02:38:05 +0000 (Wed, 20 Feb 2008) | 7 lines Changed paths: M /trunk/tests/tgeneric.c tests/tgeneric.c: added a test that detects suspicious overflows and fails when the overflow flag is not set. This test is enabled only if the MPFR_SUSPICIOUS_OVERFLOW environment variable is set, and shows a bug in mpfr_hypot on 32-bit machines (i.e. when the current exponent range is the maximum exponent range, so that mpfr_check_range() has no effect). ------------------------------------------------------------------------ r5299 | thevenyp | 2008-02-19 15:54:49 +0000 (Tue, 19 Feb 2008) | 2 lines Changed paths: M /trunk/hypot.c restore flag overflow dropped by MPFR_SAVE_EXPO ------------------------------------------------------------------------ r5298 | thevenyp | 2008-02-18 17:30:02 +0000 (Mon, 18 Feb 2008) | 5 lines Changed paths: M /trunk/tests/tests.c M /trunk/tests/tsum.c use of (*__gmp_allocate_func)/(*__gmp_free_func) instead of mpfr_allocate_func/mpfr_free_func; the modification in r5281 doesn't work when mpfr is compiled with --gmp_build option. ------------------------------------------------------------------------ r5297 | vlefevre | 2008-02-18 16:37:03 +0000 (Mon, 18 Feb 2008) | 2 lines Changed paths: M /trunk/hypot.c hypot.c: it's better to scale by (Ex + Ey) / 2. ------------------------------------------------------------------------ r5296 | vlefevre | 2008-02-18 16:06:20 +0000 (Mon, 18 Feb 2008) | 3 lines Changed paths: M /trunk/README.dev README.dev: now, the ChangeLog file should be in UTF-8, like in other software (not much difference in practice). ------------------------------------------------------------------------ r5295 | thevenyp | 2008-02-18 15:58:36 +0000 (Mon, 18 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c improve code coverage ------------------------------------------------------------------------ r5294 | thevenyp | 2008-02-18 15:39:45 +0000 (Mon, 18 Feb 2008) | 2 lines Changed paths: M /trunk/printf.c M /trunk/tests/tsprintf.c code simplification ------------------------------------------------------------------------ r5293 | thevenyp | 2008-02-18 13:48:11 +0000 (Mon, 18 Feb 2008) | 2 lines Changed paths: M /trunk/vasprintf.c take trailing zeros into account when separating thousands ------------------------------------------------------------------------ r5292 | zimmerma | 2008-02-18 13:24:47 +0000 (Mon, 18 Feb 2008) | 2 lines Changed paths: M /trunk/hypot.c fixed problem when x and y are very small ------------------------------------------------------------------------ r5291 | thevenyp | 2008-02-18 12:37:31 +0000 (Mon, 18 Feb 2008) | 4 lines Changed paths: M /trunk/hypot.c M /trunk/tests/thypot.c hypot.c: set flags when returning tests/thypot.c: change custom random tests to tgeneric ones ------------------------------------------------------------------------ r5290 | vlefevre | 2008-02-15 17:38:31 +0000 (Fri, 15 Feb 2008) | 12 lines Changed paths: M /trunk/add1sp.c M /trunk/fma.c M /trunk/fms.c M /trunk/li2.c M /trunk/mpfr.texi M /trunk/mul.c M /trunk/pow.c M /trunk/sub1sp.c M /trunk/tests/tabs.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tatan.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcos.c M /trunk/tests/tcot.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texp.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tget_str.c M /trunk/tests/tgmpop.c M /trunk/tests/tinternals.c M /trunk/tests/tlog.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tnext.c M /trunk/tests/tpow.c M /trunk/tests/tpow_z.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsprintf.c M /trunk/tests/tsqr.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsum.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_sub.c M /trunk/tests/tzeta.c For the terminating null pointer of the functions mpfr_inits, mpfr_inits2, mpfr_clears, always use the type mpfr_ptr (no longer void *). Updated the description of these functions in the manual (mpfr.texi). The reason is that the C standard does not guarantee that (void *) 0 has the same representation as a null pointer to a structure (and even the same size). In most C implementations, the representations are the same, but one never knows (dynamical checking is also always possible)... The change has been done with: perl -pi -e \ 's/(mpfr_(clear|init)s.*)\(void *\*\) *0\)/$1(mpfr_ptr) 0)/' **/*.c under zsh. ------------------------------------------------------------------------ r5289 | thevenyp | 2008-02-15 15:58:21 +0000 (Fri, 15 Feb 2008) | 2 lines Changed paths: M /trunk/vasprintf.c fix typo ------------------------------------------------------------------------ r5288 | thevenyp | 2008-02-15 15:30:06 +0000 (Fri, 15 Feb 2008) | 3 lines Changed paths: M /trunk/tests/tsprintf.c M /trunk/vasprintf.c vasprintf.c: fix buffer_sandwich (use for thousands separator) tests/tsprintf.c: add tests with "da_DK" locale ------------------------------------------------------------------------ r5287 | thevenyp | 2008-02-15 14:04:11 +0000 (Fri, 15 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tabs.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tfrac.c M /trunk/tests/tset.c add generic tests ------------------------------------------------------------------------ r5286 | thevenyp | 2008-02-15 12:49:53 +0000 (Fri, 15 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr.texi cosmetic changes ------------------------------------------------------------------------ r5285 | thevenyp | 2008-02-15 09:10:03 +0000 (Fri, 15 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c fix incorrect function call ------------------------------------------------------------------------ r5284 | thevenyp | 2008-02-14 17:09:35 +0000 (Thu, 14 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr.texi M /trunk/tests/tsprintf.c M /trunk/vasprintf.c fix "%P" case, add test for it. ------------------------------------------------------------------------ r5283 | thevenyp | 2008-02-13 17:21:27 +0000 (Wed, 13 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tfprintf.c avoid style 'f' with large numbers ------------------------------------------------------------------------ r5282 | vlefevre | 2008-02-13 13:43:01 +0000 (Wed, 13 Feb 2008) | 2 lines Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r5281 | thevenyp | 2008-02-12 15:32:22 +0000 (Tue, 12 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tests.c M /trunk/tests/tsum.c use of mpfr_allocate_func/mpfr_free_func instead of malloc/free ------------------------------------------------------------------------ r5280 | thevenyp | 2008-02-12 14:46:22 +0000 (Tue, 12 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tget_str.c remove unneeded free and mpfr_clear ------------------------------------------------------------------------ r5279 | thevenyp | 2008-02-12 14:40:34 +0000 (Tue, 12 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c add tests for mpfr_snprintf and mpfr_vsnprintf ------------------------------------------------------------------------ r5278 | vlefevre | 2008-02-12 14:21:21 +0000 (Tue, 12 Feb 2008) | 2 lines Changed paths: M /trunk/README.dev README.dev: added a note about freeing the memory in the tests. ------------------------------------------------------------------------ r5277 | thevenyp | 2008-02-12 13:50:14 +0000 (Tue, 12 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tget_str.c M /trunk/tests/tout_str.c move tests of mpfr_get_str function from tout_str.c to tget_str.c ------------------------------------------------------------------------ r5276 | thevenyp | 2008-02-12 13:46:16 +0000 (Tue, 12 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tsprintf.c initialize fmt[] size ------------------------------------------------------------------------ r5275 | thevenyp | 2008-02-12 13:30:39 +0000 (Tue, 12 Feb 2008) | 4 lines Changed paths: M /trunk/tests/tfprintf.c M /trunk/tests/tsprintf.c tfprintf.c: fix comment. tsprintf.c: fix comment and get rid of libc rand(). ------------------------------------------------------------------------ r5274 | thevenyp | 2008-02-12 12:52:35 +0000 (Tue, 12 Feb 2008) | 3 lines Changed paths: M /trunk/tests/Makefile.am A /trunk/tests/tfprintf.c D /trunk/tests/tprintf.c A /trunk/tests/tsprintf.c (from /trunk/tests/tprintf.c:5272) rename tprintf.c as tsprintf.c, because it does not deal with mpfr_printf. add tests for mpfr_fprintf functions ------------------------------------------------------------------------ r5273 | thevenyp | 2008-02-12 08:43:02 +0000 (Tue, 12 Feb 2008) | 3 lines Changed paths: M /trunk/printf.c remove errno setting in snprintf, it is already done in vasprintf correct grammatical faults in comment ------------------------------------------------------------------------ r5272 | vlefevre | 2008-02-08 16:25:37 +0000 (Fri, 08 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tests.c tests/tests.c: undo r5270. ------------------------------------------------------------------------ r5271 | vlefevre | 2008-02-08 16:23:31 +0000 (Fri, 08 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tests.c tests/tests.c: fixed assertion failure introduced in r5265. ------------------------------------------------------------------------ r5270 | thevenyp | 2008-02-08 16:19:41 +0000 (Fri, 08 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tests.c remove exponent checking ------------------------------------------------------------------------ r5269 | thevenyp | 2008-02-08 13:53:09 +0000 (Fri, 08 Feb 2008) | 3 lines Changed paths: M /trunk/mpfr-gmp.h M /trunk/set_uj.c mpfr-gmp.h: Cancel r5261 changes removing the overload due to added test. set_uj.c: Don't call memset when len is zero. ------------------------------------------------------------------------ r5268 | thevenyp | 2008-02-08 13:20:24 +0000 (Fri, 08 Feb 2008) | 2 lines Changed paths: M /trunk/vasprintf.c improve assertion. ------------------------------------------------------------------------ r5267 | thevenyp | 2008-02-08 09:59:57 +0000 (Fri, 08 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/tests/tprintf.c M /trunk/vasprintf.c add support of thousands separator option (' flag, defined in Single UNIX Specification v2) ------------------------------------------------------------------------ r5266 | thevenyp | 2008-02-08 09:41:25 +0000 (Fri, 08 Feb 2008) | 2 lines Changed paths: M /trunk/vasprintf.c better string buffer management ------------------------------------------------------------------------ r5265 | vlefevre | 2008-02-07 14:40:53 +0000 (Thu, 07 Feb 2008) | 9 lines Changed paths: M /trunk/tests/tacosh.c M /trunk/tests/tests.c M /trunk/tests/tgeneric.c In tests_default_random, allow emin and emax to be outside of the current exponent range, so that underflow/overflow checks can be done on 64-bit machines. If the resulting random number is outside of the current range, the exponent range is extended, and restored by the caller once the test has been done. In tests/tacosh.c, changed TEST_RANDOM_EMIN and TEST_RANDOM_EMAX to MPFR_EMAX_MAX for test_generic_huge, so that the intermediate overflow case in mpfr_acosh is tested on 64-bit machines. ------------------------------------------------------------------------ r5264 | thevenyp | 2008-02-07 14:17:36 +0000 (Thu, 07 Feb 2008) | 3 lines Changed paths: M /trunk/tests/tprintf.c fix comment. In fact, GNU libc4 accept '%F', libc5, glibc 2.0, and glibc 2.1 don't, and glibc 2.2 accept it with C99 semantics. ------------------------------------------------------------------------ r5263 | vlefevre | 2008-02-06 14:17:26 +0000 (Wed, 06 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr.h mpfr.h: added a comment about the mpfr_rnd_t enum. ------------------------------------------------------------------------ r5262 | vlefevre | 2008-02-06 13:48:33 +0000 (Wed, 06 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: removed MPFR_CHECK* macros as they are not used. ------------------------------------------------------------------------ r5261 | thevenyp | 2008-02-05 17:08:25 +0000 (Tue, 05 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr-gmp.h MPN_ZERO (dst, n) doesn't call memset when n==0, it prevents warning when compiled with gcc -D_FORTIFY_SOURCE ------------------------------------------------------------------------ r5260 | zimmerma | 2008-02-04 16:39:56 +0000 (Mon, 04 Feb 2008) | 2 lines Changed paths: M /trunk/TODO added suggestion from Keith Briggs ------------------------------------------------------------------------ r5259 | thevenyp | 2008-02-04 16:15:06 +0000 (Mon, 04 Feb 2008) | 3 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c vasprintf.c: add code for %n specifier with any type tests/tprintf.c: add test for %n specifier ------------------------------------------------------------------------ r5258 | thevenyp | 2008-02-04 16:10:17 +0000 (Mon, 04 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr.texi improve mention on format string restriction ------------------------------------------------------------------------ r5257 | thevenyp | 2008-02-04 15:28:16 +0000 (Mon, 04 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mention restriction on type field in the format string. ------------------------------------------------------------------------ r5256 | thevenyp | 2008-02-04 14:28:14 +0000 (Mon, 04 Feb 2008) | 2 lines Changed paths: M /trunk/vasprintf.c check possible overflows in exponent part, improve comments. ------------------------------------------------------------------------ r5255 | thevenyp | 2008-02-04 13:46:52 +0000 (Mon, 04 Feb 2008) | 2 lines Changed paths: M /trunk/printf.c ensure null-terminated string for (v)snprintf. ------------------------------------------------------------------------ r5254 | thevenyp | 2008-02-01 16:07:40 +0000 (Fri, 01 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr.texi improve mpfr_printf documentation ------------------------------------------------------------------------ r5253 | vlefevre | 2008-02-01 14:08:37 +0000 (Fri, 01 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tests.c tests.c: fixed perror argument in data_check. ------------------------------------------------------------------------ r5252 | thevenyp | 2008-02-01 14:02:52 +0000 (Fri, 01 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tests.c improve error handling ------------------------------------------------------------------------ r5251 | thevenyp | 2008-02-01 12:05:07 +0000 (Fri, 01 Feb 2008) | 2 lines Changed paths: M /trunk/tests/tests.c check fscanf return value, manage error case ------------------------------------------------------------------------ r5249 | zimmerma | 2008-02-01 11:02:22 +0000 (Fri, 01 Feb 2008) | 2 lines Changed paths: M /trunk/mpfr.texi added parentheses to avoid ambiguity (suggested by Keith Briggs) ------------------------------------------------------------------------ r5248 | thevenyp | 2008-02-01 09:48:38 +0000 (Fri, 01 Feb 2008) | 2 lines Changed paths: M /trunk/printf.c add some "%s" format string to prevent format string attack ------------------------------------------------------------------------ r5247 | thevenyp | 2008-01-31 08:41:14 +0000 (Thu, 31 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c fix typo ------------------------------------------------------------------------ r5246 | thevenyp | 2008-01-30 13:19:36 +0000 (Wed, 30 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c homogeneous use of logical variable ------------------------------------------------------------------------ r5245 | vlefevre | 2008-01-30 12:48:51 +0000 (Wed, 30 Jan 2008) | 3 lines Changed paths: M /trunk/rec_sqrt.c rec_sqrt.c: use MPFR_GET_EXP instead of MPFR_EXP, and avoid the bitwise AND on a signed integer. ------------------------------------------------------------------------ r5244 | vlefevre | 2008-01-30 12:39:02 +0000 (Wed, 30 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr.h M /trunk/rec_sqrt.c M /trunk/tests/tprintf.c M /trunk/tests/trec_sqrt.c Reformat. ------------------------------------------------------------------------ r5242 | vlefevre | 2008-01-30 12:29:13 +0000 (Wed, 30 Jan 2008) | 2 lines Changed paths: M /trunk/INSTALL M /trunk/mpfr.texi Document how to produce PDF and HTML versions of the manual. ------------------------------------------------------------------------ r5241 | thevenyp | 2008-01-30 10:06:38 +0000 (Wed, 30 Jan 2008) | 2 lines Changed paths: M /trunk/tests/tprintf.c change to values acceptable by 32-bits machines ------------------------------------------------------------------------ r5240 | thevenyp | 2008-01-30 09:34:21 +0000 (Wed, 30 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c fix wrong statement in MPFR_ASSERTD ------------------------------------------------------------------------ r5239 | zimmerma | 2008-01-30 08:19:41 +0000 (Wed, 30 Jan 2008) | 5 lines Changed paths: M /trunk/nightly-test added compilation options suggested by Debian: http://alioth.debian.org/projects/hardening/ https://lists.debian.org/debian-devel/2007/12/msg00090.html (except -Wl,zrelro which does not seem to work) ------------------------------------------------------------------------ r5238 | thevenyp | 2008-01-29 17:59:18 +0000 (Tue, 29 Jan 2008) | 3 lines Changed paths: M /trunk/tests/tprintf.c So as to avoid conversion error, get rid of mpfr_set_d/mpf_set_d except in random_double(). Skip conversion error in random_double(). ------------------------------------------------------------------------ r5237 | thevenyp | 2008-01-29 17:01:24 +0000 (Tue, 29 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c fix typo in comment ------------------------------------------------------------------------ r5236 | thevenyp | 2008-01-29 17:00:31 +0000 (Tue, 29 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c get rid of limitation on number of character by specifier ------------------------------------------------------------------------ r5235 | thevenyp | 2008-01-29 15:42:47 +0000 (Tue, 29 Jan 2008) | 4 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c vasprintf.c: fix %Rg case tests/tprintf.c: add %Re, %Rf, and %Rg tests tests/tprintf.c: add random checking against libc ------------------------------------------------------------------------ r5231 | thevenyp | 2008-01-28 10:46:20 +0000 (Mon, 28 Jan 2008) | 2 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c remove (undocumented) integer conversion support for mpfr_t ------------------------------------------------------------------------ r5230 | thevenyp | 2008-01-28 10:34:46 +0000 (Mon, 28 Jan 2008) | 2 lines Changed paths: M /trunk/printf.c M /trunk/vasprintf.c set errno to EOVERFLOW when printf-like functions should return value exceeding INT_MAX ------------------------------------------------------------------------ r5229 | thevenyp | 2008-01-28 10:19:09 +0000 (Mon, 28 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr.h change internal name of printf-like functions under preprocessor conditionals, add explanation in comment. ------------------------------------------------------------------------ r5228 | vlefevre | 2008-01-25 15:09:21 +0000 (Fri, 25 Jan 2008) | 2 lines Changed paths: M /trunk/TODO TODO: added a possible class of tests. ------------------------------------------------------------------------ r5225 | vlefevre | 2008-01-23 17:01:24 +0000 (Wed, 23 Jan 2008) | 2 lines Changed paths: M /trunk/tests/tests.c tests.c: remove a blank line in an error message. ------------------------------------------------------------------------ r5224 | vlefevre | 2008-01-23 16:51:02 +0000 (Wed, 23 Jan 2008) | 4 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tests.c M /trunk/tests/tversion.c Test that the MPFR library version matches the mpfr.h version in any test file (this should avoid some bug reports that don't mention the real problem). ------------------------------------------------------------------------ r5222 | vlefevre | 2008-01-23 16:24:59 +0000 (Wed, 23 Jan 2008) | 2 lines Changed paths: M /trunk/tests/tversion.c tversion.c: improved an error message. ------------------------------------------------------------------------ r5219 | vlefevre | 2008-01-23 13:36:21 +0000 (Wed, 23 Jan 2008) | 2 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: fixed configure test for TLS support. ------------------------------------------------------------------------ r5217 | vlefevre | 2008-01-23 12:29:30 +0000 (Wed, 23 Jan 2008) | 2 lines Changed paths: M /trunk/NEWS NEWS file update (configure test for TLS support). ------------------------------------------------------------------------ r5213 | vlefevre | 2008-01-23 12:17:51 +0000 (Wed, 23 Jan 2008) | 2 lines Changed paths: M /trunk/add_d.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/div_d.c M /trunk/li2.c M /trunk/mbench/generate.c M /trunk/mbench/mpfr-gfx.c M /trunk/mbench/mpfr-v4.c M /trunk/mbench/mpfr-v6.c M /trunk/modf.c M /trunk/mul_d.c M /trunk/printf.c M /trunk/rec_sqrt.c M /trunk/rem1.c M /trunk/sinh_cosh.c M /trunk/sub_d.c M /trunk/tests/tadd_d.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv_d.c M /trunk/tests/tfmod.c M /trunk/tests/tli2.c M /trunk/tests/tmodf.c M /trunk/tests/tmul_d.c M /trunk/tests/tprintf.c M /trunk/tests/trec_sqrt.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsub_d.c M /trunk/vasprintf.c Added svn:keywords and svn:eol-style properties on new .c files. ------------------------------------------------------------------------ r5212 | vlefevre | 2008-01-23 11:46:10 +0000 (Wed, 23 Jan 2008) | 9 lines Changed paths: M /trunk/Makefile.am M /trunk/acinclude.m4 M /trunk/mpfr-impl.h A /trunk/mpfr-thread.h Changes related to thread-local variables / TLS support. * Moved the MPFR_THREAD_ATTR definition from mpfr-impl.h into a new header file mpfr-thread.h, and updated Makefile.am accordingly. * Removed the compiler check __MPFR_GNUC(3,3) || __MPFR_ICC(8,1,0) as this test leaded to both false positives and false negatives concerning TLS support. Assume that __thread should be used for thread-local variables (except for the MS compiler). * Added a configure test to acinclude.m4 (in MPFR_CONFIGS). ------------------------------------------------------------------------ r5211 | zimmerma | 2008-01-22 12:13:08 +0000 (Tue, 22 Jan 2008) | 2 lines Changed paths: M /trunk/README.dev added item about timings for a new release ------------------------------------------------------------------------ r5210 | zimmerma | 2008-01-22 12:09:19 +0000 (Tue, 22 Jan 2008) | 3 lines Changed paths: A /trunk/mbench A /trunk/mbench/Makefile A /trunk/mbench/README A /trunk/mbench/generate.c A /trunk/mbench/mfv5-arprec.cc A /trunk/mbench/mfv5-cln.cc A /trunk/mbench/mfv5-crlibm.cc A /trunk/mbench/mfv5-libc.cc A /trunk/mbench/mfv5-lidia.cc A /trunk/mbench/mfv5-mpf.cc A /trunk/mbench/mfv5-mpfr.cc A /trunk/mbench/mfv5-ntl.cc A /trunk/mbench/mfv5-pari.cc A /trunk/mbench/mfv5-void.cc A /trunk/mbench/mfv5.cc A /trunk/mbench/mfv5.h A /trunk/mbench/mpfr-gfx.c A /trunk/mbench/mpfr-v4.c A /trunk/mbench/mpfr-v6.c A /trunk/mbench/timp.h mbench program written by Patrick Pelissier to measure clock cycles of MPFR (and other libraries) for small precision ------------------------------------------------------------------------ r5207 | vlefevre | 2008-01-22 09:51:00 +0000 (Tue, 22 Jan 2008) | 3 lines Changed paths: M /trunk/NEWS NEWS: noted the changes concerning mpfr_strtofr (changesets 5146, 5147, 5148, 5149, 5167, 5172, 5173). ------------------------------------------------------------------------ r5205 | vlefevre | 2008-01-22 09:21:37 +0000 (Tue, 22 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr-gmp.h mpfr-gmp.h: small fix of a macro. ------------------------------------------------------------------------ r5204 | vlefevre | 2008-01-21 12:42:57 +0000 (Mon, 21 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr-gmp.h mpfr-gmp.h: for temporary allocations, use alloca() if size < 16384. ------------------------------------------------------------------------ r5203 | vlefevre | 2008-01-19 10:43:38 +0000 (Sat, 19 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: inverse square root -> reciprocal square root. ------------------------------------------------------------------------ r5202 | zimmerma | 2008-01-18 16:20:48 +0000 (Fri, 18 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr.texi added mpfr_rec_sqrt in mpfr.texi (forgot in last commit) ------------------------------------------------------------------------ r5201 | vlefevre | 2008-01-18 15:47:39 +0000 (Fri, 18 Jan 2008) | 2 lines Changed paths: M /trunk/NEWS NEWS: added mpfr_rec_sqrt for MPFR 2.4.*. ------------------------------------------------------------------------ r5200 | zimmerma | 2008-01-18 14:03:27 +0000 (Fri, 18 Jan 2008) | 2 lines Changed paths: M /trunk/TODO removed rec_sqrt (done) ------------------------------------------------------------------------ r5199 | thevenyp | 2008-01-17 17:46:53 +0000 (Thu, 17 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: merge code for "%Ra" and "%Rb" ------------------------------------------------------------------------ r5198 | thevenyp | 2008-01-16 12:54:47 +0000 (Wed, 16 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c cosmetic change: replace "enum _arg_type" by "enum arg_t" ------------------------------------------------------------------------ r5197 | thevenyp | 2008-01-16 10:58:11 +0000 (Wed, 16 Jan 2008) | 3 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c vasprintf.c: fix %g case; merge %e, %f, %g code tests/tprintf.c: add tests for %Rg ------------------------------------------------------------------------ r5196 | thevenyp | 2008-01-16 10:50:42 +0000 (Wed, 16 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c add MPFR_SAVE_EXPO macros ------------------------------------------------------------------------ r5195 | thevenyp | 2008-01-16 10:44:18 +0000 (Wed, 16 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c cosmetic changes: only one leading underscore for an identifier with file scope ------------------------------------------------------------------------ r5194 | thevenyp | 2008-01-16 10:29:58 +0000 (Wed, 16 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c add needed va_list argument in READ_INT macro ------------------------------------------------------------------------ r5193 | vlefevre | 2008-01-16 09:30:15 +0000 (Wed, 16 Jan 2008) | 2 lines Changed paths: M /trunk/tests tests: added trec_sqrt to svn:ignore property. ------------------------------------------------------------------------ r5191 | vlefevre | 2008-01-16 09:05:22 +0000 (Wed, 16 Jan 2008) | 4 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: when building MPFR with the GMP build directory, use TMP_ALLOC(s) instead of TMP_SALLOC(s), as we don't know whether allocations are small or big (see gmp-impl.h). ------------------------------------------------------------------------ r5190 | zimmerma | 2008-01-16 07:57:24 +0000 (Wed, 16 Jan 2008) | 2 lines Changed paths: M /trunk/rec_sqrt.c moved from ASSERTD to ASSERTN an assertion which does not depend on MPFR ------------------------------------------------------------------------ r5189 | zimmerma | 2008-01-15 17:16:35 +0000 (Tue, 15 Jan 2008) | 2 lines Changed paths: A /trunk/tests/trec_sqrt.c this file might be useful to test mpfr_rec_sqrt... ------------------------------------------------------------------------ r5188 | zimmerma | 2008-01-15 17:10:17 +0000 (Tue, 15 Jan 2008) | 5 lines Changed paths: M /trunk/Makefile.am M /trunk/algorithms.tex M /trunk/mpfr.h M /trunk/rec_sqrt.c M /trunk/tests/Makefile.am M /trunk/tests/tests.c rec_sqrt.c: complete rewrite, to allow to use directly the MPFR internal representation as input (without shift), and to allow different input and output precisions, without loss of efficiency other files: added new function mpfr_rec_sqrt ------------------------------------------------------------------------ r5187 | vlefevre | 2008-01-14 17:23:44 +0000 (Mon, 14 Jan 2008) | 2 lines Changed paths: M /trunk/rec_sqrt.c rec_sqrt.c: deleted trailing whitespace. ------------------------------------------------------------------------ r5186 | vlefevre | 2008-01-14 17:22:35 +0000 (Mon, 14 Jan 2008) | 3 lines Changed paths: M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h mpfr-gmp.{c,h}: no longer use alloca() for the temporary allocations as this can make MPFR crash in some high precisions, due to limited stack. ------------------------------------------------------------------------ r5185 | thevenyp | 2008-01-14 10:41:19 +0000 (Mon, 14 Jan 2008) | 2 lines Changed paths: M /trunk/tests/tprintf.c add bug found by Paul Zimmermann ------------------------------------------------------------------------ r5184 | thevenyp | 2008-01-14 10:33:01 +0000 (Mon, 14 Jan 2008) | 3 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c vasprintf.c: fix wrong computation of digit number with %Rf when 0 < op < 1 tests/tprintf.c: simpler 10^-n case ------------------------------------------------------------------------ r5182 | vlefevre | 2008-01-14 08:34:00 +0000 (Mon, 14 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: typo. ------------------------------------------------------------------------ r5181 | vlefevre | 2008-01-11 21:54:06 +0000 (Fri, 11 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated month. ------------------------------------------------------------------------ r5180 | vlefevre | 2008-01-11 21:45:08 +0000 (Fri, 11 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: added a warning concerning huge precisions. ------------------------------------------------------------------------ r5179 | thevenyp | 2008-01-10 17:18:23 +0000 (Thu, 10 Jan 2008) | 2 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c fix %f case ------------------------------------------------------------------------ r5178 | thevenyp | 2008-01-10 17:06:11 +0000 (Thu, 10 Jan 2008) | 2 lines Changed paths: M /trunk/vasprintf.c cosmetic changes ------------------------------------------------------------------------ r5177 | zimmerma | 2008-01-08 07:36:23 +0000 (Tue, 08 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr.texi small changes for acos/asin/atan/atan2 rounded outside their output range ------------------------------------------------------------------------ r5176 | zimmerma | 2008-01-07 21:11:03 +0000 (Mon, 07 Jan 2008) | 3 lines Changed paths: M /trunk/mpfr.texi added note about output of acos/asin/atan/atan2 which might be outside the function domain ------------------------------------------------------------------------ r5175 | zimmerma | 2008-01-05 09:20:12 +0000 (Sat, 05 Jan 2008) | 2 lines Changed paths: M /trunk/rec_sqrt.c new version with improved tables, use macros from mpfr-impl.h, removed tabs ------------------------------------------------------------------------ r5173 | vlefevre | 2008-01-04 21:57:08 +0000 (Fri, 04 Jan 2008) | 4 lines Changed paths: M /trunk/strtofr.c M /trunk/tests/tstrtofr.c Fixed return value of mpfr_strtofr in case of invalid data (it was -1, but it should be 0 since it is a ternary value and the result is 0, which is exact). Added test of the ternary value in this case. ------------------------------------------------------------------------ r5172 | vlefevre | 2008-01-04 21:33:19 +0000 (Fri, 04 Jan 2008) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: better description of mpfr_strtofr. ------------------------------------------------------------------------ r5171 | vlefevre | 2008-01-04 13:11:46 +0000 (Fri, 04 Jan 2008) | 2 lines Changed paths: M /trunk/NEWS NEWS update (new functions in the trunk). ------------------------------------------------------------------------ r5167 | vlefevre | 2008-01-04 12:07:14 +0000 (Fri, 04 Jan 2008) | 15 lines Changed paths: M /trunk/mpfr.texi M /trunk/strtofr.c M /trunk/tests/tstrtofr.c Changes related to mpfr_strtofr. * strtofr.c: for mpfr_strtofr, data corresponding to NaN can now have an optional sign (since the documentation said that parsing followed the standard C strtod function and this change makes invalid data now valid, so that there should be no compatibility problems). * tests/tstrtofr.c: changed the test for -42P17 in base 16 (this was eventually regarded as a documentation bug); added tests. * mpfr.texi: almost completely rewrote the specification of the mpfr_strtofr function. Changes: - the binary exponent is now accepted even without the 0b or 0x prefix; - data corresponding to NaN can now have an optional sign (this was a bit ambiguous); - many other ambiguities avoided. ------------------------------------------------------------------------ r5166 | zimmerma | 2008-01-04 10:35:04 +0000 (Fri, 04 Jan 2008) | 5 lines Changed paths: A /trunk/rec_sqrt.c the function mpfr_mpn_rec_sqrt() provides a faithful approximation of the inverse square root. Some improvements can still be made, but the interface should not change, thus we can start writing the mpfr_rec_sqrt function that calls it. ------------------------------------------------------------------------ r5164 | vlefevre | 2008-01-02 17:19:42 +0000 (Wed, 02 Jan 2008) | 2 lines Changed paths: M /trunk/FAQ.html FAQ update. ------------------------------------------------------------------------ r5161 | vlefevre | 2008-01-01 12:31:06 +0000 (Tue, 01 Jan 2008) | 3 lines Changed paths: M /trunk/tests/tgamma.c tgamma.c: completed test in r5159 with another one that was failing in the default exponent range. ------------------------------------------------------------------------ r5160 | vlefevre | 2008-01-01 12:07:21 +0000 (Tue, 01 Jan 2008) | 2 lines Changed paths: M /trunk/printf.c M /trunk/vasprintf.c delete trailing spaces. ------------------------------------------------------------------------ r5159 | zimmerma | 2008-01-01 09:44:28 +0000 (Tue, 01 Jan 2008) | 2 lines Changed paths: M /trunk/gamma.c M /trunk/tests/tgamma.c fixed bug in case of underflow (wrong sign) ------------------------------------------------------------------------ r5157 | vlefevre | 2008-01-01 03:57:20 +0000 (Tue, 01 Jan 2008) | 4 lines Changed paths: M /trunk/gen_inverse.h gen_inverse.h: fixed the bug reported by Kevin Rauch a few hours ago (and that was detected by the generic tests and by mpfrlint after the latest changes). ------------------------------------------------------------------------ r5154 | vlefevre | 2008-01-01 03:47:50 +0000 (Tue, 01 Jan 2008) | 2 lines Changed paths: M /trunk/mpfrlint mpfrlint: incorrect use of mpfr__p is also checked in .h files. ------------------------------------------------------------------------ r5151 | vlefevre | 2008-01-01 03:26:37 +0000 (Tue, 01 Jan 2008) | 4 lines Changed paths: M /trunk/BUGS M /trunk/FAQ.html M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/abort_prec_max.c M /trunk/acinclude.m4 M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_d.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/check.c M /trunk/clear.c M /trunk/clears.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_abs.c M /trunk/cmp_d.c M /trunk/cmp_ld.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/comparisons.c M /trunk/configure.in M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/constant.c M /trunk/copysign.c M /trunk/cos.c M /trunk/cosh.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/d_div.c M /trunk/d_sub.c M /trunk/dim.c M /trunk/div.c M /trunk/div_2exp.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_d.c M /trunk/div_ui.c M /trunk/dump.c M /trunk/eint.c M /trunk/eq.c M /trunk/erf.c M /trunk/erfc.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp10.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/extract.c M /trunk/factorial.c M /trunk/faq.xsl M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_sint.c M /trunk/fits_slong.c M /trunk/fits_sshort.c M /trunk/fits_u.h M /trunk/fits_uint.c M /trunk/fits_uintmax.c M /trunk/fits_ulong.c M /trunk/fits_ushort.c M /trunk/fma.c M /trunk/fms.c M /trunk/frac.c M /trunk/free_cache.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/generic.c M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_exp.c M /trunk/get_f.c M /trunk/get_ld.c M /trunk/get_patches.sh M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/init.c M /trunk/init2.c M /trunk/inits.c M /trunk/inits2.c M /trunk/inp_str.c M /trunk/int_ceil_log2.c M /trunk/isinf.c M /trunk/isinteger.c M /trunk/isnan.c M /trunk/isnum.c M /trunk/isqrt.c M /trunk/iszero.c M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/minmax.c M /trunk/modf.c M /trunk/mp_clz_tab.c M /trunk/mparam_h.in M /trunk/mpf2mpfr.h M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/mpn_exp.c M /trunk/mul.c M /trunk/mul_2exp.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/mul_d.c M /trunk/mul_ui.c M /trunk/mulders.c M /trunk/neg.c M /trunk/next.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_si.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/print_rnd_mode.c M /trunk/printf.c M /trunk/random.c M /trunk/random2.c M /trunk/reldiff.c M /trunk/rem1.c M /trunk/rint.c M /trunk/root.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/sec.c M /trunk/sech.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_dfl_prec.c M /trunk/set_exp.c M /trunk/set_f.c M /trunk/set_inf.c M /trunk/set_ld.c M /trunk/set_nan.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_sj.c M /trunk/set_str.c M /trunk/set_str_raw.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/setsign.c M /trunk/sgn.c M /trunk/si_op.c M /trunk/signbit.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_d.c M /trunk/sub_ui.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/swap.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/cmp_str.c M /trunk/tests/data/li2 M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr-test.h M /trunk/tests/mpfr_compat.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfmod.c M /trunk/tests/tfms.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tisqrt.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/tl2b.c M /trunk/tests/tlgamma.c M /trunk/tests/tli2.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tminmax.c M /trunk/tests/tmodf.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/trandom.c M /trunk/tests/tremquo.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/tversion.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tuneup.c M /trunk/uceil_exp2.c M /trunk/uceil_log2.c M /trunk/ufloor_log2.c M /trunk/ui_div.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/ui_sub.c M /trunk/urandomb.c M /trunk/vasprintf.c M /trunk/version.c M /trunk/volatile.c M /trunk/yn.c M /trunk/zeta.c M /trunk/zeta_ui.c Copyright notice update: added 2008 with perl -pi -e 's/2007 Free Software/2007, 2008 Free Software/' **/*(^/) under zsh. ------------------------------------------------------------------------ r5150 | vlefevre | 2008-01-01 03:17:56 +0000 (Tue, 01 Jan 2008) | 5 lines Changed paths: M /trunk/tests/tgeneric.c tgeneric.c: in the bug detection with flags set before the function call, the erange flag was set, so that no checks were performed on the return value. Fixed that by not setting the erange flag. -> Now, 7 tests fail! ------------------------------------------------------------------------ r5149 | vlefevre | 2007-12-31 02:32:11 +0000 (Mon, 31 Dec 2007) | 5 lines Changed paths: M /trunk/tests/tstrtofr.c tstrtofr.c: added test of -42P17 with base = 0 and 16. This currently fails with base = 16 (-42P17 is parsed as -0x42P17 instead of -42 with the remaining characters "P17"), but we could alternatively regard the mpfr_strtofr specification (in mpfr.texi) as incorrect. ------------------------------------------------------------------------ r5148 | vlefevre | 2007-12-30 18:20:34 +0000 (Sun, 30 Dec 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: corrections in the specification of mpfr_strtofr (see FIXME). ------------------------------------------------------------------------ r5147 | vlefevre | 2007-12-30 17:48:06 +0000 (Sun, 30 Dec 2007) | 5 lines Changed paths: M /trunk/strtofr.c M /trunk/tests/tset_str.c strtofr.c: base arguments different from 0 and 2..36 have never been accepted. So, instead of returning the confusing -1 (it's a ternary value), let's add an assert for the moment. An alternative solution is to return 0 and set the erange flag. ------------------------------------------------------------------------ r5146 | vlefevre | 2007-12-30 17:17:36 +0000 (Sun, 30 Dec 2007) | 2 lines Changed paths: M /trunk/strtofr.c strtofr.c: minor change (in the style); a comment was ambiguous. ------------------------------------------------------------------------ r5145 | vlefevre | 2007-12-29 22:02:14 +0000 (Sat, 29 Dec 2007) | 2 lines Changed paths: M /trunk/TODO TODO update (tests: generic bad cases). ------------------------------------------------------------------------ r5144 | vlefevre | 2007-12-29 21:46:50 +0000 (Sat, 29 Dec 2007) | 3 lines Changed paths: M /trunk/tests/reuse.c M /trunk/tests/tadd_d.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv_d.c M /trunk/tests/tfmod.c M /trunk/tests/tli2.c M /trunk/tests/tmodf.c M /trunk/tests/tmul_d.c M /trunk/tests/tprintf.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsub_d.c Added #if MPFR_VERSION >= MPFR_VERSION_NUM(2,4,0) conditionals to be able to test MPFR 2.3.* with the (more complete) tests from the trunk. ------------------------------------------------------------------------ r5143 | vlefevre | 2007-12-29 17:07:10 +0000 (Sat, 29 Dec 2007) | 2 lines Changed paths: M /trunk/README.dev README.dev: updated item 6 of "To make a release". ------------------------------------------------------------------------ r5138 | vlefevre | 2007-12-28 02:37:11 +0000 (Fri, 28 Dec 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated month. ------------------------------------------------------------------------ r5136 | vlefevre | 2007-12-27 16:12:57 +0000 (Thu, 27 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tadd1sp.c M /trunk/tests/tests.c M /trunk/tests/tset_exp.c M /trunk/tests/tsubnormal.c tests: check the exponent range, in particular at the end of each test. ------------------------------------------------------------------------ r5135 | vlefevre | 2007-12-27 16:00:56 +0000 (Thu, 27 Dec 2007) | 2 lines Changed paths: M /trunk/tests/texceptions.c texceptions.c: GNU coding style. ------------------------------------------------------------------------ r5134 | vlefevre | 2007-12-27 15:59:46 +0000 (Thu, 27 Dec 2007) | 2 lines Changed paths: M /trunk/tests/texceptions.c texceptions.c: restore the exponent range. ------------------------------------------------------------------------ r5132 | vlefevre | 2007-12-27 03:10:01 +0000 (Thu, 27 Dec 2007) | 3 lines Changed paths: M /trunk/exp2.c exp2.c: removed incorrect comment (the overflow test was OK due to the mpfr_clear_flags above, but the new test is slightly better anyway). ------------------------------------------------------------------------ r5127 | zimmerma | 2007-12-21 15:31:55 +0000 (Fri, 21 Dec 2007) | 3 lines Changed paths: M /trunk/mparam_h.in added tuning parameters for 32-bit Core 2 (thanks to Patrick Pelissier and Emmanuel Thome) ------------------------------------------------------------------------ r5124 | vlefevre | 2007-12-20 08:53:50 +0000 (Thu, 20 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tpow.c tpow.c: enable testcase bug20071218. ------------------------------------------------------------------------ r5123 | vlefevre | 2007-12-19 18:15:03 +0000 (Wed, 19 Dec 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: possible incorrect results due to internal underflow. ------------------------------------------------------------------------ r5122 | vlefevre | 2007-12-19 18:00:59 +0000 (Wed, 19 Dec 2007) | 3 lines Changed paths: M /trunk/pow.c pow.c: detect all underflow cases (some of them were leading to an infinite loop, see bug20071218 in tpow.c). ------------------------------------------------------------------------ r5121 | vlefevre | 2007-12-19 15:04:43 +0000 (Wed, 19 Dec 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: updated description of MPFR_CAN_ROUND. ------------------------------------------------------------------------ r5120 | vlefevre | 2007-12-19 14:49:34 +0000 (Wed, 19 Dec 2007) | 2 lines Changed paths: M /trunk/round_p.c round_p.c: in comment, "round to zero" -> "round toward zero". ------------------------------------------------------------------------ r5119 | vlefevre | 2007-12-19 14:27:30 +0000 (Wed, 19 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tpow.c tpow.c: formatting. ------------------------------------------------------------------------ r5118 | vlefevre | 2007-12-19 14:25:10 +0000 (Wed, 19 Dec 2007) | 3 lines Changed paths: M /trunk/tests/tpow.c tpow.c: added testcase for another bug found by Kevin P. Rauch. Execute tpow with an argument to enable it. ------------------------------------------------------------------------ r5117 | thevenyp | 2007-12-19 10:32:52 +0000 (Wed, 19 Dec 2007) | 3 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c vasprintf.c: add sprnt_fp_e for "%e" processing tests/tprintf.c: change tests for decimal output (but need further tests) ------------------------------------------------------------------------ r5116 | thevenyp | 2007-12-19 09:26:37 +0000 (Wed, 19 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tprintf.c add checks for zero ------------------------------------------------------------------------ r5115 | vlefevre | 2007-12-18 15:51:00 +0000 (Tue, 18 Dec 2007) | 11 lines Changed paths: M /trunk/acosh.c M /trunk/atan2.c M /trunk/cosh.c M /trunk/cot.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/fma.c M /trunk/fms.c M /trunk/gamma.c M /trunk/mpfr-impl.h M /trunk/mpfrlint M /trunk/pow.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/rint.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/tests/tgeneric.c M /trunk/yn.c Merged the feature-block branch to the trunk: * New MPFR_BLOCK* macros (see mpfr-impl.h) and mpfrlint check to test exception flags in a more reliable way and detect possible problems with mpfrlint. * Improved the generic tests (tests/tgeneric.c): for the second function call, sometimes set all the flags since risk of failures are known when some flags are already set. * Modified code to use these new MPFR_BLOCK* macros. This fixed bugs related to exceptions (where flags are set before the call); in particular, tcot and ty1 failed with the improved generic tests. ------------------------------------------------------------------------ r5113 | thevenyp | 2007-12-18 15:09:30 +0000 (Tue, 18 Dec 2007) | 4 lines Changed paths: M /trunk/printf.c M /trunk/vasprintf.c printf.c: each mpfr_printf-like function return -1 and set erange flag in error case vasprintf.c: change types in struct char_fp vasprintf.c: add many size checking ------------------------------------------------------------------------ r5112 | thevenyp | 2007-12-18 13:48:07 +0000 (Tue, 18 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c simplify code, improve comments ------------------------------------------------------------------------ r5110 | vlefevre | 2007-12-18 12:54:25 +0000 (Tue, 18 Dec 2007) | 6 lines Changed paths: M /trunk/pow_z.c M /trunk/tests/tpow_z.c Fixed bug in mpfr_pow_z: if x = y (same mpfr_t argument), the input argument is negative and not a power of two, z is positive and odd, an overflow or underflow occurs, and the temporary result res is positive, then the result gets a wrong sign (positive instead of negative). Testcase. ------------------------------------------------------------------------ r5108 | vlefevre | 2007-12-18 12:08:42 +0000 (Tue, 18 Dec 2007) | 5 lines Changed paths: M /trunk/pow_ui.c M /trunk/tests/tpow.c Fixed bug in mpfr_pow_ui (introduced in r3214): if x = y (same mpfr_t argument), the input argument is negative, n is odd, an overflow or underflow occurs, and the temporary result res is positive, then the result gets a wrong sign (positive instead of negative). Testcase. ------------------------------------------------------------------------ r5107 | vlefevre | 2007-12-18 11:24:53 +0000 (Tue, 18 Dec 2007) | 2 lines Changed paths: M /trunk/pow_ui.c pow_ui.c: fixed an assertion. ------------------------------------------------------------------------ r5106 | vlefevre | 2007-12-18 10:27:28 +0000 (Tue, 18 Dec 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: update concerning overflow/underflow exceptions. ------------------------------------------------------------------------ r5105 | thevenyp | 2007-12-18 10:08:21 +0000 (Tue, 18 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c exponent continuity with one hexadecimal digit output ------------------------------------------------------------------------ r5104 | thevenyp | 2007-12-17 14:41:58 +0000 (Mon, 17 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c #define CASE_INT_MAX_ARG to nil when HAVE_STDINT_H is not defined ------------------------------------------------------------------------ r5103 | thevenyp | 2007-12-17 13:52:26 +0000 (Mon, 17 Dec 2007) | 3 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c vasprintf.c: add sprnt_fp_b for "%b" processing tests/tprintf.c: add tests for binary output ------------------------------------------------------------------------ r5102 | thevenyp | 2007-12-17 13:49:11 +0000 (Mon, 17 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c fix count of characters in exponent part ------------------------------------------------------------------------ r5101 | thevenyp | 2007-12-17 13:46:24 +0000 (Mon, 17 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c simplify code, remove trailing spaces and improve comment ------------------------------------------------------------------------ r5100 | vlefevre | 2007-12-17 12:04:53 +0000 (Mon, 17 Dec 2007) | 2 lines Changed paths: M /trunk/TODO TODO: added note about the successive calls to strcat in vasprintf.c. ------------------------------------------------------------------------ r5099 | thevenyp | 2007-12-17 10:16:34 +0000 (Mon, 17 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tprintf.c add tests for 1 hexa digit output ------------------------------------------------------------------------ r5093 | vlefevre | 2007-12-16 00:15:25 +0000 (Sun, 16 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tpow.c tests/tpow.c: fixed indentation. ------------------------------------------------------------------------ r5092 | zimmerma | 2007-12-15 14:29:06 +0000 (Sat, 15 Dec 2007) | 2 lines Changed paths: M /trunk/reldiff.c fixed typo ------------------------------------------------------------------------ r5091 | zimmerma | 2007-12-15 09:42:13 +0000 (Sat, 15 Dec 2007) | 2 lines Changed paths: M /trunk/asin.c M /trunk/tests/tasin.c fixed bug reported by Kevin Rauch ------------------------------------------------------------------------ r5090 | thevenyp | 2007-12-14 17:12:05 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c change display with just one hexadecimal digit ------------------------------------------------------------------------ r5089 | zimmerma | 2007-12-14 14:26:21 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/sin_cos.c simplified MPFR_FAST_COMPUTE_IF_SMALL_INPUT part (in case of overlap) ------------------------------------------------------------------------ r5088 | thevenyp | 2007-12-14 14:08:28 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tprintf.c fix wrong call ------------------------------------------------------------------------ r5087 | zimmerma | 2007-12-14 13:24:44 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/round_near_x.c added comments, got rid of compiler warnings ------------------------------------------------------------------------ r5086 | zimmerma | 2007-12-14 13:10:41 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/sinh_cosh.c added warning ------------------------------------------------------------------------ r5085 | vlefevre | 2007-12-14 12:36:25 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/sin_cos.c sin_cos.c: improved changeset 5084; in particular, added a missing cast. ------------------------------------------------------------------------ r5084 | zimmerma | 2007-12-14 09:24:11 +0000 (Fri, 14 Dec 2007) | 4 lines Changed paths: M /trunk/sin_cos.c M /trunk/tests/reuse.c M /trunk/tests/tsin_cos.c sin_cos.c, tsin_cos.c: fixed bug occurring when arguments overlap and MPFR_FAST_COMPUTE_IF_SMALL_INPUT fails reuse.c: improved output in case of error ------------------------------------------------------------------------ r5083 | thevenyp | 2007-12-14 09:20:36 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c improve one digit case, add comment ------------------------------------------------------------------------ r5082 | vlefevre | 2007-12-14 09:06:26 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: added a FIXME comment. Bug? ------------------------------------------------------------------------ r5081 | vlefevre | 2007-12-14 09:05:30 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/get_str.c M /trunk/vasprintf.c Minor changes concerning num_to_text. The ending \0 isn't needed. ------------------------------------------------------------------------ r5080 | thevenyp | 2007-12-14 08:56:31 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tfmod.c M /trunk/tests/tprintf.c M /trunk/tests/tsinh_cosh.c simplify error output code ------------------------------------------------------------------------ r5079 | thevenyp | 2007-12-14 08:45:48 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c add num_to_text array for hexadecimal digits ------------------------------------------------------------------------ r5078 | thevenyp | 2007-12-14 08:17:43 +0000 (Fri, 14 Dec 2007) | 2 lines Changed paths: M /trunk/tests/tfmod.c M /trunk/tests/tprintf.c M /trunk/tests/tsinh_cosh.c output errors to stdout ------------------------------------------------------------------------ r5077 | thevenyp | 2007-12-13 17:20:42 +0000 (Thu, 13 Dec 2007) | 4 lines Changed paths: M /trunk/tests/tprintf.c M /trunk/vasprintf.c vasprintf.c: group hexadecimal output processing in a new sprnt_fp_a function. tests/tprintf.c: add tests for %a case tests/tprintf.c: factorize error message output ------------------------------------------------------------------------ r5076 | vlefevre | 2007-12-13 17:08:44 +0000 (Thu, 13 Dec 2007) | 2 lines Changed paths: M /trunk/get_d64.c get_d64.c: fixed comment. ------------------------------------------------------------------------ r5075 | vlefevre | 2007-12-13 17:03:19 +0000 (Thu, 13 Dec 2007) | 3 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: added missing #include (useful if MPFR is built with the GMP build directory, as mpfr-gmp.h isn't used in this case). ------------------------------------------------------------------------ r5074 | thevenyp | 2007-12-13 16:59:31 +0000 (Thu, 13 Dec 2007) | 2 lines Changed paths: M /trunk/mpfr.texi Fix typos. ------------------------------------------------------------------------ r5073 | thevenyp | 2007-12-13 16:58:01 +0000 (Thu, 13 Dec 2007) | 2 lines Changed paths: M /trunk/printf.c Add handle for null size case in mpfr_snprintf ------------------------------------------------------------------------ r5072 | thevenyp | 2007-12-13 16:53:24 +0000 (Thu, 13 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c Add some comments and assertions. ------------------------------------------------------------------------ r5071 | thevenyp | 2007-12-13 16:42:19 +0000 (Thu, 13 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c #define's for nan and inf strings ------------------------------------------------------------------------ r5070 | thevenyp | 2007-12-13 16:20:30 +0000 (Thu, 13 Dec 2007) | 2 lines Changed paths: M /trunk/mpfr.texi short documentation of printf-like functions. ------------------------------------------------------------------------ r5069 | vlefevre | 2007-12-12 23:02:12 +0000 (Wed, 12 Dec 2007) | 3 lines Changed paths: M /trunk/README.dev README.dev: added information about my tool "eet" to be able to see the warnings more easily. ------------------------------------------------------------------------ r5068 | vlefevre | 2007-12-12 14:46:26 +0000 (Wed, 12 Dec 2007) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: updated comment concerning the case nbchar > INT_MAX. ------------------------------------------------------------------------ r5067 | zimmerma | 2007-11-30 17:26:38 +0000 (Fri, 30 Nov 2007) | 2 lines Changed paths: M /trunk/jn.c changed default return value in mpfr_jn_k0 ------------------------------------------------------------------------ r5066 | zimmerma | 2007-11-30 17:09:03 +0000 (Fri, 30 Nov 2007) | 2 lines Changed paths: M /trunk/exp.c M /trunk/exp3.c M /trunk/tests/texp.c fixed underflow problem in mpfr_exp_3 ------------------------------------------------------------------------ r5065 | zimmerma | 2007-11-30 15:03:56 +0000 (Fri, 30 Nov 2007) | 3 lines Changed paths: M /trunk/jn.c M /trunk/tests/tset_str.c tests/tset_str.c: added command-line argument for output base jn.c: replaced double-precision LOG2 constant by binary string (more portable) ------------------------------------------------------------------------ r5064 | zimmerma | 2007-11-30 13:50:23 +0000 (Fri, 30 Nov 2007) | 2 lines Changed paths: M /trunk/exp_2.c fixed underflow problem ------------------------------------------------------------------------ r5063 | zimmerma | 2007-11-30 12:05:02 +0000 (Fri, 30 Nov 2007) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/mparam_h.in experimental code to distinguish Core2 from AMD64 ------------------------------------------------------------------------ r5062 | zimmerma | 2007-11-30 10:43:43 +0000 (Fri, 30 Nov 2007) | 2 lines Changed paths: M /trunk/exp.c M /trunk/pow_ui.c removed manual change to __gmpfr_emin outside the allowed range ------------------------------------------------------------------------ r5061 | zimmerma | 2007-11-30 10:02:38 +0000 (Fri, 30 Nov 2007) | 2 lines Changed paths: M /trunk/mparam_h.in added suggestion from Patrick Pelissier ------------------------------------------------------------------------ r5059 | zimmerma | 2007-11-29 21:34:15 +0000 (Thu, 29 Nov 2007) | 5 lines Changed paths: M /trunk/pow_z.c M /trunk/tests/tpow.c Fixed another bug reported by Kevin Rauch (__gmpfr_emin was set smaller than the minimum allowed value, which produced an exponent wrap-around and a wrong result in mpfr_mul). Not sure if all problems are solved, nevertheless __gmpfr_emin is now in the allowed range. ------------------------------------------------------------------------ r5058 | vlefevre | 2007-11-29 18:03:50 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/pow.c Fixed indentation. ------------------------------------------------------------------------ r5057 | vlefevre | 2007-11-29 17:55:42 +0000 (Thu, 29 Nov 2007) | 4 lines Changed paths: M /trunk/tests/tests.c tests.c: in test4rm, initialize rndnext with an invalid value (meaning that rndnext will really be initialized later), and added an assert to check that this value isn't propagated to rnd. ------------------------------------------------------------------------ r5056 | vlefevre | 2007-11-29 17:45:03 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tests.c tests.c: added a comment about rndnext in test4rm. ------------------------------------------------------------------------ r5055 | vlefevre | 2007-11-29 17:28:34 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tests.c tests.c: added an assertion. ------------------------------------------------------------------------ r5054 | zimmerma | 2007-11-29 17:00:34 +0000 (Thu, 29 Nov 2007) | 3 lines Changed paths: M /trunk/pow.c M /trunk/tests/tpow.c fixed bug reported by Kevin Rauch (wrong sign in case of underflow for large negative x and large odd negative y) ------------------------------------------------------------------------ r5053 | thevenyp | 2007-11-29 14:02:23 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c untabify and remove trailing spaces ------------------------------------------------------------------------ r5052 | thevenyp | 2007-11-29 12:54:29 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c fix padding error in sprnt_inf ------------------------------------------------------------------------ r5051 | thevenyp | 2007-11-29 12:50:50 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c factorization of special numbers output in sprnt_nan and sprnt_inf functions ------------------------------------------------------------------------ r5050 | thevenyp | 2007-11-29 12:43:47 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c fix comment about the size of format string buffer ------------------------------------------------------------------------ r5049 | thevenyp | 2007-11-29 12:32:02 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c replace memory management functions mpfr_default_* by __gmp_*_func ------------------------------------------------------------------------ r5048 | zimmerma | 2007-11-29 10:16:37 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/mparam_h.in updated Core 2 thresholds (obtained with gmp-4.2.2 and Gaudry's patch) ------------------------------------------------------------------------ r5047 | vlefevre | 2007-11-29 09:21:01 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c Typo in comment. ------------------------------------------------------------------------ r5046 | thevenyp | 2007-11-29 08:36:49 +0000 (Thu, 29 Nov 2007) | 2 lines Changed paths: M /trunk/printf.c fix typo pointed out in revision 5044 ------------------------------------------------------------------------ r5045 | vlefevre | 2007-11-28 14:36:21 +0000 (Wed, 28 Nov 2007) | 2 lines Changed paths: M /trunk/printf.c printf.c: more comments about snprintf. ------------------------------------------------------------------------ r5044 | vlefevre | 2007-11-28 14:00:33 +0000 (Wed, 28 Nov 2007) | 2 lines Changed paths: M /trunk/printf.c printf.c: added a comment concerning a warning (a bug, IMHO). ------------------------------------------------------------------------ r5043 | vlefevre | 2007-11-28 13:35:22 +0000 (Wed, 28 Nov 2007) | 3 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: added FIXME comment concerning the case nbchar > INT_MAX, with a reference to POSIX. ------------------------------------------------------------------------ r5042 | thevenyp | 2007-11-28 13:32:24 +0000 (Wed, 28 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c add explanations about buffer size ------------------------------------------------------------------------ r5041 | thevenyp | 2007-11-28 12:53:15 +0000 (Wed, 28 Nov 2007) | 2 lines Changed paths: M /trunk/printf.c M /trunk/vasprintf.c change __gmp_const into const ------------------------------------------------------------------------ r5040 | vlefevre | 2007-11-28 10:29:33 +0000 (Wed, 28 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: added an assert. ------------------------------------------------------------------------ r5039 | thevenyp | 2007-11-28 10:13:55 +0000 (Wed, 28 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c fix output with space flag ------------------------------------------------------------------------ r5038 | thevenyp | 2007-11-28 10:09:19 +0000 (Wed, 28 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c add MPFR_ASSERTD to prevent buffer overflow ------------------------------------------------------------------------ r5037 | thevenyp | 2007-11-28 10:00:42 +0000 (Wed, 28 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c replace use of ptrdiff_t by size_t where possible ------------------------------------------------------------------------ r5032 | thevenyp | 2007-11-27 15:13:44 +0000 (Tue, 27 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c factorisation of temp string alloc in buffer_pad function ------------------------------------------------------------------------ r5031 | thevenyp | 2007-11-27 14:47:30 +0000 (Tue, 27 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c cosmetic changes ------------------------------------------------------------------------ r5030 | thevenyp | 2007-11-27 14:05:29 +0000 (Tue, 27 Nov 2007) | 3 lines Changed paths: M /trunk/vasprintf.c compatibility of types between nbc fields and mp_exp_t fix wrong size of buffer string exp_fmt ------------------------------------------------------------------------ r5026 | vlefevre | 2007-11-27 12:55:31 +0000 (Tue, 27 Nov 2007) | 3 lines Changed paths: A /trunk/mpfrlint Added initial mpfrlint sh script to check possible problems in the MPFR source. ------------------------------------------------------------------------ r5025 | thevenyp | 2007-11-27 09:53:31 +0000 (Tue, 27 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c change 'g'/'G' to 'e'/'E' or 'f'/'F' according to C99 rules ------------------------------------------------------------------------ r5024 | thevenyp | 2007-11-26 17:44:10 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c replace mpfr_default_(re)allocate by __gmp_(re)allocate for the returned string (freed by mpfr_free_str) ------------------------------------------------------------------------ r5023 | thevenyp | 2007-11-26 17:38:17 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tprintf.c tprintf.c: replace __gmp_const by const ------------------------------------------------------------------------ r5022 | vlefevre | 2007-11-26 15:27:56 +0000 (Mon, 26 Nov 2007) | 3 lines Changed paths: M /trunk/printf.c printf.c: added FIXME comment: snprintf is new in C99. It must be checked with a configure test. ------------------------------------------------------------------------ r5021 | vlefevre | 2007-11-26 15:19:46 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r5020 | vlefevre | 2007-11-26 15:16:09 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: reformat. ------------------------------------------------------------------------ r5019 | vlefevre | 2007-11-26 15:14:23 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/out_str.c M /trunk/strtofr.c MPFR_DECIMAL_POINT now needs to have type char (because of vasprintf.c). ------------------------------------------------------------------------ r5018 | vlefevre | 2007-11-26 15:11:53 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: changeset 4996 was incorrect. Fixed. ------------------------------------------------------------------------ r5017 | vlefevre | 2007-11-26 14:42:46 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/README.dev README.dev: Avoid variable names "l", "I" and "O". ------------------------------------------------------------------------ r5016 | vlefevre | 2007-11-26 14:09:52 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/README.dev README.dev: added a note about the locales. ------------------------------------------------------------------------ r5015 | thevenyp | 2007-11-26 13:55:28 +0000 (Mon, 26 Nov 2007) | 6 lines Changed paths: M /trunk/printf.c M /trunk/vasprintf.c printf.c: fix use of pointer of string vasprintf.c: add conditional compilation directives for wchar and wint_t vasprintf.c: add padding for special values vasprintf.c: fix output for value 1.0 and format "%Rf" vasprintf.c: replace __gmp_const by const ------------------------------------------------------------------------ r5014 | vlefevre | 2007-11-26 09:57:47 +0000 (Mon, 26 Nov 2007) | 9 lines Changed paths: M /trunk/acinclude.m4 M /trunk/vasprintf.c acinclude.m4: check wchar.h header (see below). vasprintf.c: * No longer depend on toupper (which returns locale-dependent results) to generate 'A'..'F' (see C standard). * Removed #include which was hiding a bug (see below). * Added missing #include if HAVE_WCHAR_H is defined. But the compilation fails if doesn't exist due to the use of wchar_t and wint_t. ------------------------------------------------------------------------ r5013 | vlefevre | 2007-11-26 09:44:24 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: updated comments. ------------------------------------------------------------------------ r5012 | vlefevre | 2007-11-26 09:37:47 +0000 (Mon, 26 Nov 2007) | 5 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: * Removed #include now useless. * Added FIXME comment. * Replaced _MP_EXP_FORMAT_SPEC (reserved) by MPFR_EXP_FORMAT_SPEC. ------------------------------------------------------------------------ r5011 | vlefevre | 2007-11-26 09:32:20 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: added FIXME comments. ------------------------------------------------------------------------ r5010 | vlefevre | 2007-11-26 09:18:06 +0000 (Mon, 26 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: fixed a typo in a comment and improved another comment. ------------------------------------------------------------------------ r5009 | vlefevre | 2007-11-24 01:46:30 +0000 (Sat, 24 Nov 2007) | 3 lines Changed paths: M /trunk/mpfr.h mpfr.h: moved function declarations out of "#ifdef _MPFR_H_HAVE_VA_LIST" and/or "#ifdef _MPFR_H_HAVE_FILE" when this makes sense. ------------------------------------------------------------------------ r5008 | vlefevre | 2007-11-24 01:41:33 +0000 (Sat, 24 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: added missing "void" in function declarations. ------------------------------------------------------------------------ r5007 | vlefevre | 2007-11-24 01:36:47 +0000 (Sat, 24 Nov 2007) | 2 lines Changed paths: M /trunk/mpfr.h M /trunk/tests/tcan_round.c M /trunk/tests/tpow_z.c M /trunk/tests/tprintf.c M /trunk/tests/tset_f.c M /trunk/vasprintf.c Untabified and removed trailing spaces. ------------------------------------------------------------------------ r5006 | vlefevre | 2007-11-24 01:33:00 +0000 (Sat, 24 Nov 2007) | 3 lines Changed paths: M /trunk/README.dev M /trunk/mpfr.texi mpfr.texi: corrections (English usage and texinfo). Added corresponding notes at the end of the README.dev file. ------------------------------------------------------------------------ r5005 | vlefevre | 2007-11-24 01:24:05 +0000 (Sat, 24 Nov 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: s/rounding to the nearest mode/rounding to nearest mode/ ------------------------------------------------------------------------ r5004 | vlefevre | 2007-11-24 01:22:31 +0000 (Sat, 24 Nov 2007) | 3 lines Changed paths: M /trunk/mpfr.texi mpfr.texi consistency changes: "towards" -> "toward" (because this is what the IEEE-754 standard uses, and we have mpfr_nexttoward). ------------------------------------------------------------------------ r5003 | vlefevre | 2007-11-24 01:17:08 +0000 (Sat, 24 Nov 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: English typography corrections (no space before ":"). ------------------------------------------------------------------------ r5002 | vlefevre | 2007-11-24 01:15:22 +0000 (Sat, 24 Nov 2007) | 4 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: the use of the abs function was incorrect as its argument has type int, which may be smaller than an mp_exp_t. Fixed that and replaced uceil_log10 by uceil_log10_exp_p2. ------------------------------------------------------------------------ r5001 | vlefevre | 2007-11-24 00:55:50 +0000 (Sat, 24 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c vasprintf.c: fixed uceil_log10 for x close to ULONG_MAX. ------------------------------------------------------------------------ r5000 | zimmerma | 2007-11-23 20:22:10 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/vasprintf.c got rid of math.h ------------------------------------------------------------------------ r4999 | vlefevre | 2007-11-23 19:20:38 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: include . ------------------------------------------------------------------------ r4998 | vlefevre | 2007-11-23 19:19:04 +0000 (Fri, 23 Nov 2007) | 3 lines Changed paths: M /trunk/mpfr.h M /trunk/printf.c M /trunk/vasprintf.c stdarg-related corrections, as HAVE_STDARG is not standard thus must not be tested in mpfr.h! ------------------------------------------------------------------------ r4997 | vlefevre | 2007-11-23 19:07:54 +0000 (Fri, 23 Nov 2007) | 3 lines Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: enable the tests only if HAVE_STDARG is defined, i.e. if the printf-like functions are defined. ------------------------------------------------------------------------ r4996 | vlefevre | 2007-11-23 19:02:46 +0000 (Fri, 23 Nov 2007) | 7 lines Changed paths: M /trunk/tests/tprintf.c tests/tprintf.c: * Non-standard headers should be included after the standard headers (when possible). * The setlocale function is used only if has been included. * Use tests_start_mpfr / tests_end_mpfr; this shows a bug: tests_free(): attempt to free bad pointer 0x1801200 ------------------------------------------------------------------------ r4995 | vlefevre | 2007-11-23 18:54:37 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tests.c tests/tests.c: setlocale is used only if has been included. ------------------------------------------------------------------------ r4994 | vlefevre | 2007-11-23 18:48:52 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/out_str.c out_str.c: remove other occurrence of . ------------------------------------------------------------------------ r4993 | thevenyp | 2007-11-23 17:35:46 +0000 (Fri, 23 Nov 2007) | 12 lines Changed paths: M /trunk/Makefile.am M /trunk/acinclude.m4 M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi A /trunk/printf.c M /trunk/strtofr.c M /trunk/tests/Makefile.am M /trunk/tests/tests.c A /trunk/tests/tprintf.c A /trunk/vasprintf.c Makefile.am: add mpfr_printf-like functions mpfr.h: add mpfr_printf-like functions printf.c: printf, sprintf, snprintf, asprintf and 'v' variants vasprintf.c: vasprintf functions used by its likes mpfr.texi: add description for printf family functions tests/Makefile.am: add test for printf tests/tprintf.c: tests for printf-like functions acinclude.m4: define HAVE_LOCALE_H mpfr-impl.h: define MPFR_DECIMAL_POINT even if no locale.h strtofr.c: remove locale.h inclusion (done by mpfr-impl.h ) tests/tests.c: use HAVE_LOCALE_H ------------------------------------------------------------------------ r4991 | vlefevre | 2007-11-23 16:55:03 +0000 (Fri, 23 Nov 2007) | 4 lines Changed paths: M /trunk/tests/tisqrt.c tests/tisqrt.c: test the 32-bit __gmpfr_cuberoot bound cases (9 per value) exhaustively (running tisqrt is still immediate on a recent machine). ------------------------------------------------------------------------ r4990 | vlefevre | 2007-11-23 16:49:45 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tisqrt.c tests/tisqrt.c: test the 32-bit __gmpfr_isqrt bound cases exhaustively. ------------------------------------------------------------------------ r4989 | vlefevre | 2007-11-23 15:10:56 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: test the availability of . ------------------------------------------------------------------------ r4988 | vlefevre | 2007-11-23 14:30:36 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: test the availability of . ------------------------------------------------------------------------ r4987 | vlefevre | 2007-11-23 14:26:39 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: updated comment concerning the checked functions. ------------------------------------------------------------------------ r4986 | vlefevre | 2007-11-23 14:24:50 +0000 (Fri, 23 Nov 2007) | 3 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: added memmove to the checked functions (though this test is currently useless, except for the corresponding information). ------------------------------------------------------------------------ r4985 | vlefevre | 2007-11-23 14:19:40 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/acinclude.m4 acinclude.m4: updated a comment concerning the function checking. ------------------------------------------------------------------------ r4984 | vlefevre | 2007-11-23 13:46:04 +0000 (Fri, 23 Nov 2007) | 3 lines Changed paths: M /trunk/gmp_op.c gmp_op.c: removed old "#include " line (seems to be useless now, and note that is included by default in mpfr-impl.h). ------------------------------------------------------------------------ r4982 | vlefevre | 2007-11-23 13:09:39 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tj0.c tests/tj0.c: fixed test. ------------------------------------------------------------------------ r4980 | vlefevre | 2007-11-23 12:58:53 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/jn.c jn.c: added integer overflow checking. ------------------------------------------------------------------------ r4978 | vlefevre | 2007-11-23 10:06:07 +0000 (Fri, 23 Nov 2007) | 2 lines Changed paths: M /trunk/tests/memory.c tests/memory.c: fixed copyright notice. ------------------------------------------------------------------------ r4969 | vlefevre | 2007-11-21 14:50:18 +0000 (Wed, 21 Nov 2007) | 4 lines Changed paths: M /trunk/tests/tzeta.c tests/tzeta.c: completed test of mpfr_zeta bug fixed in r4920 (the value of zeta(large negative) was also wrong in GMP_RNDU: -Inf instead of the largest negative MPFR number). ------------------------------------------------------------------------ r4957 | zimmerma | 2007-11-20 14:43:14 +0000 (Tue, 20 Nov 2007) | 3 lines Changed paths: M /trunk/tests/tinp_str.c reverted back to rev. 4951 (otherwise we would have to free memory for all exit calls) ------------------------------------------------------------------------ r4956 | thevenyp | 2007-11-20 11:21:10 +0000 (Tue, 20 Nov 2007) | 3 lines Changed paths: M /trunk/tests/tpow_z.c M /trunk/tests/trandom.c M /trunk/tests/tset_f.c use of RANDS instead of __gmp_rands tset_f.c add checking with random values ------------------------------------------------------------------------ r4955 | thevenyp | 2007-11-19 11:07:49 +0000 (Mon, 19 Nov 2007) | 4 lines Changed paths: M /trunk/tests/tests.c M /trunk/tests/tli2.c M /trunk/tests/tpow_z.c M /trunk/tests/trandom.c M /trunk/tests/tset_f.c tli2.c: fix wrong assertion in copyright motice test.c: fixed seed for reproducible errors trandom.c tpow_z.c tset_f.c: integration with GMP_CHECK_RANDOMIZE process ------------------------------------------------------------------------ r4954 | zimmerma | 2007-11-17 12:15:53 +0000 (Sat, 17 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tasin.c added missing call to tests_end_mpfr ------------------------------------------------------------------------ r4953 | zimmerma | 2007-11-17 09:59:19 +0000 (Sat, 17 Nov 2007) | 5 lines Changed paths: M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/tests/mpfr-test.h M /trunk/tests/reuse.c M /trunk/tests/tadd.c M /trunk/tests/tadd_d.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_d.c M /trunk/tests/tdiv_ui.c M /trunk/tests/tgamma.c M /trunk/tests/tget_f.c M /trunk/tests/tli2.c M /trunk/tests/tmul.c M /trunk/tests/tmul_d.c M /trunk/tests/tmul_ui.c M /trunk/tests/tpow.c M /trunk/tests/tpow_z.c M /trunk/tests/trandom.c M /trunk/tests/troot.c M /trunk/tests/tset_f.c M /trunk/tests/tsi_op.c M /trunk/tests/tsub.c M /trunk/tests/tsub_d.c M /trunk/tests/tsub_ui.c got rid of mpfr_init_gmp_rand/MPFR_TEST_USE_RANDS and not-reentrant gmp random functions (mpn_random*, mpz_random*, mpf_random*). Now all tests use either RANDS (which is cleared by tests_rand_end called by tests_end_mpfr), or the gmp_randstate_t mechanism. ------------------------------------------------------------------------ r4952 | zimmerma | 2007-11-16 17:09:12 +0000 (Fri, 16 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tinp_str.c added missing mpfr_clear and tests_end_mpfr (thanks Michael Abshoff) ------------------------------------------------------------------------ r4951 | zimmerma | 2007-11-16 14:28:29 +0000 (Fri, 16 Nov 2007) | 2 lines Changed paths: M /trunk/mul.c fixed problem reported by valgrind (thanks to Michael Abshoff) ------------------------------------------------------------------------ r4950 | zimmerma | 2007-11-06 22:07:31 +0000 (Tue, 06 Nov 2007) | 2 lines Changed paths: M /trunk/div_ui.c M /trunk/tests/tdiv_ui.c fixed bug in div_ui for x=0 and u<>0 (sign of result was not set) ------------------------------------------------------------------------ r4949 | thevenyp | 2007-11-06 10:53:43 +0000 (Tue, 06 Nov 2007) | 4 lines Changed paths: M /trunk/algorithms.bib M /trunk/algorithms.tex algorithms.tex: fix bibtex references for dilogarithm function algorithms.bib: add references for dilogarithm function ------------------------------------------------------------------------ r4948 | vlefevre | 2007-11-05 11:18:46 +0000 (Mon, 05 Nov 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: removed trailing spaces. ------------------------------------------------------------------------ r4947 | zimmerma | 2007-11-05 10:53:21 +0000 (Mon, 05 Nov 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/pow.c added new macro MPFR_ALIAS ------------------------------------------------------------------------ r4946 | zimmerma | 2007-11-04 11:10:23 +0000 (Sun, 04 Nov 2007) | 2 lines Changed paths: M /trunk/expm1.c removed unused label ------------------------------------------------------------------------ r4945 | vlefevre | 2007-11-04 00:46:45 +0000 (Sun, 04 Nov 2007) | 3 lines Changed paths: M /trunk/pow_z.c pow_z.c: fixed bug that occurs when x is a power of 2 and the result overflows (wrong sign); this bug has always been present (from r3215). ------------------------------------------------------------------------ r4944 | vlefevre | 2007-11-04 00:44:04 +0000 (Sun, 04 Nov 2007) | 2 lines Changed paths: M /trunk/tests/tpow.c M /trunk/tests/tpow_z.c tpow.c, tpow_z.c: removed a printf that was left by mistake. ------------------------------------------------------------------------ r4943 | vlefevre | 2007-11-04 00:36:23 +0000 (Sun, 04 Nov 2007) | 3 lines Changed paths: M /trunk/tests/tpow_z.c tpow_z.c: added testcase for the latest mpfr_pow bug (rev 4942), which is in fact a bug in mpfr_pow_z. ------------------------------------------------------------------------ r4942 | vlefevre | 2007-11-04 00:28:20 +0000 (Sun, 04 Nov 2007) | 3 lines Changed paths: M /trunk/tests/tpow.c tpow.c: added testcase for new bug found by Kevin P. Rauch; removed a mpfr_dump that was left by mistake. ------------------------------------------------------------------------ r4941 | vlefevre | 2007-11-03 09:28:23 +0000 (Sat, 03 Nov 2007) | 2 lines Changed paths: M /trunk/pow.c pow.c: removed FIXME comment. ------------------------------------------------------------------------ r4940 | zimmerma | 2007-11-03 08:45:17 +0000 (Sat, 03 Nov 2007) | 2 lines Changed paths: M /trunk/pow.c fixed case x < 0, y large integer ------------------------------------------------------------------------ r4939 | vlefevre | 2007-11-03 02:05:04 +0000 (Sat, 03 Nov 2007) | 2 lines Changed paths: M /trunk/pow.c pow.c: added FIXME comment. ------------------------------------------------------------------------ r4938 | vlefevre | 2007-11-03 01:59:23 +0000 (Sat, 03 Nov 2007) | 5 lines Changed paths: M /trunk/tests/tpow.c tpow.c: added testcase for new bug found by Kevin P. Rauch. The problem occurs on x^y with x negative and y an integer whose exponent is > 256 (so that mpfr_pow_z isn't used, and the generic code is used instead and fails because x is negative). ------------------------------------------------------------------------ r4937 | vlefevre | 2007-11-02 15:02:50 +0000 (Fri, 02 Nov 2007) | 2 lines Changed paths: M /trunk/pow.c M /trunk/tests/tpow.c Fixed several bugs in mpfr_pow (from rev 3592 and 4932); added testcase. ------------------------------------------------------------------------ r4936 | vlefevre | 2007-11-02 14:29:21 +0000 (Fri, 02 Nov 2007) | 3 lines Changed paths: M /trunk/tests/tpow.c tpow.c: added an overflow test in reduced exponent range (-> assertion failure in the current pow.c code). ------------------------------------------------------------------------ r4935 | vlefevre | 2007-11-02 13:02:45 +0000 (Fri, 02 Nov 2007) | 3 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: added a comment concerning __gmpfr_one, __gmpfr_two and __gmpfr_four. ------------------------------------------------------------------------ r4934 | vlefevre | 2007-11-02 12:54:14 +0000 (Fri, 02 Nov 2007) | 3 lines Changed paths: M /trunk/cmp_abs.c Bug fix: in cmp_abs.c, changed MPFR_GET_EXP into MPFR_EXP to allow exponents outside the current exponent range (needed for mpfr_pow). ------------------------------------------------------------------------ r4933 | vlefevre | 2007-10-31 15:46:57 +0000 (Wed, 31 Oct 2007) | 2 lines Changed paths: M /trunk/TODO M /trunk/erfc.c M /trunk/li2.c M /trunk/lngamma.c M /trunk/mpfr.texi M /trunk/pow.c M /trunk/rem1.c M /trunk/tests/tfmod.c M /trunk/tests/tgamma.c M /trunk/tests/tpow.c M /trunk/tests/tzeta.c Untabified and removed trailing spaces. ------------------------------------------------------------------------ r4932 | zimmerma | 2007-10-30 16:29:46 +0000 (Tue, 30 Oct 2007) | 3 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/pow.c M /trunk/tests/tpow.c pow.c, tpow.c: fixed bugs reported by Kevin Rauch mpfr-impl.h: fixed typo ------------------------------------------------------------------------ r4931 | zimmerma | 2007-10-30 14:35:24 +0000 (Tue, 30 Oct 2007) | 2 lines Changed paths: M /trunk/algorithms.tex cosmetic changes ------------------------------------------------------------------------ r4930 | zimmerma | 2007-10-30 14:00:30 +0000 (Tue, 30 Oct 2007) | 2 lines Changed paths: M /trunk/algorithms.tex added missing \Li2 ------------------------------------------------------------------------ r4929 | zimmerma | 2007-10-28 15:18:03 +0000 (Sun, 28 Oct 2007) | 3 lines Changed paths: M /trunk/li2.c M /trunk/tests/data/li2 M /trunk/tests/tli2.c added more test cases for mpfr_li2 improved MPFR_FAST_COMPUTE_IF_SMALL_INPUT case for x > 0 ------------------------------------------------------------------------ r4928 | zimmerma | 2007-10-28 13:16:02 +0000 (Sun, 28 Oct 2007) | 3 lines Changed paths: M /trunk/lngamma.c M /trunk/tests/tlgamma.c fixed bug mentioned by Kevin Rauch: mpfr_lgamma was hanging for tiny input (had to implement a complete loop in that case) ------------------------------------------------------------------------ r4927 | zimmerma | 2007-10-28 12:29:01 +0000 (Sun, 28 Oct 2007) | 2 lines Changed paths: M /trunk/jn.c M /trunk/jyn_asympt.c M /trunk/tests/tj0.c fixed bug reported by Kevin Rauch: wrong sign for jn(n even, large negative x) ------------------------------------------------------------------------ r4926 | zimmerma | 2007-10-28 12:18:04 +0000 (Sun, 28 Oct 2007) | 3 lines Changed paths: M /trunk/TODO removed item on mpfr_sinh_cosh (done) added more info on item on efficiency of mpfr_sin ------------------------------------------------------------------------ r4925 | zimmerma | 2007-10-28 11:53:51 +0000 (Sun, 28 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi added comment about function/macro in custom interface ------------------------------------------------------------------------ r4924 | zimmerma | 2007-10-28 11:11:13 +0000 (Sun, 28 Oct 2007) | 4 lines Changed paths: M /trunk/jn.c M /trunk/tests/tjn.c jn.c: improved choice of initial precision in Taylor series (takes into account cancellation) tests/tjn.c: now "tjn p n z" evaluates j(n,z) to precision p ------------------------------------------------------------------------ r4923 | vlefevre | 2007-10-27 12:59:35 +0000 (Sat, 27 Oct 2007) | 2 lines Changed paths: M /trunk/factorial.c factorial.c: added FIXME comment. ------------------------------------------------------------------------ r4922 | vlefevre | 2007-10-27 12:23:43 +0000 (Sat, 27 Oct 2007) | 4 lines Changed paths: M /trunk/gamma.c gamma.c: attempt to fix wrong fix in 4918 (the maximum exponent can be > 2^30 on 64-bit machines). There may still be problems in huge precisions. ------------------------------------------------------------------------ r4921 | zimmerma | 2007-10-27 11:17:24 +0000 (Sat, 27 Oct 2007) | 3 lines Changed paths: M /trunk/mpfr.texi added note about efficiency of special functions corrected typo ------------------------------------------------------------------------ r4920 | zimmerma | 2007-10-27 11:07:33 +0000 (Sat, 27 Oct 2007) | 2 lines Changed paths: M /trunk/tests/tzeta.c M /trunk/zeta.c fixed bug in zeta(large negative) reported by Kevin Rauch [wrong inexact flag] ------------------------------------------------------------------------ r4919 | zimmerma | 2007-10-27 08:15:57 +0000 (Sat, 27 Oct 2007) | 2 lines Changed paths: M /trunk/erfc.c M /trunk/tests/terf.c fixed inefficiency reported by Kevin Rauch when x large negative (erfc -> 2) ------------------------------------------------------------------------ r4918 | zimmerma | 2007-10-26 19:12:24 +0000 (Fri, 26 Oct 2007) | 2 lines Changed paths: M /trunk/gamma.c M /trunk/tests/tgamma.c fixed another bug found by Kevin Rauch: gamma(huge integer) failed on 64-bit ------------------------------------------------------------------------ r4917 | zimmerma | 2007-10-26 18:34:54 +0000 (Fri, 26 Oct 2007) | 2 lines Changed paths: M /trunk/lngamma.c M /trunk/tests/tlgamma.c fixed bug found by Kevin Rauch (emin/emax not restored for x=1,2) ------------------------------------------------------------------------ r4916 | zimmerma | 2007-10-26 18:05:43 +0000 (Fri, 26 Oct 2007) | 2 lines Changed paths: M /trunk/tests/tli2.c added test for reference values ------------------------------------------------------------------------ r4915 | zimmerma | 2007-10-26 18:05:12 +0000 (Fri, 26 Oct 2007) | 2 lines Changed paths: A /trunk/tests/data/li2 reference values for li2 ------------------------------------------------------------------------ r4914 | thevenyp | 2007-10-26 17:32:19 +0000 (Fri, 26 Oct 2007) | 3 lines Changed paths: M /trunk/algorithms.tex M /trunk/li2.c algorithms.tex: description of dilogarithm algorithm li2.c: conformity with description in algorithm.tex ------------------------------------------------------------------------ r4913 | vlefevre | 2007-10-23 10:16:22 +0000 (Tue, 23 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: small change in the description of mpfr_subnormalize. ------------------------------------------------------------------------ r4912 | zimmerma | 2007-10-23 09:02:35 +0000 (Tue, 23 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi added more details in the description of subnormalize ------------------------------------------------------------------------ r4908 | vlefevre | 2007-10-23 02:43:39 +0000 (Tue, 23 Oct 2007) | 2 lines Changed paths: M /trunk/subnormal.c subnormal.c: fixed the bugs when old_inex is INT_MIN or INT_MAX. ------------------------------------------------------------------------ r4907 | vlefevre | 2007-10-23 02:35:00 +0000 (Tue, 23 Oct 2007) | 3 lines Changed paths: M /trunk/tests/tsubnormal.c tsubnormal.c: added some tests showing bugs when old_inex is INT_MIN or INT_MAX. ------------------------------------------------------------------------ r4906 | vlefevre | 2007-10-23 02:31:48 +0000 (Tue, 23 Oct 2007) | 2 lines Changed paths: M /trunk/subnormal.c subnormal.c: corrected comment. ------------------------------------------------------------------------ r4905 | vlefevre | 2007-10-23 01:52:28 +0000 (Tue, 23 Oct 2007) | 8 lines Changed paths: M /trunk/mpfr.texi M /trunk/subnormal.c Changeset r4904 introduced an assertion failure, but the assertion emax - emin >= PREC(x) wasn't necessary: the value of emax doesn't matter, except when the exponent is increased due to the rounding. So, we just document that if the result cannot be represented in the current exponent range, the behavior is undefined (updated mpfr.texi accordingly). Removed the assertion from subnormal.c and added a new one to have an abort if such an undefined behavior occurs. ------------------------------------------------------------------------ r4904 | zimmerma | 2007-10-22 18:38:49 +0000 (Mon, 22 Oct 2007) | 2 lines Changed paths: M /trunk/subnormal.c M /trunk/tests/tsubnormal.c fixed 2 bugs reported by Kevin Rauch ------------------------------------------------------------------------ r4903 | vlefevre | 2007-10-22 16:41:45 +0000 (Mon, 22 Oct 2007) | 2 lines Changed paths: M /trunk/subnormal.c subnormal.c: replaced incorrect comment. ------------------------------------------------------------------------ r4902 | vlefevre | 2007-10-22 15:22:24 +0000 (Mon, 22 Oct 2007) | 2 lines Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r4901 | zimmerma | 2007-10-22 08:55:51 +0000 (Mon, 22 Oct 2007) | 2 lines Changed paths: M /trunk/algorithms.bib added new references ------------------------------------------------------------------------ r4899 | zimmerma | 2007-10-20 09:18:37 +0000 (Sat, 20 Oct 2007) | 2 lines Changed paths: M /trunk/li2.c added asymptotic expansions ------------------------------------------------------------------------ r4898 | thevenyp | 2007-10-19 16:08:27 +0000 (Fri, 19 Oct 2007) | 3 lines Changed paths: M /trunk/li2.c M /trunk/tests/tli2.c li2.c: add Ziv's loop in li2_series tli2.c: add a function for fixed value checking ------------------------------------------------------------------------ r4897 | thevenyp | 2007-10-17 16:10:03 +0000 (Wed, 17 Oct 2007) | 3 lines Changed paths: M /trunk/li2.c M /trunk/tests/tli2.c li2.c: fix a typo and fix use of taylor series tests/tli2.c: use default random function ------------------------------------------------------------------------ r4896 | thevenyp | 2007-10-16 17:02:02 +0000 (Tue, 16 Oct 2007) | 2 lines Changed paths: M /trunk/Makefile.am A /trunk/li2.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/Makefile.am M /trunk/tests/reuse.c A /trunk/tests/tli2.c add dilogarithm function ------------------------------------------------------------------------ r4895 | zimmerma | 2007-10-15 14:11:22 +0000 (Mon, 15 Oct 2007) | 2 lines Changed paths: M /trunk/TODO added item in Efficiency section ------------------------------------------------------------------------ r4894 | zimmerma | 2007-10-15 13:14:30 +0000 (Mon, 15 Oct 2007) | 3 lines Changed paths: M /trunk/TODO added table of contents removed last section (mpf/mpfr integration) ------------------------------------------------------------------------ r4893 | vlefevre | 2007-10-15 01:58:45 +0000 (Mon, 15 Oct 2007) | 3 lines Changed paths: M /trunk/acosh.c M /trunk/algorithms.tex Fixed acosh(x) with x slightly larger than 1, using sqrt(2(x-1)) and a complete error analysis. ------------------------------------------------------------------------ r4892 | vlefevre | 2007-10-15 00:46:10 +0000 (Mon, 15 Oct 2007) | 3 lines Changed paths: M /trunk/tests/tacosh.c tests/tacosh.c: added another test with x a bit larger than 1 and prec(y) << prec(x). ------------------------------------------------------------------------ r4891 | vlefevre | 2007-10-12 16:07:23 +0000 (Fri, 12 Oct 2007) | 2 lines Changed paths: M /trunk/acosh.c acosh.c: added a comment about the fix I did in r4814. ------------------------------------------------------------------------ r4890 | zimmerma | 2007-10-09 20:22:47 +0000 (Tue, 09 Oct 2007) | 2 lines Changed paths: M /trunk/TODO added extra reference for slowness of mpfr_root ------------------------------------------------------------------------ r4888 | vlefevre | 2007-10-09 11:48:52 +0000 (Tue, 09 Oct 2007) | 2 lines Changed paths: M /trunk/FAQ.html FAQ update (added Question 8). ------------------------------------------------------------------------ r4887 | vlefevre | 2007-10-09 11:03:16 +0000 (Tue, 09 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: another small change in Contributors section. ------------------------------------------------------------------------ r4886 | vlefevre | 2007-10-09 10:35:28 +0000 (Tue, 09 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: small change in Contributors section. ------------------------------------------------------------------------ r4885 | vlefevre | 2007-10-09 09:59:18 +0000 (Tue, 09 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: mention Fiable and AOC actions in the Contributors section. ------------------------------------------------------------------------ r4884 | zimmerma | 2007-10-09 07:50:42 +0000 (Tue, 09 Oct 2007) | 3 lines Changed paths: M /trunk/mpfr.texi added reference to ACM TOMS paper updated other references, and Contributors section ------------------------------------------------------------------------ r4883 | zimmerma | 2007-10-09 06:11:31 +0000 (Tue, 09 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi fixed typo in sectioning ------------------------------------------------------------------------ r4882 | zimmerma | 2007-10-08 17:16:51 +0000 (Mon, 08 Oct 2007) | 3 lines Changed paths: M /trunk/mpfr.texi removed mpfr_get_d1 from documented functions removed old commented functions ------------------------------------------------------------------------ r4881 | zimmerma | 2007-10-08 14:48:38 +0000 (Mon, 08 Oct 2007) | 4 lines Changed paths: M /trunk/mpfr.texi renamed "Rounding Mode Related Functions" to "Rounding Related Functions" put mpfr_can_round in "Rounding Related Functions" (now exported) exchanged order of sections "Miscellaneous Functions" and "Rounding Related Functions" ------------------------------------------------------------------------ r4880 | zimmerma | 2007-10-08 11:04:34 +0000 (Mon, 08 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi added hint for mpfr_can_round to get ternary value ------------------------------------------------------------------------ r4879 | zimmerma | 2007-10-08 10:09:56 +0000 (Mon, 08 Oct 2007) | 2 lines Changed paths: M /trunk/sin.c changed mpfr_can_round() call into MPFR_CAN_ROUND() call ------------------------------------------------------------------------ r4878 | vlefevre | 2007-10-05 12:18:17 +0000 (Fri, 05 Oct 2007) | 2 lines Changed paths: M /trunk/update-version Updated update-version to make patches easier to produce. ------------------------------------------------------------------------ r4876 | vlefevre | 2007-10-04 01:57:35 +0000 (Thu, 04 Oct 2007) | 3 lines Changed paths: M /trunk/atan2.c M /trunk/tests/tatan.c Fixed a bug (found by Robert Bajema) in mpfr_atan2, which can occur if the underflow flag is set before the call and x > 0; added testcase. ------------------------------------------------------------------------ r4875 | vlefevre | 2007-10-03 15:13:06 +0000 (Wed, 03 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: improved mpfr_set_exp description too. ------------------------------------------------------------------------ r4874 | vlefevre | 2007-10-03 15:09:49 +0000 (Wed, 03 Oct 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: improved mpfr_get_exp documentation. ------------------------------------------------------------------------ r4873 | vlefevre | 2007-10-03 15:05:31 +0000 (Wed, 03 Oct 2007) | 3 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: mantissa -> significand (to use the terminology from IEEE 754 and ISO C99). ------------------------------------------------------------------------ r4872 | vlefevre | 2007-10-03 14:36:38 +0000 (Wed, 03 Oct 2007) | 2 lines Changed paths: M /trunk/configure.in configure.in: better error message if libgmp is not found. ------------------------------------------------------------------------ r4871 | thevenyp | 2007-10-02 16:08:02 +0000 (Tue, 02 Oct 2007) | 1 line Changed paths: M /trunk/algorithms.tex fix some typos ------------------------------------------------------------------------ r4870 | zimmerma | 2007-09-28 16:14:03 +0000 (Fri, 28 Sep 2007) | 2 lines Changed paths: M /trunk/TODO added references ------------------------------------------------------------------------ r4869 | thevenyp | 2007-09-28 12:08:56 +0000 (Fri, 28 Sep 2007) | 5 lines Changed paths: M /trunk/Makefile.am D /trunk/fmod.c M /trunk/mpfr.texi A /trunk/rem1.c D /trunk/remquo.c M /trunk/tests/tfmod.c merge fmod, remaider and remquo into a single file rem1.c. merge code into a single internal function mpfr_rem1. fix false statement in mpfr.texi: rop and op1 have the same sign for mpfr_fmod but not for mpfr_remainder and mpfr_remquo. ------------------------------------------------------------------------ r4868 | vlefevre | 2007-09-26 16:20:35 +0000 (Wed, 26 Sep 2007) | 2 lines Changed paths: M /trunk/tests/tfmod.c tests/tfmod.c: added static. ------------------------------------------------------------------------ r4867 | thevenyp | 2007-09-26 11:30:29 +0000 (Wed, 26 Sep 2007) | 2 lines Changed paths: M /trunk/Makefile.am A /trunk/fmod.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/Makefile.am M /trunk/tests/reuse.c A /trunk/tests/tfmod.c new fmod function ------------------------------------------------------------------------ r4866 | vlefevre | 2007-09-22 00:17:11 +0000 (Sat, 22 Sep 2007) | 2 lines Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r4865 | vlefevre | 2007-09-22 00:15:49 +0000 (Sat, 22 Sep 2007) | 2 lines Changed paths: M /trunk/add_d.c M /trunk/modf.c M /trunk/mpfr.texi M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sinh_cosh.c M /trunk/tests/reuse.c M /trunk/tests/tadd_d.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv_d.c M /trunk/tests/tgeneric.c M /trunk/tests/tmodf.c M /trunk/tests/tmul_d.c M /trunk/tests/tsinh_cosh.c M /trunk/tests/tsub_d.c M /trunk/tests/ttrunc.c GNU coding style, reformatting, exit (-1) -> exit (1). ------------------------------------------------------------------------ r4864 | thevenyp | 2007-09-21 08:29:01 +0000 (Fri, 21 Sep 2007) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/mpfr.h M /trunk/mpfr.texi A /trunk/sinh_cosh.c M /trunk/tests/Makefile.am M /trunk/tests/reuse.c A /trunk/tests/tsinh_cosh.c new mpfr_sinh_cosh function ------------------------------------------------------------------------ r4863 | vlefevre | 2007-09-19 02:24:31 +0000 (Wed, 19 Sep 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: removed __gmpfr_isqrt bug. ------------------------------------------------------------------------ r4862 | vlefevre | 2007-09-19 02:12:09 +0000 (Wed, 19 Sep 2007) | 3 lines Changed paths: M /trunk/isqrt.c M /trunk/tests/tisqrt.c isqrt.c: quick fix of __gmpfr_cuberoot (a full proof is needed). tests/tisqrt.c: added much more tests for __gmpfr_cuberoot. ------------------------------------------------------------------------ r4861 | vlefevre | 2007-09-19 01:46:58 +0000 (Wed, 19 Sep 2007) | 7 lines Changed paths: M /trunk/tests/tisqrt.c tisqrt.c: improved tests. When doing touch tests.c tisqrt.c make tisqrt CFLAGS="-g -O2 -ffloat-store -DMPFR_FPU_PREC=_FPU_SINGLE" ./tisqrt with gcc 4.2.1 on a Linux/x86 machine, on gets: Error in __gmpfr_cuberoot (4251527999): got 1620 instead of 1619 ------------------------------------------------------------------------ r4860 | vlefevre | 2007-09-19 01:12:33 +0000 (Wed, 19 Sep 2007) | 2 lines Changed paths: M /trunk/tests/tisqrt.c tisqrt.c: added __gmpfr_cuberoot() tests. ------------------------------------------------------------------------ r4859 | vlefevre | 2007-09-19 01:03:11 +0000 (Wed, 19 Sep 2007) | 2 lines Changed paths: M /trunk/isqrt.c isqrt.c: corrected the explanation. ------------------------------------------------------------------------ r4858 | vlefevre | 2007-09-19 00:57:46 +0000 (Wed, 19 Sep 2007) | 2 lines Changed paths: M /trunk/isqrt.c isqrt.c: fixed __gmpfr_isqrt. ------------------------------------------------------------------------ r4857 | vlefevre | 2007-09-18 14:54:59 +0000 (Tue, 18 Sep 2007) | 2 lines Changed paths: M /trunk/tests tests: updated svn:ignore property. ------------------------------------------------------------------------ r4856 | vlefevre | 2007-09-18 14:52:23 +0000 (Tue, 18 Sep 2007) | 2 lines Changed paths: M /trunk/tests/Makefile.am A /trunk/tests/tisqrt.c tests: added tisqrt.c (test file for __gmpfr_isqrt internal function). ------------------------------------------------------------------------ r4855 | vlefevre | 2007-09-18 14:37:59 +0000 (Tue, 18 Sep 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: added __gmpfr_isqrt bug. ------------------------------------------------------------------------ r4854 | vlefevre | 2007-09-18 14:26:48 +0000 (Tue, 18 Sep 2007) | 2 lines Changed paths: M /trunk/isqrt.c isqrt.c: fixed a cast and added a FIXME comment. ------------------------------------------------------------------------ r4853 | vlefevre | 2007-09-18 14:16:46 +0000 (Tue, 18 Sep 2007) | 2 lines Changed paths: M /trunk/isqrt.c isqrt.c: GNU coding style. ------------------------------------------------------------------------ r4852 | vlefevre | 2007-09-18 12:21:14 +0000 (Tue, 18 Sep 2007) | 2 lines Changed paths: M /trunk/sin.c sin.c: extend the exponent range. ------------------------------------------------------------------------ r4851 | vlefevre | 2007-09-18 12:14:15 +0000 (Tue, 18 Sep 2007) | 2 lines Changed paths: M /trunk/sqr.c sqr.c: set the global inexact flag. ------------------------------------------------------------------------ r4850 | vlefevre | 2007-09-18 12:09:13 +0000 (Tue, 18 Sep 2007) | 2 lines Changed paths: M /trunk/sqrt.c sqrt.c: avoid the exponent range extension. ------------------------------------------------------------------------ r4849 | vlefevre | 2007-09-18 12:02:07 +0000 (Tue, 18 Sep 2007) | 2 lines Changed paths: M /trunk/tests/tsqr.c tsqr.c: added generic tests (shows that the inexact flag isn't set). ------------------------------------------------------------------------ r4848 | vlefevre | 2007-09-18 11:55:32 +0000 (Tue, 18 Sep 2007) | 3 lines Changed paths: M /trunk/sqrt.c sqrt.c: extend exponent range (this also fixes the fact that the global inexact flag wasn't set). ------------------------------------------------------------------------ r4847 | vlefevre | 2007-09-18 11:51:23 +0000 (Tue, 18 Sep 2007) | 3 lines Changed paths: M /trunk/tests/tsqrt.c tsqrt.c: added generic tests (shows that the inexact flag isn't set, which is a bug reported by Guillaume Revy). ------------------------------------------------------------------------ r4846 | thevenyp | 2007-09-17 11:05:18 +0000 (Mon, 17 Sep 2007) | 1 line Changed paths: M /trunk/modf.c M /trunk/tests/tmodf.c modf.c: take care of user exponent range (possible underflow/overflow) ------------------------------------------------------------------------ r4845 | vlefevre | 2007-09-16 09:44:33 +0000 (Sun, 16 Sep 2007) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c tsin_cos.c: fixed the tiny() test. ------------------------------------------------------------------------ r4844 | vlefevre | 2007-09-16 09:43:04 +0000 (Sun, 16 Sep 2007) | 4 lines Changed paths: M /trunk/sin_cos.c sin_cos.c: fixed the overflow and cancellation problems by using MPFR_FAST_COMPUTE_IF_SMALL_INPUT from the mpfr_sin and mpfr_cos functions (I'll fix the test later). ------------------------------------------------------------------------ r4843 | vlefevre | 2007-09-16 09:09:39 +0000 (Sun, 16 Sep 2007) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c tsin_cos.c: added test on tiny values. ------------------------------------------------------------------------ r4842 | zimmerma | 2007-09-16 08:28:27 +0000 (Sun, 16 Sep 2007) | 4 lines Changed paths: M /trunk/sin_cos.c Put back previous patch, now avoids overflow, and added more explanations. This is still not a definitive solution, but more efficient than 2.3.0 in the case x is small. ------------------------------------------------------------------------ r4841 | vlefevre | 2007-09-15 08:30:36 +0000 (Sat, 15 Sep 2007) | 2 lines Changed paths: M /trunk/sin_cos.c Efficiency regression wasn't fixed correctly -> commented out the code. ------------------------------------------------------------------------ r4840 | zimmerma | 2007-09-15 08:15:15 +0000 (Sat, 15 Sep 2007) | 2 lines Changed paths: M /trunk/sin_cos.c fixed efficiency regression pointed out by Andreas Enge ------------------------------------------------------------------------ r4839 | zimmerma | 2007-09-13 19:08:25 +0000 (Thu, 13 Sep 2007) | 3 lines Changed paths: M /trunk/mpfr.texi M /trunk/sin_cos.c M /trunk/tests/reuse.c fixed bug in mpfr_sin_cos found by Philippe: z (to save the cosine) was not allowed to be identical to the input x ------------------------------------------------------------------------ r4838 | thevenyp | 2007-09-13 16:48:49 +0000 (Thu, 13 Sep 2007) | 1 line Changed paths: M /trunk/Makefile.am M /trunk/TODO A /trunk/modf.c M /trunk/mpfr-impl.h M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/sin_cos.c M /trunk/tests/Makefile.am M /trunk/tests/reuse.c A /trunk/tests/tmodf.c new function mpfr_modf and add restrictions on mpfr_sin_cos' variables ------------------------------------------------------------------------ r4837 | thevenyp | 2007-09-11 13:01:54 +0000 (Tue, 11 Sep 2007) | 1 line Changed paths: M /trunk/tests/tadd_d.c M /trunk/tests/td_div.c M /trunk/tests/td_sub.c M /trunk/tests/tdiv_d.c M /trunk/tests/tmul_d.c M /trunk/tests/tsub_d.c add some simple test cases in tadd_d.c and friends ------------------------------------------------------------------------ r4836 | vlefevre | 2007-09-10 07:55:58 +0000 (Mon, 10 Sep 2007) | 2 lines Changed paths: M /trunk/prepare prepare: output a message saying that this script is obsolete. ------------------------------------------------------------------------ r4835 | zimmerma | 2007-09-09 19:08:17 +0000 (Sun, 09 Sep 2007) | 2 lines Changed paths: M /trunk/mpfr.texi added restrictions to mpfr_add_d and friends ------------------------------------------------------------------------ r4834 | zimmerma | 2007-09-08 06:41:22 +0000 (Sat, 08 Sep 2007) | 2 lines Changed paths: M /trunk/TODO removed functions mpfr_add_d ... which are done ------------------------------------------------------------------------ r4833 | zimmerma | 2007-09-07 15:35:49 +0000 (Fri, 07 Sep 2007) | 2 lines Changed paths: M /trunk/AUTHORS added Philippe Theveny ------------------------------------------------------------------------ r4832 | thevenyp | 2007-09-07 14:47:34 +0000 (Fri, 07 Sep 2007) | 1 line Changed paths: M /trunk/Makefile.am A /trunk/add_d.c A /trunk/d_div.c A /trunk/d_sub.c A /trunk/div_d.c M /trunk/mpfr.h M /trunk/mpfr.texi A /trunk/mul_d.c A /trunk/sub_d.c M /trunk/tests/Makefile.am A /trunk/tests/tadd_d.c A /trunk/tests/td_div.c A /trunk/tests/td_sub.c A /trunk/tests/tdiv_d.c M /trunk/tests/tgeneric.c A /trunk/tests/tmul_d.c A /trunk/tests/tsub_d.c new arithmetic functions with a double argument ------------------------------------------------------------------------ r4831 | vlefevre | 2007-09-07 13:04:09 +0000 (Fri, 07 Sep 2007) | 2 lines Changed paths: M /trunk/tests/tacosh.c tacosh.c: added generic tests for the overflow case. ------------------------------------------------------------------------ r4830 | vlefevre | 2007-09-07 13:03:32 +0000 (Fri, 07 Sep 2007) | 2 lines Changed paths: M /trunk/acosh.c acosh.c: reduce the precision for ln(2); smaller error bound. ------------------------------------------------------------------------ r4829 | vlefevre | 2007-09-07 13:02:13 +0000 (Fri, 07 Sep 2007) | 2 lines Changed paths: M /trunk/tests/tgeneric.c tgeneric.c: undefine some macros at the end. ------------------------------------------------------------------------ r4828 | vlefevre | 2007-09-07 12:30:36 +0000 (Fri, 07 Sep 2007) | 2 lines Changed paths: M /trunk/acosh.c acosh.c: fixed overflow bug. ------------------------------------------------------------------------ r4827 | vlefevre | 2007-09-07 11:54:53 +0000 (Fri, 07 Sep 2007) | 3 lines Changed paths: M /trunk/acosh.c M /trunk/tests/tacosh.c acosh.c: mentioned bug due to overflow in mpfr_mul. tests/tacosh.c: added corresponding testcase (for 32-bit machines). ------------------------------------------------------------------------ r4826 | vlefevre | 2007-09-07 11:26:30 +0000 (Fri, 07 Sep 2007) | 2 lines Changed paths: M /trunk/tests/tacosh.c tacosh.c: use tests_default_random(). ------------------------------------------------------------------------ r4825 | vlefevre | 2007-09-07 11:25:42 +0000 (Fri, 07 Sep 2007) | 2 lines Changed paths: M /trunk/tests/tests.c tests.c: improved tests_default_random(). ------------------------------------------------------------------------ r4823 | vlefevre | 2007-09-02 23:17:48 +0000 (Sun, 02 Sep 2007) | 2 lines Changed paths: M /trunk/Makefile.am Makefile.am: fixed get_patches rule. ------------------------------------------------------------------------ r4821 | vlefevre | 2007-09-02 22:29:28 +0000 (Sun, 02 Sep 2007) | 4 lines Changed paths: M /trunk/Makefile.am Makefile.am: cd $(srcdir) before executing get_patches.sh (thanks to Daniel Jacobowitz for noticing this); for more information, see the note just before the get_patches.c rule. ------------------------------------------------------------------------ r4819 | vlefevre | 2007-08-31 17:09:15 +0000 (Fri, 31 Aug 2007) | 2 lines Changed paths: M /trunk/acosh.c acosh.c: added MPFR_UNLIKELY. ------------------------------------------------------------------------ r4817 | vlefevre | 2007-08-31 15:50:48 +0000 (Fri, 31 Aug 2007) | 2 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tests.c M /trunk/tests/texp.c M /trunk/tests/texpm1.c M /trunk/tests/tlog.c M /trunk/tests/tlog1p.c M /trunk/tests/tsin.c M /trunk/tests/tsinh.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c Added generic bad case tests. ------------------------------------------------------------------------ r4816 | vlefevre | 2007-08-31 15:34:23 +0000 (Fri, 31 Aug 2007) | 2 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: deleted trailing spaces. ------------------------------------------------------------------------ r4815 | vlefevre | 2007-08-31 15:33:34 +0000 (Fri, 31 Aug 2007) | 2 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: correction in section on mpfr_asinh: acosh -> asinh. ------------------------------------------------------------------------ r4814 | vlefevre | 2007-08-31 15:31:37 +0000 (Fri, 31 Aug 2007) | 3 lines Changed paths: M /trunk/acosh.c M /trunk/algorithms.tex M /trunk/tests/tacosh.c Fixed bug in mpfr_acosh for arguments slightly larger than 1; updated algorithms.tex; fixed testcase. ------------------------------------------------------------------------ r4813 | vlefevre | 2007-08-31 13:06:59 +0000 (Fri, 31 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tacosh.c tacosh.c: added testcase for bug in mpfr_acosh (assertion failure). ------------------------------------------------------------------------ r4812 | vlefevre | 2007-08-31 12:02:37 +0000 (Fri, 31 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tasin.c tasin.c: increased the number of generic tests. ------------------------------------------------------------------------ r4811 | vlefevre | 2007-08-31 11:33:53 +0000 (Fri, 31 Aug 2007) | 3 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tasin.c M /trunk/tests/tatanh.c M /trunk/tests/tcosh.c M /trunk/tests/tcsch.c M /trunk/tests/tdim.c M /trunk/tests/teint.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texp.c M /trunk/tests/texp10.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tgeneric.c M /trunk/tests/tlog1p.c M /trunk/tests/tpow.c M /trunk/tests/tsech.c M /trunk/tests/tsinh.c M /trunk/tests/ttanh.c M /trunk/tests/tzeta.c Improved generic tests by limiting the exponent range of the random numbers for some functions. ------------------------------------------------------------------------ r4810 | vlefevre | 2007-08-30 15:09:11 +0000 (Thu, 30 Aug 2007) | 3 lines Changed paths: M /trunk/tests/mpfr-test.h M /trunk/tests/tagm.c M /trunk/tests/tests.c M /trunk/tests/tgeneric.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog2.c M /trunk/tests/tpow.c Generic tests: adjust the proportion of negative numbers returned by the random function in order to get fewer NaN cases. ------------------------------------------------------------------------ r4809 | vlefevre | 2007-08-30 14:26:54 +0000 (Thu, 30 Aug 2007) | 3 lines Changed paths: M /trunk/tests/tgeneric.c tgeneric.c: output a warning when too few normal cases are tested (so that the random function can be improved...). ------------------------------------------------------------------------ r4808 | vlefevre | 2007-08-30 13:50:59 +0000 (Thu, 30 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tests.c tests.c: function split (for future addition). ------------------------------------------------------------------------ r4806 | vlefevre | 2007-08-30 10:37:17 +0000 (Thu, 30 Aug 2007) | 2 lines Changed paths: M /trunk/configure.in configure.in: updated copyright notice (for consistency). ------------------------------------------------------------------------ r4803 | vlefevre | 2007-08-30 10:29:54 +0000 (Thu, 30 Aug 2007) | 2 lines Changed paths: M /trunk/tests/mpfr-test.h Bug fix: added missing _MPFR_PROTO in mpfr-test.h. ------------------------------------------------------------------------ r4802 | vlefevre | 2007-08-30 10:12:22 +0000 (Thu, 30 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tgeneric.c tgeneric.c: updated description line. ------------------------------------------------------------------------ r4800 | vlefevre | 2007-08-29 19:59:07 +0000 (Wed, 29 Aug 2007) | 3 lines Changed paths: M /trunk/BUGS M /trunk/FAQ.html M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/acinclude.m4 M /trunk/comparisons.c M /trunk/exp.c M /trunk/faq.xsl M /trunk/neg.c Updated copyright notice (for an unknown reason, some files were missing from the change done in r4350). ------------------------------------------------------------------------ r4795 | vlefevre | 2007-08-28 15:37:59 +0000 (Tue, 28 Aug 2007) | 3 lines Changed paths: M /trunk/atan2.c atan2.c: as we supposed some property, let's add an assertion (which can be evaluated at compile time). ------------------------------------------------------------------------ r4794 | vlefevre | 2007-08-28 15:27:17 +0000 (Tue, 28 Aug 2007) | 2 lines Changed paths: M /trunk/atan2.c atan2.c: improved comment. ------------------------------------------------------------------------ r4793 | vlefevre | 2007-08-28 15:24:27 +0000 (Tue, 28 Aug 2007) | 2 lines Changed paths: M /trunk/atan2.c atan2.c: completed the underflow case. ------------------------------------------------------------------------ r4792 | vlefevre | 2007-08-28 14:19:37 +0000 (Tue, 28 Aug 2007) | 3 lines Changed paths: M /trunk/atan2.c atan2.c: fixed the underflow case except in GMP_RNDN with 2^(-emin-2) < |y/x| < 2^(-emin-1). ------------------------------------------------------------------------ r4791 | vlefevre | 2007-08-28 14:18:35 +0000 (Tue, 28 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tatan.c tatan.c: added small-value tests in the other rounding modes. ------------------------------------------------------------------------ r4790 | vlefevre | 2007-08-28 13:51:04 +0000 (Tue, 28 Aug 2007) | 3 lines Changed paths: M /trunk/atan2.c atan2.c: implemented the special case where x is positive and y/x is computed exactly (solving the underflow problems in this case). ------------------------------------------------------------------------ r4789 | vlefevre | 2007-08-28 13:49:02 +0000 (Tue, 28 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tatan.c tatan.c: added a similar test, but with an exact division result. ------------------------------------------------------------------------ r4788 | vlefevre | 2007-08-28 13:35:40 +0000 (Tue, 28 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tatan.c tatan.c: fixed test. ------------------------------------------------------------------------ r4786 | vlefevre | 2007-08-28 13:16:16 +0000 (Tue, 28 Aug 2007) | 2 lines Changed paths: M /trunk/README.dev README.dev: added a paragraph concerning Ziv loops. ------------------------------------------------------------------------ r4785 | vlefevre | 2007-08-28 09:34:36 +0000 (Tue, 28 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tatan.c tatan.c: updated comment. ------------------------------------------------------------------------ r4784 | vlefevre | 2007-08-28 08:59:09 +0000 (Tue, 28 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tatan.c tatan.c: extended the latest testcase to any platform (e.g. 64 bits). ------------------------------------------------------------------------ r4783 | vlefevre | 2007-08-28 08:49:00 +0000 (Tue, 28 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tatan.c tatan.c: added testcase from a bug reported by Christopher Creutzig. ------------------------------------------------------------------------ r4781 | vlefevre | 2007-08-27 14:27:34 +0000 (Mon, 27 Aug 2007) | 2 lines Changed paths: M /trunk M /trunk/tests Updated svn:ignore properties. ------------------------------------------------------------------------ r4779 | vlefevre | 2007-08-27 11:55:00 +0000 (Mon, 27 Aug 2007) | 7 lines Changed paths: M /trunk/FAQ.html FAQ update: * The question numbers are now hardcoded instead of being generated with CSS rules. * Added the list of questions at the top. * CSS styles: a grey bar is displayed on the left of the target answer (if the browser supports the ":target" pseudo-class from CSS3). ------------------------------------------------------------------------ r4778 | vlefevre | 2007-08-27 10:56:11 +0000 (Mon, 27 Aug 2007) | 2 lines Changed paths: M /trunk/faq.xsl faq.xsl: added a comment. ------------------------------------------------------------------------ r4776 | vlefevre | 2007-08-27 10:44:17 +0000 (Mon, 27 Aug 2007) | 2 lines Changed paths: M /trunk/FAQ.html FAQ update. ------------------------------------------------------------------------ r4774 | vlefevre | 2007-08-22 15:51:41 +0000 (Wed, 22 Aug 2007) | 6 lines Changed paths: M /trunk/INSTALL INSTALL: added another warning concerning the --with-gmp options. For instance, under Linux, "cpp -I/usr/include -v < /dev/null" says: ignoring duplicate directory "/usr/include" as it is a non-system directory that duplicates a system directory and does not modify the include search path as wanted. ------------------------------------------------------------------------ r4772 | vlefevre | 2007-08-15 17:29:44 +0000 (Wed, 15 Aug 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: improved description of mpfr_setsign. ------------------------------------------------------------------------ r4770 | vlefevre | 2007-08-14 11:41:37 +0000 (Tue, 14 Aug 2007) | 2 lines Changed paths: M /trunk/NEWS Added to NEWS: Thread-safe support with Microsoft Visual compiler. ------------------------------------------------------------------------ r4768 | vlefevre | 2007-08-14 11:34:22 +0000 (Tue, 14 Aug 2007) | 5 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: if MPFR_USE_THREAD_SAFE is defined (--enable-thread-safe): * Added support for MSC (thanks to Brian Gladman). * Define MPFR_THREAD_ATTR even after #error to make the error more visible (see comment in the source). ------------------------------------------------------------------------ r4765 | vlefevre | 2007-08-13 10:41:51 +0000 (Mon, 13 Aug 2007) | 3 lines Changed paths: M /trunk/tests/tstckintc.c tstckintc.c: fixed bus error on Solaris (the address of Buffer was not a multiple of 4). ------------------------------------------------------------------------ r4761 | vlefevre | 2007-08-13 05:05:39 +0000 (Mon, 13 Aug 2007) | 2 lines Changed paths: M /trunk/NEWS NEWS: new functions mpfr_signbit, mpfr_setsign, mpfr_copysign. ------------------------------------------------------------------------ r4759 | vlefevre | 2007-08-13 04:53:32 +0000 (Mon, 13 Aug 2007) | 8 lines Changed paths: M /trunk/Makefile.am M /trunk/TODO M /trunk/copysign.c M /trunk/mpfr.h M /trunk/mpfr.texi A /trunk/setsign.c A /trunk/signbit.c M /trunk/tests/tcopysign.c Implemented changes suggested in . * Made mpfr_copysign() like the corresponding function in IEEE 754 (was an internal function until now). * Added mpfr_signbit() and mpfr_setsign(). * Documented these three functions. * Updated TODO. ------------------------------------------------------------------------ r4757 | vlefevre | 2007-08-13 04:34:33 +0000 (Mon, 13 Aug 2007) | 2 lines Changed paths: M /trunk/jyn_asympt.c M /trunk/remquo.c M /trunk/tests/texp10.c M /trunk/tests/tl2b.c Make svn properties consistent. ------------------------------------------------------------------------ r4752 | vlefevre | 2007-08-11 22:41:05 +0000 (Sat, 11 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tatan.c Fixed mpfr_inits and mpfr_clears calls in tests/tatan.c. ------------------------------------------------------------------------ r4751 | vlefevre | 2007-08-11 22:38:54 +0000 (Sat, 11 Aug 2007) | 3 lines Changed paths: A /trunk/check_inits_clears Added check_inits_clears Perl script to check that a cast is performed for the last argument of mpfr_inits, mpfr_inits2 and mpfr_clears. ------------------------------------------------------------------------ r4747 | vlefevre | 2007-08-10 02:19:57 +0000 (Fri, 10 Aug 2007) | 2 lines Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.in M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/version.c Updated version to 2.4.0-dev. ------------------------------------------------------------------------ r4744 | vlefevre | 2007-08-10 02:11:05 +0000 (Fri, 10 Aug 2007) | 2 lines Changed paths: M /trunk/NEWS NEWS update. ------------------------------------------------------------------------ r4743 | vlefevre | 2007-08-10 02:06:56 +0000 (Fri, 10 Aug 2007) | 2 lines Changed paths: M /trunk/ChangeLog ChangeLog update with "TZ=UTC svn log -v". ------------------------------------------------------------------------ r4742 | vlefevre | 2007-08-10 01:41:01 +0000 (Fri, 10 Aug 2007) | 3 lines Changed paths: M /trunk/asinh.c asinh.c: fixed assertion failure (see test 4 in tasinh.c, added in r4740), that was due to an exception. ------------------------------------------------------------------------ r4741 | vlefevre | 2007-08-10 01:38:25 +0000 (Fri, 10 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tasinh.c tasinh.c: fixed test. ------------------------------------------------------------------------ r4740 | vlefevre | 2007-08-10 01:18:46 +0000 (Fri, 10 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tasinh.c tasinh.c: added worst case that yields an assertion failure. ------------------------------------------------------------------------ r4739 | vlefevre | 2007-08-09 17:21:32 +0000 (Thu, 09 Aug 2007) | 2 lines Changed paths: A /trunk/tests/data/cbrt M /trunk/tests/tcbrt.c Added data_check support to cbrt. ------------------------------------------------------------------------ r4738 | vlefevre | 2007-08-09 15:45:47 +0000 (Thu, 09 Aug 2007) | 3 lines Changed paths: M /trunk/log.c log.c: fixed assertion failure (see test x_near_one in tlog.c, added in r4736), that was due to an exception. ------------------------------------------------------------------------ r4737 | vlefevre | 2007-08-09 12:12:56 +0000 (Thu, 09 Aug 2007) | 6 lines Changed paths: M /trunk/pow.c pow.c: added MPFR_SMALL_INPUT_AFTER_SAVE_EXPO for the case where |y * log(x)| is very small (I can't really test because this code currently fails due to a bug in mpfr_log: see test x_near_one added to tlog.c as changeset 4736; this bug is also present in the 2.2 branch). ------------------------------------------------------------------------ r4736 | vlefevre | 2007-08-09 11:58:59 +0000 (Thu, 09 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tlog.c tlog.c: added a test leading to an assertion failure in mpfr_log. ------------------------------------------------------------------------ r4735 | vlefevre | 2007-08-09 11:45:19 +0000 (Thu, 09 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tpow.c tpow.c: added a test where x is close to 1. ------------------------------------------------------------------------ r4734 | vlefevre | 2007-08-09 11:02:28 +0000 (Thu, 09 Aug 2007) | 2 lines Changed paths: A /trunk/tests/data/exp10 Added empty file tests/data/exp10 to avoid an error with -dev versions. ------------------------------------------------------------------------ r4733 | vlefevre | 2007-08-09 10:18:50 +0000 (Thu, 09 Aug 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/round_near_x.c Added a TODO concerning the description of mpfr_round_near_x. ------------------------------------------------------------------------ r4732 | vlefevre | 2007-08-09 09:48:59 +0000 (Thu, 09 Aug 2007) | 2 lines Changed paths: A /trunk/tests/data/expm1 A /trunk/tests/data/log1p A /trunk/tests/data/log2 Added empty files in tests/data to avoid errors with -dev versions. ------------------------------------------------------------------------ r4731 | vlefevre | 2007-08-09 09:39:43 +0000 (Thu, 09 Aug 2007) | 2 lines Changed paths: M /trunk/ui_pow.c mpfr_ui_pow fix: added a MPFR_SAVE_EXPO_UPDATE_FLAGS. ------------------------------------------------------------------------ r4730 | vlefevre | 2007-08-09 02:52:27 +0000 (Thu, 09 Aug 2007) | 2 lines Changed paths: M /trunk/tests M /trunk/tests/Makefile.am A /trunk/tests/texp10.c Added texp10.c (texp10 currently fails). ------------------------------------------------------------------------ r4729 | vlefevre | 2007-08-09 02:26:33 +0000 (Thu, 09 Aug 2007) | 2 lines Changed paths: M /trunk/tests/texp2.c texp2.c: reformat and added some tests which were missing. ------------------------------------------------------------------------ r4728 | vlefevre | 2007-08-08 15:12:56 +0000 (Wed, 08 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tl2b.c M /trunk/tests/tremquo.c Updated svn:keywords and svn:eol-style properties in tests. ------------------------------------------------------------------------ r4727 | vlefevre | 2007-08-08 15:11:15 +0000 (Wed, 08 Aug 2007) | 2 lines Changed paths: M /trunk/tests/texpm1.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c Added data_check calls to texpm1, tlog1p and tlog2. ------------------------------------------------------------------------ r4726 | vlefevre | 2007-08-08 14:37:28 +0000 (Wed, 08 Aug 2007) | 3 lines Changed paths: M /trunk/tests/tests.c tests/tests.c: in data_check(), mode 'Z', do not test GMP_RNDN if the precision for the directed rounding modes is MPFR_PREC_MIN. ------------------------------------------------------------------------ r4725 | vlefevre | 2007-08-04 23:13:52 +0000 (Sat, 04 Aug 2007) | 2 lines Changed paths: M /trunk/TODO TODO: more on mpfr_sin (and mpfr_cos). ------------------------------------------------------------------------ r4724 | vlefevre | 2007-08-04 22:58:01 +0000 (Sat, 04 Aug 2007) | 2 lines Changed paths: M /trunk/TODO TODO: update concerning sin/cos/tan. ------------------------------------------------------------------------ r4723 | vlefevre | 2007-08-03 02:45:32 +0000 (Fri, 03 Aug 2007) | 3 lines Changed paths: M /trunk/tests/tests.c tests/tests.c: in data_check(), check the 4 rounding modes if rnd is 'Z' (in order to test the worst cases). ------------------------------------------------------------------------ r4722 | vlefevre | 2007-08-03 01:30:20 +0000 (Fri, 03 Aug 2007) | 2 lines Changed paths: M /trunk/tests/tests.c Fixed coding style (for ansi2knr in particular). ------------------------------------------------------------------------ r4721 | vlefevre | 2007-08-02 10:19:44 +0000 (Thu, 02 Aug 2007) | 2 lines Changed paths: M /trunk/Makefile.am Makefile.am: added a comment about "get_patches.c". ------------------------------------------------------------------------ r4720 | vlefevre | 2007-08-02 10:07:48 +0000 (Thu, 02 Aug 2007) | 8 lines Changed paths: M /trunk/Makefile.am No longer set "CLEANFILES = get_patches.c" in Makefile.am so that a "make clean" doesn't remove the get_patches.c file, as rebuilding it needs a Unix shell (and some standard utilities). Anyway the update of this file should be regarded as part of the patch process, then this file is just like any other .c files. Note: "make dist" includes this file in the archives, so that concerning the build, everything is like before as long as no patches are applied. ------------------------------------------------------------------------ r4719 | zimmerma | 2007-08-01 18:07:32 +0000 (Wed, 01 Aug 2007) | 2 lines Changed paths: M /trunk/TODO added item about sNaN/qNaN ------------------------------------------------------------------------ r4718 | vlefevre | 2007-07-31 14:28:20 +0000 (Tue, 31 Jul 2007) | 3 lines Changed paths: M /trunk/copysign.c copysign.c: reformat, updated comment (but this function is still not documented in mpfr.texi). ------------------------------------------------------------------------ r4717 | vlefevre | 2007-07-31 14:12:15 +0000 (Tue, 31 Jul 2007) | 3 lines Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.in M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/version.c Updated version back to 2.3.0-dev since the 2.3 branch will be recreated from the trunk (too many changes!). ------------------------------------------------------------------------ r4716 | vlefevre | 2007-07-31 13:34:37 +0000 (Tue, 31 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tl2b.c tl2b.c: enable output even when the constants are correct. ------------------------------------------------------------------------ r4715 | vlefevre | 2007-07-31 13:25:24 +0000 (Tue, 31 Jul 2007) | 3 lines Changed paths: M /trunk Added get_patches.c to the svn:ignore property, as this file is generated. ------------------------------------------------------------------------ r4714 | vlefevre | 2007-07-31 13:23:37 +0000 (Tue, 31 Jul 2007) | 13 lines Changed paths: M /trunk/free_cache.c M /trunk/get_str.c M /trunk/mpfr-impl.h M /trunk/tests M /trunk/tests/Makefile.am A /trunk/tests/tl2b.c Replaced l2b cache by constants, as suggested by Patrick Pelissier, to avoid efficiency problems with the stack interface and heavily threaded applications. * Added tests/tl2b.c to generate / check the constants. * tests/Makefile.am: added tl2b to check_PROGRAMS. * tests directory: added tl2b to the svn:ignore property. * mpfr-impl.h: updated the __gmpfr_l2b declaration. * free_cache.c: disabled free_l2b (since there's no longer a cache). * get_str.c: added the code generated by tl2b; for the bootstrap, one can just write: const __mpfr_struct __gmpfr_l2b[BASE_MAX-1][2] = { { { 0 } } }; Removed the code (in ceil_mul) that computed these constants. ------------------------------------------------------------------------ r4713 | vlefevre | 2007-07-30 22:37:30 +0000 (Mon, 30 Jul 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the documentation of the mpfr_get_d function family. ------------------------------------------------------------------------ r4712 | vlefevre | 2007-07-30 11:12:45 +0000 (Mon, 30 Jul 2007) | 2 lines Changed paths: M /trunk/README.dev M /trunk/TODO Patch tracking: updated README.dev and TODO files. ------------------------------------------------------------------------ r4711 | vlefevre | 2007-07-30 10:45:01 +0000 (Mon, 30 Jul 2007) | 3 lines Changed paths: M /trunk/Makefile.am M /trunk/NEWS A /trunk/PATCHES A /trunk/get_patches.sh M /trunk/mpfr.h M /trunk/mpfr.texi Added support for tracking applied patches with new function mpfr_get_patches(). ------------------------------------------------------------------------ r4710 | vlefevre | 2007-07-30 09:41:55 +0000 (Mon, 30 Jul 2007) | 4 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated the example concerning mpfr_get_version() vs MPFR_VERSION_STRING ("Warning" instead of "Error", make sure that the example fits on 80 columns in the info file). ------------------------------------------------------------------------ r4709 | vlefevre | 2007-07-30 09:37:06 +0000 (Mon, 30 Jul 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated description of mpfr_get_version(). ------------------------------------------------------------------------ r4708 | vlefevre | 2007-07-30 09:31:58 +0000 (Mon, 30 Jul 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated description of mpfr_get_version(). ------------------------------------------------------------------------ r4707 | zimmerma | 2007-07-28 15:03:05 +0000 (Sat, 28 Jul 2007) | 2 lines Changed paths: M /trunk/TODO added files that are not 100% covered by tests ------------------------------------------------------------------------ r4706 | vlefevre | 2007-07-27 22:04:24 +0000 (Fri, 27 Jul 2007) | 2 lines Changed paths: M /trunk/coverage coverage: added --disable-shared --enable-static to configure. ------------------------------------------------------------------------ r4705 | vlefevre | 2007-07-27 21:59:04 +0000 (Fri, 27 Jul 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: added more casts for g++. ------------------------------------------------------------------------ r4704 | vlefevre | 2007-07-27 21:54:22 +0000 (Fri, 27 Jul 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h Reformat. ------------------------------------------------------------------------ r4703 | vlefevre | 2007-07-27 21:48:03 +0000 (Fri, 27 Jul 2007) | 2 lines Changed paths: M /trunk/const_log2.c M /trunk/mpfr-impl.h M /trunk/mul.c Applied patch from Patrick to be able to build MPFR with g++. ------------------------------------------------------------------------ r4702 | zimmerma | 2007-07-26 12:02:24 +0000 (Thu, 26 Jul 2007) | 2 lines Changed paths: M /trunk/mparam_h.in added default thresholds for Core 2 ------------------------------------------------------------------------ r4701 | vlefevre | 2007-07-25 15:34:52 +0000 (Wed, 25 Jul 2007) | 5 lines Changed paths: M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/terf.c M /trunk/tests/tests.c M /trunk/tests/texp.c M /trunk/tests/texp2.c M /trunk/tests/tgamma.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tlgamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tmul.c M /trunk/tests/tpow.c M /trunk/tests/tsin.c M /trunk/tests/tsinh.c M /trunk/tests/tsqrt.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/tui_div.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c No longer use MPFR_CHECK_ALL in tests. In '-dev' versions, assume that the data files exist and return an error whenever a file cannot be opened. In the other versions, return silently if the file cannot be opened. ------------------------------------------------------------------------ r4700 | vlefevre | 2007-07-25 15:18:45 +0000 (Wed, 25 Jul 2007) | 2 lines Changed paths: M /trunk/Makefile.am D /trunk/mpfr-test.h M /trunk/tests/Makefile.am A /trunk/tests/mpfr-test.h (from /trunk/mpfr-test.h:4698) Moved mpfr-test.h into the tests directory. ------------------------------------------------------------------------ r4699 | zimmerma | 2007-07-25 15:15:55 +0000 (Wed, 25 Jul 2007) | 2 lines Changed paths: M /trunk/cos.c fixed "efficiency bug" (argument reduction was broken) ------------------------------------------------------------------------ r4698 | vlefevre | 2007-07-25 14:45:13 +0000 (Wed, 25 Jul 2007) | 3 lines Changed paths: M /trunk/tests/tests.c tests.c: in data_check(), made whitespace skipping consistent and check that the result value is immediately followed by a \n. ------------------------------------------------------------------------ r4697 | vlefevre | 2007-07-25 14:02:23 +0000 (Wed, 25 Jul 2007) | 3 lines Changed paths: M /trunk/tests/tests.c [tests.c] Fixed some types (the result of getc() is not necessarily representable in a char). ------------------------------------------------------------------------ r4696 | vlefevre | 2007-07-25 13:45:10 +0000 (Wed, 25 Jul 2007) | 5 lines Changed paths: M /trunk/tests/tests.c tests.c: changes in the error messages (BTW, we decided to output everything to stdout for consistency, even though messages for assertion failure are written to stderr) and replaced an abort () by an exit (1). ------------------------------------------------------------------------ r4695 | vlefevre | 2007-07-25 10:58:54 +0000 (Wed, 25 Jul 2007) | 2 lines Changed paths: M /trunk/jyn_asympt.c M /trunk/tests/tests.c Delete trailing spaces. ------------------------------------------------------------------------ r4694 | zimmerma | 2007-07-25 10:01:45 +0000 (Wed, 25 Jul 2007) | 5 lines Changed paths: M /trunk/Makefile.am M /trunk/jn.c A /trunk/jyn_asympt.c M /trunk/tests/tests.c M /trunk/yn.c jyn_asympt.c: new common file for asymptotic expansion in jn/yn tests/tests.c: print precisions in case of failure jn.c: now use jyn_asympt.c yn.c: now implement asymptotic expansion (jyn_asympt.c) ------------------------------------------------------------------------ r4693 | zimmerma | 2007-07-25 09:58:31 +0000 (Wed, 25 Jul 2007) | 2 lines Changed paths: M /trunk/tests/data/y0 M /trunk/tests/data/y1 fixed more wrong entries in Gonnet's test suite ------------------------------------------------------------------------ r4692 | zimmerma | 2007-07-24 15:12:39 +0000 (Tue, 24 Jul 2007) | 2 lines Changed paths: M /trunk/jn.c contribution of first neglected term to error was wrong ------------------------------------------------------------------------ r4691 | zimmerma | 2007-07-24 15:08:51 +0000 (Tue, 24 Jul 2007) | 2 lines Changed paths: M /trunk/tests/data/y0 fixed wrong entry (not enough precision was used in Maple) ------------------------------------------------------------------------ r4690 | zimmerma | 2007-07-24 13:42:35 +0000 (Tue, 24 Jul 2007) | 2 lines Changed paths: M /trunk/algorithms.tex M /trunk/jn.c M /trunk/tests/data/j0 M /trunk/tests/tj0.c M /trunk/tests/tj1.c implemented asymptotic expansion for large argument in j0/j1/jn ------------------------------------------------------------------------ r4689 | zimmerma | 2007-07-20 16:12:03 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: M /trunk/nightly-test define MPFR_CHECK_ALL for nightly tests ------------------------------------------------------------------------ r4688 | zimmerma | 2007-07-20 16:11:15 +0000 (Fri, 20 Jul 2007) | 3 lines Changed paths: M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/terf.c M /trunk/tests/texp.c M /trunk/tests/texp2.c M /trunk/tests/tgamma.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tlgamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tmul.c M /trunk/tests/tpow.c M /trunk/tests/tsin.c M /trunk/tests/tsinh.c M /trunk/tests/tsqrt.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/tui_div.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c Added code to check mpfr against Gonnet's tables when the environment variable MPFR_CHECK_ALL is defined (some table entries were checked by MuPAD) ------------------------------------------------------------------------ r4687 | zimmerma | 2007-07-20 16:04:38 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: M /trunk/tests/data/gonnet.mpl added comment ------------------------------------------------------------------------ r4686 | zimmerma | 2007-07-20 15:58:20 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/y0 A /trunk/tests/data/y1 test data files mpfr mpfr_y0 and mpfr_y1, ***not*** checked with MuPAD ------------------------------------------------------------------------ r4685 | zimmerma | 2007-07-20 15:55:03 +0000 (Fri, 20 Jul 2007) | 3 lines Changed paths: M /trunk/tests/data/CheckData.mu added auxiliary MuPAD functions improved Ziv's strategy: add half of DIGITS each time ------------------------------------------------------------------------ r4684 | zimmerma | 2007-07-20 15:52:52 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/tanh test data file for mpfr_tanh, checked by MuPAD ------------------------------------------------------------------------ r4683 | zimmerma | 2007-07-20 15:51:28 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/tan test data file for mpfr_tan, checked with MuPAD (except 3 indicated entries) ------------------------------------------------------------------------ r4682 | zimmerma | 2007-07-20 15:39:23 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/sqrt test data file for mpfr_sqrt, checked with MuPAD ------------------------------------------------------------------------ r4681 | zimmerma | 2007-07-20 15:28:32 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/sinh test data file for mpfr_sinh, checked by MuPAD (except indicated lines) ------------------------------------------------------------------------ r4680 | zimmerma | 2007-07-20 15:17:58 +0000 (Fri, 20 Jul 2007) | 3 lines Changed paths: A /trunk/tests/data/sin test data file for mpfr_sin, checked by MuPAD (except tiny inputs indicated in file) ------------------------------------------------------------------------ r4679 | zimmerma | 2007-07-20 13:45:40 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/pow275 test data file for x^(11/4), checked with MuPAD ------------------------------------------------------------------------ r4678 | zimmerma | 2007-07-20 13:41:01 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: M /trunk/tests/data/log10 finally, I was able to check it with MuPAD ------------------------------------------------------------------------ r4677 | zimmerma | 2007-07-20 13:36:16 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/exp2 test data file for 2^x, checked with MuPAD ------------------------------------------------------------------------ r4676 | zimmerma | 2007-07-20 13:28:30 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/mulpi test data file for Pi*x, checked with MuPAD ------------------------------------------------------------------------ r4675 | zimmerma | 2007-07-20 12:56:27 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/log test data file for mpfr_log, checked with MuPAD ------------------------------------------------------------------------ r4674 | zimmerma | 2007-07-20 12:54:43 +0000 (Fri, 20 Jul 2007) | 3 lines Changed paths: A /trunk/tests/data/j0 A /trunk/tests/data/j1 A /trunk/tests/data/lgamma A /trunk/tests/data/log10 test data files for mpfr_j0, mpfr_j1, mpfr_lgamma, mpfr_log10, ***not*** tested with MuPAD (not Dom::Interval interface) ------------------------------------------------------------------------ r4673 | zimmerma | 2007-07-20 12:52:25 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/inv test data file for 1/x, i.e., mpfr_ui_div(1,x), checked with MuPAD ------------------------------------------------------------------------ r4672 | zimmerma | 2007-07-20 12:45:10 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/gamma test data file for mpfr_gamma, ***not*** checked by MuPAD ------------------------------------------------------------------------ r4671 | zimmerma | 2007-07-20 12:44:09 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/exp test data file for mpfr_exp, checked with MuPAD ------------------------------------------------------------------------ r4670 | zimmerma | 2007-07-20 12:43:34 +0000 (Fri, 20 Jul 2007) | 3 lines Changed paths: A /trunk/tests/data/erf A /trunk/tests/data/erfc test data files for erf and erfc (not checked by MuPAD, since Dom::Interval does not have an interface for those functions in MuPAD 3.2.0) ------------------------------------------------------------------------ r4669 | zimmerma | 2007-07-20 12:35:54 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/cosh test data file for mpfr_cosh, checked with MuPAD ------------------------------------------------------------------------ r4668 | zimmerma | 2007-07-20 12:33:31 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/cos test data file for mpfr_cos, checked by MuPAD ------------------------------------------------------------------------ r4667 | zimmerma | 2007-07-20 12:02:36 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/atanh test data file for mpfr_atanh, checked with MuPAD ------------------------------------------------------------------------ r4666 | zimmerma | 2007-07-20 11:42:54 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/atan test data file for atan, checked with MuPAD ------------------------------------------------------------------------ r4665 | zimmerma | 2007-07-20 11:06:48 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/asinh test file for mpfr_asinh, checked with MuPAD ------------------------------------------------------------------------ r4664 | zimmerma | 2007-07-20 11:04:14 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/asin data file for mpfr_asin, checked with MuPAD using CheckData.mu ------------------------------------------------------------------------ r4663 | zimmerma | 2007-07-20 10:13:10 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/acosh data file for mpfr_acosh, checked with MuPAD using CheckData.mu ------------------------------------------------------------------------ r4662 | zimmerma | 2007-07-20 10:12:37 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: M /trunk/tests/data/CheckData.mu improved output ------------------------------------------------------------------------ r4661 | zimmerma | 2007-07-20 10:05:11 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data/CheckData.mu MuPAD file to check a data file ------------------------------------------------------------------------ r4658 | vlefevre | 2007-07-20 00:18:14 +0000 (Fri, 20 Jul 2007) | 2 lines Changed paths: M /trunk/free_cache.c M /trunk/get_str.c M /trunk/mpfr-impl.h Renamed mpfr_l2b as __gmpfr_l2b for consistency. ------------------------------------------------------------------------ r4657 | zimmerma | 2007-07-19 19:49:15 +0000 (Thu, 19 Jul 2007) | 2 lines Changed paths: M /trunk/mpfr-longlong.h patch from Brian Gladman to build mpfr.dll ------------------------------------------------------------------------ r4656 | zimmerma | 2007-07-19 16:07:58 +0000 (Thu, 19 Jul 2007) | 2 lines Changed paths: M /trunk/tests/data/acos M /trunk/tests/data/gonnet.mpl added copyright information about Gonnet's package ------------------------------------------------------------------------ r4655 | zimmerma | 2007-07-19 16:03:38 +0000 (Thu, 19 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tests.c modified data_check() to allow comment lines starting with # ------------------------------------------------------------------------ r4654 | zimmerma | 2007-07-19 14:55:47 +0000 (Thu, 19 Jul 2007) | 2 lines Changed paths: M /trunk/mpfr-test.h M /trunk/tests/tacos.c M /trunk/tests/tests.c new (experimental) mechanism to check data files (see example in tacos.c) ------------------------------------------------------------------------ r4653 | zimmerma | 2007-07-19 14:54:49 +0000 (Thu, 19 Jul 2007) | 2 lines Changed paths: A /trunk/tests/data A /trunk/tests/data/acos A /trunk/tests/data/gonnet.mpl new directory for test data ------------------------------------------------------------------------ r4652 | zimmerma | 2007-07-19 10:52:00 +0000 (Thu, 19 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tcos.c added test for inexact flag (bug fixed in r4630) ------------------------------------------------------------------------ r4651 | vlefevre | 2007-07-18 23:09:35 +0000 (Wed, 18 Jul 2007) | 4 lines Changed paths: M /trunk/atan2.c M /trunk/erfc.c erfc.c, atan2.c: added missing "MPFR_SAVE_EXPO_FREE (expo);" before "return mpfr_underflow (...);". erfc.c: replaced a goto by an else. ------------------------------------------------------------------------ r4650 | zimmerma | 2007-07-18 16:24:08 +0000 (Wed, 18 Jul 2007) | 2 lines Changed paths: M /trunk/atan2.c now deal with underflow in y/x (remains to deal with overflow) ------------------------------------------------------------------------ r4649 | zimmerma | 2007-07-18 16:19:31 +0000 (Wed, 18 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tset_str.c now can specify output base when argc > 1 ------------------------------------------------------------------------ r4648 | zimmerma | 2007-07-18 16:18:14 +0000 (Wed, 18 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tlgamma.c MPFR_EQUAL -> mpfr_equal_p ------------------------------------------------------------------------ r4647 | zimmerma | 2007-07-18 15:48:57 +0000 (Wed, 18 Jul 2007) | 2 lines Changed paths: M /trunk/erfc.c M /trunk/tests/terf.c fixed problem with erfc() near underflow region ------------------------------------------------------------------------ r4646 | zimmerma | 2007-07-18 13:51:07 +0000 (Wed, 18 Jul 2007) | 3 lines Changed paths: M /trunk/atan2.c M /trunk/tests/tatan.c atan2.c: quick-and-dirty fix for atan2(y,1) tests/tatan.c: fix tests from Christopher [x and y were interchanged] ------------------------------------------------------------------------ r4645 | zimmerma | 2007-07-18 12:19:22 +0000 (Wed, 18 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tatan.c added test from Ch. Creutzig ------------------------------------------------------------------------ r4644 | zimmerma | 2007-07-18 08:23:30 +0000 (Wed, 18 Jul 2007) | 2 lines Changed paths: M /trunk/agm.c apply patch suggested in bug #3604 ------------------------------------------------------------------------ r4643 | zimmerma | 2007-07-17 14:30:00 +0000 (Tue, 17 Jul 2007) | 4 lines Changed paths: M /trunk/lngamma.c M /trunk/tests/tlgamma.c previous bug fix for tiny negative inputs in mpfr_lgamma was incorrect: result was NaN, but this was not detected by the tests since mpfr_cmp (y, NaN) is always true! ------------------------------------------------------------------------ r4642 | vlefevre | 2007-07-17 13:14:21 +0000 (Tue, 17 Jul 2007) | 2 lines Changed paths: M /trunk/get_str.c M /trunk/strtofr.c Added comments and fixed an indentation bug. ------------------------------------------------------------------------ r4641 | zimmerma | 2007-07-17 06:26:24 +0000 (Tue, 17 Jul 2007) | 4 lines Changed paths: M /trunk/cos.c in reconstruction after computation of cos(x/2^k) for reduced argument, it may be that cos(x) is zero to the working precision. Then restart Ziv's algorithm with a larger precision. ------------------------------------------------------------------------ r4640 | zimmerma | 2007-07-16 12:51:17 +0000 (Mon, 16 Jul 2007) | 4 lines Changed paths: M /trunk/lngamma.c M /trunk/tests/tlgamma.c lngamma.c: fix for small inputs tlgamma.c: added more tests from Kaveh Ghazi ------------------------------------------------------------------------ r4639 | zimmerma | 2007-07-16 11:22:13 +0000 (Mon, 16 Jul 2007) | 3 lines Changed paths: M /trunk/sin_cos.c M /trunk/tests/ttan.c sin_cos.c: 2nd arg of 1st mpfr_can_round call was wrong ttan.c: fixed wrong reference value ------------------------------------------------------------------------ r4638 | zimmerma | 2007-07-16 06:58:08 +0000 (Mon, 16 Jul 2007) | 2 lines Changed paths: M /trunk/TODO added comment about sinpi, etc. ------------------------------------------------------------------------ r4637 | zimmerma | 2007-07-15 09:09:10 +0000 (Sun, 15 Jul 2007) | 2 lines Changed paths: M /trunk/tests/ttan.c added new test, and re-enabled test that was too slow ------------------------------------------------------------------------ r4636 | zimmerma | 2007-07-14 07:30:37 +0000 (Sat, 14 Jul 2007) | 2 lines Changed paths: M /trunk/nightly-test removed MPFR_CHECK_TINY, added MPFR_CHECK_MAX ------------------------------------------------------------------------ r4635 | vlefevre | 2007-07-10 08:52:50 +0000 (Tue, 10 Jul 2007) | 2 lines Changed paths: M /trunk/tests/terf.c terf.c: added testcase for bug reported by Christopher Creutzig. ------------------------------------------------------------------------ r4633 | vlefevre | 2007-07-09 11:41:04 +0000 (Mon, 09 Jul 2007) | 2 lines Changed paths: M /trunk/init2.c Removed a #include that was probably added by mistake in r2590. ------------------------------------------------------------------------ r4632 | vlefevre | 2007-07-09 11:39:29 +0000 (Mon, 09 Jul 2007) | 3 lines Changed paths: M /trunk/abort_prec_max.c M /trunk/cos.c M /trunk/dump.c M /trunk/eint.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/fma.c M /trunk/fms.c M /trunk/free_cache.c M /trunk/get_d64.c M /trunk/get_si.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/init2.c M /trunk/inp_str.c M /trunk/logging.c M /trunk/mpfr-gmp.c M /trunk/mpfr-impl.h M /trunk/out_str.c M /trunk/pow.c M /trunk/print_raw.c M /trunk/remquo.c M /trunk/set_d64.c M /trunk/set_uj.c M /trunk/strtofr.c M /trunk/tuneup.c M /trunk/ui_pow.c M /trunk/zeta.c and are now included unconditionally in mpfr-impl.h (removed their inclusion from the C files for consistency). ------------------------------------------------------------------------ r4630 | zimmerma | 2007-07-04 10:07:31 +0000 (Wed, 04 Jul 2007) | 2 lines Changed paths: M /trunk/cos.c ternary flag was wrong in case s=1 or -1 and rounding up/nearest ------------------------------------------------------------------------ r4629 | zimmerma | 2007-07-04 09:32:23 +0000 (Wed, 04 Jul 2007) | 2 lines Changed paths: M /trunk/algorithms.tex M /trunk/tan.c updated algorithms.tex with new additive argument reduction for sin/cos/tan ------------------------------------------------------------------------ r4628 | vlefevre | 2007-07-03 23:35:05 +0000 (Tue, 03 Jul 2007) | 2 lines Changed paths: M /trunk/lngamma.c lngamma.c: reformat and replaced mpfr_cmp(...) == 0 by mpfr_equal_p. ------------------------------------------------------------------------ r4626 | zimmerma | 2007-07-03 19:12:40 +0000 (Tue, 03 Jul 2007) | 2 lines Changed paths: M /trunk/free_cache.c changed stdlib to stdio for NULL (see README.dev) ------------------------------------------------------------------------ r4625 | zimmerma | 2007-07-03 19:10:33 +0000 (Tue, 03 Jul 2007) | 3 lines Changed paths: M /trunk/lngamma.c M /trunk/tests/tlgamma.c fixed bug in tlgamma and added test (need to implement Ziv's strategy in tiny case) ------------------------------------------------------------------------ r4624 | zimmerma | 2007-07-03 18:45:28 +0000 (Tue, 03 Jul 2007) | 2 lines Changed paths: M /trunk/free_cache.c added missing include ------------------------------------------------------------------------ r4622 | vlefevre | 2007-07-03 16:11:39 +0000 (Tue, 03 Jul 2007) | 7 lines Changed paths: M /trunk/free_cache.c M /trunk/mpfr.texi M /trunk/tests/tests.c Fixed the bug reported by David Billinghurst to the MPFR mailing-list on 2007-07-03 (memory leaks under some conditions): * moved the free_l2b() function from tests/tests.c to free_cache.c; * mpfr_free_cache() (from free_cache.c) now calls free_l2b(); * as a consequence, no longer call free_l2b() in tests_end_mpfr(); * documented the behavior in mpfr.texi (under mpfr_free_cache). ------------------------------------------------------------------------ r4620 | vlefevre | 2007-07-03 15:05:01 +0000 (Tue, 03 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tj0.c tj0.c: added testcase from Sisyphus (assertion failed). ------------------------------------------------------------------------ r4618 | vlefevre | 2007-07-03 13:03:22 +0000 (Tue, 03 Jul 2007) | 2 lines Changed paths: M /trunk/README.dev README.dev: explain how to test the library interface compatibility. ------------------------------------------------------------------------ r4616 | vlefevre | 2007-07-02 23:30:52 +0000 (Mon, 02 Jul 2007) | 2 lines Changed paths: M /trunk/README.dev README.dev: mentions patch-libtool and how to apply it. ------------------------------------------------------------------------ r4615 | vlefevre | 2007-07-02 23:26:01 +0000 (Mon, 02 Jul 2007) | 3 lines Changed paths: A /trunk/patch-libtool Added patch-libtool (patch for aclocal.m4 and configure that comes from or gmane.comp.gnu.libtool.bugs:5776). ------------------------------------------------------------------------ r4614 | vlefevre | 2007-07-02 12:17:08 +0000 (Mon, 02 Jul 2007) | 2 lines Changed paths: M /trunk/NEWS NEWS: mention that the shared library is now enabled by default on 2.3. ------------------------------------------------------------------------ r4610 | vlefevre | 2007-07-02 10:44:17 +0000 (Mon, 02 Jul 2007) | 2 lines Changed paths: M /trunk/README.dev README.dev: updated item 2 of "To make a release". ------------------------------------------------------------------------ r4608 | vlefevre | 2007-07-02 10:39:46 +0000 (Mon, 02 Jul 2007) | 2 lines Changed paths: M /trunk/TODO M /trunk/mpfr.texi Reformat. ------------------------------------------------------------------------ r4607 | vlefevre | 2007-07-02 00:41:32 +0000 (Mon, 02 Jul 2007) | 2 lines Changed paths: M /trunk/INSTALL M /trunk/VERSION M /trunk/configure.in M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/version.c Updated version to 2.4.0-dev. ------------------------------------------------------------------------ r4605 | vlefevre | 2007-07-02 00:32:27 +0000 (Mon, 02 Jul 2007) | 2 lines Changed paths: M /trunk/ChangeLog ChangeLog update. ------------------------------------------------------------------------ r4604 | vlefevre | 2007-07-02 00:31:13 +0000 (Mon, 02 Jul 2007) | 2 lines Changed paths: M /trunk/NEWS NEWS: update. ------------------------------------------------------------------------ r4603 | vlefevre | 2007-07-01 23:17:57 +0000 (Sun, 01 Jul 2007) | 2 lines Changed paths: M /trunk/Makefile.am Makefile.am: updated comment concerning -version-info. ------------------------------------------------------------------------ r4602 | vlefevre | 2007-07-01 23:01:10 +0000 (Sun, 01 Jul 2007) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/NEWS M /trunk/TODO A /trunk/fms.c (from /trunk/fma.c:4598) M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests M /trunk/tests/Makefile.am A /trunk/tests/tfms.c (from /trunk/tests/tfma.c:4601) Added mpfr_fms based on mpfr_fma. ------------------------------------------------------------------------ r4601 | vlefevre | 2007-07-01 22:45:08 +0000 (Sun, 01 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c tfma.c: added a space. ------------------------------------------------------------------------ r4600 | vlefevre | 2007-07-01 22:38:39 +0000 (Sun, 01 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c tfma.c: typo. ------------------------------------------------------------------------ r4599 | vlefevre | 2007-07-01 22:20:09 +0000 (Sun, 01 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c Reformat. ------------------------------------------------------------------------ r4598 | vlefevre | 2007-07-01 22:14:15 +0000 (Sun, 01 Jul 2007) | 2 lines Changed paths: M /trunk/fma.c fma.c: minor changes for consistency with the future fms. ------------------------------------------------------------------------ r4597 | vlefevre | 2007-07-01 21:52:21 +0000 (Sun, 01 Jul 2007) | 5 lines Changed paths: M /trunk/BUGS M /trunk/fma.c M /trunk/tests/tfma.c Completed the implementation of mpfr_fma (except in some corner cases where overflows/underflows and huge precisions are involved at the same time). Added underflow tests. Removed item from the BUGS file (the remaining problems more or less correspond to the first item). ------------------------------------------------------------------------ r4596 | vlefevre | 2007-07-01 03:10:06 +0000 (Sun, 01 Jul 2007) | 2 lines Changed paths: M /trunk/cos.c M /trunk/sin.c M /trunk/sin_cos.c Untabified. ------------------------------------------------------------------------ r4595 | vlefevre | 2007-07-01 01:58:17 +0000 (Sun, 01 Jul 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c tfma.c: added overflow test to test_underflow. ------------------------------------------------------------------------ r4594 | vlefevre | 2007-07-01 01:36:04 +0000 (Sun, 01 Jul 2007) | 3 lines Changed paths: M /trunk/fma.c M /trunk/tests/tfma.c fma.c: implemented the main cases where x * y underflows. tests/tfma.c: fixed overflow tests and added underflow tests. ------------------------------------------------------------------------ r4593 | vlefevre | 2007-06-30 02:11:43 +0000 (Sat, 30 Jun 2007) | 2 lines Changed paths: M /trunk/NEWS NEWS: update. ------------------------------------------------------------------------ r4592 | vlefevre | 2007-06-29 23:36:34 +0000 (Fri, 29 Jun 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: updated item on mpfr_fma. ------------------------------------------------------------------------ r4591 | vlefevre | 2007-06-29 23:32:29 +0000 (Fri, 29 Jun 2007) | 3 lines Changed paths: M /trunk/fma.c fma.c: completed the cases where x*y/4 needs to be used, except the very particular cases where an underflow occurs, that remain to be done. ------------------------------------------------------------------------ r4590 | vlefevre | 2007-06-29 13:35:03 +0000 (Fri, 29 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c tfma.c: fixed a printf. ------------------------------------------------------------------------ r4589 | vlefevre | 2007-06-29 13:32:20 +0000 (Fri, 29 Jun 2007) | 2 lines Changed paths: M /trunk/fma.c fma.c: added an assertion. ------------------------------------------------------------------------ r4588 | vlefevre | 2007-06-29 13:30:30 +0000 (Fri, 29 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c tfma.c: fixed overflow tests. ------------------------------------------------------------------------ r4587 | vlefevre | 2007-06-29 12:24:40 +0000 (Fri, 29 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c tfma.c: check NaN in test_overflow2. ------------------------------------------------------------------------ r4586 | vlefevre | 2007-06-29 12:19:09 +0000 (Fri, 29 Jun 2007) | 2 lines Changed paths: M /trunk/fma.c fma.c: updated a comment. ------------------------------------------------------------------------ r4585 | vlefevre | 2007-06-29 12:14:55 +0000 (Fri, 29 Jun 2007) | 3 lines Changed paths: M /trunk/tests/tfma.c tfma.c: added more overflow tests (needed to distinguish the cases where z/4 underflows or not -- see fma.c). ------------------------------------------------------------------------ r4584 | vlefevre | 2007-06-29 12:06:13 +0000 (Fri, 29 Jun 2007) | 3 lines Changed paths: M /trunk/tests/tfma.c tfma.c: added tests (-> assertion failed because mpfr_fma implementation isn't complete). ------------------------------------------------------------------------ r4583 | vlefevre | 2007-06-28 23:01:22 +0000 (Thu, 28 Jun 2007) | 4 lines Changed paths: M /trunk/BUGS M /trunk/acos.c acos.c: disabled change from r3145 ("Optimize mpfr_acos by choosing a better initial precision.") that was buggy. BUGS: removed mpfr_acos bug. ------------------------------------------------------------------------ r4582 | vlefevre | 2007-06-28 22:40:59 +0000 (Thu, 28 Jun 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: updated item on the mpfr_acos bug. ------------------------------------------------------------------------ r4581 | vlefevre | 2007-06-28 22:38:10 +0000 (Thu, 28 Jun 2007) | 4 lines Changed paths: M /trunk/BUGS BUGS: updated item on the mpfr_acos test (the bug wasn't visible on 32-bit machines due to an integer overflow, but the result should have been correct anyway). ------------------------------------------------------------------------ r4580 | vlefevre | 2007-06-28 22:27:09 +0000 (Thu, 28 Jun 2007) | 4 lines Changed paths: M /trunk/acos.c acos.c: fixed integer overflows; to avoid undefined behavior, I had to add an assertion that is not always satisfied (the code needs to be rewritten to take tiny arguments into account). ------------------------------------------------------------------------ r4579 | vlefevre | 2007-06-28 17:30:39 +0000 (Thu, 28 Jun 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: update (mpfr_cot has just been fixed). ------------------------------------------------------------------------ r4578 | vlefevre | 2007-06-28 17:29:27 +0000 (Thu, 28 Jun 2007) | 4 lines Changed paths: M /trunk/cot.c M /trunk/tests/tcot.c cot.c: implemented the case |x| = 2^emin. tests/tcot.c: added tests for this case, in 3 exponent ranges (as this is an overflow limit). ------------------------------------------------------------------------ r4577 | vlefevre | 2007-06-28 17:00:15 +0000 (Thu, 28 Jun 2007) | 3 lines Changed paths: M /trunk/div.c Fixed bug in div.c: rnd_mode could be modified (MPFR_INVERT_RND), but the original value was assumed in case of underflow or overflow. ------------------------------------------------------------------------ r4576 | vlefevre | 2007-06-28 16:40:26 +0000 (Thu, 28 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tdiv.c tdiv.c: added a test showing another bug in mpfr_div. ------------------------------------------------------------------------ r4575 | vlefevre | 2007-06-28 11:54:41 +0000 (Thu, 28 Jun 2007) | 5 lines Changed paths: M /trunk/BUGS M /trunk/cot.c cot.c: use MPFR_SAVE_EXPO_UPDATE_FLAGS, but the case +/- 2^emin could still be buggy with the current code; added a MPFR_ASSERTN (0) until it is implemented. BUGS: updated item on mpfr_cot. ------------------------------------------------------------------------ r4574 | zimmerma | 2007-06-28 07:59:28 +0000 (Thu, 28 Jun 2007) | 4 lines Changed paths: M /trunk/sin.c M /trunk/sin_cos.c M /trunk/tan.c M /trunk/tests/tcos.c M /trunk/tests/tcot.c M /trunk/tests/tcsc.c M /trunk/tests/tsec.c M /trunk/tests/tsin.c M /trunk/tests/ttan.c fixed several problems with huge arguments in periodic functions mpfr_sin: complete rewrite, using mpfr_remainder for argument reduction mpfr_sin_cos: ditto ------------------------------------------------------------------------ r4573 | zimmerma | 2007-06-25 13:29:38 +0000 (Mon, 25 Jun 2007) | 2 lines Changed paths: M /trunk/cos.c M /trunk/tests/tcos.c fixed stupid bug (subtraction of unsigned longs) ------------------------------------------------------------------------ r4572 | zimmerma | 2007-06-25 09:48:43 +0000 (Mon, 25 Jun 2007) | 3 lines Changed paths: M /trunk/cos.c M /trunk/tests/tcos.c M /trunk/tests/tgeneric.c cos.c: implemented argument reduction by 2Pi tcos.c/tgeneric.c: reduce large exponent used when MPFR_CHECK_MAX is defined ------------------------------------------------------------------------ r4571 | vlefevre | 2007-06-22 14:45:28 +0000 (Fri, 22 Jun 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: added bugs. ------------------------------------------------------------------------ r4570 | vlefevre | 2007-06-22 12:15:03 +0000 (Fri, 22 Jun 2007) | 4 lines Changed paths: M /trunk/coth.c M /trunk/sech.c M /trunk/tests/tcoth.c M /trunk/tests/tsech.c coth.c, sech.c: a rounding mode was incorrect. tests/tcoth.c: added underflowed_cothinf test. tests/tsech.c: added overflowed_sech0 test. ------------------------------------------------------------------------ r4569 | vlefevre | 2007-06-22 00:12:18 +0000 (Fri, 22 Jun 2007) | 8 lines Changed paths: M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/gen_inverse.h M /trunk/sec.c M /trunk/tests/tsec.c * gen_inverse.h: ACTION_TINY must be called after MPFR_SAVE_EXPO_MARK (this is necessary for some functions). Moved MPFR_SAVE_EXPO_FREE after the "end:" label. * coth.c, csc.c, csch.c: as a consequence, MPFR_SAVE_EXPO_UPDATE_FLAGS had to be added before "goto end;". * sec.c: a rounding mode was incorrect. * tests/tsec.c: added overflowed_sec0 test. ------------------------------------------------------------------------ r4568 | vlefevre | 2007-06-21 23:36:19 +0000 (Thu, 21 Jun 2007) | 3 lines Changed paths: M /trunk/sin_cos.c M /trunk/tests/tsin_cos.c sin_cos.c: fixed a bug for x = 0 in reduced exponent range. tests/tsin_cos.c: added overflowed_sin_cos0 test. ------------------------------------------------------------------------ r4567 | vlefevre | 2007-06-21 14:32:14 +0000 (Thu, 21 Jun 2007) | 3 lines Changed paths: M /trunk/BUGS BUGS: Some functions do not use MPFR_SAVE_EXPO_* macros, thus do not behave correctly in a reduced exponent range. ------------------------------------------------------------------------ r4566 | vlefevre | 2007-06-21 14:28:13 +0000 (Thu, 21 Jun 2007) | 3 lines Changed paths: M /trunk/factorial.c M /trunk/tests/tfactorial.c factorial.c: a rounding mode was incorrect. tests/tfactorial.c: added overflowed_fac0 test. ------------------------------------------------------------------------ r4565 | vlefevre | 2007-06-21 14:16:17 +0000 (Thu, 21 Jun 2007) | 5 lines Changed paths: M /trunk/exp2.c M /trunk/tests/texp2.c exp2.c: use MPFR_SMALL_INPUT_AFTER_SAVE_EXPO instead of MPFR_FAST_COMPUTE_IF_SMALL_INPUT since 1 (__gmpfr_one) isn't necessarily representable. tests/texp2.c: added overflowed_exp2_0 test. ------------------------------------------------------------------------ r4564 | vlefevre | 2007-06-21 13:59:38 +0000 (Thu, 21 Jun 2007) | 3 lines Changed paths: M /trunk/exp.c M /trunk/tests/texp.c exp.c: fixed problems in reduced exponent range. tests/texp.c: added overflowed_exp0 test. ------------------------------------------------------------------------ r4563 | vlefevre | 2007-06-21 13:43:03 +0000 (Thu, 21 Jun 2007) | 2 lines Changed paths: M /trunk/exp.c exp.c bug fix: a rounding mode was incorrect. ------------------------------------------------------------------------ r4562 | vlefevre | 2007-06-21 13:40:55 +0000 (Thu, 21 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tcos.c tcos.c: fixed error message in overflowed_cos0 test. ------------------------------------------------------------------------ r4561 | vlefevre | 2007-06-21 13:38:44 +0000 (Thu, 21 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tcos.c tcos.c: removed an obsolete comment from the overflowed_cos0 test. ------------------------------------------------------------------------ r4560 | vlefevre | 2007-06-21 13:35:45 +0000 (Thu, 21 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tcos.c tcos.c: improved overflowed_cos0 test. ------------------------------------------------------------------------ r4559 | vlefevre | 2007-06-21 12:49:03 +0000 (Thu, 21 Jun 2007) | 3 lines Changed paths: M /trunk/get_str.c M /trunk/tests/tget_str.c get_str.c: use MPFR_SAVE_EXPO. tests/tget_str.c: enabled the test with a reduced exponent range. ------------------------------------------------------------------------ r4558 | vlefevre | 2007-06-21 12:13:06 +0000 (Thu, 21 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tget_str.c tget_str.c: added a test (disabled by default) with emax = 0. ------------------------------------------------------------------------ r4557 | vlefevre | 2007-06-21 11:53:16 +0000 (Thu, 21 Jun 2007) | 3 lines Changed paths: M /trunk/add1sp.c M /trunk/mul.c M /trunk/sub1sp.c M /trunk/tests/tabs.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tatan.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcos.c M /trunk/tests/tdiv.c M /trunk/tests/terf.c M /trunk/tests/texp.c M /trunk/tests/tget_str.c M /trunk/tests/tgmpop.c M /trunk/tests/tlog.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tpow_z.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsqr.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsum.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_sub.c M /trunk/tests/tzeta.c Corrected mpfr_inits, mpfr_inits2 and mpfr_clears calls with NULL argument (-> (void *) 0). ------------------------------------------------------------------------ r4556 | vlefevre | 2007-06-21 11:38:33 +0000 (Thu, 21 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tget_str.c tget_str.c: reformatted/corrected a function. ------------------------------------------------------------------------ r4555 | vlefevre | 2007-06-21 11:30:38 +0000 (Thu, 21 Jun 2007) | 4 lines Changed paths: M /trunk/tests/tacos.c M /trunk/tests/tasin.c M /trunk/tests/tatan.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/texp.c M /trunk/tests/texp2.c M /trunk/tests/tlog.c M /trunk/tests/ttanh.c Tests: when restoring the exponent range, save emin/emax first instead of using MPFR_EMIN_MIN/MPFR_EMAX_MAX (which have no longer corresponded to the default exponent range since quite a long time). ------------------------------------------------------------------------ r4554 | vlefevre | 2007-06-21 11:01:46 +0000 (Thu, 21 Jun 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: update. ------------------------------------------------------------------------ r4553 | vlefevre | 2007-06-20 13:22:49 +0000 (Wed, 20 Jun 2007) | 2 lines Changed paths: M /trunk/agm.c M /trunk/atan.c M /trunk/exp3.c M /trunk/gen_inverse.h M /trunk/jn.c M /trunk/lngamma.c M /trunk/mpfr.h M /trunk/remquo.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sqr.c M /trunk/tests/tcoth.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tremquo.c M /trunk/tests/tyn.c M /trunk/tests/tzeta_ui.c M /trunk/tuneup.c M /trunk/zeta_ui.c Untabified and removed trailing spaces. ------------------------------------------------------------------------ r4552 | vlefevre | 2007-06-20 13:12:41 +0000 (Wed, 20 Jun 2007) | 2 lines Changed paths: M /trunk/generic.c M /trunk/mpfr-gmp.h Bug fix: preprocessor # must be in the first column. ------------------------------------------------------------------------ r4551 | vlefevre | 2007-06-20 12:29:26 +0000 (Wed, 20 Jun 2007) | 2 lines Changed paths: M /trunk/remquo.c remquo.c bug fix: preprocessor # must be in the first column. ------------------------------------------------------------------------ r4550 | vlefevre | 2007-06-20 11:58:25 +0000 (Wed, 20 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tcos.c tcos.c: fixed and improved the overflowed_cos0 test. ------------------------------------------------------------------------ r4549 | vlefevre | 2007-06-20 11:38:47 +0000 (Wed, 20 Jun 2007) | 2 lines Changed paths: M /trunk/cos.c cos.c bug fix: a rounding mode was incorrect. ------------------------------------------------------------------------ r4548 | vlefevre | 2007-06-20 11:32:56 +0000 (Wed, 20 Jun 2007) | 3 lines Changed paths: M /trunk/cos.c cos.c: use MPFR_SMALL_INPUT_AFTER_SAVE_EXPO instead of MPFR_FAST_COMPUTE_IF_SMALL_INPUT. ------------------------------------------------------------------------ r4547 | vlefevre | 2007-06-20 11:27:41 +0000 (Wed, 20 Jun 2007) | 2 lines Changed paths: M /trunk/cos.c cos.c: untabified. ------------------------------------------------------------------------ r4546 | vlefevre | 2007-06-20 10:55:52 +0000 (Wed, 20 Jun 2007) | 3 lines Changed paths: M /trunk/tests/tcos.c tcos.c: added tests for x very small and emax = 0 (some of them currently fail). ------------------------------------------------------------------------ r4545 | vlefevre | 2007-06-20 10:06:56 +0000 (Wed, 20 Jun 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h Added a comment concerning the MPFR_SMALL_INPUT_AFTER_SAVE_EXPO macro. ------------------------------------------------------------------------ r4544 | vlefevre | 2007-06-20 10:03:03 +0000 (Wed, 20 Jun 2007) | 3 lines Changed paths: M /trunk/expm1.c M /trunk/mpfr-impl.h Added MPFR_SMALL_INPUT_AFTER_SAVE_EXPO macro; updated expm1.c to use this variant (and moved MPFR_SAVE_EXPO_MARK after the test ex < 0). ------------------------------------------------------------------------ r4543 | vlefevre | 2007-06-19 15:17:21 +0000 (Tue, 19 Jun 2007) | 2 lines Changed paths: M /trunk/mpfr.texi Documented log(-0). ------------------------------------------------------------------------ r4542 | vlefevre | 2007-06-19 15:11:21 +0000 (Tue, 19 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c Added a few tests of log functions. ------------------------------------------------------------------------ r4541 | vlefevre | 2007-06-18 13:01:03 +0000 (Mon, 18 Jun 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated Section "Floating-Point Values on Special Numbers". ------------------------------------------------------------------------ r4540 | vlefevre | 2007-06-12 10:54:06 +0000 (Tue, 12 Jun 2007) | 2 lines Changed paths: M /trunk/TODO TODO: allow generic tests to run with a restricted exponent range. ------------------------------------------------------------------------ r4539 | vlefevre | 2007-06-12 10:51:17 +0000 (Tue, 12 Jun 2007) | 4 lines Changed paths: M /trunk/expm1.c expm1.c: fixed bug for x = -max_value due to an intermediate overflow (flags were incorrect); at the same time, potential problems due to a restricted exponent range are also fixed. ------------------------------------------------------------------------ r4538 | vlefevre | 2007-06-12 09:17:33 +0000 (Tue, 12 Jun 2007) | 3 lines Changed paths: M /trunk/tests/tgeneric.c tgeneric.c: check the function on large arguments (±maximum_value) when the MPFR_CHECK_MAX environment variable is defined. ------------------------------------------------------------------------ r4537 | vlefevre | 2007-06-11 13:40:14 +0000 (Mon, 11 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tlgamma.c tests/tlgamma.c: re-enabled sign checking. ------------------------------------------------------------------------ r4536 | zimmerma | 2007-06-11 09:30:08 +0000 (Mon, 11 Jun 2007) | 3 lines Changed paths: M /trunk/lngamma.c M /trunk/tests/tlgamma.c fixed problem with mpfr_lgamma for tiny negative input (and fixed use of generic test) ------------------------------------------------------------------------ r4535 | vlefevre | 2007-06-05 20:50:07 +0000 (Tue, 05 Jun 2007) | 3 lines Changed paths: M /trunk/mpfr.texi [mpfr.texi] Small change in new Section "Floating-Point Values on Special Numbers" (suggested by Paul). ------------------------------------------------------------------------ r4534 | zimmerma | 2007-06-05 19:41:43 +0000 (Tue, 05 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tzeta.c M /trunk/zeta.c fixed bug for tiny negative input (and added corresponding test) ------------------------------------------------------------------------ r4533 | vlefevre | 2007-06-05 11:06:57 +0000 (Tue, 05 Jun 2007) | 2 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: Mulder -> Mulders. ------------------------------------------------------------------------ r4532 | zimmerma | 2007-06-04 11:26:10 +0000 (Mon, 04 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tdiv.c added test for "Witty's bug" on 64-bit machines ------------------------------------------------------------------------ r4531 | vlefevre | 2007-06-04 11:19:33 +0000 (Mon, 04 Jun 2007) | 2 lines Changed paths: M /trunk/div.c div.c: GNU coding style. ------------------------------------------------------------------------ r4530 | zimmerma | 2007-06-04 11:04:30 +0000 (Mon, 04 Jun 2007) | 3 lines Changed paths: M /trunk/div.c M /trunk/tests/tdiv.c tdiv.c: added missing mpfr_clear's, and spaces before function calls div.c: fixed bug found by Carl Witty, and added more comments ------------------------------------------------------------------------ r4529 | vlefevre | 2007-06-04 10:55:47 +0000 (Mon, 04 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tdiv.c tdiv.c: oops... the result should be 1. ------------------------------------------------------------------------ r4528 | vlefevre | 2007-06-04 10:50:42 +0000 (Mon, 04 Jun 2007) | 2 lines Changed paths: M /trunk/tests/tdiv.c tdiv.c: added test from Carl Witty's bug report on 2007-06-03. ------------------------------------------------------------------------ r4527 | vlefevre | 2007-06-01 13:48:35 +0000 (Fri, 01 Jun 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated Section "Floating-Point Values on Special Numbers". ------------------------------------------------------------------------ r4526 | vlefevre | 2007-06-01 13:31:14 +0000 (Fri, 01 Jun 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated Section "Floating-Point Values on Special Numbers". ------------------------------------------------------------------------ r4525 | vlefevre | 2007-06-01 13:29:33 +0000 (Fri, 01 Jun 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated month. ------------------------------------------------------------------------ r4524 | vlefevre | 2007-06-01 13:01:20 +0000 (Fri, 01 Jun 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: added @: after "resp." (when it was missing). ------------------------------------------------------------------------ r4523 | vlefevre | 2007-05-31 15:51:37 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi Started a new section "Floating-Point Values on Special Numbers". ------------------------------------------------------------------------ r4522 | vlefevre | 2007-05-31 15:47:00 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: inf -> Inf for consistency. ------------------------------------------------------------------------ r4521 | vlefevre | 2007-05-31 15:05:19 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi @deftypefun correction: void * -> {void *} (for the PDF). ------------------------------------------------------------------------ r4520 | vlefevre | 2007-05-31 15:02:11 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: consistency changes in section titles; made titles unique. ------------------------------------------------------------------------ r4519 | vlefevre | 2007-05-31 12:16:06 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/set_d64.c set_d64.c: replaced an "if" by a "#if" to avoid a gcc warning. ------------------------------------------------------------------------ r4518 | vlefevre | 2007-05-31 12:11:03 +0000 (Thu, 31 May 2007) | 4 lines Changed paths: M /trunk/get_d64.c M /trunk/set_d64.c get_d64.c: use BITS_PER_MP_LIMB instead of GMP_BITS_PER_LIMB (which does not seem to exist). set_d64.c: use BITS_PER_MP_LIMB instead of mp_bits_per_limb. ------------------------------------------------------------------------ r4517 | vlefevre | 2007-05-31 11:50:08 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/get_d64.c M /trunk/set_d64.c get_d64.c, set_d64.c: improved code to avoid some warnings. ------------------------------------------------------------------------ r4516 | vlefevre | 2007-05-31 11:39:23 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/get_d64.c M /trunk/set_d64.c Untabified get_d64.c and set_d64.c. ------------------------------------------------------------------------ r4515 | vlefevre | 2007-05-31 11:33:55 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/get_d64.c get_d64.c: added missing #include. ------------------------------------------------------------------------ r4514 | vlefevre | 2007-05-31 09:20:43 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/BUGS BUGS: update. ------------------------------------------------------------------------ r4513 | vlefevre | 2007-05-31 09:16:38 +0000 (Thu, 31 May 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h mpfr-impl.h: improved error message when thread safe is not supported. ------------------------------------------------------------------------ r4512 | vlefevre | 2007-05-30 15:27:10 +0000 (Wed, 30 May 2007) | 3 lines Changed paths: M /trunk/INSTALL INSTALL: say that relative paths in configure options are not supported (autoconf doesn't seem to have support for them). ------------------------------------------------------------------------ r4511 | vlefevre | 2007-05-30 12:04:22 +0000 (Wed, 30 May 2007) | 3 lines Changed paths: M /trunk/TODO M /trunk/mpfr.texi M /trunk/tests/tsgn.c Documented the new behavior of mpfr_sgn (in fact, it was already partly required by the tsgn.c tests!) and added new mpfr_sgn tests. ------------------------------------------------------------------------ r4510 | vlefevre | 2007-05-30 11:21:32 +0000 (Wed, 30 May 2007) | 2 lines Changed paths: M /trunk/TODO TODO: added an item about the behavior of mpfr_sgn on NaN. ------------------------------------------------------------------------ r4509 | vlefevre | 2007-05-30 11:13:23 +0000 (Wed, 30 May 2007) | 3 lines Changed paths: M /trunk/tests/tgeneric.c tgeneric.c: no longer check the MPFR_CHECK_TINY environment variable as all the bugs related to tiny arguments have been fixed. ------------------------------------------------------------------------ r4508 | vlefevre | 2007-05-30 10:17:09 +0000 (Wed, 30 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: corrections following the remarks by Nathalie Revol. ------------------------------------------------------------------------ r4507 | vlefevre | 2007-05-29 23:11:06 +0000 (Tue, 29 May 2007) | 2 lines Changed paths: M /trunk/yn.c yn.c: untabify. ------------------------------------------------------------------------ r4506 | zimmerma | 2007-05-29 22:02:35 +0000 (Tue, 29 May 2007) | 2 lines Changed paths: M /trunk/yn.c fix for small inputs in y1 ------------------------------------------------------------------------ r4505 | vlefevre | 2007-05-29 21:31:22 +0000 (Tue, 29 May 2007) | 4 lines Changed paths: M /trunk/erf.c M /trunk/lngamma.c M /trunk/mpfr-impl.h Defined new macros SIGN and SAME_SIGN in mpfr-impl.h to canonicalize the ternary value and to compare such values. Use SAME_SIGN in erf.c and lngamma.c. ------------------------------------------------------------------------ r4504 | zimmerma | 2007-05-29 21:04:57 +0000 (Tue, 29 May 2007) | 2 lines Changed paths: M /trunk/yn.c fixed problem of tiny arguments for y0 ------------------------------------------------------------------------ r4503 | zimmerma | 2007-05-29 16:44:02 +0000 (Tue, 29 May 2007) | 4 lines Changed paths: M /trunk/erf.c M /trunk/lngamma.c lngamma.c: fixed problem of tiny inputs in lngamma (still remains lgamma to deal with) erf.c: small correction (inexact flags might have been inexact :-) ------------------------------------------------------------------------ r4502 | zimmerma | 2007-05-29 12:24:20 +0000 (Tue, 29 May 2007) | 2 lines Changed paths: M /trunk/csch.c M /trunk/jn.c fixed tiny input problem with csch, j0, j1 ------------------------------------------------------------------------ r4501 | zimmerma | 2007-05-29 10:09:00 +0000 (Tue, 29 May 2007) | 2 lines Changed paths: M /trunk/cot.c added special code for tiny inputs ------------------------------------------------------------------------ r4500 | vlefevre | 2007-05-29 09:52:12 +0000 (Tue, 29 May 2007) | 2 lines Changed paths: M /trunk/tests/tgeneric_ui.c tgeneric_ui.c: no longer check the MPFR_CHECK_TINY environment variable. ------------------------------------------------------------------------ r4499 | vlefevre | 2007-05-29 09:33:56 +0000 (Tue, 29 May 2007) | 2 lines Changed paths: M /trunk/erf.c erf.c: removed workaround to mpfr_div_ui bug, as the bug is now fixed. ------------------------------------------------------------------------ r4498 | vlefevre | 2007-05-29 09:29:02 +0000 (Tue, 29 May 2007) | 5 lines Changed paths: M /trunk/div_ui.c div_ui.c: * Cleaned up the use of the sh variable (there was a useless sh = 0, so I'm not sure that there isn't a bug...). * Added underflow check. ------------------------------------------------------------------------ r4497 | vlefevre | 2007-05-29 08:48:49 +0000 (Tue, 29 May 2007) | 4 lines Changed paths: M /trunk/tests/tgeneric_ui.c Added check of tiny arguments to tgeneric_ui.c (if MPFR_CHECK_TINY is defined, like in tgeneric.c); mpfr_div_ui currently fails due to the lack of underflow checking. ------------------------------------------------------------------------ r4496 | zimmerma | 2007-05-29 08:12:30 +0000 (Tue, 29 May 2007) | 5 lines Changed paths: M /trunk/README.dev M /trunk/erf.c README.dev: fixed typo erf.c: implemented special case for tiny x, and partially get rid of double usage implemented ------------------------------------------------------------------------ r4495 | vlefevre | 2007-05-28 23:11:56 +0000 (Mon, 28 May 2007) | 4 lines Changed paths: M /trunk/README.dev M /trunk/cos.c M /trunk/exp2.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/sinh.c MPFR_RET (mpfr_check_range (...)) -> return mpfr_check_range (...) as mpfr_check_range already handles the inexact flag. Reformatting (removed trailing spaces, untabified). ------------------------------------------------------------------------ r4494 | zimmerma | 2007-05-28 21:51:11 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/sech.c fixed problem of tiny input ------------------------------------------------------------------------ r4493 | zimmerma | 2007-05-28 21:44:37 +0000 (Mon, 28 May 2007) | 3 lines Changed paths: M /trunk/coth.c M /trunk/csc.c fixed problem of tiny input for coth (and new fix again for csc, which takes into account the sign of the input) ------------------------------------------------------------------------ r4492 | zimmerma | 2007-05-28 21:23:23 +0000 (Mon, 28 May 2007) | 3 lines Changed paths: M /trunk/csc.c M /trunk/gen_inverse.h M /trunk/sec.c fixed problem of tiny inputs in mpfr_sec and mpfr_csc, by adding a SPECIAL_TINY macro in gen_inverse.h ------------------------------------------------------------------------ r4491 | zimmerma | 2007-05-28 20:56:41 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/tests/tzeta.c M /trunk/zeta.c the test for the tiny input case was too optimistic: fixed and added test. ------------------------------------------------------------------------ r4490 | zimmerma | 2007-05-28 20:24:23 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/zeta.c fixed case of tiny input ------------------------------------------------------------------------ r4489 | zimmerma | 2007-05-28 19:54:27 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/gamma.c fixed problem for tiny arguments ------------------------------------------------------------------------ r4488 | zimmerma | 2007-05-28 18:33:26 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/cosh.c added MPFR_FAST_COMPUTE_IF_SMALL_INPUT call ------------------------------------------------------------------------ r4487 | zimmerma | 2007-05-28 18:19:08 +0000 (Mon, 28 May 2007) | 3 lines Changed paths: M /trunk/mpfr-impl.h M /trunk/round_near_x.c changed 1st-order Taylor term from x to v to avoid confusion with the argument x of the function f(x), and fixed some typos ------------------------------------------------------------------------ r4486 | zimmerma | 2007-05-28 17:15:11 +0000 (Mon, 28 May 2007) | 3 lines Changed paths: M /trunk/exp2.c fixed direction of rounding for MPFR_FAST_COMPUTE_IF_SMALL_INPUT (was wrong for x < 0) ------------------------------------------------------------------------ r4485 | zimmerma | 2007-05-28 17:02:57 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/strtofr.c fixed typo ------------------------------------------------------------------------ r4484 | zimmerma | 2007-05-28 16:19:06 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/exp2.c M /trunk/tests/texp2.c added call to MPFR_FAST_COMPUTE_IF_SMALL_INPUT in exp2 ------------------------------------------------------------------------ r4483 | zimmerma | 2007-05-28 15:51:00 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/nightly-test re-enabled MPFR_CHECK_TINY ------------------------------------------------------------------------ r4482 | zimmerma | 2007-05-28 15:34:10 +0000 (Mon, 28 May 2007) | 3 lines Changed paths: M /trunk/configure.in M /trunk/mpfr.texi improved documentation of mpfr_set/get_decimal64 functions fixed problem in configure.in (_Decimal64 was tested too early) ------------------------------------------------------------------------ r4481 | vlefevre | 2007-05-28 15:17:44 +0000 (Mon, 28 May 2007) | 3 lines Changed paths: M /trunk/tests/tests.c tests/tests.c: fixed two bugs concerning the timeout (including an old one: we need to call getrlimit to initialize rlim_max). ------------------------------------------------------------------------ r4480 | zimmerma | 2007-05-28 15:07:05 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/nightly-test new syntax for timeouts ------------------------------------------------------------------------ r4479 | zimmerma | 2007-05-28 15:06:30 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/mpfr-impl.h fixed typo ------------------------------------------------------------------------ r4478 | vlefevre | 2007-05-28 13:57:32 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk Added mkinstalldirs to svn:ignore property. ------------------------------------------------------------------------ r4477 | vlefevre | 2007-05-28 13:56:33 +0000 (Mon, 28 May 2007) | 5 lines Changed paths: M /trunk/configure.in M /trunk/tests/tests.c Changed --with-tests-timeout into --enable-tests-timeout as documented in the autoconf manual (--with-* are for external packages only). When this is enabled, environment variable MPFR_TESTS_TIMEOUT allows to override the default timeout (use the value 0 to disable timeouts). ------------------------------------------------------------------------ r4476 | vlefevre | 2007-05-28 11:29:45 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/NEWS Updated NEWS file. ------------------------------------------------------------------------ r4475 | vlefevre | 2007-05-28 11:04:00 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: small improvement. ------------------------------------------------------------------------ r4474 | vlefevre | 2007-05-28 10:37:07 +0000 (Mon, 28 May 2007) | 3 lines Changed paths: M /trunk/mpfr.h M /trunk/sgn.c M /trunk/tests/tcmp_ui.c Fixed a bug in the mpfr_cmp_ui macro occurring on NaN and the constant 0 by specifying the behavior of mpfr_sgn on NaN. ------------------------------------------------------------------------ r4473 | vlefevre | 2007-05-28 09:26:07 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: typography corrections concerning "i.e.". ------------------------------------------------------------------------ r4472 | vlefevre | 2007-05-28 09:17:37 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: consistency changes. ------------------------------------------------------------------------ r4471 | vlefevre | 2007-05-28 09:11:39 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: more details in Section "Exceptions". ------------------------------------------------------------------------ r4470 | vlefevre | 2007-05-28 02:12:05 +0000 (Mon, 28 May 2007) | 3 lines Changed paths: M /trunk/tests/tgeneric.c tgeneric.c: check the function on tiny arguments (±2^(emin-1)) when the MPFR_CHECK_TINY environment variable is defined. ------------------------------------------------------------------------ r4469 | vlefevre | 2007-05-28 00:54:09 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/TODO Typo. ------------------------------------------------------------------------ r4468 | vlefevre | 2007-05-28 00:27:16 +0000 (Mon, 28 May 2007) | 2 lines Changed paths: M /trunk/BUGS M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atanh.c M /trunk/cos.c M /trunk/erfc.c M /trunk/expm1.c M /trunk/log1p.c M /trunk/mpfr-impl.h M /trunk/round_near_x.c M /trunk/sin.c M /trunk/sinh.c M /trunk/tan.c M /trunk/tanh.c M /trunk/zeta.c Avoid integer overflow in MPFR_FAST_COMPUTE_IF_SMALL_INPUT. ------------------------------------------------------------------------ r4467 | zimmerma | 2007-05-25 21:03:43 +0000 (Fri, 25 May 2007) | 3 lines Changed paths: M /trunk/remquo.c M /trunk/tests/tremquo.c completed implementation of Vincent's algorithm for mpfr_remquo all tests now pass again ------------------------------------------------------------------------ r4466 | zimmerma | 2007-05-24 21:45:25 +0000 (Thu, 24 May 2007) | 3 lines Changed paths: M /trunk/remquo.c new version of mpfr_remainder, using Vincent's algorithm (still remains to deal with special arguments, and make mpfr_remquo call it) ------------------------------------------------------------------------ r4465 | zimmerma | 2007-05-23 22:09:57 +0000 (Wed, 23 May 2007) | 2 lines Changed paths: M /trunk/TODO added note about fms ------------------------------------------------------------------------ r4464 | zimmerma | 2007-05-23 21:55:55 +0000 (Wed, 23 May 2007) | 2 lines Changed paths: M /trunk/fma.c fixed typo ------------------------------------------------------------------------ r4463 | zimmerma | 2007-05-23 21:26:14 +0000 (Wed, 23 May 2007) | 2 lines Changed paths: M /trunk/gamma.c M /trunk/tests/tgamma.c fixed problem for x integer and rounding to nearest ------------------------------------------------------------------------ r4462 | zimmerma | 2007-05-23 18:33:35 +0000 (Wed, 23 May 2007) | 2 lines Changed paths: M /trunk/sin.c workaround for bug when x is very small (check_tiny in tsin) ------------------------------------------------------------------------ r4461 | vlefevre | 2007-05-22 12:06:00 +0000 (Tue, 22 May 2007) | 2 lines Changed paths: M /trunk/BUGS Updated BUGS (again). ------------------------------------------------------------------------ r4460 | vlefevre | 2007-05-22 11:50:06 +0000 (Tue, 22 May 2007) | 3 lines Changed paths: M /trunk/BUGS M /trunk/TODO Updated BUGS and TODO (mpfr_lgamma has been implemented, but see BUGS, and gamma(-integer) with integer >= 1 is defined as NaN). ------------------------------------------------------------------------ r4459 | vlefevre | 2007-05-22 08:41:00 +0000 (Tue, 22 May 2007) | 2 lines Changed paths: M /trunk/tests/tsin.c tsin.c: check sin on +/- 2^(emin-1) (test by Christopher Creutzig). ------------------------------------------------------------------------ r4458 | vlefevre | 2007-05-22 08:25:20 +0000 (Tue, 22 May 2007) | 3 lines Changed paths: M /trunk/tests/tgamma.c tgamma.c: added test of gamma on some integral values (from Christopher Creutzig); this test is enabled only when an argument is provided. ------------------------------------------------------------------------ r4457 | vlefevre | 2007-05-22 00:29:16 +0000 (Tue, 22 May 2007) | 2 lines Changed paths: M /trunk/fma.c fma.c: improved comments and simplified the code. ------------------------------------------------------------------------ r4456 | vlefevre | 2007-05-22 00:11:18 +0000 (Tue, 22 May 2007) | 5 lines Changed paths: M /trunk/fma.c fma.c: implemented exponent range expansion and the main part when the multiplication overflows. The following remains to do: * when the multiplication overflows: some corner cases; * when the multiplication underflows: everything. ------------------------------------------------------------------------ r4455 | vlefevre | 2007-05-21 11:52:33 +0000 (Mon, 21 May 2007) | 3 lines Changed paths: M /trunk/tests/tlgamma.c tlgamma.c: I re-enable the generic tests of mpfr_lgamma now, to make sure that it is fixed before the 2.3.0 release candidate. ------------------------------------------------------------------------ r4454 | vlefevre | 2007-05-21 11:49:41 +0000 (Mon, 21 May 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c tfma.c: added an overflow test (currently fails). ------------------------------------------------------------------------ r4453 | vlefevre | 2007-05-21 08:44:22 +0000 (Mon, 21 May 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c tfma.c: whitespace change. ------------------------------------------------------------------------ r4452 | vlefevre | 2007-05-21 08:43:41 +0000 (Mon, 21 May 2007) | 2 lines Changed paths: M /trunk/tests/tfma.c tfma.c: added tests on special and exact values. ------------------------------------------------------------------------ r4451 | zimmerma | 2007-05-17 22:05:42 +0000 (Thu, 17 May 2007) | 3 lines Changed paths: M /trunk/TODO M /trunk/lngamma.c fixed error analysis in mpfr_lngamma added mpfr_inp_raw/mpfr_out_raw in TODO ------------------------------------------------------------------------ r4450 | vlefevre | 2007-05-16 14:52:57 +0000 (Wed, 16 May 2007) | 2 lines Changed paths: M /trunk/TODO TODO: fixed mpfr_fms formula to match the one on Itanium and PowerPC. ------------------------------------------------------------------------ r4449 | vlefevre | 2007-05-07 09:01:39 +0000 (Mon, 07 May 2007) | 2 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: improved the description of mpfr_remquo. ------------------------------------------------------------------------ r4448 | zimmerma | 2007-05-06 13:25:55 +0000 (Sun, 06 May 2007) | 2 lines Changed paths: M /trunk/algorithms.tex improved description of remainder and remquo ------------------------------------------------------------------------ r4447 | vlefevre | 2007-05-06 11:16:12 +0000 (Sun, 06 May 2007) | 2 lines Changed paths: M /trunk/algorithms.tex My latest change was not completely correct... ------------------------------------------------------------------------ r4446 | vlefevre | 2007-05-06 11:13:41 +0000 (Sun, 06 May 2007) | 2 lines Changed paths: M /trunk/algorithms.tex Updated description of algorithm for mpfr_remainder. ------------------------------------------------------------------------ r4445 | zimmerma | 2007-05-06 08:18:50 +0000 (Sun, 06 May 2007) | 2 lines Changed paths: M /trunk/algorithms.tex added description of algorithm for mpfr_remainder ------------------------------------------------------------------------ r4444 | vlefevre | 2007-05-04 14:25:31 +0000 (Fri, 04 May 2007) | 2 lines Changed paths: M /trunk/remquo.c remquo.c: suggest to use mpz_powm. ------------------------------------------------------------------------ r4443 | vlefevre | 2007-05-04 13:19:27 +0000 (Fri, 04 May 2007) | 3 lines Changed paths: M /trunk/remquo.c remquo.c: added a comment (idea to compute the remainder much more efficiently in the case x much larger than y). ------------------------------------------------------------------------ r4442 | zimmerma | 2007-05-04 12:45:36 +0000 (Fri, 04 May 2007) | 2 lines Changed paths: M /trunk/remquo.c added assert and ideas for native implementation ------------------------------------------------------------------------ r4441 | zimmerma | 2007-05-04 06:27:38 +0000 (Fri, 04 May 2007) | 2 lines Changed paths: M /trunk/tests/tremquo.c put back test (disabled for test) ------------------------------------------------------------------------ r4440 | zimmerma | 2007-05-04 06:26:56 +0000 (Fri, 04 May 2007) | 2 lines Changed paths: M /trunk/remquo.c M /trunk/tests/tremquo.c fixed problem when rem and x are the same variable ------------------------------------------------------------------------ r4439 | vlefevre | 2007-05-04 00:36:01 +0000 (Fri, 04 May 2007) | 2 lines Changed paths: M /trunk/tests/tremquo.c tremquo.c: added a test that leads to a segmentation fault. ------------------------------------------------------------------------ r4438 | vlefevre | 2007-05-04 00:29:47 +0000 (Fri, 04 May 2007) | 2 lines Changed paths: M /trunk/tests/tremquo.c tremquo.c: fixed tests (= -> ==). ------------------------------------------------------------------------ r4437 | zimmerma | 2007-05-03 20:07:20 +0000 (Thu, 03 May 2007) | 4 lines Changed paths: M /trunk/mpfr.texi M /trunk/remquo.c M /trunk/tests/tremquo.c fixed two issues found by Kaveh Ghazi: * remainder was wrong for |x/y| < 1 * remainder had wrong sign when zero ------------------------------------------------------------------------ r4436 | zimmerma | 2007-05-03 15:56:03 +0000 (Thu, 03 May 2007) | 2 lines Changed paths: M /trunk/lngamma.c more details of error analysis ------------------------------------------------------------------------ r4435 | vlefevre | 2007-05-03 13:30:34 +0000 (Thu, 03 May 2007) | 2 lines Changed paths: M /trunk/tests Updated svn:ignore property. ------------------------------------------------------------------------ r4434 | vlefevre | 2007-05-03 13:28:31 +0000 (Thu, 03 May 2007) | 2 lines Changed paths: M /trunk Updated svn:ignore property. ------------------------------------------------------------------------ r4433 | zimmerma | 2007-05-03 13:16:34 +0000 (Thu, 03 May 2007) | 2 lines Changed paths: M /trunk/tests/tremquo.c fixed precision for command-line usage ------------------------------------------------------------------------ r4432 | vlefevre | 2007-05-03 13:15:49 +0000 (Thu, 03 May 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: added mpfr_lgamma. ------------------------------------------------------------------------ r4431 | zimmerma | 2007-05-03 13:10:31 +0000 (Thu, 03 May 2007) | 2 lines Changed paths: M /trunk/tests/tremquo.c added code to use tremquo with command-line arguments (tremquo x y) ------------------------------------------------------------------------ r4430 | vlefevre | 2007-05-02 16:03:52 +0000 (Wed, 02 May 2007) | 2 lines Changed paths: M /trunk/configure.in configure.in: improved comment. ------------------------------------------------------------------------ r4429 | vlefevre | 2007-05-02 15:52:51 +0000 (Wed, 02 May 2007) | 4 lines Changed paths: M /trunk/configure.in configure.in: added a comment on the AC_ARG_ENABLE(decimal-float...) part. The addition of this code was the cause of the test_CFLAGS problem (see r4425 log), but this code is still wrong. ------------------------------------------------------------------------ r4428 | zimmerma | 2007-05-02 15:41:18 +0000 (Wed, 02 May 2007) | 2 lines Changed paths: M /trunk/tests/tremquo.c modified test (2147483648 is not representable as 32-bit long in C90) ------------------------------------------------------------------------ r4427 | vlefevre | 2007-05-02 15:20:50 +0000 (Wed, 02 May 2007) | 2 lines Changed paths: M /trunk/remquo.c M /trunk/yn.c Removed unused variables. ------------------------------------------------------------------------ r4426 | vlefevre | 2007-05-02 15:18:18 +0000 (Wed, 02 May 2007) | 4 lines Changed paths: M /trunk/get_str.c get_str.c: * Removed useless prototype declaration (function no longer defined). * Fixed initializer. ------------------------------------------------------------------------ r4425 | vlefevre | 2007-05-02 15:14:44 +0000 (Wed, 02 May 2007) | 4 lines Changed paths: M /trunk/configure.in configure.in: moved the definition of test_CFLAGS upward (it was always set to "set", either because of things added to configure.in or because of new autoconf). ------------------------------------------------------------------------ r4424 | vlefevre | 2007-05-02 14:54:47 +0000 (Wed, 02 May 2007) | 2 lines Changed paths: M /trunk/mpfr.h mpfr.h: added mpfr_lgamma prototype. ------------------------------------------------------------------------ r4423 | zimmerma | 2007-05-02 14:23:11 +0000 (Wed, 02 May 2007) | 3 lines Changed paths: M /trunk/NEWS M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/remquo.c M /trunk/tests/tremquo.c argument quo of remquo is now a pointer to long instead of int added new functions in NEWS ------------------------------------------------------------------------ r4422 | zimmerma | 2007-05-02 12:21:24 +0000 (Wed, 02 May 2007) | 2 lines Changed paths: M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/remquo.c M /trunk/tests/tremquo.c changed order of arguments: now mpfr_remquo (r, q, x, y, rnd). ------------------------------------------------------------------------ r4421 | vlefevre | 2007-05-02 11:53:58 +0000 (Wed, 02 May 2007) | 2 lines Changed paths: M /trunk/remquo.c remquo.c: fixed variable name for MPFR_LOG_FUNC. ------------------------------------------------------------------------ r4420 | zimmerma | 2007-05-02 10:12:11 +0000 (Wed, 02 May 2007) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/TODO M /trunk/mpfr.h M /trunk/mpfr.texi A /trunk/remquo.c M /trunk/tests/Makefile.am A /trunk/tests/tremquo.c added mpfr_remquo and mpfr_remainder ------------------------------------------------------------------------ r4419 | zimmerma | 2007-04-27 12:48:01 +0000 (Fri, 27 Apr 2007) | 2 lines Changed paths: M /trunk/lngamma.c fixed error analysis (error was over-estimated) ------------------------------------------------------------------------ r4418 | vlefevre | 2007-04-26 10:12:51 +0000 (Thu, 26 Apr 2007) | 2 lines Changed paths: M /trunk/lngamma.c lngamma.c: a bit more details in the error analysis for z0 < 1. ------------------------------------------------------------------------ r4417 | vlefevre | 2007-04-26 09:20:37 +0000 (Thu, 26 Apr 2007) | 2 lines Changed paths: M /trunk/lngamma.c lngamma.c: a bit more details in the error analysis for z0 < 1. ------------------------------------------------------------------------ r4416 | zimmerma | 2007-04-26 08:26:39 +0000 (Thu, 26 Apr 2007) | 2 lines Changed paths: M /trunk/lngamma.c u was used for two different meanings in the error analysis for z0 < 1 ------------------------------------------------------------------------ r4415 | vlefevre | 2007-04-25 12:52:09 +0000 (Wed, 25 Apr 2007) | 2 lines Changed paths: M /trunk/get_d64.c M /trunk/jn.c M /trunk/set_d64.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tinternals.c M /trunk/tests/tj0.c M /trunk/tests/tj1.c M /trunk/tests/tjn.c M /trunk/tests/ty0.c M /trunk/tests/ty1.c M /trunk/tests/tyn.c M /trunk/yn.c Updated Subversion properties on .c files (now consistent). ------------------------------------------------------------------------ r4414 | vlefevre | 2007-04-25 12:49:47 +0000 (Wed, 25 Apr 2007) | 2 lines Changed paths: M /trunk/tests Updated svn:ignore property. ------------------------------------------------------------------------ r4413 | vlefevre | 2007-04-25 12:48:05 +0000 (Wed, 25 Apr 2007) | 4 lines Changed paths: M /trunk/lngamma.c M /trunk/tests/Makefile.am A /trunk/tests/tlgamma.c M /trunk/tests/tlngamma.c Added preliminary support for mpfr_lngamma and tests. TODO: add support for negative numbers with small exponent. Re-enable the generic tests when this is done. ------------------------------------------------------------------------ r4412 | vlefevre | 2007-04-25 10:58:14 +0000 (Wed, 25 Apr 2007) | 3 lines Changed paths: M /trunk/lngamma.c lngamma.c: There was an assertion failed, probably because the error was too large; fixed that by restarting with a larger precision. ------------------------------------------------------------------------ r4411 | vlefevre | 2007-04-25 10:51:03 +0000 (Wed, 25 Apr 2007) | 2 lines Changed paths: M /trunk/lngamma.c lngamma.c: fixed -2k-1 <= x <= -2k test. ------------------------------------------------------------------------ r4410 | vlefevre | 2007-04-25 09:07:03 +0000 (Wed, 25 Apr 2007) | 3 lines Changed paths: M /trunk/tests/tlngamma.c tests/tlngamma.c: added a test showing a bug in lngamma (due to the use of mpfr_get_si even when the number doesn't fit in a long). ------------------------------------------------------------------------ r4409 | zimmerma | 2007-04-22 08:58:35 +0000 (Sun, 22 Apr 2007) | 2 lines Changed paths: M /trunk/jn.c M /trunk/tests/tjn.c fixed bug for negative even index in mpfr_jn (wrong sign) ------------------------------------------------------------------------ r4408 | zimmerma | 2007-04-12 12:16:04 +0000 (Thu, 12 Apr 2007) | 2 lines Changed paths: M /trunk/README.dev added warning ------------------------------------------------------------------------ r4407 | zimmerma | 2007-04-12 08:24:19 +0000 (Thu, 12 Apr 2007) | 2 lines Changed paths: M /trunk/README.dev added Bit Twiddling Hacks ------------------------------------------------------------------------ r4406 | vlefevre | 2007-04-05 12:01:07 +0000 (Thu, 05 Apr 2007) | 3 lines Changed paths: M /trunk/mpfr.texi MPFR manual: added a brief description of mpfr_t (this may be needed to write correct code) and mpfr_ptr (used by mpfr_sum). ------------------------------------------------------------------------ r4405 | vlefevre | 2007-04-02 15:32:00 +0000 (Mon, 02 Apr 2007) | 4 lines Changed paths: M /trunk/jn.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/tjn.c M /trunk/tests/tyn.c M /trunk/yn.c Changed mpfr_{jn,yn}_si (mpfr_t res, mpfr_t x, long n, ...) into mpfr_{jn,yn} (mpfr_t res, long n, mpfr_t x, ...), as discussed by mail; fixed a typo in mpfr.texi in mpfr_{y0,y1,yn} description. ------------------------------------------------------------------------ r4404 | zimmerma | 2007-03-31 21:23:00 +0000 (Sat, 31 Mar 2007) | 2 lines Changed paths: M /trunk/TODO added url of GSL manual ------------------------------------------------------------------------ r4403 | zimmerma | 2007-03-31 21:15:26 +0000 (Sat, 31 Mar 2007) | 2 lines Changed paths: M /trunk/TODO fixed misunderstanding about definition of Bessel functions ------------------------------------------------------------------------ r4402 | zimmerma | 2007-03-31 17:59:23 +0000 (Sat, 31 Mar 2007) | 2 lines Changed paths: M /trunk/TODO removed Bessel functions J_n and Y_n ------------------------------------------------------------------------ r4401 | zimmerma | 2007-03-31 14:01:00 +0000 (Sat, 31 Mar 2007) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/algorithms.bib M /trunk/algorithms.tex M /trunk/jn.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/Makefile.am A /trunk/tests/ty0.c A /trunk/tests/ty1.c A /trunk/tests/tyn.c A /trunk/yn.c added Bessel functions of second kind (y0, y1, yn_si) ------------------------------------------------------------------------ r4400 | zimmerma | 2007-03-31 13:55:06 +0000 (Sat, 31 Mar 2007) | 2 lines Changed paths: M /trunk/tests/tj0.c M /trunk/tests/tj1.c now test_generic calls respectively j0 and j1, not zeta! ------------------------------------------------------------------------ r4399 | vlefevre | 2007-03-30 14:35:56 +0000 (Fri, 30 Mar 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: INF -> Inf for consistency. ------------------------------------------------------------------------ r4398 | vlefevre | 2007-03-30 14:34:00 +0000 (Fri, 30 Mar 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: PI -> Pi for consistency. ------------------------------------------------------------------------ r4397 | vlefevre | 2007-03-29 02:33:02 +0000 (Thu, 29 Mar 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: -0 -> @minus{}0. ------------------------------------------------------------------------ r4396 | vlefevre | 2007-03-29 02:28:46 +0000 (Thu, 29 Mar 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: fixed bug introduced in rev 4377, which made TeX fail. ------------------------------------------------------------------------ r4395 | vlefevre | 2007-03-29 02:00:04 +0000 (Thu, 29 Mar 2007) | 2 lines Changed paths: M /trunk/tests Added tj0, tj1 and tjn to svn:ignore property of "tests" directory. ------------------------------------------------------------------------ r4393 | zimmerma | 2007-03-26 09:29:40 +0000 (Mon, 26 Mar 2007) | 2 lines Changed paths: M /trunk/jn.c mpfr_jn -> mpfr_jn_si ------------------------------------------------------------------------ r4392 | zimmerma | 2007-03-23 20:30:20 +0000 (Fri, 23 Mar 2007) | 3 lines Changed paths: M /trunk/algorithms.tex M /trunk/jn.c M /trunk/tests/tjn.c now check underflow for large n in mpfr_jn_si added more tests ------------------------------------------------------------------------ r4391 | zimmerma | 2007-03-23 16:37:16 +0000 (Fri, 23 Mar 2007) | 2 lines Changed paths: M /trunk/tests/tjn.c added more tests (large values of n) ------------------------------------------------------------------------ r4390 | zimmerma | 2007-03-23 16:22:01 +0000 (Fri, 23 Mar 2007) | 2 lines Changed paths: M /trunk/jn.c fixed another stupid bug ------------------------------------------------------------------------ r4389 | zimmerma | 2007-03-23 15:49:35 +0000 (Fri, 23 Mar 2007) | 3 lines Changed paths: M /trunk/jn.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/tjn.c mpfr_jn -> mpfr_jn_si, with 'int' argument changed to 'long' fixed bug in mpfr_jn_si (forgot to increase working precision) ------------------------------------------------------------------------ r4388 | vlefevre | 2007-03-23 15:47:17 +0000 (Fri, 23 Mar 2007) | 3 lines Changed paths: M /trunk/README.dev README.dev: added a warning about the meaning of the output "inexact" value in the function logging code. ------------------------------------------------------------------------ r4387 | vlefevre | 2007-03-23 15:38:20 +0000 (Fri, 23 Mar 2007) | 2 lines Changed paths: M /trunk/add.c M /trunk/sub.c Added log support for mpfr_add and mpfr_sub. ------------------------------------------------------------------------ r4386 | lfousse | 2007-03-23 13:43:18 +0000 (Fri, 23 Mar 2007) | 2 lines Changed paths: M /trunk/algorithms.tex Correction: added missing $b_n$. ------------------------------------------------------------------------ r4385 | zimmerma | 2007-03-22 17:12:00 +0000 (Thu, 22 Mar 2007) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/algorithms.tex A /trunk/jn.c M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/tests/Makefile.am M /trunk/tests/reuse.c A /trunk/tests/tj0.c A /trunk/tests/tj1.c A /trunk/tests/tjn.c added Bessel functions of first kind: j0, j1, jn ------------------------------------------------------------------------ r4384 | vlefevre | 2007-03-19 09:11:17 +0000 (Mon, 19 Mar 2007) | 2 lines Changed paths: M /trunk/mpfr.texi MPFR manual: improved description of mpfr_get_str. ------------------------------------------------------------------------ r4383 | zimmerma | 2007-03-19 07:43:16 +0000 (Mon, 19 Mar 2007) | 2 lines Changed paths: M /trunk/get_str.c fixed typos in comments ------------------------------------------------------------------------ r4382 | zimmerma | 2007-03-18 20:16:15 +0000 (Sun, 18 Mar 2007) | 2 lines Changed paths: M /trunk/mpfr.texi documented restriction to n in mpfr_get_str ------------------------------------------------------------------------ r4380 | vlefevre | 2007-03-13 15:46:08 +0000 (Tue, 13 Mar 2007) | 3 lines Changed paths: M /trunk/INSTALL Updated INSTALL based on AIX/PowerPC tests and results from Julie Kurpa and information on . ------------------------------------------------------------------------ r4379 | vlefevre | 2007-03-03 01:55:32 +0000 (Sat, 03 Mar 2007) | 2 lines Changed paths: M /trunk/README.dev README.dev: updated "To make a release" section. ------------------------------------------------------------------------ r4378 | vlefevre | 2007-03-02 11:16:59 +0000 (Fri, 02 Mar 2007) | 3 lines Changed paths: M /trunk/mpfr.texi Made modified paragraph on mpfr_get_str more correct from a logical point of view. ------------------------------------------------------------------------ r4377 | zimmerma | 2007-03-02 09:15:04 +0000 (Fri, 02 Mar 2007) | 2 lines Changed paths: M /trunk/mpfr.texi modified paragraph on mpfr_get_str (size of allocated string) ------------------------------------------------------------------------ r4376 | zimmerma | 2007-02-25 13:04:13 +0000 (Sun, 25 Feb 2007) | 2 lines Changed paths: M /trunk/TODO added tentative implementation of fmod ------------------------------------------------------------------------ r4375 | zimmerma | 2007-02-20 02:58:16 +0000 (Tue, 20 Feb 2007) | 2 lines Changed paths: M /trunk/TODO added suggestion about remquo ------------------------------------------------------------------------ r4374 | zimmerma | 2007-02-19 21:50:26 +0000 (Mon, 19 Feb 2007) | 2 lines Changed paths: M /trunk/TODO added comment ------------------------------------------------------------------------ r4373 | zimmerma | 2007-02-19 21:43:23 +0000 (Mon, 19 Feb 2007) | 2 lines Changed paths: M /trunk/TODO added C99 rationale for remquo ------------------------------------------------------------------------ r4372 | zimmerma | 2007-02-19 03:52:30 +0000 (Mon, 19 Feb 2007) | 3 lines Changed paths: M /trunk/acosh.c M /trunk/algorithms.tex M /trunk/asinh.c M /trunk/atanh.c M /trunk/const_catalan.c M /trunk/log1p.c fixed error in generic error for the logarithm, and propagated new bound in algorithms.tex and source files ------------------------------------------------------------------------ r4371 | zimmerma | 2007-02-18 20:10:20 +0000 (Sun, 18 Feb 2007) | 2 lines Changed paths: M /trunk/TODO added new item ------------------------------------------------------------------------ r4370 | vlefevre | 2007-02-15 23:35:25 +0000 (Thu, 15 Feb 2007) | 3 lines Changed paths: A /trunk/update-patchv (from /branches/2.2/update-patchv:4367) Added update-patchv script to update some files before a patch is built (script from 2.2 branch). ------------------------------------------------------------------------ r4365 | vlefevre | 2007-02-14 09:31:19 +0000 (Wed, 14 Feb 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated paragraph on the underflow before/after rounding. ------------------------------------------------------------------------ r4364 | zimmerma | 2007-02-14 03:34:21 +0000 (Wed, 14 Feb 2007) | 2 lines Changed paths: M /trunk/TODO added reference ------------------------------------------------------------------------ r4363 | vlefevre | 2007-02-12 16:34:21 +0000 (Mon, 12 Feb 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: added Exceptions section. ------------------------------------------------------------------------ r4361 | vlefevre | 2007-02-12 12:18:19 +0000 (Mon, 12 Feb 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: updated month. ------------------------------------------------------------------------ r4359 | vlefevre | 2007-02-12 12:04:14 +0000 (Mon, 12 Feb 2007) | 2 lines Changed paths: M /trunk/NEWS M /trunk/mpfr.texi Note that the mpfr.info file is now installed in the share subdirectory. ------------------------------------------------------------------------ r4358 | vlefevre | 2007-02-10 11:30:18 +0000 (Sat, 10 Feb 2007) | 4 lines Changed paths: M /trunk/tests/tpow.c tests/tpow.c: removed comment since there are other 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 ) ------------------------------------------------------------------------ r4346 | vlefevre | 2007-01-20 13:45:20 +0000 (Sat, 20 Jan 2007) | 2 lines Changed paths: M /trunk/set_si_2exp.c Fixed mpfr_set_si_2exp in case of overflow or underflow. ------------------------------------------------------------------------ r4345 | vlefevre | 2007-01-19 08:31:32 +0000 (Fri, 19 Jan 2007) | 2 lines Changed paths: M /trunk/pow_si.c pow_si.c: fixed the overflow detection for x power of 2 and n negative. ------------------------------------------------------------------------ r4344 | vlefevre | 2007-01-19 07:24:26 +0000 (Fri, 19 Jan 2007) | 3 lines Changed paths: M /trunk/tests/tget_f.c tests/tget_f.c: fixed a test that had an integer overflow (detected with -ftrapv). ------------------------------------------------------------------------ r4343 | vlefevre | 2007-01-19 07:07:10 +0000 (Fri, 19 Jan 2007) | 6 lines Changed paths: M /trunk/pow_si.c pow_si.c: Before fixing the bug corresponding to the testcase added in rev 4342, let's fix another one that can be detected with -ftrapv when n = LONG_MIN (since -n is not representable in this case). With wrapping, we always got the correct result because mp_exp_t is currently at most a long *and* because of side effects! ------------------------------------------------------------------------ r4342 | vlefevre | 2007-01-19 06:51:13 +0000 (Fri, 19 Jan 2007) | 2 lines Changed paths: M /trunk/tests/tpow.c tests/tpow.c: added a test which fails (undetected integer overflow). ------------------------------------------------------------------------ r4341 | vlefevre | 2007-01-19 06:44:09 +0000 (Fri, 19 Jan 2007) | 2 lines Changed paths: M /trunk/tests/tpow.c tests/tpow.c: new test was wrong; fixed. ------------------------------------------------------------------------ r4340 | vlefevre | 2007-01-19 06:39:23 +0000 (Fri, 19 Jan 2007) | 2 lines Changed paths: M /trunk/tests/tpow.c tests/tpow.c: corrected tests and added another test. ------------------------------------------------------------------------ r4339 | vlefevre | 2007-01-19 05:10:16 +0000 (Fri, 19 Jan 2007) | 2 lines Changed paths: M /trunk/tests/tpow.c tests/tpow.c: added tests. ------------------------------------------------------------------------ r4338 | vlefevre | 2007-01-19 04:23:17 +0000 (Fri, 19 Jan 2007) | 2 lines Changed paths: M /trunk/pow_si.c pow_si.c: added an assertion. ------------------------------------------------------------------------ r4337 | vlefevre | 2007-01-18 01:28:02 +0000 (Thu, 18 Jan 2007) | 2 lines Changed paths: M /trunk/TODO TODO: merged both requests for mpfr_sinh_cosh. ------------------------------------------------------------------------ r4335 | zimmerma | 2007-01-17 19:38:49 +0000 (Wed, 17 Jan 2007) | 2 lines Changed paths: M /trunk/dim.c M /trunk/mpfr.texi added documentation for mpfr_dim (was missing) ------------------------------------------------------------------------ r4334 | zimmerma | 2007-01-17 19:26:47 +0000 (Wed, 17 Jan 2007) | 2 lines Changed paths: M /trunk/TODO added item ------------------------------------------------------------------------ r4333 | vlefevre | 2007-01-17 17:34:09 +0000 (Wed, 17 Jan 2007) | 4 lines Changed paths: M /trunk/get_str.c M /trunk/mpfr-impl.h M /trunk/tests/tests.c Replaced some computations using the type double by computations using MPFR, for mpfr_get_str, allowing it to work with an x86 processor set up in single-precision mode. ------------------------------------------------------------------------ r4332 | vlefevre | 2007-01-16 23:15:29 +0000 (Tue, 16 Jan 2007) | 2 lines Changed paths: M /trunk/pow_si.c Updated comment concerning LONG_MIN / 1. ------------------------------------------------------------------------ r4331 | vlefevre | 2007-01-15 00:40:17 +0000 (Mon, 15 Jan 2007) | 2 lines Changed paths: M /trunk/README.dev README.dev: updated "To make a release" section. ------------------------------------------------------------------------ r4329 | vlefevre | 2007-01-10 16:35:27 +0000 (Wed, 10 Jan 2007) | 2 lines Changed paths: D /trunk/mpzroot.c D /trunk/rootrem.c Removed mpzroot.c and rootrem.c from the repository. ------------------------------------------------------------------------ r4328 | vlefevre | 2007-01-10 16:32:46 +0000 (Wed, 10 Jan 2007) | 3 lines Changed paths: M /trunk/Makefile.am D /trunk/log_b2.h Removed log_b2.h (has never been used) from the repository and from libmpfr_la_SOURCES in Makefile.am. ------------------------------------------------------------------------ r4327 | vlefevre | 2007-01-10 15:40:05 +0000 (Wed, 10 Jan 2007) | 2 lines Changed paths: M /trunk/FAQ.html FAQ.html: Added details to MPF-related Q&A's. ------------------------------------------------------------------------ r4326 | vlefevre | 2007-01-10 12:51:56 +0000 (Wed, 10 Jan 2007) | 2 lines Changed paths: M /trunk/NEWS M /trunk/README M /trunk/TODO M /trunk/abort_prec_max.c M /trunk/acinclude.m4 M /trunk/acos.c M /trunk/acosh.c M /trunk/add.c M /trunk/add1.c M /trunk/add1sp.c M /trunk/add_ui.c M /trunk/agm.c M /trunk/asin.c M /trunk/asinh.c M /trunk/atan.c M /trunk/atan2.c M /trunk/atanh.c M /trunk/cache.c M /trunk/cbrt.c M /trunk/check.c M /trunk/clear.c M /trunk/clears.c M /trunk/cmp.c M /trunk/cmp2.c M /trunk/cmp_abs.c M /trunk/cmp_d.c M /trunk/cmp_ld.c M /trunk/cmp_si.c M /trunk/cmp_ui.c M /trunk/comparisons.c M /trunk/configure.in M /trunk/const_catalan.c M /trunk/const_euler.c M /trunk/const_log2.c M /trunk/const_pi.c M /trunk/constant.c M /trunk/copysign.c M /trunk/cos.c M /trunk/cosh.c M /trunk/cot.c M /trunk/coth.c M /trunk/csc.c M /trunk/csch.c M /trunk/dim.c M /trunk/div.c M /trunk/div_2exp.c M /trunk/div_2si.c M /trunk/div_2ui.c M /trunk/div_ui.c M /trunk/dump.c M /trunk/eint.c M /trunk/eq.c M /trunk/erf.c M /trunk/erfc.c M /trunk/exceptions.c M /trunk/exp.c M /trunk/exp10.c M /trunk/exp2.c M /trunk/exp3.c M /trunk/exp_2.c M /trunk/expm1.c M /trunk/extract.c M /trunk/factorial.c M /trunk/faq.xsl M /trunk/fits_intmax.c M /trunk/fits_s.h M /trunk/fits_sint.c M /trunk/fits_slong.c M /trunk/fits_sshort.c M /trunk/fits_u.h M /trunk/fits_uint.c M /trunk/fits_uintmax.c M /trunk/fits_ulong.c M /trunk/fits_ushort.c M /trunk/fma.c M /trunk/frac.c M /trunk/free_cache.c M /trunk/gamma.c M /trunk/gen_inverse.h M /trunk/generic.c M /trunk/get_d.c M /trunk/get_d64.c M /trunk/get_exp.c M /trunk/get_f.c M /trunk/get_ld.c M /trunk/get_si.c M /trunk/get_sj.c M /trunk/get_str.c M /trunk/get_ui.c M /trunk/get_uj.c M /trunk/get_z.c M /trunk/get_z_exp.c M /trunk/gmp_op.c M /trunk/hypot.c M /trunk/init.c M /trunk/init2.c M /trunk/inits.c M /trunk/inits2.c M /trunk/inp_str.c M /trunk/int_ceil_log2.c M /trunk/isinf.c M /trunk/isinteger.c M /trunk/isnan.c M /trunk/isnum.c M /trunk/isqrt.c M /trunk/iszero.c M /trunk/lngamma.c M /trunk/log.c M /trunk/log10.c M /trunk/log1p.c M /trunk/log2.c M /trunk/logging.c M /trunk/minmax.c M /trunk/mp_clz_tab.c M /trunk/mparam_h.in M /trunk/mpf2mpfr.h M /trunk/mpfr-gmp.c M /trunk/mpfr-gmp.h M /trunk/mpfr-impl.h M /trunk/mpfr-test.h M /trunk/mpfr.h M /trunk/mpn_exp.c M /trunk/mpzroot.c M /trunk/mul.c M /trunk/mul_2exp.c M /trunk/mul_2si.c M /trunk/mul_2ui.c M /trunk/mul_ui.c M /trunk/mulders.c M /trunk/neg.c M /trunk/next.c M /trunk/out_str.c M /trunk/pow.c M /trunk/pow_ui.c M /trunk/pow_z.c M /trunk/powerof2.c M /trunk/print_raw.c M /trunk/print_rnd_mode.c M /trunk/random.c M /trunk/random2.c M /trunk/reldiff.c M /trunk/rint.c M /trunk/root.c M /trunk/rootrem.c M /trunk/round_near_x.c M /trunk/round_p.c M /trunk/round_prec.c M /trunk/round_raw_generic.c M /trunk/sec.c M /trunk/sech.c M /trunk/set.c M /trunk/set_d.c M /trunk/set_d64.c M /trunk/set_dfl_prec.c M /trunk/set_exp.c M /trunk/set_f.c M /trunk/set_inf.c M /trunk/set_ld.c M /trunk/set_nan.c M /trunk/set_prc_raw.c M /trunk/set_prec.c M /trunk/set_q.c M /trunk/set_rnd.c M /trunk/set_si.c M /trunk/set_si_2exp.c M /trunk/set_sj.c M /trunk/set_str.c M /trunk/set_str_raw.c M /trunk/set_ui.c M /trunk/set_ui_2exp.c M /trunk/set_uj.c M /trunk/set_z.c M /trunk/setmax.c M /trunk/setmin.c M /trunk/sgn.c M /trunk/si_op.c M /trunk/sin.c M /trunk/sin_cos.c M /trunk/sinh.c M /trunk/sqr.c M /trunk/sqrt.c M /trunk/sqrt_ui.c M /trunk/stack_interface.c M /trunk/strtofr.c M /trunk/sub.c M /trunk/sub1.c M /trunk/sub1sp.c M /trunk/sub_ui.c M /trunk/subnormal.c M /trunk/sum.c M /trunk/swap.c M /trunk/tan.c M /trunk/tanh.c M /trunk/tests/cmp_str.c M /trunk/tests/memory.c M /trunk/tests/mpf_compat.c M /trunk/tests/mpf_compat.h M /trunk/tests/mpfr_compat.c M /trunk/tests/reuse.c M /trunk/tests/rnd_mode.c M /trunk/tests/tabs.c M /trunk/tests/tacos.c M /trunk/tests/tacosh.c M /trunk/tests/tadd.c M /trunk/tests/tadd1sp.c M /trunk/tests/tadd_ui.c M /trunk/tests/tagm.c M /trunk/tests/tasin.c M /trunk/tests/tasinh.c M /trunk/tests/tatan.c M /trunk/tests/tatanh.c M /trunk/tests/tcan_round.c M /trunk/tests/tcbrt.c M /trunk/tests/tcheck.c M /trunk/tests/tcmp.c M /trunk/tests/tcmp2.c M /trunk/tests/tcmp_d.c M /trunk/tests/tcmp_ld.c M /trunk/tests/tcmp_ui.c M /trunk/tests/tcmpabs.c M /trunk/tests/tcomparisons.c M /trunk/tests/tconst_catalan.c M /trunk/tests/tconst_euler.c M /trunk/tests/tconst_log2.c M /trunk/tests/tconst_pi.c M /trunk/tests/tcopysign.c M /trunk/tests/tcos.c M /trunk/tests/tcosh.c M /trunk/tests/tcot.c M /trunk/tests/tcoth.c M /trunk/tests/tcsc.c M /trunk/tests/tcsch.c M /trunk/tests/tdim.c M /trunk/tests/tdiv.c M /trunk/tests/tdiv_ui.c M /trunk/tests/teint.c M /trunk/tests/teq.c M /trunk/tests/terf.c M /trunk/tests/texceptions.c M /trunk/tests/texp.c M /trunk/tests/texp2.c M /trunk/tests/texpm1.c M /trunk/tests/tfactorial.c M /trunk/tests/tfits.c M /trunk/tests/tfma.c M /trunk/tests/tfrac.c M /trunk/tests/tgamma.c M /trunk/tests/tgeneric.c M /trunk/tests/tgeneric_ui.c M /trunk/tests/tget_d.c M /trunk/tests/tget_d_2exp.c M /trunk/tests/tget_f.c M /trunk/tests/tget_ld_2exp.c M /trunk/tests/tget_set_d64.c M /trunk/tests/tget_sj.c M /trunk/tests/tget_str.c M /trunk/tests/tget_z.c M /trunk/tests/tgmpop.c M /trunk/tests/thyperbolic.c M /trunk/tests/thypot.c M /trunk/tests/tinits.c M /trunk/tests/tinp_str.c M /trunk/tests/tinternals.c M /trunk/tests/tisnan.c M /trunk/tests/tlngamma.c M /trunk/tests/tlog.c M /trunk/tests/tlog10.c M /trunk/tests/tlog1p.c M /trunk/tests/tlog2.c M /trunk/tests/tminmax.c M /trunk/tests/tmul.c M /trunk/tests/tmul_2exp.c M /trunk/tests/tmul_ui.c M /trunk/tests/tnext.c M /trunk/tests/tout_str.c M /trunk/tests/toutimpl.c M /trunk/tests/tpow.c M /trunk/tests/tpow3.c M /trunk/tests/tpow_z.c M /trunk/tests/trandom.c M /trunk/tests/trint.c M /trunk/tests/troot.c M /trunk/tests/tround_prec.c M /trunk/tests/tsec.c M /trunk/tests/tsech.c M /trunk/tests/tset.c M /trunk/tests/tset_d.c M /trunk/tests/tset_exp.c M /trunk/tests/tset_f.c M /trunk/tests/tset_ld.c M /trunk/tests/tset_q.c M /trunk/tests/tset_si.c M /trunk/tests/tset_sj.c M /trunk/tests/tset_str.c M /trunk/tests/tset_z.c M /trunk/tests/tsgn.c M /trunk/tests/tsi_op.c M /trunk/tests/tsin.c M /trunk/tests/tsin_cos.c M /trunk/tests/tsinh.c M /trunk/tests/tsqr.c M /trunk/tests/tsqrt.c M /trunk/tests/tsqrt_ui.c M /trunk/tests/tstckintc.c M /trunk/tests/tstrtofr.c M /trunk/tests/tsub.c M /trunk/tests/tsub1sp.c M /trunk/tests/tsub_ui.c M /trunk/tests/tsubnormal.c M /trunk/tests/tsum.c M /trunk/tests/tswap.c M /trunk/tests/ttan.c M /trunk/tests/ttanh.c M /trunk/tests/ttrunc.c M /trunk/tests/tui_div.c M /trunk/tests/tui_pow.c M /trunk/tests/tui_sub.c M /trunk/tests/tversion.c M /trunk/tests/tzeta.c M /trunk/tests/tzeta_ui.c M /trunk/tuneup.c M /trunk/uceil_exp2.c M /trunk/uceil_log2.c M /trunk/ufloor_log2.c M /trunk/ui_div.c M /trunk/ui_pow.c M /trunk/ui_pow_ui.c M /trunk/ui_sub.c M /trunk/urandomb.c M /trunk/version.c M /trunk/volatile.c M /trunk/zeta.c M /trunk/zeta_ui.c Copyright notice update: added 2007. ------------------------------------------------------------------------ r4325 | vlefevre | 2007-01-10 12:37:05 +0000 (Wed, 10 Jan 2007) | 6 lines Changed paths: M /trunk/BUGS M /trunk/README.dev M /trunk/tests/tests.c * tests/tests.c: under Linux/x86, the FPU precision can be set before doing the tests (see MPFR_FPU_PREC), so that MPFR can be tested under various FP environments (2 tests currently fail with _FPU_SINGLE). * README.dev: updated "To make a release" section. * BUGS: mentioned the above bug. ------------------------------------------------------------------------ r4323 | vlefevre | 2007-01-08 16:36:00 +0000 (Mon, 08 Jan 2007) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi -> January 2007. ------------------------------------------------------------------------ r4321 | zimmerma | 2007-01-08 16:03:52 +0000 (Mon, 08 Jan 2007) | 2 lines Changed paths: M /trunk/mpfr.texi added support from LIP, and different INRIA project-teams ------------------------------------------------------------------------ r4320 | vlefevre | 2007-01-03 16:19:45 +0000 (Wed, 03 Jan 2007) | 2 lines Changed paths: M /trunk/pow_si.c Minor change. ------------------------------------------------------------------------ r4319 | vlefevre | 2006-12-29 03:42:39 +0000 (Fri, 29 Dec 2006) | 2 lines Changed paths: M /trunk/TODO TODO: macros/functions to get/set the sign of a MPFR number. ------------------------------------------------------------------------ r4318 | zimmerma | 2006-12-21 14:10:51 +0000 (Thu, 21 Dec 2006) | 2 lines Changed paths: M /trunk/Makefile.am M /trunk/root.c remove new rootrem implementation (unclear copyright status) ------------------------------------------------------------------------ r4317 | vlefevre | 2006-12-19 22:32:09 +0000 (Tue, 19 Dec 2006) | 3 lines Changed paths: M /trunk/const_catalan.c M /trunk/const_pi.c M /trunk/cos.c M /trunk/eint.c M /trunk/erfc.c M /trunk/gamma.c M /trunk/lngamma.c M /trunk/zeta.c Replaced mpfr_mul_2exp and mpfr_div_2exp by mpfr_mul_2ui and mpfr_div_2ui respectively (when this makes sense, of course). ------------------------------------------------------------------------ r4316 | zimmerma | 2006-12-19 13:59:59 +0000 (Tue, 19 Dec 2006) | 2 lines Changed paths: M /trunk/zeta_ui.c mpfr_div_2exp -> mpfr_div_2ui ------------------------------------------------------------------------ r4315 | zimmerma | 2006-12-19 07:08:13 +0000 (Tue, 19 Dec 2006) | 2 lines Changed paths: M /trunk/TODO M /trunk/algorithms.tex M /trunk/zeta_ui.c improved efficiency of zeta_ui(s) for 3^(-s) < 1/2*ulp(1) ------------------------------------------------------------------------ r4314 | vlefevre | 2006-12-18 17:09:43 +0000 (Mon, 18 Dec 2006) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr.texi: update concerning MPFR_USE_EXTENSION. ------------------------------------------------------------------------ r4313 | zimmerma | 2006-12-18 16:03:26 +0000 (Mon, 18 Dec 2006) | 2 lines Changed paths: M /trunk/rootrem.c added copyright header ------------------------------------------------------------------------ r4312 | zimmerma | 2006-12-18 12:04:19 +0000 (Mon, 18 Dec 2006) | 2 lines Changed paths: M /trunk/TODO added item ------------------------------------------------------------------------ r4311 | vlefevre | 2006-12-15 14:28:53 +0000 (Fri, 15 Dec 2006) | 2 lines Changed paths: M /trunk/TODO M /trunk/mpfr.h M /trunk/mpfr.texi Implemented MPFR_USE_EXTENSION support. ------------------------------------------------------------------------ r4310 | zimmerma | 2006-12-15 08:42:21 +0000 (Fri, 15 Dec 2006) | 4 lines Changed paths: M /trunk/zeta_ui.c improved efficiency for zeta(m) in precision p when m is large but still smaller than p, for example m=1024 and p=2048 gives a speedup of about 23 (thanks to Jim White for reporting the problem) ------------------------------------------------------------------------ r4309 | zimmerma | 2006-12-14 15:19:17 +0000 (Thu, 14 Dec 2006) | 2 lines Changed paths: M /trunk/zeta_ui.c added MPFR_ZIV_INIT stuff ------------------------------------------------------------------------ r4308 | zimmerma | 2006-12-07 07:17:58 +0000 (Thu, 07 Dec 2006) | 2 lines Changed paths: M /trunk/algorithms.tex fixed typo ------------------------------------------------------------------------ r4307 | vlefevre | 2006-12-05 09:42:22 +0000 (Tue, 05 Dec 2006) | 2 lines Changed paths: M /trunk/TODO TODO: to be added: MPFR_USE_EXTENSION macro. ------------------------------------------------------------------------ r4306 | vlefevre | 2006-11-29 09:50:57 +0000 (Wed, 29 Nov 2006) | 2 lines Changed paths: M /trunk/README.dev README.dev: update. ------------------------------------------------------------------------ r4300 | vlefevre | 2006-11-29 08:54:24 +0000 (Wed, 29 Nov 2006) | 2 lines Changed paths: M /trunk/INSTALL INSTALL: update of the "Notes on Windows 32" section. ------------------------------------------------------------------------ r4299 | zimmerma | 2006-11-27 08:56:12 +0000 (Mon, 27 Nov 2006) | 2 lines Changed paths: M /trunk/set_uj.c added comment about last change ------------------------------------------------------------------------ r4298 | zimmerma | 2006-11-27 08:26:02 +0000 (Mon, 27 Nov 2006) | 2 lines Changed paths: M /trunk/set_uj.c fixed warning on 64-bit machines ------------------------------------------------------------------------ r4297 | vlefevre | 2006-11-26 18:58:05 +0000 (Sun, 26 Nov 2006) | 2 lines Changed paths: M /trunk/tests/tpow.c tests/tpow.c: added worst cases. ------------------------------------------------------------------------ r4296 | vlefevre | 2006-11-26 18:52:26 +0000 (Sun, 26 Nov 2006) | 2 lines Changed paths: M /trunk/tests/troot.c tests/troot.c: two more worst cases. ------------------------------------------------------------------------ r4295 | vlefevre | 2006-11-25 20:05:15 +0000 (Sat, 25 Nov 2006) | 2 lines Changed paths: M /trunk/tests/troot.c tests/troot.c: added a worst case. ------------------------------------------------------------------------ r4293 | vlefevre | 2006-11-25 19:46:42 +0000 (Sat, 25 Nov 2006) | 2 lines Changed paths: M /trunk/BUGS BUGS: removed obsolete "compiler bugs" section. ------------------------------------------------------------------------ r4292 | zimmerma | 2006-11-25 09:51:07 +0000 (Sat, 25 Nov 2006) | 2 lines Changed paths: M /trunk/tests/tpow.c added worst case ------------------------------------------------------------------------ r4286 | vlefevre | 2006-11-25 00:15:30 +0000 (Sat, 25 Nov 2006) | 2 lines Changed paths: M /trunk/INSTALL Partially rewrote the INSTALL file. ------------------------------------------------------------------------ r4284 | vlefevre | 2006-11-24 14:46:41 +0000 (Fri, 24 Nov 2006) | 2 lines Changed paths: M /trunk/Makefile.am Makefile.am: fixed libtool's -version-info flag (and comment). ------------------------------------------------------------------------ r4279 | vlefevre | 2006-11-24 00:44:20 +0000 (Fri, 24 Nov 2006) | 2 lines Changed paths: M /trunk/configure.in configure.in: check for gmp.h a bit earlier. ------------------------------------------------------------------------ r4278 | zimmerma | 2006-11-23 14:10:10 +0000 (Thu, 23 Nov 2006) | 2 lines Changed paths: M /trunk/nightly-test added --with-tests-timeout=60 for nightly tests ------------------------------------------------------------------------ r4277 | zimmerma | 2006-11-23 14:08:47 +0000 (Thu, 23 Nov 2006) | 2 lines Changed paths: M /trunk/configure.in M /trunk/tests/tests.c test timeout is now a configure option (e.g. --with-tests-timeout=60) ------------------------------------------------------------------------ r4276 | zimmerma | 2006-11-23 13:25:35 +0000 (Thu, 23 Nov 2006) | 2 lines Changed paths: M /trunk/gamma.c replaced set_d by set_str_binary (more portable) ------------------------------------------------------------------------ r4274 | vlefevre | 2006-11-23 00:34:58 +0000 (Thu, 23 Nov 2006) | 2 lines Changed paths: M /trunk/INSTALL INSTALL: several additions. ------------------------------------------------------------------------ r4272 | vlefevre | 2006-11-22 17:25:20 +0000 (Wed, 22 Nov 2006) | 2 lines Changed paths: M /trunk/INSTALL INSTALL: small update. ------------------------------------------------------------------------ r4270 | vlefevre | 2006-11-22 15:25:22 +0000 (Wed, 22 Nov 2006) | 2 lines Changed paths: M /trunk/FAQ.html FAQ update (added a CSS counter). ------------------------------------------------------------------------ r4268 | vlefevre | 2006-11-22 15:23:30 +0000 (Wed, 22 Nov 2006) | 2 lines Changed paths: M /trunk/update-faq update-faq: added a workaround for the libxslt bug 377440. ------------------------------------------------------------------------ r4267 | vlefevre | 2006-11-22 11:48:44 +0000 (Wed, 22 Nov 2006) | 2 lines Changed paths: M /trunk/TODO TODO: update concerning the patches information. ------------------------------------------------------------------------ r4266 | zimmerma | 2006-11-22 08:03:59 +0000 (Wed, 22 Nov 2006) | 2 lines Changed paths: M /trunk/nightly-test set GMP_CHECK_RANDOMIZE to get random tests ------------------------------------------------------------------------ r4263 | vlefevre | 2006-11-21 18:01:15 +0000 (Tue, 21 Nov 2006) | 2 lines Changed paths: M /trunk/README Updated README file. ------------------------------------------------------------------------ r4259 | vlefevre | 2006-11-20 16:32:36 +0000 (Mon, 20 Nov 2006) | 2 lines Changed paths: M /trunk/README.dev README.dev: mention the version suffix. ------------------------------------------------------------------------ r4258 | vlefevre | 2006-11-20 16:25:47 +0000 (Mon, 20 Nov 2006) | 2 lines Changed paths: M /trunk/VERSION M /trunk/configure.in M /trunk/mpfr.h M /trunk/mpfr.texi M /trunk/version.c Updated version to 2.3.0-dev. ------------------------------------------------------------------------ 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 Added version suffix support (useful for dev and rc versions). ------------------------------------------------------------------------ r4256 | vlefevre | 2006-11-20 14:45:50 +0000 (Mon, 20 Nov 2006) | 2 lines Changed paths: M /trunk/nightly-test Rewrote nightly-test in sh and fixed a security hole. ------------------------------------------------------------------------ r4255 | zimmerma | 2006-11-20 14:08:00 +0000 (Mon, 20 Nov 2006) | 2 lines Changed paths: M /trunk/tests/tests.c added cpu time limit of 60 seconds in tests ------------------------------------------------------------------------ r4254 | vlefevre | 2006-11-20 13:44:04 +0000 (Mon, 20 Nov 2006) | 2 lines Changed paths: M /trunk/TODO TODO: update. ------------------------------------------------------------------------ r4252 | zimmerma | 2006-11-20 12:59:26 +0000 (Mon, 20 Nov 2006) | 2 lines Changed paths: M /trunk/nightly-test added an argument to give the branch (use trunk or branches/2.2 for example) ------------------------------------------------------------------------ r4250 | vlefevre | 2006-11-20 11:36:25 +0000 (Mon, 20 Nov 2006) | 2 lines Changed paths: M /trunk/tests/tgamma.c tests/tgamma.c: restore emin and emax to their default values. ------------------------------------------------------------------------ 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 fixed bug in overflow test ------------------------------------------------------------------------ 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 fixed bug in mpfr_gamma for exact result ------------------------------------------------------------------------ r4246 | zimmerma | 2006-11-20 07:39:36 +0000 (Mon, 20 Nov 2006) | 2 lines Changed paths: M /trunk/nightly-test added two configure options ------------------------------------------------------------------------ r4245 | zimmerma | 2006-11-20 07:32:36 +0000 (Mon, 20 Nov 2006) | 2 lines Changed paths: M /trunk/erfc.c simplified test :-) ------------------------------------------------------------------------ r4244 | vlefevre | 2006-11-20 05:40:58 +0000 (Mon, 20 Nov 2006) | 3 lines Changed paths: M /trunk/configure.in 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 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 BUGS: removed item on mpfr_eint (now fixed). ------------------------------------------------------------------------ r4241 | vlefevre | 2006-11-20 00:25:10 +0000 (Mon, 20 Nov 2006) | 2 lines Changed paths: M /trunk/erfc.c Untabify. ------------------------------------------------------------------------ r4240 | zimmerma | 2006-11-19 21:27:33 +0000 (Sun, 19 Nov 2006) | 2 lines Changed paths: M /trunk/exp_2.c replaced double by mpfr_t (problem on 64-bit machines) ------------------------------------------------------------------------ r4239 | zimmerma | 2006-11-19 18:22:51 +0000 (Sun, 19 Nov 2006) | 2 lines Changed paths: M /trunk/tests/terf.c added more tests ------------------------------------------------------------------------ r4238 | zimmerma | 2006-11-19 18:08:38 +0000 (Sun, 19 Nov 2006) | 2 lines Changed paths: A /trunk/nightly-test script for nightly tests ------------------------------------------------------------------------ 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 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 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 https://sympa.inria.fr/sympa/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 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 tests/tversion.c: improved error message and added gmp.h/libgmp test. ------------------------------------------------------------------------ r4188 | vlefevre | 2006-11-07 14:38:42 +0000 (Tue, 07 Nov 2006) | 2 lines Changed paths: M /trunk/tests/tversion.c Fixed a small bug in tests/tversion.c (should never occur anyway). ------------------------------------------------------------------------ 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. ------------------------------------------------------------------------ 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 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 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. ------------------------------------------------------------------------ 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 tlngamma.c: avoid useless mpfr_get_d. ------------------------------------------------------------------------ r4178 | vlefevre | 2006-10-27 21:21:56 +0000 (Fri, 27 Oct 2006) | 2 lines Changed paths: M /trunk/eint.c eint.c: better overflow checking; fix: all allocated memory now freed. ------------------------------------------------------------------------ r4177 | vlefevre | 2006-10-27 17:03:32 +0000 (Fri, 27 Oct 2006) | 2 lines Changed paths: M /trunk/eint.c eint.c: forgot 2 mpfr_clear's. ------------------------------------------------------------------------ r4174 | vlefevre | 2006-10-27 16:12:34 +0000 (Fri, 27 Oct 2006) | 2 lines Changed paths: M /trunk/eint.c eint.c fix: and changed the #if into if. ------------------------------------------------------------------------ r4173 | vlefevre | 2006-10-27 16:10:22 +0000 (Fri, 27 Oct 2006) | 2 lines Changed paths: M /trunk/eint.c eint.c fix: replaced BITS_PER_MP_LIMB by sizeof(mp_exp_t) * CHAR_BIT. ------------------------------------------------------------------------ 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. ------------------------------------------------------------------------ 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... ------------------------------------------------------------------------ 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 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 ------------------------------------------------------------------------ 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. ------------------------------------------------------------------------ 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 ------------------------------------------------------------------------ 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 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 /**/ yet). * update-faq: add /**/ 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. ------------------------------------------------------------------------ r4157 | vlefevre | 2006-10-25 14:18:59 +0000 (Wed, 25 Oct 2006) | 2 lines Changed paths: M /trunk/INSTALL 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 INSTALL: more information. ------------------------------------------------------------------------ r4108 | vlefevre | 2006-07-25 20:36:23 +0000 (Tue, 25 Jul 2006) | 2 lines Changed paths: M /trunk/INSTALL INSTALL: added a note about include/library paths. ------------------------------------------------------------------------ r4106 | vlefevre | 2006-07-21 08:22:40 +0000 (Fri, 21 Jul 2006) | 2 lines Changed paths: M /trunk/INSTALL INSTALL: added information about setup after the library installation. ------------------------------------------------------------------------ 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 Improved linker flag settings on darwin. ------------------------------------------------------------------------ r4103 | vlefevre | 2006-07-18 07:51:58 +0000 (Tue, 18 Jul 2006) | 2 lines Changed paths: M /trunk/configure.in configure.in: fixed a linking problem on darwin. ------------------------------------------------------------------------ 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 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. ------------------------------------------------------------------------ r4099 | zimmerma | 2006-07-05 14:35:36 +0000 (Wed, 05 Jul 2006) | 2 lines Changed paths: M /trunk/TODO added item ------------------------------------------------------------------------ r4098 | zimmerma | 2006-07-05 14:23:57 +0000 (Wed, 05 Jul 2006) | 2 lines Changed paths: M /trunk/root.c fixed wrong comment (thanks Keith Briggs) ------------------------------------------------------------------------ r4097 | zimmerma | 2006-07-05 14:23:16 +0000 (Wed, 05 Jul 2006) | 2 lines Changed paths: M /trunk/root.c new mpn_rootrem is still not in gmp-4.2 ------------------------------------------------------------------------ r4096 | zimmerma | 2006-06-20 12:55:55 +0000 (Tue, 20 Jun 2006) | 2 lines Changed paths: M /trunk/algorithms.tex replaced <= by = ------------------------------------------------------------------------ r4095 | zimmerma | 2006-06-19 13:57:32 +0000 (Mon, 19 Jun 2006) | 2 lines Changed paths: M /trunk/algorithms.tex changed <= into = ------------------------------------------------------------------------ r4094 | zimmerma | 2006-06-19 09:10:38 +0000 (Mon, 19 Jun 2006) | 2 lines Changed paths: M /trunk/algorithms.tex comments from Keith Briggs ------------------------------------------------------------------------ r4093 | vlefevre | 2006-06-09 13:36:30 +0000 (Fri, 09 Jun 2006) | 2 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: corrected several English mistakes and typography. ------------------------------------------------------------------------ r4092 | zimmerma | 2006-06-09 12:41:47 +0000 (Fri, 09 Jun 2006) | 2 lines Changed paths: M /trunk/algorithms.tex fixed typo ------------------------------------------------------------------------ r4091 | zimmerma | 2006-06-09 09:51:59 +0000 (Fri, 09 Jun 2006) | 2 lines Changed paths: M /trunk/algorithms.tex replaced error() by \error() ------------------------------------------------------------------------ r4090 | vlefevre | 2006-06-09 08:17:58 +0000 (Fri, 09 Jun 2006) | 2 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: another fixed notation for roundings. ------------------------------------------------------------------------ r4089 | zimmerma | 2006-06-09 08:07:29 +0000 (Fri, 09 Jun 2006) | 3 lines Changed paths: M /trunk/algorithms.tex added section on Notations fixed notations for roundings ------------------------------------------------------------------------ r4088 | vlefevre | 2006-06-09 07:49:43 +0000 (Fri, 09 Jun 2006) | 2 lines Changed paths: M /trunk/algorithms.tex algorithms.tex: changed the page style to plain (for page numbers). ------------------------------------------------------------------------ r4086 | vlefevre | 2006-06-07 23:48:43 +0000 (Wed, 07 Jun 2006) | 2 lines Changed paths: M /trunk/FAQ.html FAQ update. ------------------------------------------------------------------------ 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 Define HAVE_ATTRIBUTE_MODE if supported; useful for s390, but incomplete and will fail on platforms with gcc and CHAR_BIT != 8. ------------------------------------------------------------------------ r4081 | vlefevre | 2006-05-19 16:43:35 +0000 (Fri, 19 May 2006) | 2 lines Changed paths: M /trunk/configure.in Add compiler flags (CPPFLAGS, LDFLAGS) in a consistent order. ------------------------------------------------------------------------ r4079 | vlefevre | 2006-05-18 00:10:06 +0000 (Thu, 18 May 2006) | 2 lines Changed paths: M /trunk/mpfr.texi MPFR manual consistency: Custom interface -> Custom Interface. ------------------------------------------------------------------------ r4075 | vlefevre | 2006-05-17 23:20:38 +0000 (Wed, 17 May 2006) | 2 lines Changed paths: M /trunk/TODO TODO: added a note about the change 4049 in div.c. ------------------------------------------------------------------------ r4072 | vlefevre | 2006-04-18 15:08:52 +0000 (Tue, 18 Apr 2006) | 3 lines Changed paths: M /trunk/mul.c 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). ------------------------------------------------------------------------ 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 replaced 6th empty argument of MPFR_FAST_COMPUTE_IF_SMALL_INPUT by {} ------------------------------------------------------------------------ r4037 | vlefevre | 2006-03-14 16:07:28 +0000 (Tue, 14 Mar 2006) | 3 lines Changed paths: M /trunk/random2.c In random2.c, replaced NULL by 0 (more general) and removed the now unnecessary #include . ------------------------------------------------------------------------ r4036 | zimmerma | 2006-03-14 15:33:31 +0000 (Tue, 14 Mar 2006) | 2 lines Changed paths: M /trunk/random2.c added missing include file ------------------------------------------------------------------------ r4035 | vlefevre | 2006-03-14 14:59:00 +0000 (Tue, 14 Mar 2006) | 2 lines Changed paths: M /trunk/tests/tpow.c Tests: added new worst case for x^(3/2). ------------------------------------------------------------------------ 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 added reference to INRIA report for Zeta ------------------------------------------------------------------------ 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 added another reference ------------------------------------------------------------------------ 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 added reference ------------------------------------------------------------------------ r4031 | vlefevre | 2006-02-28 23:20:24 +0000 (Tue, 28 Feb 2006) | 2 lines Changed paths: M /trunk/mpfr.texi More details concerning mpfr_eq. ------------------------------------------------------------------------ r4030 | zimmerma | 2006-02-28 10:46:59 +0000 (Tue, 28 Feb 2006) | 2 lines Changed paths: M /trunk/mpfr.texi removed "but does not make much sense" ------------------------------------------------------------------------ r4029 | zimmerma | 2006-02-28 09:39:25 +0000 (Tue, 28 Feb 2006) | 2 lines Changed paths: M /trunk/mpfr.texi added contribution from Damien ------------------------------------------------------------------------ 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 new test file for mpfr_get_ld_2exp ------------------------------------------------------------------------ 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 added mpfr_get_ld_2exp (contributed by Damien Stehle) ------------------------------------------------------------------------ r4026 | vlefevre | 2006-02-20 14:40:28 +0000 (Mon, 20 Feb 2006) | 2 lines Changed paths: M /trunk/mpfr.texi Updated mpfr_random2 user documentation. ------------------------------------------------------------------------ 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 Fixed bug in mpfr_random2 when size == 0 and added testcase. ------------------------------------------------------------------------ r4023 | vlefevre | 2006-02-20 10:07:41 +0000 (Mon, 20 Feb 2006) | 2 lines Changed paths: M /trunk/tests/trandom.c trandom.c: reformat. ------------------------------------------------------------------------ r4022 | vlefevre | 2006-02-20 10:06:47 +0000 (Mon, 20 Feb 2006) | 2 lines Changed paths: M /trunk/tests/trandom.c trandom.c: use calloc instead of malloc and check return value. ------------------------------------------------------------------------ r4021 | vlefevre | 2006-02-20 09:42:13 +0000 (Mon, 20 Feb 2006) | 2 lines Changed paths: M /trunk/random2.c mpfr_random2_raw -> static. ------------------------------------------------------------------------ r4019 | vlefevre | 2006-02-17 08:17:46 +0000 (Fri, 17 Feb 2006) | 2 lines Changed paths: M /trunk/TODO Added mpfr_remainder to TODO. ------------------------------------------------------------------------ r4018 | zimmerma | 2006-02-15 14:40:35 +0000 (Wed, 15 Feb 2006) | 2 lines Changed paths: M /trunk/algorithms.bib fixed wrong url ------------------------------------------------------------------------ r4017 | vlefevre | 2006-02-15 13:41:51 +0000 (Wed, 15 Feb 2006) | 2 lines Changed paths: M /trunk/algorithms.tex Fixed various spelling mistakes, typos... in algorithms.tex. ------------------------------------------------------------------------ r4016 | vlefevre | 2006-02-15 13:20:41 +0000 (Wed, 15 Feb 2006) | 2 lines Changed paths: M /trunk/algorithms.tex In algorithms.tex, \em -> \emph. ------------------------------------------------------------------------ r4015 | vlefevre | 2006-02-15 13:17:33 +0000 (Wed, 15 Feb 2006) | 2 lines Changed paths: M /trunk/algorithms.tex Typography corrections in algorithms.tex. ------------------------------------------------------------------------ r4014 | vlefevre | 2006-02-15 13:04:22 +0000 (Wed, 15 Feb 2006) | 2 lines Changed paths: M /trunk/algorithms.tex In algorithms.tex, added a missing blackslash. ------------------------------------------------------------------------ r4013 | vlefevre | 2006-02-15 13:02:07 +0000 (Wed, 15 Feb 2006) | 3 lines Changed paths: M /trunk/algorithms.tex In algorithms.tex, removed \date (was incorrectly used) and added the web site as a footnote. ------------------------------------------------------------------------ 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 Code reformatted. C99 comment replaced by traditional comment. ------------------------------------------------------------------------ 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 * 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 ------------------------------------------------------------------------ r4009 | vlefevre | 2006-01-31 09:53:51 +0000 (Tue, 31 Jan 2006) | 3 lines Changed paths: M /trunk/mpfr.texi 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. ------------------------------------------------------------------------ r4008 | zimmerma | 2006-01-31 07:28:05 +0000 (Tue, 31 Jan 2006) | 2 lines Changed paths: M /trunk/mpfr.texi fixed documentation bug ------------------------------------------------------------------------ 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 Reverted comments on (that were added in r3976). ------------------------------------------------------------------------ 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 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. ------------------------------------------------------------------------ r4004 | vlefevre | 2006-01-17 12:31:26 +0000 (Tue, 17 Jan 2006) | 2 lines Changed paths: M /trunk/mpfr.h Added comments. ------------------------------------------------------------------------ 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: https://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 Better definition for mpf_set_prec_raw (so that the value is kept). ------------------------------------------------------------------------ r3970 | vlefevre | 2005-12-08 11:56:03 +0000 (Thu, 08 Dec 2005) | 2 lines Changed paths: M /trunk/tests/tsin.c Updated a comment. ------------------------------------------------------------------------ r3969 | vlefevre | 2005-12-08 11:51:41 +0000 (Thu, 08 Dec 2005) | 2 lines Changed paths: M /trunk/tests/tsin.c Added test cases for a bug introduced on 2005-01-29 in sin.c rev 3248. ------------------------------------------------------------------------ r3968 | vlefevre | 2005-12-08 02:12:03 +0000 (Thu, 08 Dec 2005) | 2 lines Changed paths: M /trunk/README.dev README.dev: remember to test MPFR on the worst cases. ------------------------------------------------------------------------ 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 added lemma + reference ------------------------------------------------------------------------ r3966 | vlefevre | 2005-11-25 01:36:29 +0000 (Fri, 25 Nov 2005) | 2 lines Changed paths: M /trunk/BUGS Removed mpfr_div bug from BUGS (as it has been fixed). ------------------------------------------------------------------------ r3964 | vlefevre | 2005-11-25 00:59:13 +0000 (Fri, 25 Nov 2005) | 2 lines Changed paths: M /trunk/tests/tdiv.c Added consistency tests for mpfr_div (e.g. to test small-size divisors). ------------------------------------------------------------------------ r3963 | zimmerma | 2005-11-24 20:39:23 +0000 (Thu, 24 Nov 2005) | 3 lines Changed paths: M /trunk/div.c fixed efficiency bug for small divisor (division had same cost than for divisor of the same size than the result) ------------------------------------------------------------------------ r3960 | vlefevre | 2005-11-23 14:35:54 +0000 (Wed, 23 Nov 2005) | 2 lines Changed paths: M /trunk/FAQ.html Updated FAQ. ------------------------------------------------------------------------ r3959 | vlefevre | 2005-11-23 14:35:38 +0000 (Wed, 23 Nov 2005) | 2 lines Changed paths: M /trunk/faq.xsl faq.xsl: add copyright information to the downloaded FAQ. ------------------------------------------------------------------------ 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 Added information about the patches to the INSTALL file. ------------------------------------------------------------------------ r3956 | vlefevre | 2005-11-23 08:38:39 +0000 (Wed, 23 Nov 2005) | 3 lines Changed paths: M /trunk/BUGS BUGS: Noted the slow division when the precision of the divisor is small compared to the precision of the target. ------------------------------------------------------------------------ r3955 | vlefevre | 2005-11-21 20:31:47 +0000 (Mon, 21 Nov 2005) | 3 lines Changed paths: M /trunk/rootrem.c Fixed a bug preventing the compilation of MPFR with GMP 4.1.90 (non-public development version) without the build directory. ------------------------------------------------------------------------ r3954 | vlefevre | 2005-11-21 14:43:49 +0000 (Mon, 21 Nov 2005) | 2 lines Changed paths: M /trunk/rootrem.c Fixed memory leak in mpfr_mpn_rootrem(). ------------------------------------------------------------------------ r3953 | vlefevre | 2005-11-09 16:34:09 +0000 (Wed, 09 Nov 2005) | 2 lines Changed paths: M /trunk/README.dev Added a note about running the trunk tests in a branch. ------------------------------------------------------------------------ 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 Make trunk tests work with MPFR 2.2 (branch), by testing the version. ------------------------------------------------------------------------ r3951 | vlefevre | 2005-11-09 16:09:16 +0000 (Wed, 09 Nov 2005) | 2 lines Changed paths: D /trunk/tests/.cvsignore Removed .cvsignore file (useless after the switch to Subversion). ------------------------------------------------------------------------ r3948 | vlefevre | 2005-11-09 15:42:41 +0000 (Wed, 09 Nov 2005) | 2 lines Changed paths: M /trunk/cache.c Added a MPFR_UNLIKELY. ------------------------------------------------------------------------ r3947 | vlefevre | 2005-11-09 14:41:46 +0000 (Wed, 09 Nov 2005) | 5 lines Changed paths: M /trunk/round_near_x.c 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). ------------------------------------------------------------------------ r3946 | vlefevre | 2005-11-09 14:05:46 +0000 (Wed, 09 Nov 2005) | 2 lines Changed paths: M /trunk/tests/tinternals.c mpfr_round_near_x test completed. ------------------------------------------------------------------------ r3945 | vlefevre | 2005-11-09 11:57:03 +0000 (Wed, 09 Nov 2005) | 9 lines Changed paths: M /trunk/tests/tcbrt.c 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 small improvement in sign detection ------------------------------------------------------------------------ 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 improved mpfr_root, using the new mpn_rootrem code written with Torbjo"rn ------------------------------------------------------------------------ r3876 | vlefevre | 2005-09-29 09:52:33 +0000 (Thu, 29 Sep 2005) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r3875 | vlefevre | 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 Fixed bug in mpfr_set_ui macro when parameters are expressions with side effects. ------------------------------------------------------------------------ r3874 | zimmerma | 2005-09-29 06:40:15 +0000 (Thu, 29 Sep 2005) | 2 lines Changed paths: M /trunk/algorithms.tex fixed missing accent ------------------------------------------------------------------------ r3873 | vlefevre | 2005-09-28 15:30:17 +0000 (Wed, 28 Sep 2005) | 2 lines Changed paths: M /trunk/lngamma.c Small optimization. ------------------------------------------------------------------------ r3872 | vlefevre | 2005-09-28 14:28:19 +0000 (Wed, 28 Sep 2005) | 2 lines Changed paths: M /trunk/tests/tlngamma.c Test the sign of 0. ------------------------------------------------------------------------ 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 fixed infinite loop for lngamma(2) ------------------------------------------------------------------------ r3870 | vlefevre | 2005-09-28 00:45:27 +0000 (Wed, 28 Sep 2005) | 3 lines Changed paths: M /trunk/Makefile.am Updated libmpfr_la_LDFLAGS (note: it shouldn't be incremented again before the 2.3.0 release). ------------------------------------------------------------------------ r3869 | zimmerma | 2005-09-26 16:28:47 +0000 (Mon, 26 Sep 2005) | 2 lines Changed paths: A /trunk/zeta_ui.c new function: Zeta with integer argument ------------------------------------------------------------------------ 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 new function mpfr_zeta_ui for integer argument ------------------------------------------------------------------------ r3867 | zimmerma | 2005-09-21 13:51:34 +0000 (Wed, 21 Sep 2005) | 2 lines Changed paths: M /trunk/algorithms.tex added brief description of algorithm for mpfr_zeta ------------------------------------------------------------------------ r3863 | vlefevre | 2005-09-18 23:36:44 +0000 (Sun, 18 Sep 2005) | 2 lines Changed paths: M /trunk/INSTALL Mentioned problems with the Tru64 make and other minor changes. ------------------------------------------------------------------------ r3861 | vlefevre | 2005-09-17 10:24:43 +0000 (Sat, 17 Sep 2005) | 5 lines Changed paths: M /trunk/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. ------------------------------------------------------------------------ r3857 | vlefevre | 2005-09-16 14:22:40 +0000 (Fri, 16 Sep 2005) | 2 lines Changed paths: M /trunk/const_euler.c Untabify. ------------------------------------------------------------------------ r3856 | vlefevre | 2005-09-16 13:22:53 +0000 (Fri, 16 Sep 2005) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r3854 | vlefevre | 2005-09-16 10:58:41 +0000 (Fri, 16 Sep 2005) | 2 lines Changed paths: M /trunk/gamma.c Untabify. ------------------------------------------------------------------------ r3852 | zimmerma | 2005-09-16 09:41:47 +0000 (Fri, 16 Sep 2005) | 2 lines Changed paths: M /trunk/mpfr.texi added missing documentation for mpfr_get_f and mpfr_pow_z ------------------------------------------------------------------------ r3851 | vlefevre | 2005-09-16 08:02:15 +0000 (Fri, 16 Sep 2005) | 2 lines Changed paths: M /trunk/mpfr.texi Fixed typos found by Tomonori Kouya. ------------------------------------------------------------------------ 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 fixed stupid bug (coth was computing 1/tan instead of 1/tanh) ------------------------------------------------------------------------ r3849 | zimmerma | 2005-09-15 21:55:08 +0000 (Thu, 15 Sep 2005) | 2 lines Changed paths: M /trunk/const_euler.c fixed overflow problem for large precision ------------------------------------------------------------------------ r3848 | zimmerma | 2005-09-15 21:11:25 +0000 (Thu, 15 Sep 2005) | 2 lines Changed paths: M /trunk/zeta.c added log(precz) in initial precision ------------------------------------------------------------------------ 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 fixed bug in exp(-eps) for rounding toward zero (test was also wrong...) ------------------------------------------------------------------------ r3843 | vlefevre | 2005-09-13 02:05:56 +0000 (Tue, 13 Sep 2005) | 2 lines Changed paths: M /trunk/README.dev Updated "To make a release". ------------------------------------------------------------------------ r3839 | vlefevre | 2005-09-13 01:32:41 +0000 (Tue, 13 Sep 2005) | 2 lines Changed paths: M /trunk/NEWS Minor update. ------------------------------------------------------------------------ r3838 | vlefevre | 2005-09-13 01:28:09 +0000 (Tue, 13 Sep 2005) | 2 lines Changed paths: M /trunk/constant.c Added missing MPFR_THREAD_ATTR. ------------------------------------------------------------------------ r3835 | vlefevre | 2005-09-11 22:50:06 +0000 (Sun, 11 Sep 2005) | 2 lines Changed paths: M /trunk/tuneup.c Avoid a conflict with GMP. ------------------------------------------------------------------------ r3834 | vlefevre | 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 Reverted to previous mparam_h.in and mul.c, and applied Patrick's patch instead. ------------------------------------------------------------------------ r3832 | vlefevre | 2005-09-11 22:15:29 +0000 (Sun, 11 Sep 2005) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r3830 | vlefevre | 2005-09-11 21:59:31 +0000 (Sun, 11 Sep 2005) | 2 lines Changed paths: M /trunk/tests/tstckintc.c Added #include for memmove (see ISO C99 standard). ------------------------------------------------------------------------ r3829 | vlefevre | 2005-09-11 21:56:32 +0000 (Sun, 11 Sep 2005) | 2 lines Changed paths: M /trunk/README.dev Minor change. ------------------------------------------------------------------------ r3828 | vlefevre | 2005-09-11 21:55:20 +0000 (Sun, 11 Sep 2005) | 2 lines Changed paths: M /trunk/tests/trint.c Fixed uninitialized variable (with gcc -std=c99). ------------------------------------------------------------------------ r3827 | vlefevre | 2005-09-11 21:43:14 +0000 (Sun, 11 Sep 2005) | 2 lines Changed paths: M /trunk/mpfr-impl.h Fixed a #ifdef (when --enable-assert isn't used). ------------------------------------------------------------------------ r3824 | vlefevre | 2005-09-11 18:21:02 +0000 (Sun, 11 Sep 2005) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r3823 | vlefevre | 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 Changed the MPFR_ASSERTD into a MPFR_ASSERTN for MPFR_INT_CEIL_LOG2 since the assertion cannot be guaranteed for every C implementation. ------------------------------------------------------------------------ r3822 | pelissip | 2005-09-10 15:20:48 +0000 (Sat, 10 Sep 2005) | 2 lines Changed paths: M /trunk/mpfr-impl.h Fix spelling mistake. ------------------------------------------------------------------------ r3821 | pelissip | 2005-09-10 15:17:54 +0000 (Sat, 10 Sep 2005) | 2 lines Changed paths: M /trunk/README.dev Add new note about MPFR_TMP_DECL ------------------------------------------------------------------------ r3819 | zimmerma | 2005-09-09 14:45:54 +0000 (Fri, 09 Sep 2005) | 3 lines Changed paths: M /trunk/mparam_h.in reduced default of MPFR_MUL_THRESHOLD by 1, since now MPFR_MUL_THRESHOLD+1 is considered in mul.c ------------------------------------------------------------------------ r3818 | vlefevre | 2005-09-09 14:37:51 +0000 (Fri, 09 Sep 2005) | 2 lines Changed paths: M /trunk/algorithms.tex Fixed another LaTeX error. ------------------------------------------------------------------------ r3817 | vlefevre | 2005-09-09 14:26:08 +0000 (Fri, 09 Sep 2005) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r3816 | vlefevre | 2005-09-09 12:09:47 +0000 (Fri, 09 Sep 2005) | 2 lines Changed paths: M /trunk/README.dev Updated "To make a release". ------------------------------------------------------------------------ r3815 | vlefevre | 2005-09-09 10:21:11 +0000 (Fri, 09 Sep 2005) | 3 lines Changed paths: M /trunk/lngamma.c Use (mpz_t *) 0 instead of NULL (this is not less clear and this works with the native SunOS 4 C compiler). ------------------------------------------------------------------------ r3814 | zimmerma | 2005-09-09 09:33:04 +0000 (Fri, 09 Sep 2005) | 2 lines Changed paths: M /trunk/tests/tset_f.c avoid . in mpf_set_str (locale-sensitive) ------------------------------------------------------------------------ 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 cleanup of gamma and lngamma ------------------------------------------------------------------------ r3812 | zimmerma | 2005-09-08 09:37:46 +0000 (Thu, 08 Sep 2005) | 3 lines Changed paths: M /trunk/mul.c MUL_THRESHOLD -> MUL_THRESHOLD+1 (to allow MUL_THRESHOLD=0, needed for tuneup.c) ------------------------------------------------------------------------ r3811 | zimmerma | 2005-09-08 09:21:02 +0000 (Thu, 08 Sep 2005) | 2 lines Changed paths: M /trunk/algorithms.tex fixed LaTeX error ------------------------------------------------------------------------ r3809 | vlefevre | 2005-09-08 09:12:20 +0000 (Thu, 08 Sep 2005) | 2 lines Changed paths: M /trunk/ChangeLog Fix. ------------------------------------------------------------------------ r3808 | vlefevre | 2005-09-08 09:08:46 +0000 (Thu, 08 Sep 2005) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r3804 | vlefevre | 2005-09-08 09:02:58 +0000 (Thu, 08 Sep 2005) | 2 lines Changed paths: M /trunk/README.dev A /trunk/fixperm Added fixperm script to fix the file permissions broken by CVS. ------------------------------------------------------------------------ r3803 | vlefevre | 2005-09-08 09:01:50 +0000 (Thu, 08 Sep 2005) | 2 lines Changed paths: M /trunk/NEWS Update. ------------------------------------------------------------------------ r3798 | zimmerma | 2005-09-08 06:48:10 +0000 (Thu, 08 Sep 2005) | 2 lines Changed paths: M /trunk/TODO added one item ------------------------------------------------------------------------ r3797 | vlefevre | 2005-09-08 06:45:52 +0000 (Thu, 08 Sep 2005) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r3795 | vlefevre | 2005-09-08 02:51:45 +0000 (Thu, 08 Sep 2005) | 2 lines Changed paths: M /trunk/tests/Makefile.am Fix: readded dependencies. ------------------------------------------------------------------------ r3793 | vlefevre | 2005-09-06 14:37:32 +0000 (Tue, 06 Sep 2005) | 2 lines Changed paths: M /trunk/tests/tversion.c More detailed error message. ------------------------------------------------------------------------ r3791 | vlefevre | 2005-09-06 13:54:57 +0000 (Tue, 06 Sep 2005) | 2 lines Changed paths: M /trunk/lngamma.c Change for ansi2knr. ------------------------------------------------------------------------ r3790 | vlefevre | 2005-09-06 13:42:02 +0000 (Tue, 06 Sep 2005) | 2 lines Changed paths: M /trunk/lngamma.c Code clean-up (again). ------------------------------------------------------------------------ r3789 | vlefevre | 2005-09-06 13:31:12 +0000 (Tue, 06 Sep 2005) | 2 lines Changed paths: M /trunk/lngamma.c Use GMP's allocate functions instead of C's. Code clean-up. ------------------------------------------------------------------------ r3788 | vlefevre | 2005-09-06 13:02:37 +0000 (Tue, 06 Sep 2005) | 2 lines Changed paths: M /trunk/lngamma.c Reformat. ------------------------------------------------------------------------ r3787 | zimmerma | 2005-09-06 12:42:39 +0000 (Tue, 06 Sep 2005) | 2 lines Changed paths: M /trunk/tests/tgamma.c missing set_emin ------------------------------------------------------------------------ r3786 | zimmerma | 2005-09-06 12:25:03 +0000 (Tue, 06 Sep 2005) | 2 lines Changed paths: M /trunk/tests/tgamma.c added missing call to MPFR_TEST_USE_RANDS() [3 blocks non-freed] ------------------------------------------------------------------------ r3784 | vlefevre | 2005-09-06 12:00:54 +0000 (Tue, 06 Sep 2005) | 3 lines Changed paths: M /trunk/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). ------------------------------------------------------------------------ r3783 | vlefevre | 2005-09-06 11:50:09 +0000 (Tue, 06 Sep 2005) | 2 lines Changed paths: M /trunk/set_str_raw.c mpfr_set_str_binary was buggy and inefficient. Let's use mpfr_strtofr. ------------------------------------------------------------------------ r3781 | vlefevre | 2005-09-06 11:30:40 +0000 (Tue, 06 Sep 2005) | 3 lines Changed paths: M /trunk/mpfr-impl.h Replaced unsigned long bit-fields (GCC extension) by insigned int bit-fields. ------------------------------------------------------------------------ r3779 | vlefevre | 2005-09-05 13:28:20 +0000 (Mon, 05 Sep 2005) | 4 lines Changed paths: M /trunk/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. ------------------------------------------------------------------------ r3776 | vlefevre | 2005-09-02 14:08:09 +0000 (Fri, 02 Sep 2005) | 2 lines Changed paths: M /trunk/mpfr-impl.h Avoid MIPSpro / IRIX64 (incorrect) optimizations for DOUBLE_ISNAN. ------------------------------------------------------------------------ r3775 | vlefevre | 2005-09-02 13:25:32 +0000 (Fri, 02 Sep 2005) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/mpfr-impl.h More portable DOUBLE_ISNAN (useful for MIPSpro under IRIX64). ------------------------------------------------------------------------ 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 improved trade-off between fac_ui and gamma when argument is integer ------------------------------------------------------------------------ r3773 | vlefevre | 2005-09-02 12:33:24 +0000 (Fri, 02 Sep 2005) | 2 lines Changed paths: M /trunk/acinclude.m4 Reformat. ------------------------------------------------------------------------ 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 fixed remaining problem in gamma removed LogGamma from TODO ------------------------------------------------------------------------ r3771 | vlefevre | 2005-09-02 08:17:37 +0000 (Fri, 02 Sep 2005) | 2 lines Changed paths: M /trunk/add1sp.c M /trunk/sub1sp.c Do not put expressions with side effects in MPFR_ASSERTN. ------------------------------------------------------------------------ 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 now uses lngamma code for x < 1 too added new tests from Kenneth Wilder ------------------------------------------------------------------------ r3769 | zimmerma | 2005-09-01 11:54:57 +0000 (Thu, 01 Sep 2005) | 2 lines Changed paths: M /trunk/tests/tgamma.c added another test ------------------------------------------------------------------------ r3768 | zimmerma | 2005-09-01 08:59:19 +0000 (Thu, 01 Sep 2005) | 2 lines Changed paths: M /trunk/tests/tgamma.c removed useless prototype ------------------------------------------------------------------------ r3764 | vlefevre | 2005-08-31 23:57:06 +0000 (Wed, 31 Aug 2005) | 2 lines Changed paths: M /trunk/sum.c Fixed memory leak (missing MPFR_TMP_FREE in a particular case). ------------------------------------------------------------------------ r3763 | vlefevre | 2005-08-31 23:52:53 +0000 (Wed, 31 Aug 2005) | 2 lines Changed paths: M /trunk/sum.c Fixed the code formatting. ------------------------------------------------------------------------ r3762 | vlefevre | 2005-08-31 23:38:13 +0000 (Wed, 31 Aug 2005) | 2 lines Changed paths: M /trunk/README.dev Updated Point 6 of "To make a release". ------------------------------------------------------------------------ r3761 | vlefevre | 2005-08-31 23:27:29 +0000 (Wed, 31 Aug 2005) | 2 lines Changed paths: M /trunk/mul.c Fixed memory leak (missing MPFR_TMP_FREE in a particular case). ------------------------------------------------------------------------ r3759 | zimmerma | 2005-08-31 20:32:03 +0000 (Wed, 31 Aug 2005) | 2 lines Changed paths: M /trunk/mpfr.texi added lngamma ------------------------------------------------------------------------ r3758 | zimmerma | 2005-08-31 20:29:36 +0000 (Wed, 31 Aug 2005) | 2 lines Changed paths: M /trunk/tests/tlog.c added new test (emax) ------------------------------------------------------------------------ r3757 | zimmerma | 2005-08-31 20:28:25 +0000 (Wed, 31 Aug 2005) | 2 lines Changed paths: M /trunk/tests/tgamma.c now random tests also use x >= 1 ------------------------------------------------------------------------ r3756 | zimmerma | 2005-08-31 20:26:33 +0000 (Wed, 31 Aug 2005) | 2 lines Changed paths: M /trunk/log.c added SAVE_EXPO stuff ------------------------------------------------------------------------ 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 new function lngamma ------------------------------------------------------------------------ r3753 | zimmerma | 2005-08-31 20:24:16 +0000 (Wed, 31 Aug 2005) | 2 lines Changed paths: M /trunk/gamma.c now uses lngamma code for x > 1 ------------------------------------------------------------------------ r3752 | zimmerma | 2005-08-31 20:23:06 +0000 (Wed, 31 Aug 2005) | 2 lines Changed paths: M /trunk/Makefile.am added lngamma ------------------------------------------------------------------------ r3750 | vlefevre | 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 Updated version to 2.3.0. ------------------------------------------------------------------------ r3749 | vlefevre | 2005-08-31 12:18:31 +0000 (Wed, 31 Aug 2005) | 3 lines Changed paths: M /trunk/configure.in Fix for the following problem: #error is not sufficient with cc on IRIX64, and autoconf 2.59 doesn't cope with that. ------------------------------------------------------------------------ r3745 | vlefevre | 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 Added .cvsignore files. ------------------------------------------------------------------------ r3744 | vlefevre | 2005-08-30 12:08:42 +0000 (Tue, 30 Aug 2005) | 2 lines Changed paths: M /trunk/mul.c Unobfuscated 2 assertions. ------------------------------------------------------------------------ r3743 | vlefevre | 2005-08-30 11:59:12 +0000 (Tue, 30 Aug 2005) | 2 lines Changed paths: M /trunk/mul.c Fixed indentation and some comments. ------------------------------------------------------------------------ r3742 | vlefevre | 2005-08-30 11:49:24 +0000 (Tue, 30 Aug 2005) | 2 lines Changed paths: M /trunk/mul.c Recommitted the patch (without discarding previous modifications). ------------------------------------------------------------------------ r3741 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2005-08-24 14:23:41 +0000 (Wed, 24 Aug 2005) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r3735 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2005-08-23 17:21:45 +0000 (Tue, 23 Aug 2005) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r3732 | vlefevre | 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 | vlefevre | 2005-08-23 15:41:39 +0000 (Tue, 23 Aug 2005) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r3730 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2005-08-18 17:17:02 +0000 (Thu, 18 Aug 2005) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r3727 | vlefevre | 2005-08-18 17:08:30 +0000 (Thu, 18 Aug 2005) | 2 lines Changed paths: M /trunk/mpfr.texi Misc changes (spelling, typography...). ------------------------------------------------------------------------ r3726 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2005-08-18 13:08:07 +0000 (Thu, 18 Aug 2005) | 2 lines Changed paths: M /trunk/get_ld.c Added an assertion. ------------------------------------------------------------------------ r3720 | vlefevre | 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 Reintroduce the computing of the dependencies. ------------------------------------------------------------------------ r3711 | vlefevre | 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 Added MPFR_DOUBLE_SPEC (not used yet, except for warning messages). ------------------------------------------------------------------------ r3710 | vlefevre | 2005-08-10 20:41:16 +0000 (Wed, 10 Aug 2005) | 2 lines Changed paths: M /trunk/mpfr.texi Completed the documentation of mpfr_strtofr (concerning the exponent). ------------------------------------------------------------------------ r3709 | vlefevre | 2005-08-10 20:32:41 +0000 (Wed, 10 Aug 2005) | 3 lines Changed paths: M /trunk/mpfr.texi Removed double spaces in mpfr_strtofr description (this matters for the info format). ------------------------------------------------------------------------ r3708 | vlefevre | 2005-08-10 01:02:57 +0000 (Wed, 10 Aug 2005) | 2 lines Changed paths: M /trunk/tests/tget_d.c Added a temporary test for non-IEEE-754 double's. ------------------------------------------------------------------------ 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 Fix bug for pre-ansi compiler. ------------------------------------------------------------------------ r3706 | pelissip | 2005-08-09 08:16:46 +0000 (Tue, 09 Aug 2005) | 2 lines Changed paths: M /trunk/NEWS Remove redundant entries. ------------------------------------------------------------------------ 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 fixed bug in mpfr_sin (possible wrong inexact flag for rounding to nearest) added items in NEWS and TODO ------------------------------------------------------------------------ r3704 | pelissip | 2005-08-05 23:09:58 +0000 (Fri, 05 Aug 2005) | 2 lines Changed paths: M /trunk/mpfr.texi Update information ------------------------------------------------------------------------ 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 Rename mpfr_stack to mpfr_custom_ ------------------------------------------------------------------------ r3695 | vlefevre | 2005-08-03 10:35:59 +0000 (Wed, 03 Aug 2005) | 2 lines Changed paths: M /trunk/FAQ.html M /trunk/README Added/updated copyright information. ------------------------------------------------------------------------ r3694 | vlefevre | 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 Update. ------------------------------------------------------------------------ r3693 | pelissip | 2005-08-02 08:28:22 +0000 (Tue, 02 Aug 2005) | 2 lines Changed paths: M /trunk/TODO Remove "Stack Interface" from TODO. ------------------------------------------------------------------------ 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 Add test file for mpfr_subnormalize ------------------------------------------------------------------------ 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 ------------------------------------------------------------------------ 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. ------------------------------------------------------------------------ r3689 | vlefevre | 2005-08-01 10:04:33 +0000 (Mon, 01 Aug 2005) | 2 lines Changed paths: M /trunk/ChangeLog 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. ------------------------------------------------------------------------ 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 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 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. ------------------------------------------------------------------------ r3658 | vlefevre | 2005-06-20 09:30:34 +0000 (Mon, 20 Jun 2005) | 2 lines Changed paths: M /trunk/sum.c GNU coding style. ------------------------------------------------------------------------ r3657 | zimmerma | 2005-06-16 13:48:23 +0000 (Thu, 16 Jun 2005) | 2 lines Changed paths: M /trunk/get_str.c improved m=0 case when b is a power of 2 ------------------------------------------------------------------------ r3656 | pelissip | 2005-06-15 16:12:27 +0000 (Wed, 15 Jun 2005) | 3 lines Changed paths: M /trunk/cos.c Replace mpfr_div_2ui call by SET_EXP/GET_EXP since it can't overflow. ------------------------------------------------------------------------ r3655 | pelissip | 2005-06-15 15:47:16 +0000 (Wed, 15 Jun 2005) | 2 lines Changed paths: M /trunk/cos.c Speed up a few (from 10822 to 10600). ------------------------------------------------------------------------ r3654 | pelissip | 2005-06-15 13:56:23 +0000 (Wed, 15 Jun 2005) | 2 lines Changed paths: M /trunk/BUGS Update ------------------------------------------------------------------------ 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. ------------------------------------------------------------------------ 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 ------------------------------------------------------------------------ r3645 | zimmerma | 2005-06-13 11:33:57 +0000 (Mon, 13 Jun 2005) | 2 lines Changed paths: M /trunk/const_pi.c added assertion ------------------------------------------------------------------------ r3644 | pelissip | 2005-06-13 11:23:37 +0000 (Mon, 13 Jun 2005) | 2 lines Changed paths: M /trunk/cache.c 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 described). 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 comparison between signed and unsigned. Reinclude string.h for strtofr. ------------------------------------------------------------------------ r3635 | vlefevre | 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 | vlefevre | 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 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 those 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 | vlefevre | 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 | vlefevre | 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. ------------------------------------------------------------------------ r3581 | pelissip | 2005-05-17 16:15:15 +0000 (Tue, 17 May 2005) | 2 lines Changed paths: M /trunk/mpfr-impl.h Typo. ------------------------------------------------------------------------ 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 Fix bug of overflow. Still a problem if exp(x) is near the limit of EMAX_MAX. ------------------------------------------------------------------------ r3579 | pelissip | 2005-05-17 15:35:38 +0000 (Tue, 17 May 2005) | 2 lines Changed paths: M /trunk/mpfr-impl.h Add new macro MPFR_SAVE_DECL_UPDATE_FLAGS ------------------------------------------------------------------------ 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 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 Improve coverage test. ------------------------------------------------------------------------ r3576 | vlefevre | 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). ------------------------------------------------------------------------ r3575 | pelissip | 2005-05-17 14:09:21 +0000 (Tue, 17 May 2005) | 2 lines Changed paths: M /trunk/tests/tasin.c Improve coverage test. ------------------------------------------------------------------------ r3574 | pelissip | 2005-05-17 14:09:10 +0000 (Tue, 17 May 2005) | 2 lines Changed paths: M /trunk/asin.c Remove useless test. ------------------------------------------------------------------------ r3573 | pelissip | 2005-05-17 13:28:02 +0000 (Tue, 17 May 2005) | 2 lines Changed paths: M /trunk/tests/tpow.c Improve coverage test. ------------------------------------------------------------------------ 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 Improve coverage ------------------------------------------------------------------------ r3571 | pelissip | 2005-05-17 12:58:43 +0000 (Tue, 17 May 2005) | 2 lines Changed paths: M /trunk/tests/tcmpabs.c Improve coverage test. ------------------------------------------------------------------------ r3570 | pelissip | 2005-05-17 12:58:30 +0000 (Tue, 17 May 2005) | 2 lines Changed paths: M /trunk/coverage Add CFLAGS -g. ------------------------------------------------------------------------ r3569 | pelissip | 2005-05-17 12:27:39 +0000 (Tue, 17 May 2005) | 2 lines Changed paths: M /trunk/pow.c Clean up ------------------------------------------------------------------------ r3568 | pelissip | 2005-05-17 12:13:44 +0000 (Tue, 17 May 2005) | 2 lines Changed paths: M /trunk/tests/tfits.c Improve coverage tests. ------------------------------------------------------------------------ r3567 | pelissip | 2005-05-17 11:45:11 +0000 (Tue, 17 May 2005) | 2 lines Changed paths: M /trunk/tests/tgmpop.c Improve coverage test. ------------------------------------------------------------------------ r3566 | pelissip | 2005-05-17 11:34:11 +0000 (Tue, 17 May 2005) | 2 lines Changed paths: M /trunk/tanh.c Special a condition by the simplified one. ------------------------------------------------------------------------ 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 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 Add 'coverage' script. ------------------------------------------------------------------------ r3562 | pelissip | 2005-05-17 10:03:54 +0000 (Tue, 17 May 2005) | 2 lines Changed paths: M /trunk/constant.c Add 'static' ------------------------------------------------------------------------ r3561 | pelissip | 2005-05-17 08:52:13 +0000 (Tue, 17 May 2005) | 5 lines Changed paths: M /trunk/cos.c Reformating code. Fix potential (?) overflow for very large precision. Various tiny optimizations Improve the initial estimation of the needed precision. ------------------------------------------------------------------------ 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 Extract constants (__gmpfr_one, two and four) from log.c to constant.c Fix bug in MPFR_SET_ONE. ------------------------------------------------------------------------ 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 | vlefevre | 2005-05-16 14:29:49 +0000 (Mon, 16 May 2005) | 2 lines Changed paths: M /trunk/NEWS Typography + spelling. ------------------------------------------------------------------------ r3557 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 described 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2005-05-02 23:17:44 +0000 (Mon, 02 May 2005) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r3512 | vlefevre | 2005-05-02 22:57:16 +0000 (Mon, 02 May 2005) | 2 lines Changed paths: M /trunk/BUGS Mention the mpfr_hypot bug. ------------------------------------------------------------------------ r3511 | vlefevre | 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 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 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 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 functions 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 added mpfr_eint ------------------------------------------------------------------------ r3501 | pelissip | 2005-04-29 17:24:30 +0000 (Fri, 29 Apr 2005) | 2 lines Changed paths: M /trunk/TODO Add something to do :) ------------------------------------------------------------------------ r3500 | zimmerma | 2005-04-29 08:19:01 +0000 (Fri, 29 Apr 2005) | 2 lines Changed paths: M /trunk/TODO added comment about efficiency of atan ------------------------------------------------------------------------ r3499 | vlefevre | 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. ------------------------------------------------------------------------ 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) ------------------------------------------------------------------------ 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 ------------------------------------------------------------------------ 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 ------------------------------------------------------------------------ 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 added error analysis for Geoff's argument reduction for arctan ------------------------------------------------------------------------ r3493 | vlefevre | 2005-04-27 20:56:08 +0000 (Wed, 27 Apr 2005) | 2 lines Changed paths: M /trunk/mpfr.texi Added a note about mpfr_set_d and mpfr_set_ld. ------------------------------------------------------------------------ r3492 | vlefevre | 2005-04-27 13:51:06 +0000 (Wed, 27 Apr 2005) | 3 lines Changed paths: M /trunk/mpfr.h M /trunk/update-version Define MPFR_VERSION_STRING using the update-version script (works with any compiler). ------------------------------------------------------------------------ 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 added MPFR_VERSION_STRING ------------------------------------------------------------------------ r3488 | zimmerma | 2005-04-25 13:06:11 +0000 (Mon, 25 Apr 2005) | 2 lines Changed paths: M /trunk/TODO added new item ------------------------------------------------------------------------ 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 | vlefevre | 2005-04-25 12:12:17 +0000 (Mon, 25 Apr 2005) | 2 lines Changed paths: M /trunk/mpfr.texi Added a missing "-" and replaced a few "-" by @minus{}. ------------------------------------------------------------------------ r3484 | vlefevre | 2005-04-25 11:53:56 +0000 (Mon, 25 Apr 2005) | 2 lines Changed paths: M /trunk/mpfr.texi 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 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 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 Add a macro for mpfr_const_catalan for internal use. ------------------------------------------------------------------------ r3480 | pelissip | 2005-04-22 15:18:33 +0000 (Fri, 22 Apr 2005) | 2 lines Changed paths: M /trunk/mpfr.texi Fix typos. ------------------------------------------------------------------------ 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 | vlefevre | 2005-04-21 15:21:40 +0000 (Thu, 21 Apr 2005) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r3469 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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) ------------------------------------------------------------------------ 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 added Catalan's constant ------------------------------------------------------------------------ r3453 | zimmerma | 2005-04-20 01:23:23 +0000 (Wed, 20 Apr 2005) | 2 lines Changed paths: M /trunk/TODO added efficiency items suggested by Geoff Bailey ------------------------------------------------------------------------ r3452 | zimmerma | 2005-04-20 00:12:45 +0000 (Wed, 20 Apr 2005) | 2 lines Changed paths: M /trunk/atan2.c fixed minor problem (wrong rounding mode for x=0, y<0), thanks Geoff Bailey ------------------------------------------------------------------------ r3451 | zimmerma | 2005-04-19 09:23:28 +0000 (Tue, 19 Apr 2005) | 2 lines Changed paths: M /trunk/TODO added one efficiency item ------------------------------------------------------------------------ r3450 | zimmerma | 2005-04-19 09:01:03 +0000 (Tue, 19 Apr 2005) | 3 lines Changed paths: M /trunk/algorithms.tex completely rewritten algorithm and error analysis for acosh (did not match those in acosh.c) ------------------------------------------------------------------------ r3449 | zimmerma | 2005-04-19 08:59:31 +0000 (Tue, 19 Apr 2005) | 2 lines Changed paths: M /trunk/acosh.c algorithm and error bound did not match those of algorithm.tex!!! ------------------------------------------------------------------------ r3448 | zimmerma | 2005-04-19 07:50:22 +0000 (Tue, 19 Apr 2005) | 2 lines Changed paths: M /trunk/TODO added missing functions for Magma ------------------------------------------------------------------------ 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 changed semantics of mpfr_get_str for ndigits=0 ------------------------------------------------------------------------ r3446 | zimmerma | 2005-04-14 13:44:58 +0000 (Thu, 14 Apr 2005) | 2 lines Changed paths: M /trunk/TODO added one item (efficiency) ------------------------------------------------------------------------ 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. ------------------------------------------------------------------------ r3444 | pelissip | 2005-04-14 09:20:24 +0000 (Thu, 14 Apr 2005) | 2 lines Changed paths: M /trunk/mpfr.texi Fix typos. ------------------------------------------------------------------------ r3443 | pelissip | 2005-04-14 09:20:13 +0000 (Thu, 14 Apr 2005) | 2 lines Changed paths: M /trunk/atan2.c Add TODO. ------------------------------------------------------------------------ r3442 | pelissip | 2005-04-14 08:48:54 +0000 (Thu, 14 Apr 2005) | 2 lines Changed paths: M /trunk/mpfr.texi Add documentation for mpfr_subnormalize. ------------------------------------------------------------------------ r3441 | pelissip | 2005-04-14 08:14:49 +0000 (Thu, 14 Apr 2005) | 2 lines Changed paths: M /trunk/subnormal.c Fix bugs. ------------------------------------------------------------------------ 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 Apply Guillaume's patch about mpfr_div_ui. Fix a bug in tsi_op (forget to clean memory). ------------------------------------------------------------------------ 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 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 Add TODO. ------------------------------------------------------------------------ r3437 | pelissip | 2005-04-13 15:46:45 +0000 (Wed, 13 Apr 2005) | 2 lines Changed paths: M /trunk/expm1.c 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 Reenable tests. ------------------------------------------------------------------------ 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 Add random tests (tgeneric + random2). ------------------------------------------------------------------------ r3432 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 committing in error for huge operands. ------------------------------------------------------------------------ r3416 | vlefevre | 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 | vlefevre | 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 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 Replace test ('p <= i') by assertion ('p > i). ------------------------------------------------------------------------ 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 fixed bug in pow_ui (and pow_z): missing factor 2 in error bound fixed bug in gamma of negative integer ------------------------------------------------------------------------ r3411 | pelissip | 2005-03-25 15:03:13 +0000 (Fri, 25 Mar 2005) | 2 lines Changed paths: M /trunk/div-short.c Add info. ------------------------------------------------------------------------ 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 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 Undo previous change (I was wrong). Add new regression test. ------------------------------------------------------------------------ r3405 | pelissip | 2005-03-24 10:47:41 +0000 (Thu, 24 Mar 2005) | 3 lines Changed paths: M /trunk/mul.c Fix wrong extimated precision. It is log2(n+2) ulps so that log2(log2(n+2)) bits! ------------------------------------------------------------------------ r3404 | pelissip | 2005-03-24 10:01:31 +0000 (Thu, 24 Mar 2005) | 2 lines Changed paths: M /trunk/div-short.c Add checking. ------------------------------------------------------------------------ r3403 | zimmerma | 2005-03-23 19:55:06 +0000 (Wed, 23 Mar 2005) | 2 lines Changed paths: M /trunk/tests/tdiv.c added new test ------------------------------------------------------------------------ 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 | vlefevre | 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 | vlefevre | 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 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 | vlefevre | 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 | vlefevre | 2005-02-21 12:13:00 +0000 (Mon, 21 Feb 2005) | 2 lines Changed paths: M /trunk/sub_ui.c Code reindented / reformatted. ------------------------------------------------------------------------ r3341 | vlefevre | 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 | vlefevre | 2005-02-16 17:08:25 +0000 (Wed, 16 Feb 2005) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r3333 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2005-02-15 16:28:31 +0000 (Tue, 15 Feb 2005) | 2 lines Changed paths: M /trunk/sub1.c Reformatted code. ------------------------------------------------------------------------ r3321 | pelissip | 2005-02-15 14:56:00 +0000 (Tue, 15 Feb 2005) | 2 lines Changed paths: M /trunk/tanh.c 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 output 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 controller. ------------------------------------------------------------------------ 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) | 6 lines Changed paths: M /trunk/configure.in Remove detection of C++ and Fortran due to libtool. ---- Note (VL, 2010-02-08): this removal by an always false test was working with libtool 1.5.26, but doesn't work with libtool 2.2 to 2.2.6b (used by the MPFR 2.4.{0,1,2} tarballs). https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568520 ------------------------------------------------------------------------ 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 (simpler). 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 those 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 | vlefevre | 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 controller 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 controller. ------------------------------------------------------------------------ r3256 | pelissip | 2005-02-02 14:09:18 +0000 (Wed, 02 Feb 2005) | 3 lines Changed paths: M /trunk/tests/mpf_compat.h 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 Fix bug of sub1 if dest=src2 and src1 >> src2 => Fix problem of mpfr_sin ------------------------------------------------------------------------ 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 added two tests ------------------------------------------------------------------------ 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 Now MPFR tries to get GMP's CC and CFLAGS from its build directory. ------------------------------------------------------------------------ r3252 | pelissip | 2005-02-01 09:58:43 +0000 (Tue, 01 Feb 2005) | 4 lines Changed paths: M /trunk/configure.in Add AC_COPYRIGHT Clean up AC_ARG_ENABLE handling Add `--enable-logging` option. ------------------------------------------------------------------------ r3251 | zimmerma | 2005-01-31 09:37:09 +0000 (Mon, 31 Jan 2005) | 2 lines Changed paths: M /trunk/TODO added item ------------------------------------------------------------------------ r3250 | pelissip | 2005-01-31 08:47:04 +0000 (Mon, 31 Jan 2005) | 2 lines Changed paths: M /trunk/set_ld.c Fix a wrong assertion when double == long double. ------------------------------------------------------------------------ r3249 | pelissip | 2005-01-31 08:44:16 +0000 (Mon, 31 Jan 2005) | 4 lines Changed paths: M /trunk/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. ------------------------------------------------------------------------ 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 changed algorithm for mpfr_sin (to get inexact flag) ------------------------------------------------------------------------ r3246 | vlefevre | 2005-01-29 11:32:17 +0000 (Sat, 29 Jan 2005) | 2 lines Changed paths: M /trunk/exp.c M /trunk/tests/texp.c Fixed a sign bug in mpfr_exp (found by Mark J Watkins). ------------------------------------------------------------------------ r3245 | zimmerma | 2005-01-28 16:57:22 +0000 (Fri, 28 Jan 2005) | 2 lines Changed paths: M /trunk/sin.c solved efficiency problem in mpfr_sin_sign for x near Pi ------------------------------------------------------------------------ r3243 | vlefevre | 2005-01-28 14:22:34 +0000 (Fri, 28 Jan 2005) | 3 lines Changed paths: D /trunk/tests/tdump.c Removed tests/tdump.c (was no longer used and mpfr_dump is already tested in toutimpl.c). ------------------------------------------------------------------------ r3242 | vlefevre | 2005-01-28 14:20:09 +0000 (Fri, 28 Jan 2005) | 2 lines Changed paths: M /trunk/sin.c Updated copyright line. ------------------------------------------------------------------------ r3240 | pelissip | 2005-01-28 13:49:30 +0000 (Fri, 28 Jan 2005) | 2 lines Changed paths: M /trunk/cos.c Clean up code (due to mix with Paul changes). ------------------------------------------------------------------------ r3239 | pelissip | 2005-01-28 13:43:11 +0000 (Fri, 28 Jan 2005) | 2 lines Changed paths: M /trunk/sin_cos.c Improve inexact code since sin & cos can't be exact if x != 0 ------------------------------------------------------------------------ r3238 | vlefevre | 2005-01-28 13:28:30 +0000 (Fri, 28 Jan 2005) | 2 lines Changed paths: M /trunk/mpfr-impl.h Removed a useless test in macro MPFR_UNSIGNED_MINUS_MODULO. ------------------------------------------------------------------------ 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 Much faster worst case (ie result near 0 or 1). ------------------------------------------------------------------------ r3236 | zimmerma | 2005-01-28 13:08:20 +0000 (Fri, 28 Jan 2005) | 2 lines Changed paths: M /trunk/cos.c speed-up special case where approximation is 1 or -1 ------------------------------------------------------------------------ r3235 | vlefevre | 2005-01-28 13:04:10 +0000 (Fri, 28 Jan 2005) | 2 lines Changed paths: M /trunk/rint.c Updated comments about the rounding modes. ------------------------------------------------------------------------ r3234 | pelissip | 2005-01-28 12:23:55 +0000 (Fri, 28 Jan 2005) | 2 lines Changed paths: M /trunk/reldiff.c Fix bug and optimize code. ------------------------------------------------------------------------ r3233 | pelissip | 2005-01-28 11:00:34 +0000 (Fri, 28 Jan 2005) | 3 lines Changed paths: M /trunk/get_str.c FIx a warning (Wrong proto between declaration and implementation : forget some const). ------------------------------------------------------------------------ r3232 | vlefevre | 2005-01-28 10:58:01 +0000 (Fri, 28 Jan 2005) | 2 lines Changed paths: M /trunk/cos.c Updated copyright line. ------------------------------------------------------------------------ r3231 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2005-01-24 10:43:16 +0000 (Mon, 24 Jan 2005) | 2 lines Changed paths: M /trunk/BUGS Update. ------------------------------------------------------------------------ r3209 | vlefevre | 2005-01-24 10:31:26 +0000 (Mon, 24 Jan 2005) | 2 lines Changed paths: M /trunk/INSTALL Corrections on the typography. ------------------------------------------------------------------------ r3208 | vlefevre | 2005-01-24 10:16:51 +0000 (Mon, 24 Jan 2005) | 2 lines Changed paths: M /trunk/README.dev Corrected English usage. ------------------------------------------------------------------------ r3207 | vlefevre | 2005-01-24 00:03:59 +0000 (Mon, 24 Jan 2005) | 2 lines Changed paths: M /trunk/NEWS Typos. ------------------------------------------------------------------------ r3206 | zimmerma | 2005-01-21 12:20:54 +0000 (Fri, 21 Jan 2005) | 2 lines Changed paths: M /trunk/tests/Makefile.am added LOADLIBES=... ------------------------------------------------------------------------ r3201 | vlefevre | 2005-01-21 10:20:17 +0000 (Fri, 21 Jan 2005) | 2 lines Changed paths: M /trunk/sum.c Updated Copyright line. ------------------------------------------------------------------------ r3195 | pelissip | 2005-01-20 14:32:20 +0000 (Thu, 20 Jan 2005) | 2 lines Changed paths: M /trunk/sub1.c Fix again this previous patch! ------------------------------------------------------------------------ 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 fixed problems in get_str for huge exponent ------------------------------------------------------------------------ r3193 | pelissip | 2005-01-20 09:53:45 +0000 (Thu, 20 Jan 2005) | 2 lines Changed paths: M /trunk/mpfr-longlong.h Update longlong from GMP 4.1.4 (problem with opteron). ------------------------------------------------------------------------ r3192 | pelissip | 2005-01-18 13:30:50 +0000 (Tue, 18 Jan 2005) | 2 lines Changed paths: M /trunk/sum.c Fix bug in case n==0 or n==1 (Reported and fixed by Laurent Fousse). ------------------------------------------------------------------------ r3191 | pelissip | 2005-01-14 15:02:15 +0000 (Fri, 14 Jan 2005) | 3 lines Changed paths: M /trunk/sub1.c Add comments Fix bug in my patch (Need tests). ------------------------------------------------------------------------ r3190 | pelissip | 2005-01-14 13:50:09 +0000 (Fri, 14 Jan 2005) | 7 lines Changed paths: M /trunk/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. ------------------------------------------------------------------------ r3189 | pelissip | 2005-01-14 13:28:45 +0000 (Fri, 14 Jan 2005) | 2 lines Changed paths: M /trunk/tanh.c Improve and fix tanh for big floats. ------------------------------------------------------------------------ r3188 | pelissip | 2005-01-14 13:28:03 +0000 (Fri, 14 Jan 2005) | 3 lines Changed paths: M /trunk/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. ------------------------------------------------------------------------ r3187 | pelissip | 2005-01-14 13:26:55 +0000 (Fri, 14 Jan 2005) | 2 lines Changed paths: M /trunk/const_pi.c Remove warning ------------------------------------------------------------------------ r3186 | pelissip | 2005-01-14 11:40:22 +0000 (Fri, 14 Jan 2005) | 2 lines Changed paths: M /trunk/TODO Tiny update ------------------------------------------------------------------------ r3185 | pelissip | 2005-01-14 08:20:35 +0000 (Fri, 14 Jan 2005) | 2 lines Changed paths: M /trunk/acos.c Fix bug (Forget a debug line). ------------------------------------------------------------------------ r3184 | pelissip | 2005-01-13 16:21:47 +0000 (Thu, 13 Jan 2005) | 3 lines Changed paths: M /trunk/sinh.c Fix overflow bug Optimize code ------------------------------------------------------------------------ r3183 | pelissip | 2005-01-13 08:22:09 +0000 (Thu, 13 Jan 2005) | 2 lines Changed paths: M /trunk/configure.in Fix bug in mpn_sub_nc in case the compiler optimize too much. ------------------------------------------------------------------------ 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 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 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 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 Forget 2005 ! ------------------------------------------------------------------------ r3176 | pelissip | 2005-01-11 08:39:49 +0000 (Tue, 11 Jan 2005) | 2 lines Changed paths: M /trunk/acinclude.m4 Improve and fix detection of NAN and GCC bug. ------------------------------------------------------------------------ r3175 | pelissip | 2005-01-04 15:04:18 +0000 (Tue, 04 Jan 2005) | 2 lines Changed paths: M /trunk/const_pi.c 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. ------------------------------------------------------------------------ r3168 | pelissip | 2005-01-04 10:29:14 +0000 (Tue, 04 Jan 2005) | 2 lines Changed paths: M /trunk/set_str.c Remove unused code. ------------------------------------------------------------------------ r3167 | pelissip | 2005-01-04 10:28:41 +0000 (Tue, 04 Jan 2005) | 2 lines Changed paths: M /trunk/get_d.c Optimize mpfr_get_d. ------------------------------------------------------------------------ r3166 | pelissip | 2005-01-04 10:28:03 +0000 (Tue, 04 Jan 2005) | 2 lines Changed paths: M /trunk/README.dev Add a new configuration to check before releasing MPFR. ------------------------------------------------------------------------ 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 Fix problem of tab with ncurses. ------------------------------------------------------------------------ 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 Likely some tests ------------------------------------------------------------------------ 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 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 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 Fixed errors reported by Nelson H. F. Beebe (forget to include sys/fpu.h if defined and math.h if std=c99). ------------------------------------------------------------------------ r3158 | pelissip | 2004-12-20 12:54:45 +0000 (Mon, 20 Dec 2004) | 2 lines Changed paths: M /trunk/exp.c Fix wrong integer type and a test. ------------------------------------------------------------------------ r3157 | pelissip | 2004-12-20 12:53:46 +0000 (Mon, 20 Dec 2004) | 2 lines Changed paths: M /trunk/cos.c Add some assertion. ------------------------------------------------------------------------ r3156 | pelissip | 2004-12-20 12:53:20 +0000 (Mon, 20 Dec 2004) | 3 lines Changed paths: M /trunk/div_ui.c Unlikely one test. Fix wrong integer type ------------------------------------------------------------------------ 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 Reindent the code. ------------------------------------------------------------------------ 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 Optimize mpfr_tan ------------------------------------------------------------------------ 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 Optimize the computing of the sign of sinus if GET_EXP(x) < 0 ------------------------------------------------------------------------ r3152 | pelissip | 2004-12-17 13:20:13 +0000 (Fri, 17 Dec 2004) | 3 lines Changed paths: M /trunk/cos.c Optimize mpfr_cos. From 3363 / 21663.99 / 79727 to 3139 / 18920.58 / 69624 (opteron). ------------------------------------------------------------------------ r3151 | pelissip | 2004-12-17 13:13:50 +0000 (Fri, 17 Dec 2004) | 3 lines Changed paths: M /trunk/tests/tset_ld.c Fix precision used to test long double. Now it is sizeof(long_double)*CHAR_BIT instead of fixed 113. ------------------------------------------------------------------------ r3150 | pelissip | 2004-12-17 11:14:56 +0000 (Fri, 17 Dec 2004) | 3 lines Changed paths: M /trunk/extract.c FIx wrong integer types Add an assertion. ------------------------------------------------------------------------ r3149 | pelissip | 2004-12-17 11:14:23 +0000 (Fri, 17 Dec 2004) | 2 lines Changed paths: M /trunk/div_ui.c Likely / Unlikely some code. ------------------------------------------------------------------------ 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 Fix problem with long double with ICC (Wrong x86 processor flag). ------------------------------------------------------------------------ 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. ------------------------------------------------------------------------ r3146 | pelissip | 2004-12-16 13:37:23 +0000 (Thu, 16 Dec 2004) | 2 lines Changed paths: M /trunk/gamma.c Fix bug. ------------------------------------------------------------------------ r3145 | pelissip | 2004-12-16 13:27:11 +0000 (Thu, 16 Dec 2004) | 2 lines Changed paths: M /trunk/acos.c Optimize mpfr_acos by choosing a better initial precision. ------------------------------------------------------------------------ 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 Remove thread attribute until I found a good way to use it. ------------------------------------------------------------------------ r3140 | pelissip | 2004-12-15 10:49:11 +0000 (Wed, 15 Dec 2004) | 2 lines Changed paths: M /trunk/cos.c Test ------------------------------------------------------------------------ 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 Add 'const' attribute to table. ------------------------------------------------------------------------ r3138 | pelissip | 2004-12-15 10:46:00 +0000 (Wed, 15 Dec 2004) | 2 lines Changed paths: D /trunk/save_expo.c Remove unused file. ------------------------------------------------------------------------ r3137 | pelissip | 2004-12-15 09:04:07 +0000 (Wed, 15 Dec 2004) | 2 lines Changed paths: M /trunk/configure.in New way of detecting GMP libraray, which should be more portable. ------------------------------------------------------------------------ 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. ------------------------------------------------------------------------ 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 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. ------------------------------------------------------------------------ r3134 | pelissip | 2004-12-13 14:32:26 +0000 (Mon, 13 Dec 2004) | 2 lines Changed paths: M /trunk/mulders.c 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 attribute sentinel in incoming GCC 4.0 ------------------------------------------------------------------------ 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 Optimize initial precision in case of EXP(x) < 0. ------------------------------------------------------------------------ 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 Optimize mpfr_set4. Inline rounding in mpfr_set4 and mpfr_cache mpfr_set4 doesn'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 ------------------------------------------------------------------------ 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2004-11-11 11:30:46 +0000 (Thu, 11 Nov 2004) | 2 lines Changed paths: M /trunk/sqrt.c Untabified the source. ------------------------------------------------------------------------ r3079 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2004-10-27 16:34:33 +0000 (Wed, 27 Oct 2004) | 2 lines Changed paths: M /trunk/acinclude.m4 Updated copyright line. ------------------------------------------------------------------------ r3064 | vlefevre | 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 | vlefevre | 2004-10-27 13:06:42 +0000 (Wed, 27 Oct 2004) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r3061 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 in "tests/tests.c". Removed variable names in prototypes in "mpfr-test.h". ------------------------------------------------------------------------ r3057 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2004-10-19 13:07:28 +0000 (Tue, 19 Oct 2004) | 2 lines Changed paths: M /trunk/mpfr.texi Another correction (English). ------------------------------------------------------------------------ r3045 | vlefevre | 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 | vlefevre | 2004-10-18 15:07:09 +0000 (Mon, 18 Oct 2004) | 7 lines Changed paths: M /trunk/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. ------------------------------------------------------------------------ r3037 | pelissip | 2004-10-18 14:23:01 +0000 (Mon, 18 Oct 2004) | 2 lines Changed paths: M /trunk/BUGS M /trunk/README Update ------------------------------------------------------------------------ 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 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. ------------------------------------------------------------------------ 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. ------------------------------------------------------------------------ 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 Fix problem on systems where "/dev/null" doesn't exist. ------------------------------------------------------------------------ r3033 | vlefevre | 2004-10-16 10:48:15 +0000 (Sat, 16 Oct 2004) | 2 lines Changed paths: M /trunk/AUTHORS M /trunk/mpfr.texi Misc corrections. ------------------------------------------------------------------------ r3032 | vlefevre | 2004-10-15 14:06:28 +0000 (Fri, 15 Oct 2004) | 2 lines Changed paths: M /trunk/README.dev Updated the section "To make a release". ------------------------------------------------------------------------ r3031 | vlefevre | 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 Updated the version on the trunk. ------------------------------------------------------------------------ r3030 | vlefevre | 2004-10-15 12:52:20 +0000 (Fri, 15 Oct 2004) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r3029 | vlefevre | 2004-10-15 12:49:05 +0000 (Fri, 15 Oct 2004) | 2 lines Changed paths: M /trunk/NEWS Update for 2.1.0. ------------------------------------------------------------------------ r3028 | vlefevre | 2004-10-13 08:35:11 +0000 (Wed, 13 Oct 2004) | 2 lines Changed paths: M /trunk/README.dev Added a comment about autoreconf and a bug in Debian (now fixed). ------------------------------------------------------------------------ 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. ------------------------------------------------------------------------ r3026 | pelissip | 2004-10-11 13:52:42 +0000 (Mon, 11 Oct 2004) | 2 lines Changed paths: M /trunk/mpfr.texi Update documentation. ------------------------------------------------------------------------ r3025 | pelissip | 2004-10-11 13:52:29 +0000 (Mon, 11 Oct 2004) | 2 lines Changed paths: M /trunk/INSTALL Improve Windows installation. ------------------------------------------------------------------------ r3024 | pelissip | 2004-10-11 13:52:07 +0000 (Mon, 11 Oct 2004) | 2 lines Changed paths: M /trunk/README.dev Add a line about "near" and "far". ------------------------------------------------------------------------ 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 Add support for ".lib" since it seems to work. Display GMP version inside the configure. ------------------------------------------------------------------------ r3022 | zimmerma | 2004-10-05 09:45:29 +0000 (Tue, 05 Oct 2004) | 2 lines Changed paths: M /trunk/tests/tget_str.c added one new test ------------------------------------------------------------------------ r3021 | vlefevre | 2004-10-04 13:40:35 +0000 (Mon, 04 Oct 2004) | 2 lines Changed paths: M /trunk/tests/tget_str.c Added worst cases. ------------------------------------------------------------------------ r3020 | zimmerma | 2004-10-02 07:28:07 +0000 (Sat, 02 Oct 2004) | 2 lines Changed paths: M /trunk/tests/tset_str.c added new tests (worst-case) ------------------------------------------------------------------------ r3019 | zimmerma | 2004-10-01 12:31:46 +0000 (Fri, 01 Oct 2004) | 2 lines Changed paths: M /trunk/tests/tget_str.c added new worst-cases (directed rounding) ------------------------------------------------------------------------ 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 functionality. ------------------------------------------------------------------------ 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 incorrectly 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 | vlefevre | 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 | vlefevre | 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. ------------------------------------------------------------------------ r2995 | vlefevre | 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 New functions mpfr_get_sj and mpfr_get_uj, with tests. ------------------------------------------------------------------------ r2994 | pelissip | 2004-09-27 08:35:25 +0000 (Mon, 27 Sep 2004) | 2 lines Changed paths: M /trunk/set_sj.c Remove MPFR_NEED_LONGLONG_H macro. ------------------------------------------------------------------------ r2993 | vlefevre | 2004-09-26 22:18:46 +0000 (Sun, 26 Sep 2004) | 2 lines Changed paths: M /trunk/set_sj.c Added a cast to avoid an integer overflow. ------------------------------------------------------------------------ r2992 | vlefevre | 2004-09-24 14:53:05 +0000 (Fri, 24 Sep 2004) | 2 lines Changed paths: M /trunk/get_si.c Fixed integer overflow. ------------------------------------------------------------------------ r2991 | vlefevre | 2004-09-24 14:13:20 +0000 (Fri, 24 Sep 2004) | 2 lines Changed paths: M /trunk/get_si.c Fixed bugs (like those in mpfr_get_ui). ------------------------------------------------------------------------ r2990 | vlefevre | 2004-09-24 13:38:39 +0000 (Fri, 24 Sep 2004) | 2 lines Changed paths: M /trunk/README.dev The standard autoreconf script should now be used instead of prepare. ------------------------------------------------------------------------ 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 ------------------------------------------------------------------------ r2988 | zimmerma | 2004-09-24 11:15:45 +0000 (Fri, 24 Sep 2004) | 2 lines Changed paths: M /trunk/get_ui.c 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. Not a MPFR bug, but add some code to avoid it. Reference: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=72024 ------------------------------------------------------------------------ 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 Add a new test and clarify a comment. ------------------------------------------------------------------------ r2980 | pelissip | 2004-09-21 09:52:54 +0000 (Tue, 21 Sep 2004) | 2 lines Changed paths: M /trunk/strtofr.c Update Assertion for pow2. ------------------------------------------------------------------------ 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. ------------------------------------------------------------------------ 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 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 Fix a typo. ------------------------------------------------------------------------ r2969 | pelissip | 2004-09-15 08:50:55 +0000 (Wed, 15 Sep 2004) | 2 lines Changed paths: M /trunk/tests/tset_str.c Add a forgotten regression test "1.2.3" ------------------------------------------------------------------------ r2968 | vlefevre | 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 | vlefevre | 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. ------------------------------------------------------------------------ r2965 | zimmerma | 2004-09-13 14:00:36 +0000 (Mon, 13 Sep 2004) | 2 lines Changed paths: M /trunk/set_str.c fixed bug (several '.' allowed in mantissa) ------------------------------------------------------------------------ r2964 | zimmerma | 2004-09-03 09:06:13 +0000 (Fri, 03 Sep 2004) | 2 lines Changed paths: M /trunk/INSTALL added notes for Windows ------------------------------------------------------------------------ r2963 | pelissip | 2004-09-02 07:06:39 +0000 (Thu, 02 Sep 2004) | 2 lines Changed paths: M /trunk/TODO Add a line about Dynamic Version of MPFR. ------------------------------------------------------------------------ r2962 | zimmerma | 2004-09-01 16:42:07 +0000 (Wed, 01 Sep 2004) | 2 lines Changed paths: M /trunk/mpfr.texi added warnings about init functions (mpf wrt mpfr) ------------------------------------------------------------------------ r2961 | pelissip | 2004-08-31 13:01:00 +0000 (Tue, 31 Aug 2004) | 2 lines Changed paths: M /trunk/mpfr.texi Update documentations. ------------------------------------------------------------------------ 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 Rename mpz_set_fr to mpfr_get_z. Provide a conditionnal macro for mpz_set_fr. ------------------------------------------------------------------------ r2959 | pelissip | 2004-08-31 09:20:41 +0000 (Tue, 31 Aug 2004) | 2 lines Changed paths: M /trunk/mpfr.texi Add doc for mpfr_sqr. ------------------------------------------------------------------------ r2958 | pelissip | 2004-08-31 08:58:29 +0000 (Tue, 31 Aug 2004) | 2 lines Changed paths: M /trunk/mpfr.texi Fix month. ------------------------------------------------------------------------ r2957 | pelissip | 2004-08-26 09:05:32 +0000 (Thu, 26 Aug 2004) | 2 lines Changed paths: M /trunk/tests/texp.c Add a new test to check overflow. ------------------------------------------------------------------------ r2956 | pelissip | 2004-08-24 14:00:42 +0000 (Tue, 24 Aug 2004) | 3 lines Changed paths: M /trunk/exp_2.c Try to retype correctly the functions (replace int by the correct type). Still some works to do. ------------------------------------------------------------------------ r2955 | pelissip | 2004-08-23 09:32:27 +0000 (Mon, 23 Aug 2004) | 2 lines Changed paths: M /trunk/mpfr-impl.h Add description of what does MPFR_INT_CEIL_LOG2. ------------------------------------------------------------------------ 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 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. ------------------------------------------------------------------------ r2953 | pelissip | 2004-08-23 09:29:55 +0000 (Mon, 23 Aug 2004) | 2 lines Changed paths: M /trunk/mpfr-impl.h 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 | vlefevre | 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 | vlefevre | 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 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. ------------------------------------------------------------------------ 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. ------------------------------------------------------------------------ r2937 | pelissip | 2004-07-09 09:41:45 +0000 (Fri, 09 Jul 2004) | 2 lines Changed paths: M /trunk/sqrt.c Likely / Unlikely some tests using gcov. ------------------------------------------------------------------------ r2936 | pelissip | 2004-07-06 12:16:52 +0000 (Tue, 06 Jul 2004) | 5 lines Changed paths: M /trunk/mpfr-impl.h Remove some unused code. Add MPFR_LMIB_PER_DOUBLE Add MPFR_DUMP Add MPFR_TRACE ------------------------------------------------------------------------ r2935 | pelissip | 2004-07-06 12:14:44 +0000 (Tue, 06 Jul 2004) | 2 lines Changed paths: M /trunk/set_d.c Likely some tests. ------------------------------------------------------------------------ r2934 | pelissip | 2004-07-06 12:14:11 +0000 (Tue, 06 Jul 2004) | 2 lines Changed paths: M /trunk/get_d.c Used static precision for the array of limb for double. ------------------------------------------------------------------------ r2933 | pelissip | 2004-07-06 12:10:24 +0000 (Tue, 06 Jul 2004) | 2 lines Changed paths: M /trunk/mul_ui.c Likely some tests / Other minor optimisations. ------------------------------------------------------------------------ r2932 | pelissip | 2004-07-06 12:09:31 +0000 (Tue, 06 Jul 2004) | 2 lines Changed paths: M /trunk/ui_div.c Minor modifications. ------------------------------------------------------------------------ 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 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. ------------------------------------------------------------------------ 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 Likely a test to optimize when dest and src are the same (which is very likely inside MPFR). ------------------------------------------------------------------------ r2929 | pelissip | 2004-07-06 12:02:59 +0000 (Tue, 06 Jul 2004) | 2 lines Changed paths: M /trunk/cache.c Likely a test (since cache should always work fine). ------------------------------------------------------------------------ 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 Add some likely, and use a static table instead of a dynamic one. ------------------------------------------------------------------------ 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 Unlikely some tests. ------------------------------------------------------------------------ r2926 | pelissip | 2004-06-10 15:10:12 +0000 (Thu, 10 Jun 2004) | 2 lines Changed paths: M /trunk/set_z.c Likely / Unlikely the code. ------------------------------------------------------------------------ r2925 | pelissip | 2004-06-10 14:03:10 +0000 (Thu, 10 Jun 2004) | 2 lines Changed paths: M /trunk/mpfr-impl.h Respace some macro. ------------------------------------------------------------------------ r2924 | pelissip | 2004-06-10 14:02:30 +0000 (Thu, 10 Jun 2004) | 2 lines Changed paths: M /trunk/save_expo.c Retab some lines. ------------------------------------------------------------------------ r2923 | pelissip | 2004-06-10 14:01:33 +0000 (Thu, 10 Jun 2004) | 2 lines Changed paths: M /trunk/get_z.c Optimize a bit. ------------------------------------------------------------------------ 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 Fix an overflow bug. ------------------------------------------------------------------------ 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 fixed bug in mpfr_exp_3 (wrong assert) ------------------------------------------------------------------------ r2920 | pelissip | 2004-05-27 14:39:34 +0000 (Thu, 27 May 2004) | 2 lines Changed paths: M /trunk/mpfr.h Fix typos. ------------------------------------------------------------------------ r2919 | pelissip | 2004-05-27 09:52:44 +0000 (Thu, 27 May 2004) | 2 lines Changed paths: M /trunk/mpfr.texi Update doc. ------------------------------------------------------------------------ r2918 | zimmerma | 2004-05-18 16:00:28 +0000 (Tue, 18 May 2004) | 3 lines Changed paths: M /trunk/cos.c fixed problem for x near from Pi/2 (the internal precision should take into account the cancellation) ------------------------------------------------------------------------ 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 Improve tests for sin. ------------------------------------------------------------------------ r2916 | zimmerma | 2004-05-18 14:29:55 +0000 (Tue, 18 May 2004) | 2 lines Changed paths: M /trunk/sin.c mpfr_sin_sign() should use at least MPFR_GET_EXP() bits ------------------------------------------------------------------------ r2915 | pelissip | 2004-05-17 07:57:34 +0000 (Mon, 17 May 2004) | 2 lines Changed paths: M /trunk/TODO Remove an item. ------------------------------------------------------------------------ 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 Add a potential test (Too slow). ------------------------------------------------------------------------ r2913 | pelissip | 2004-05-12 14:57:10 +0000 (Wed, 12 May 2004) | 2 lines Changed paths: M /trunk/tan.c Simplify the code. ------------------------------------------------------------------------ r2912 | pelissip | 2004-05-11 07:21:45 +0000 (Tue, 11 May 2004) | 2 lines Changed paths: M /trunk/cos.c Remove a C++ comment. ------------------------------------------------------------------------ r2911 | pelissip | 2004-05-10 07:03:28 +0000 (Mon, 10 May 2004) | 2 lines Changed paths: M /trunk/cos.c Remove a forgotten "assertd" which isn't useful anymore. ------------------------------------------------------------------------ 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 Optimize cos. ------------------------------------------------------------------------ r2909 | zimmerma | 2004-05-07 13:00:11 +0000 (Fri, 07 May 2004) | 3 lines Changed paths: M /trunk/cos.c improved initial value of working precision (did not take into account 2K lost bits for large arguments) ------------------------------------------------------------------------ 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 Fix overflow and add corresponding tests. ------------------------------------------------------------------------ r2907 | pelissip | 2004-05-06 10:42:56 +0000 (Thu, 06 May 2004) | 2 lines Changed paths: M /trunk/gamma.c Fix a bug in a formula. ------------------------------------------------------------------------ r2906 | pelissip | 2004-05-06 10:42:44 +0000 (Thu, 06 May 2004) | 2 lines Changed paths: M /trunk/exp2.c Optimize it a bit. ------------------------------------------------------------------------ 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 Fix overflow problems. ------------------------------------------------------------------------ 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 Fix overflow bug. ------------------------------------------------------------------------ r2903 | pelissip | 2004-05-05 15:34:06 +0000 (Wed, 05 May 2004) | 2 lines Changed paths: M /trunk/gamma.c Remove the double vars. (Use fixed instead). ------------------------------------------------------------------------ r2902 | pelissip | 2004-05-05 15:14:07 +0000 (Wed, 05 May 2004) | 2 lines Changed paths: M /trunk/TODO Add a note about tanh. ------------------------------------------------------------------------ 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 Fix a bug in cas of overflow in tanh. ------------------------------------------------------------------------ r2900 | pelissip | 2004-05-05 13:02:20 +0000 (Wed, 05 May 2004) | 2 lines Changed paths: M /trunk/tanh.c Optimize a few by reducing the # of used vars. ------------------------------------------------------------------------ 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 Fix critical bugs due to different kind of overflow in cosh. ------------------------------------------------------------------------ r2898 | pelissip | 2004-05-05 12:28:38 +0000 (Wed, 05 May 2004) | 2 lines Changed paths: M /trunk/mpfr-impl.h Add MPFR_TMP_INIT_ABS macro. ------------------------------------------------------------------------ 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 Optimize cosh a few by removing an unused intermedary var. ------------------------------------------------------------------------ r2896 | pelissip | 2004-05-05 07:49:22 +0000 (Wed, 05 May 2004) | 2 lines Changed paths: M /trunk/const_log2.c Fix a critical bug in case of overflow. ------------------------------------------------------------------------ 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 Fix a critical bug in cos in case you have set the float range for the exponents. ------------------------------------------------------------------------ r2894 | pelissip | 2004-05-04 14:17:54 +0000 (Tue, 04 May 2004) | 2 lines Changed paths: M /trunk/cos.c Optimize a few cos. ------------------------------------------------------------------------ r2893 | pelissip | 2004-05-04 13:34:15 +0000 (Tue, 04 May 2004) | 2 lines Changed paths: M /trunk/log.c Optimize the way of computing initial precision. ------------------------------------------------------------------------ r2892 | pelissip | 2004-05-04 12:52:01 +0000 (Tue, 04 May 2004) | 2 lines Changed paths: M /trunk/tests/tlog.c Add a test to check an overflow in const_pi (called by log in case of emulation of the float type). ------------------------------------------------------------------------ r2891 | pelissip | 2004-05-04 12:50:59 +0000 (Tue, 04 May 2004) | 2 lines Changed paths: M /trunk/const_pi.c Move to ASSERT mode some code. ------------------------------------------------------------------------ r2890 | pelissip | 2004-05-04 12:46:13 +0000 (Tue, 04 May 2004) | 3 lines Changed paths: M /trunk/const_pi.c Push/Pop emin/emax so that an overflow can't occur in mpfr_set_z(x,pi,r) Add test too. ------------------------------------------------------------------------ r2889 | pelissip | 2004-05-04 09:06:04 +0000 (Tue, 04 May 2004) | 2 lines Changed paths: M /trunk/mul_2ui.c Add some UNLIKELY to the while. ------------------------------------------------------------------------ r2888 | pelissip | 2004-05-04 09:05:30 +0000 (Tue, 04 May 2004) | 2 lines Changed paths: M /trunk/exp.c Add some UNLIKELY to the tests. ------------------------------------------------------------------------ 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 Fix an overflow bug in add1sp. ------------------------------------------------------------------------ r2885 | pelissip | 2004-04-29 07:31:09 +0000 (Thu, 29 Apr 2004) | 2 lines Changed paths: M /trunk/acinclude.m4 Fix a typo in AC_MY_LIBS. ------------------------------------------------------------------------ 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 Add mpfr_cmp as a real function, not only a macro. ------------------------------------------------------------------------ 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 Add mpfr_set and mpfr_abs as real functions. ------------------------------------------------------------------------ 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 | vlefevre | 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 Fix a bug (Forget to cast to mp_exp_t). ------------------------------------------------------------------------ r2844 | pelissip | 2004-03-16 10:45:49 +0000 (Tue, 16 Mar 2004) | 2 lines Changed paths: M /trunk/swap.c Update comment ------------------------------------------------------------------------ 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 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 | vlefevre | 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 | vlefevre | 2004-02-25 16:30:33 +0000 (Wed, 25 Feb 2004) | 2 lines Changed paths: M /trunk/tests/tadd.c Improved coverage. ------------------------------------------------------------------------ r2814 | vlefevre | 2004-02-25 16:00:58 +0000 (Wed, 25 Feb 2004) | 2 lines Changed paths: M /trunk/tests/tadd.c Improved coverage. ------------------------------------------------------------------------ r2813 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 Update comment ------------------------------------------------------------------------ r2781 | pelissip | 2004-02-23 09:42:04 +0000 (Mon, 23 Feb 2004) | 2 lines Changed paths: M /trunk/mpfr.h Improve comments. ------------------------------------------------------------------------ r2780 | pelissip | 2004-02-23 09:41:28 +0000 (Mon, 23 Feb 2004) | 2 lines Changed paths: M /trunk/mul.c Add a comment. ------------------------------------------------------------------------ r2779 | vlefevre | 2004-02-22 01:48:32 +0000 (Sun, 22 Feb 2004) | 2 lines Changed paths: M /trunk/tests/tadd.c Added tests. ------------------------------------------------------------------------ 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 Changed mpfr_sum to use unsigned long instead of unsigned int. More tests. ------------------------------------------------------------------------ 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 mpfr_neg (b, b, r) for b=NAN didn't set NAN flag. ------------------------------------------------------------------------ r2773 | pelissip | 2004-02-20 10:49:34 +0000 (Fri, 20 Feb 2004) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr_sgn is no longer a macro. ------------------------------------------------------------------------ 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 Fix bug with exact rationnal arguments (0.5+3/2 freezes). ------------------------------------------------------------------------ r2767 | vlefevre | 2004-02-18 12:47:00 +0000 (Wed, 18 Feb 2004) | 2 lines Changed paths: M /trunk/config.guess M /trunk/config.sub Update from the autotools-dev Debian package (2004-01-05). ------------------------------------------------------------------------ r2761 | vlefevre | 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 Fixed a bug in mpfr_set_f for 0 (wrong sign) and added the test. ------------------------------------------------------------------------ r2760 | pelissip | 2004-02-18 10:29:40 +0000 (Wed, 18 Feb 2004) | 2 lines Changed paths: M /trunk/get_str.c Fix bug if you build MPFR with ASSERT. ------------------------------------------------------------------------ r2759 | pelissip | 2004-02-17 14:39:16 +0000 (Tue, 17 Feb 2004) | 2 lines Changed paths: M /trunk/mul.c Reduce the number of used variables. ------------------------------------------------------------------------ r2758 | zimmerma | 2004-02-17 14:29:28 +0000 (Tue, 17 Feb 2004) | 2 lines Changed paths: M /trunk/round_raw_generic.c improved again documentation ------------------------------------------------------------------------ r2757 | zimmerma | 2004-02-17 14:27:06 +0000 (Tue, 17 Feb 2004) | 2 lines Changed paths: M /trunk/get_str.c simplified rounding ------------------------------------------------------------------------ r2756 | zimmerma | 2004-02-17 14:17:31 +0000 (Tue, 17 Feb 2004) | 2 lines Changed paths: M /trunk/round_raw_generic.c improved documentation of *inexp ------------------------------------------------------------------------ r2752 | pelissip | 2004-02-17 12:12:21 +0000 (Tue, 17 Feb 2004) | 2 lines Changed paths: M /trunk/tests/tsub1sp.c Simplify the random code. ------------------------------------------------------------------------ r2751 | pelissip | 2004-02-17 12:12:02 +0000 (Tue, 17 Feb 2004) | 2 lines Changed paths: M /trunk/sub1sp.c Optimize it a few. ------------------------------------------------------------------------ r2750 | pelissip | 2004-02-17 12:11:49 +0000 (Tue, 17 Feb 2004) | 2 lines Changed paths: M /trunk/round_raw_generic.c Add 2004 in copyright line. ------------------------------------------------------------------------ r2749 | pelissip | 2004-02-17 12:11:26 +0000 (Tue, 17 Feb 2004) | 2 lines Changed paths: M /trunk/README.dev Add a section which describes the needed macros for building MPFR. ------------------------------------------------------------------------ r2747 | zimmerma | 2004-02-17 11:21:04 +0000 (Tue, 17 Feb 2004) | 2 lines Changed paths: M /trunk/mul.c added comment about probability of normalized product ------------------------------------------------------------------------ r2744 | vlefevre | 2004-02-17 10:36:11 +0000 (Tue, 17 Feb 2004) | 2 lines Changed paths: M /trunk/mpfr.texi Added a note about the ternary value, important in practice. ------------------------------------------------------------------------ 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 fixed 2 bugs and added test ------------------------------------------------------------------------ r2742 | zimmerma | 2004-02-17 10:01:18 +0000 (Tue, 17 Feb 2004) | 2 lines Changed paths: M /trunk/round_raw_generic.c added comment about return value ------------------------------------------------------------------------ r2741 | pelissip | 2004-02-17 08:57:19 +0000 (Tue, 17 Feb 2004) | 2 lines Changed paths: M /trunk/acinclude.m4 Try so support GMP as a Shared Library. ------------------------------------------------------------------------ r2740 | zimmerma | 2004-02-16 18:23:49 +0000 (Mon, 16 Feb 2004) | 2 lines Changed paths: M /trunk/tests/tsqrt.c improved error message ------------------------------------------------------------------------ r2739 | pelissip | 2004-02-16 18:02:42 +0000 (Mon, 16 Feb 2004) | 2 lines Changed paths: M /trunk/gmp_op.c Fix the computing of the error for mpq_add and mpq_sub. ------------------------------------------------------------------------ r2738 | vlefevre | 2004-02-16 17:57:38 +0000 (Mon, 16 Feb 2004) | 2 lines Changed paths: M /trunk/tests/tadd.c Added more tests (improved tadd1.c coverage). ------------------------------------------------------------------------ r2737 | zimmerma | 2004-02-16 17:47:59 +0000 (Mon, 16 Feb 2004) | 2 lines Changed paths: M /trunk/tests/tgmpop.c added cancellation test for add_q ------------------------------------------------------------------------ r2736 | vlefevre | 2004-02-16 17:37:59 +0000 (Mon, 16 Feb 2004) | 2 lines Changed paths: M /trunk/tests/tadd.c Added tests (improved tadd1.c coverage). ------------------------------------------------------------------------ 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 Fix bug of add_q and sub_q with special values (NAN, INF and ZERO). ------------------------------------------------------------------------ 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 deal with overflow/underflow in mpfr_div ------------------------------------------------------------------------ r2733 | zimmerma | 2004-02-16 17:04:34 +0000 (Mon, 16 Feb 2004) | 2 lines Changed paths: M /trunk/tests/tgmpop.c added hard-coded tests ------------------------------------------------------------------------ r2732 | vlefevre | 2004-02-16 16:50:31 +0000 (Mon, 16 Feb 2004) | 2 lines Changed paths: M /trunk/tests/tadd.c When the precisions are the same, test both mpfr_add1sp and mpfr_add1. ------------------------------------------------------------------------ r2731 | vlefevre | 2004-02-16 16:34:39 +0000 (Mon, 16 Feb 2004) | 2 lines Changed paths: M /trunk/tests/tadd.c Added overflow check. ------------------------------------------------------------------------ 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 Optimize add1sp, sub1sp and div. Improve coverage test for sub1sp. ------------------------------------------------------------------------ r2729 | vlefevre | 2004-02-16 16:06:11 +0000 (Mon, 16 Feb 2004) | 2 lines Changed paths: M /trunk/tests/texp.c Removed unused label. ------------------------------------------------------------------------ r2727 | vlefevre | 2004-02-16 15:05:18 +0000 (Mon, 16 Feb 2004) | 3 lines Changed paths: M /trunk/pow.c 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2004-02-06 13:06:36 +0000 (Fri, 06 Feb 2004) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r2660 | vlefevre | 2004-02-06 10:54:26 +0000 (Fri, 06 Feb 2004) | 2 lines Changed paths: M /trunk/NEWS Updated MPFR URL. ------------------------------------------------------------------------ r2659 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 singular 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 | vlefevre | 2004-01-07 19:58:45 +0000 (Wed, 07 Jan 2004) | 2 lines Changed paths: M /trunk/mpfr.texi -0 -> @minus{}0. ------------------------------------------------------------------------ r2613 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 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 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 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 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 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 | vlefevre | 2004-01-07 13:27:29 +0000 (Wed, 07 Jan 2004) | 2 lines Changed paths: M /trunk/cmp2.c Clarified comment. ------------------------------------------------------------------------ r2599 | vlefevre | 2004-01-06 14:17:50 +0000 (Tue, 06 Jan 2004) | 2 lines Changed paths: M /trunk/mpfr.h Updated copyright line. ------------------------------------------------------------------------ r2598 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 invalid 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. Subtraction 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 | vlefevre | 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 Optimize 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 (Comparison 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 independent of the representation (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 if GMP isn't detected. Change the way of detecting stdio.h (To check). Use mpfr namespace for new definitions in "mpfr.h". ------------------------------------------------------------------------ r2522 | vlefevre | 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 | vlefevre | 2003-10-27 12:57:27 +0000 (Mon, 27 Oct 2003) | 2 lines Changed paths: M /trunk/tests/thyperbolic.c Fixed exit status. ------------------------------------------------------------------------ r2519 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2003-10-16 12:48:40 +0000 (Thu, 16 Oct 2003) | 2 lines Changed paths: M /trunk/README.dev Update. ------------------------------------------------------------------------ r2504 | vlefevre | 2003-10-16 11:54:20 +0000 (Thu, 16 Oct 2003) | 2 lines Changed paths: M /trunk/VERSION Updated version on trunk. ------------------------------------------------------------------------ r2503 | vlefevre | 2003-10-16 11:48:31 +0000 (Thu, 16 Oct 2003) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r2502 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2003-10-08 15:22:05 +0000 (Wed, 08 Oct 2003) | 2 lines Changed paths: M /trunk/strncasecmp.c Added a #include 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2003-10-02 22:30:16 +0000 (Thu, 02 Oct 2003) | 2 lines Changed paths: M /trunk/mpfr.texi Use @url{} for URLs. ------------------------------------------------------------------------ r2467 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2003-09-25 10:17:00 +0000 (Thu, 25 Sep 2003) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r2449 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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. ------------------------------------------------------------------------ r2436 | vlefevre | 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@). ------------------------------------------------------------------------ r2435 | zimmerma | 2003-09-23 09:19:22 +0000 (Tue, 23 Sep 2003) | 2 lines Changed paths: M /trunk/TODO two updates ------------------------------------------------------------------------ r2434 | vlefevre | 2003-09-22 15:03:30 +0000 (Mon, 22 Sep 2003) | 2 lines Changed paths: M /trunk/mpfr.texi Updated mpfr_pow description. ------------------------------------------------------------------------ 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 changed __gmp_const into const in *.c [Torbjo"rn: Please use __gmp_const just in user header files, plain C const in other files.] ------------------------------------------------------------------------ r2432 | vlefevre | 2003-09-22 13:30:46 +0000 (Mon, 22 Sep 2003) | 6 lines Changed paths: M /trunk/TODO Removed - allow the ISO C "P" exponent separator for base 16 in input functions (already done). ------------------------------------------------------------------------ r2431 | vlefevre | 2003-09-22 13:09:16 +0000 (Mon, 22 Sep 2003) | 4 lines Changed paths: M /trunk/TODO M /trunk/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 ------------------------------------------------------------------------ r2430 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 New file. ------------------------------------------------------------------------ r2397 | ryde | 2003-08-30 02:13:18 +0000 (Sat, 30 Aug 2003) | 3 lines Changed paths: M /trunk/acinclude.m4 Correction to: (MPFR_CONFIGS): Add amd64-*-* to x86 test objects. ------------------------------------------------------------------------ r2396 | ryde | 2003-08-30 01:42:49 +0000 (Sat, 30 Aug 2003) | 3 lines Changed paths: M /trunk/tests/tests.c (tests_machine_prec_long_double): Add amd64 to the comments. ------------------------------------------------------------------------ r2395 | ryde | 2003-08-30 01:41:08 +0000 (Sat, 30 Aug 2003) | 2 lines Changed paths: M /trunk/acinclude.m4 (MPFR_CONFIGS): Add amd64-*-* to x86 test objects. ------------------------------------------------------------------------ r2394 | ryde | 2003-08-30 01:39:32 +0000 (Sat, 30 Aug 2003) | 2 lines Changed paths: M /trunk/tests/tset_ld.c (check_set_get): Improve error messages. ------------------------------------------------------------------------ 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 (ld_trace): New function. ------------------------------------------------------------------------ r2392 | ryde | 2003-08-30 01:37:40 +0000 (Sat, 30 Aug 2003) | 3 lines Changed paths: M /trunk/set_ld.c (ldbl_max_struct): Use octal character constants, since hex is an ANSI-ism. ------------------------------------------------------------------------ r2391 | vlefevre | 2003-08-07 07:56:08 +0000 (Thu, 07 Aug 2003) | 2 lines Changed paths: M /trunk/ui_pow_ui.c Avoid a potential overflow. ------------------------------------------------------------------------ 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 fixed pb found by Damien Fisher ------------------------------------------------------------------------ r2389 | vlefevre | 2003-07-24 15:47:17 +0000 (Thu, 24 Jul 2003) | 3 lines Changed paths: M /trunk/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). ------------------------------------------------------------------------ r2388 | zimmerma | 2003-07-21 13:16:54 +0000 (Mon, 21 Jul 2003) | 2 lines Changed paths: M /trunk/TODO added one item ------------------------------------------------------------------------ r2387 | ryde | 2003-07-19 00:17:02 +0000 (Sat, 19 Jul 2003) | 2 lines Changed paths: M /trunk/tests/Makefile.am (check_PROGRAMS): Add tget_d_2exp.c. ------------------------------------------------------------------------ r2386 | ryde | 2003-07-19 00:15:46 +0000 (Sat, 19 Jul 2003) | 2 lines Changed paths: A /trunk/tests/tget_d_2exp.c New file, partly derived from tget_d.c. ------------------------------------------------------------------------ r2385 | ryde | 2003-07-19 00:12:19 +0000 (Sat, 19 Jul 2003) | 3 lines Changed paths: M /trunk/get_d.c (mpfr_get_d_2exp): Ensure 0.5 <= abs(ret) < 1.0 is respected when rounding away from zero. ------------------------------------------------------------------------ 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 (d_trace): New function. ------------------------------------------------------------------------ r2383 | ryde | 2003-07-19 00:06:15 +0000 (Sat, 19 Jul 2003) | 2 lines Changed paths: M /trunk/mpfr.texi (Converting Floats): mpfr_get_d_2exp stores to a long. ------------------------------------------------------------------------ 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 (mpfr_get_d_2exp): Store exp in a long, same as mpz_get_d_2exp and mpf_get_d_2exp. ------------------------------------------------------------------------ r2381 | vlefevre | 2003-07-15 14:42:08 +0000 (Tue, 15 Jul 2003) | 2 lines Changed paths: M /trunk/get_d.c Updated comment. ------------------------------------------------------------------------ r2380 | vlefevre | 2003-07-08 14:31:44 +0000 (Tue, 08 Jul 2003) | 2 lines Changed paths: M /trunk/random2.c Correction in a comment (patch by Torbjorn). ------------------------------------------------------------------------ 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 can_round returns 0 for NaN/Inf ------------------------------------------------------------------------ r2378 | zimmerma | 2003-07-01 10:49:04 +0000 (Tue, 01 Jul 2003) | 3 lines Changed paths: M /trunk/round_prec.c fixed Uninitialized memory read in mpfr_can_round (when b is NaN or Inf) ------------------------------------------------------------------------ r2377 | zimmerma | 2003-06-30 15:59:19 +0000 (Mon, 30 Jun 2003) | 2 lines Changed paths: M /trunk/tests/tget_str.c fixed array bound write (need 6+1 characters in s1 to represent -@inf@ + \0) ------------------------------------------------------------------------ r2376 | ryde | 2003-06-28 00:17:24 +0000 (Sat, 28 Jun 2003) | 2 lines Changed paths: M /trunk/get_d.c Add "const" to IEEE byte sequence data. ------------------------------------------------------------------------ r2375 | ryde | 2003-06-28 00:15:04 +0000 (Sat, 28 Jun 2003) | 3 lines Changed paths: M /trunk/tests/tests.c (tests_rand_end): Remove explicit __gmp_rands clearing, it's what RANDS_CLEAR does already. ------------------------------------------------------------------------ r2374 | ryde | 2003-06-26 23:01:02 +0000 (Thu, 26 Jun 2003) | 4 lines Changed paths: M /trunk/TODO # Clarify nan/inf bits under efficiency. # Add mpfr_get_d3 ieee portability. # Add mpfr_random not wanted in mpf integration. ------------------------------------------------------------------------ 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 moved macros for [L]DBL_MANT_DIG in mpfr-impl.h ------------------------------------------------------------------------ r2372 | zimmerma | 2003-06-25 10:16:43 +0000 (Wed, 25 Jun 2003) | 2 lines Changed paths: M /trunk/urandomb.c fixed several problems noticed by Kevin ------------------------------------------------------------------------ r2371 | zimmerma | 2003-06-25 07:47:53 +0000 (Wed, 25 Jun 2003) | 2 lines Changed paths: M /trunk/tests/tset_ld.c changed test for 2^1024, using LDBL_MAX_EXP ------------------------------------------------------------------------ r2370 | ryde | 2003-06-25 00:47:56 +0000 (Wed, 25 Jun 2003) | 2 lines Changed paths: M /trunk/TODO # Add efficiency of separate flag bit operations. ------------------------------------------------------------------------ r2369 | ryde | 2003-06-24 23:57:33 +0000 (Tue, 24 Jun 2003) | 2 lines Changed paths: D /trunk/mpfr-math.h Remove file, no longer used. ------------------------------------------------------------------------ r2368 | ryde | 2003-06-24 23:56:41 +0000 (Tue, 24 Jun 2003) | 2 lines Changed paths: M /trunk/Makefile.am (libmpfr_a_SOURCES): Remove mpfr-math.h. ------------------------------------------------------------------------ r2367 | ryde | 2003-06-24 23:55:52 +0000 (Tue, 24 Jun 2003) | 5 lines Changed paths: M /trunk/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. ------------------------------------------------------------------------ r2366 | ryde | 2003-06-24 23:50:03 +0000 (Tue, 24 Jun 2003) | 2 lines Changed paths: M /trunk/tests/tget_d.c (check_inf_nan): New test. ------------------------------------------------------------------------ r2365 | ryde | 2003-06-24 23:45:21 +0000 (Tue, 24 Jun 2003) | 3 lines Changed paths: M /trunk/acinclude.m4 (MPFR_C_LONG_DOUBLE_FORMAT): Use octal char constants, '\xHH' is an ANSI-ism. ------------------------------------------------------------------------ r2364 | zimmerma | 2003-06-24 10:21:38 +0000 (Tue, 24 Jun 2003) | 2 lines Changed paths: M /trunk/tests/tset_ld.c check 2^1024 only when sizeof(long double) > sizeof(double) ------------------------------------------------------------------------ r2363 | zimmerma | 2003-06-24 08:20:41 +0000 (Tue, 24 Jun 2003) | 2 lines Changed paths: M /trunk/tests/tsub.c correction to previous patch ------------------------------------------------------------------------ r2362 | zimmerma | 2003-06-24 08:14:39 +0000 (Tue, 24 Jun 2003) | 3 lines Changed paths: M /trunk/tests/tadd.c correction to previous patch: problem was that x and u can be 0, then MPFR_PREC() undefined ------------------------------------------------------------------------ r2361 | ryde | 2003-06-24 00:32:32 +0000 (Tue, 24 Jun 2003) | 2 lines Changed paths: M /trunk/tests/tests.c (tests_start_mpfr): Make stdout and stderr unbuffered. ------------------------------------------------------------------------ r2360 | ryde | 2003-06-24 00:30:25 +0000 (Tue, 24 Jun 2003) | 3 lines Changed paths: M /trunk/tests/tsub.c (check_inexact): For pz, use at least MPFR_PREC_MIN since this is required by mpfr_set_prec. ------------------------------------------------------------------------ r2359 | ryde | 2003-06-24 00:29:32 +0000 (Tue, 24 Jun 2003) | 4 lines Changed paths: M /trunk/tests/tadd.c # Correction to: # (check_inexact): For pz, use at least MPFR_PREC_MIN # since this is required by mpfr_set_prec. ------------------------------------------------------------------------ r2358 | ryde | 2003-06-24 00:20:41 +0000 (Tue, 24 Jun 2003) | 3 lines Changed paths: M /trunk/tests/tadd.c (check_inexact): For pz, use at least MPFR_PREC_MIN since this is required by mpfr_set_prec. ------------------------------------------------------------------------ r2357 | ryde | 2003-06-23 23:58:03 +0000 (Mon, 23 Jun 2003) | 2 lines Changed paths: M /trunk/TODO Remove mingw portability of random/rand48, no longer used. ------------------------------------------------------------------------ r2356 | ryde | 2003-06-23 23:55:24 +0000 (Mon, 23 Jun 2003) | 5 lines Changed paths: M /trunk/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). ------------------------------------------------------------------------ r2355 | vlefevre | 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 changed since mpfr_random now can return 0 ------------------------------------------------------------------------ r2353 | vlefevre | 2003-06-20 14:21:36 +0000 (Fri, 20 Jun 2003) | 3 lines Changed paths: M /trunk/random.c The distribution should now be uniform (mpfr_random implemented by calling mpfr_urandomb). ------------------------------------------------------------------------ r2352 | vlefevre | 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 Take the current exponent range into account in mpfr_urandomb (which now returns an int). ------------------------------------------------------------------------ r2351 | vlefevre | 2003-06-20 10:37:26 +0000 (Fri, 20 Jun 2003) | 2 lines Changed paths: M /trunk/urandomb.c Bug fix. ------------------------------------------------------------------------ r2350 | zimmerma | 2003-06-20 10:30:35 +0000 (Fri, 20 Jun 2003) | 2 lines Changed paths: M /trunk/tests/tests.c moved _gmp_rands_initialized stuff from tests_end_mpfr() to tests_rand_end() ------------------------------------------------------------------------ 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 ------------------------------------------------------------------------ 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 fixed bug in mpfr_exp2_aux2 (spe175.testdrive.hp.com) ------------------------------------------------------------------------ r2346 | zimmerma | 2003-06-19 15:40:52 +0000 (Thu, 19 Jun 2003) | 2 lines Changed paths: M /trunk/exp3.c improved style ------------------------------------------------------------------------ r2345 | zimmerma | 2003-06-19 14:57:05 +0000 (Thu, 19 Jun 2003) | 2 lines Changed paths: M /trunk/tests/texp.c added more information in case of failure ------------------------------------------------------------------------ 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 removed randseed() stuff [obsolete now we use the GMP mechanism] ------------------------------------------------------------------------ r2343 | zimmerma | 2003-06-19 08:55:03 +0000 (Thu, 19 Jun 2003) | 2 lines Changed paths: M /trunk/tests/tzeta.c added memory test mechanism ------------------------------------------------------------------------ r2342 | zimmerma | 2003-06-19 08:54:42 +0000 (Thu, 19 Jun 2003) | 2 lines Changed paths: M /trunk/tests/tdiv.c 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 before , 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2003-05-22 22:11:01 +0000 (Thu, 22 May 2003) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r2301 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 added Riemann Zeta function (contribution from Jean-Luc Re'my) ------------------------------------------------------------------------ r2288 | ryde | 2003-04-08 23:50:59 +0000 (Tue, 08 Apr 2003) | 2 lines Changed paths: M /trunk/mpfr.texi Move macros down below @copying. ------------------------------------------------------------------------ r2287 | ryde | 2003-04-08 23:43:51 +0000 (Tue, 08 Apr 2003) | 2 lines Changed paths: M /trunk/mpfr.texi Add @: after various abbreviations. ------------------------------------------------------------------------ r2286 | zimmerma | 2003-04-01 11:49:34 +0000 (Tue, 01 Apr 2003) | 2 lines Changed paths: M /trunk/exp_2.c fixed pb with count_leading_zeros (n=0) ------------------------------------------------------------------------ r2285 | zimmerma | 2003-04-01 10:39:48 +0000 (Tue, 01 Apr 2003) | 2 lines Changed paths: M /trunk/tests/texp.c added test for bug found by Franky Backeljauw ------------------------------------------------------------------------ r2284 | zimmerma | 2003-04-01 10:39:14 +0000 (Tue, 01 Apr 2003) | 2 lines Changed paths: M /trunk/exp_2.c fixed bug found by Franky ------------------------------------------------------------------------ r2283 | vlefevre | 2003-03-28 12:56:46 +0000 (Fri, 28 Mar 2003) | 2 lines Changed paths: M /trunk/exp3.c Added some asserts. ------------------------------------------------------------------------ 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 (continued) ------------------------------------------------------------------------ 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 Patches from W. Galway. ------------------------------------------------------------------------ r2280 | zimmerma | 2003-03-28 08:40:59 +0000 (Fri, 28 Mar 2003) | 2 lines Changed paths: M /trunk/mpfr.texi fixed reference to Plouffe/Bailey/Borwein formula ------------------------------------------------------------------------ r2279 | hanrot | 2003-03-27 09:37:37 +0000 (Thu, 27 Mar 2003) | 2 lines Changed paths: M /trunk/const_pi.c Credits for the pi formula modified. ------------------------------------------------------------------------ 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 changed back "unsigned char *" to "char *" ------------------------------------------------------------------------ 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 char * -> const unsigned char * for mpfr_set_str, mpfr_set_str_raw, and 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 removed unused variable ------------------------------------------------------------------------ r2275 | zimmerma | 2003-03-18 10:55:37 +0000 (Tue, 18 Mar 2003) | 2 lines Changed paths: M /trunk/mpfr.texi fixed documentation bug in mpfr_log2 (exact results) ------------------------------------------------------------------------ r2274 | zimmerma | 2003-03-18 09:05:42 +0000 (Tue, 18 Mar 2003) | 2 lines Changed paths: M /trunk/tests/tsqrt.c changed new test in 'check4' style ------------------------------------------------------------------------ r2273 | vlefevre | 2003-03-17 02:08:03 +0000 (Mon, 17 Mar 2003) | 2 lines Changed paths: M /trunk/BUGS M /trunk/mpfr.texi Update concerning underflow problems. ------------------------------------------------------------------------ r2272 | ryde | 2003-03-17 00:20:46 +0000 (Mon, 17 Mar 2003) | 2 lines Changed paths: M /trunk/tests/tpow.c (main): Comment out underflows(), until it works. ------------------------------------------------------------------------ r2271 | ryde | 2003-03-17 00:04:41 +0000 (Mon, 17 Mar 2003) | 3 lines Changed paths: M /trunk/get_z_exp.c Comment out an assert tickled for an f with exponent near MPFR_EMIN_MIN. ------------------------------------------------------------------------ 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 Use WANT_GMPFR_LONGDOUBLE_VOLATILE. ------------------------------------------------------------------------ r2268 | ryde | 2003-03-16 23:29:27 +0000 (Sun, 16 Mar 2003) | 3 lines Changed paths: M /trunk/acinclude.m4 (MPFR_C_LONG_DOUBLE_FORMAT): Add IEEE quad big endian, check long double exists before testing. ------------------------------------------------------------------------ r2267 | vlefevre | 2003-03-14 11:55:34 +0000 (Fri, 14 Mar 2003) | 2 lines Changed paths: M /trunk/tests/tpow.c Added underflow test showing a bug in mpfr_pow. ------------------------------------------------------------------------ r2266 | zimmerma | 2003-03-14 08:22:36 +0000 (Fri, 14 Mar 2003) | 2 lines Changed paths: M /trunk/pow.c fixed bug for x=1 ------------------------------------------------------------------------ r2265 | vlefevre | 2003-03-14 01:50:48 +0000 (Fri, 14 Mar 2003) | 3 lines Changed paths: M /trunk/BUGS M /trunk/pow.c This wasn't a compiler bug; mpfr_pow is really buggy. Added some asserts to show that. ------------------------------------------------------------------------ r2264 | vlefevre | 2003-03-14 01:12:44 +0000 (Fri, 14 Mar 2003) | 5 lines Changed paths: M /trunk/BUGS M /trunk/tests/tpow.c 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. ------------------------------------------------------------------------ r2263 | zimmerma | 2003-03-13 17:11:52 +0000 (Thu, 13 Mar 2003) | 2 lines Changed paths: M /trunk/tests/tpow.c fixed sign problem in particular_cases() ------------------------------------------------------------------------ r2262 | zimmerma | 2003-03-13 17:10:45 +0000 (Thu, 13 Mar 2003) | 2 lines Changed paths: M /trunk/ui_pow.c declared mpfr_ui_pow_is_exact as static ------------------------------------------------------------------------ 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 ------------------------------------------------------------------------ r2260 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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(). ------------------------------------------------------------------------ r2257 | zimmerma | 2003-03-11 17:32:46 +0000 (Tue, 11 Mar 2003) | 2 lines Changed paths: M /trunk/out_str.c when stream=NULL, use stdout (as indicated in the documentation) ------------------------------------------------------------------------ r2256 | vlefevre | 2003-03-03 06:04:29 +0000 (Mon, 03 Mar 2003) | 2 lines Changed paths: M /trunk/sin.c mpfr_sin_sign -> static. ------------------------------------------------------------------------ r2255 | vlefevre | 2003-03-03 06:03:24 +0000 (Mon, 03 Mar 2003) | 2 lines Changed paths: M /trunk/pow.c Useless declaration removed. ------------------------------------------------------------------------ r2254 | vlefevre | 2003-03-03 05:51:30 +0000 (Mon, 03 Mar 2003) | 3 lines Changed paths: M /trunk/pow.c Special cases for mpfr_pow: like Section F.9.4.4 of the ISO C99 standard. ------------------------------------------------------------------------ r2253 | vlefevre | 2003-03-03 05:14:18 +0000 (Mon, 03 Mar 2003) | 2 lines Changed paths: M /trunk/pow.c Prototype fixed. ------------------------------------------------------------------------ r2252 | vlefevre | 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). ------------------------------------------------------------------------ r2251 | vlefevre | 2003-02-27 05:32:01 +0000 (Thu, 27 Feb 2003) | 2 lines Changed paths: M /trunk/TODO Comment concerning the installation of MPFR: done. ------------------------------------------------------------------------ r2250 | vlefevre | 2003-02-27 05:18:56 +0000 (Thu, 27 Feb 2003) | 2 lines Changed paths: M /trunk/INSTALL M /trunk/mpfr.texi New recommendation to install MPFR. ------------------------------------------------------------------------ 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 Replaced NaN, Inf by @NaN@, @Inf@ [for bases > 24]. ------------------------------------------------------------------------ r2248 | zimmerma | 2003-02-21 15:06:24 +0000 (Fri, 21 Feb 2003) | 2 lines Changed paths: M /trunk/tests/thypot.c added one test ------------------------------------------------------------------------ r2247 | vlefevre | 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 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 added mpfr_get_d_2exp ------------------------------------------------------------------------ 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 Remove tests involving "double" nans and infs, covered by check_nan. ------------------------------------------------------------------------ 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 Use mpfr_set_nan and mpfr_set_inf for NaN and Inf tests, not "double" nans and infs. ------------------------------------------------------------------------ r2206 | ryde | 2003-01-18 00:31:30 +0000 (Sat, 18 Jan 2003) | 3 lines Changed paths: M /trunk/Makefile.am Move log_b2.h from include_HEADERS to libmpfr_a_SOURCES, it doesn't want to be installed. ------------------------------------------------------------------------ r2205 | ryde | 2003-01-18 00:14:32 +0000 (Sat, 18 Jan 2003) | 2 lines Changed paths: M /trunk/set_str.c Correction to memory leak fix, need "result" for final rounding. ------------------------------------------------------------------------ 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 (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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2003-01-15 11:40:35 +0000 (Wed, 15 Jan 2003) | 2 lines Changed paths: M /trunk/gamma.c Use type mp_prec_t for precisions. ------------------------------------------------------------------------ r2167 | vlefevre | 2003-01-15 11:29:46 +0000 (Wed, 15 Jan 2003) | 2 lines Changed paths: M /trunk/gamma.c Source re-indented. ------------------------------------------------------------------------ r2166 | vlefevre | 2003-01-15 11:22:26 +0000 (Wed, 15 Jan 2003) | 4 lines Changed paths: M /trunk/gamma.c Several bugs fixed concerning the particular cases. and not included by default. int mpfr_gamma _PROTO ... removed (was useless). ------------------------------------------------------------------------ r2165 | zimmerma | 2003-01-15 09:54:12 +0000 (Wed, 15 Jan 2003) | 2 lines Changed paths: M /trunk/gamma.c get rid of ceil() call, that requires -lm ------------------------------------------------------------------------ r2164 | ryde | 2003-01-14 23:02:26 +0000 (Tue, 14 Jan 2003) | 3 lines Changed paths: M /trunk/get_ld.c Force LDBL_MANT_DIG on IEEE extended, to avoid problems with some i386 gcc. ------------------------------------------------------------------------ r2163 | ryde | 2003-01-14 22:48:03 +0000 (Tue, 14 Jan 2003) | 2 lines Changed paths: M /trunk/set_ld.c Avoid problems with bad LDBL_MAX and LDBL_MANT_DIG on some i386 gcc. ------------------------------------------------------------------------ r2162 | ryde | 2003-01-14 22:43:24 +0000 (Tue, 14 Jan 2003) | 3 lines Changed paths: M /trunk/acinclude.m4 (MPFR_C_LONG_DOUBLE_FORMAT): New macro. (MPFR_CONFIGS): Use it. ------------------------------------------------------------------------ r2161 | vlefevre | 2003-01-11 19:32:47 +0000 (Sat, 11 Jan 2003) | 3 lines Changed paths: M /trunk/tests/memory.c Required casts added (and switch from uint to ulong); in particular, useful on Alpha. ------------------------------------------------------------------------ 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 # Add a copyright year. ------------------------------------------------------------------------ r2159 | ryde | 2003-01-10 21:31:31 +0000 (Fri, 10 Jan 2003) | 3 lines Changed paths: M /trunk/tests/trandom.c Tolerate empty argv[1], which can arise from ancient bash executing the libtool shared library wrapper script. ------------------------------------------------------------------------ r2158 | ryde | 2003-01-10 20:59:19 +0000 (Fri, 10 Jan 2003) | 3 lines Changed paths: M /trunk/tests/tconst_pi.c Tolerate empty argv[1], which can arise from ancient bash executing the libtool shared library wrapper script. ------------------------------------------------------------------------ r2157 | ryde | 2003-01-10 15:39:03 +0000 (Fri, 10 Jan 2003) | 3 lines Changed paths: M /trunk/get_ld.c Avoid unnecessary extra power of 2 squaring, so as not to provoke an overflow exception when result is in range. ------------------------------------------------------------------------ r2156 | vlefevre | 2003-01-10 13:41:42 +0000 (Fri, 10 Jan 2003) | 2 lines Changed paths: M /trunk/tests/tests.c Extended precision detection fixed. ------------------------------------------------------------------------ r2155 | zimmerma | 2003-01-09 14:06:37 +0000 (Thu, 09 Jan 2003) | 2 lines Changed paths: M /trunk/get_ld.c fixed possible overflow when EXP=1024 ------------------------------------------------------------------------ r2154 | zimmerma | 2003-01-09 14:05:30 +0000 (Thu, 09 Jan 2003) | 2 lines Changed paths: M /trunk/set_ld.c rewritten to avoid overflows ------------------------------------------------------------------------ r2153 | zimmerma | 2003-01-09 09:56:04 +0000 (Thu, 09 Jan 2003) | 2 lines Changed paths: M /trunk/tests/tpow.c added one test ------------------------------------------------------------------------ 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 # Add a copyright year. ------------------------------------------------------------------------ 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 #Add a copyright year. ------------------------------------------------------------------------ r2150 | ryde | 2003-01-08 23:04:40 +0000 (Wed, 08 Jan 2003) | 3 lines Changed paths: M /trunk/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). ------------------------------------------------------------------------ r2149 | ryde | 2003-01-08 22:07:59 +0000 (Wed, 08 Jan 2003) | 2 lines Changed paths: M /trunk/acinclude.m4 (AC_CHECK_HEADERS): Remove fpu_control.h, no longer required. ------------------------------------------------------------------------ r2148 | ryde | 2003-01-08 21:17:29 +0000 (Wed, 08 Jan 2003) | 3 lines Changed paths: M /trunk/tests/tset_ld.c Use tests_machine_prec_long_double. Use LDBL_MAX for largest value and to find largest power of 2. ------------------------------------------------------------------------ r2147 | ryde | 2003-01-08 21:03:01 +0000 (Wed, 08 Jan 2003) | 4 lines Changed paths: M /trunk/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. ------------------------------------------------------------------------ r2146 | ryde | 2003-01-08 21:00:32 +0000 (Wed, 08 Jan 2003) | 3 lines Changed paths: M /trunk/tests/tests.c (tests_machine_prec_double, tests_machine_prec_long_double): New functions. (mpfr_test_init): Replace __setfpucw with tests_machine_prec_double. ------------------------------------------------------------------------ r2145 | ryde | 2003-01-08 20:52:04 +0000 (Wed, 08 Jan 2003) | 2 lines Changed paths: M /trunk/acinclude.m4 (MPFR_CONFIGS): Add tests/x86.asm support. ------------------------------------------------------------------------ r2144 | ryde | 2003-01-08 20:48:47 +0000 (Wed, 08 Jan 2003) | 2 lines Changed paths: M /trunk/configure.in (X86_PATTERN): New define, supporting acinclude.m4. ------------------------------------------------------------------------ r2143 | ryde | 2003-01-08 20:43:02 +0000 (Wed, 08 Jan 2003) | 2 lines Changed paths: M /trunk/tests/Makefile.am Add x86.asm support. ------------------------------------------------------------------------ r2142 | ryde | 2003-01-08 20:35:33 +0000 (Wed, 08 Jan 2003) | 2 lines Changed paths: A /trunk/tests/x86.asm New file. ------------------------------------------------------------------------ r2141 | zimmerma | 2003-01-07 10:31:43 +0000 (Tue, 07 Jan 2003) | 2 lines Changed paths: M /trunk/exp2.c fixed pb for underflow and rounding to nearest ------------------------------------------------------------------------ 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 added macro LONGDOUBLE_ISNAN use LONGDOUBLE_ISNAN in set_ld instead of cast to double and DOUBLE_ISNAN (did raise exception under freebsd) ------------------------------------------------------------------------ r2139 | vlefevre | 2003-01-07 01:46:51 +0000 (Tue, 07 Jan 2003) | 4 lines Changed paths: M /trunk/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). ------------------------------------------------------------------------ r2138 | ryde | 2003-01-06 21:56:38 +0000 (Mon, 06 Jan 2003) | 2 lines Changed paths: M /trunk/TODO Remove mpfr_get_ld, done. ------------------------------------------------------------------------ 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 () [__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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-12-13 18:06:58 +0000 (Fri, 13 Dec 2002) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r2123 | vlefevre | 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 | vlefevre | 2002-12-13 11:20:28 +0000 (Fri, 13 Dec 2002) | 2 lines Changed paths: M /trunk/mpfr.texi Correction. ------------------------------------------------------------------------ r2121 | vlefevre | 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 | vlefevre | 2002-12-13 02:35:45 +0000 (Fri, 13 Dec 2002) | 2 lines Changed paths: M /trunk/set_d.c Assertion re-added. ------------------------------------------------------------------------ r2119 | vlefevre | 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 | vlefevre | 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 ------------------------------------------------------------------------ r2113 | zimmerma | 2002-12-12 14:38:03 +0000 (Thu, 12 Dec 2002) | 2 lines Changed paths: M /trunk/set_d.c use MPN_NORMALIZE_NOT_ZERO instead of loop ------------------------------------------------------------------------ r2112 | vlefevre | 2002-12-11 14:31:28 +0000 (Wed, 11 Dec 2002) | 3 lines Changed paths: M /trunk/tests/memory.c Added #include "mpfr.h" (needed by mpfr-test.h as it uses mp_rnd_t in one of the prototypes). ------------------------------------------------------------------------ r2111 | vlefevre | 2002-12-10 22:23:04 +0000 (Tue, 10 Dec 2002) | 5 lines Changed paths: M /trunk/set_d.c Patch by Torbjorn Granlund : 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. ------------------------------------------------------------------------ r2110 | vlefevre | 2002-12-07 12:26:11 +0000 (Sat, 07 Dec 2002) | 3 lines Changed paths: M /trunk/const_euler.c (mpfr_const_euler_S, mpfr_const_euler_R) Make declaration match prototype (patch by Torbjorn Granlund). ------------------------------------------------------------------------ r2109 | vlefevre | 2002-12-04 11:22:24 +0000 (Wed, 04 Dec 2002) | 2 lines Changed paths: M /trunk/config.guess M /trunk/config.sub Update from ftp://ftp.gnu.org/pub/gnu/config/ ------------------------------------------------------------------------ r2108 | zimmerma | 2002-12-03 13:32:21 +0000 (Tue, 03 Dec 2002) | 2 lines Changed paths: M /trunk/mpfr.texi Use @ifnottex/@end iffnotex instead of @ifinfo/@end ifinfo ------------------------------------------------------------------------ r2107 | vlefevre | 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 Fix rnd_mode.c (again). ------------------------------------------------------------------------ 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 put redefinitions of external symbols just before prototypes ------------------------------------------------------------------------ r2105 | zimmerma | 2002-12-02 09:23:47 +0000 (Mon, 02 Dec 2002) | 2 lines Changed paths: M /trunk/TODO updated ------------------------------------------------------------------------ r2104 | zimmerma | 2002-12-02 09:21:40 +0000 (Mon, 02 Dec 2002) | 2 lines Changed paths: M /trunk/BUGS added new known bugs ------------------------------------------------------------------------ r2103 | ryde | 2002-11-29 23:05:47 +0000 (Fri, 29 Nov 2002) | 2 lines Changed paths: M /trunk/TODO Add notes on mpf_t maintaining actual size for efficiency. ------------------------------------------------------------------------ r2102 | ryde | 2002-11-29 22:52:20 +0000 (Fri, 29 Nov 2002) | 2 lines Changed paths: M /trunk/TODO Remove mpfr_set_machine_rnd_mode task. ------------------------------------------------------------------------ r2101 | ryde | 2002-11-29 22:51:58 +0000 (Fri, 29 Nov 2002) | 2 lines Changed paths: M /trunk/mpfr.texi Tweak some math formatting for tex. ------------------------------------------------------------------------ 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_set_machine_rnd_mode): Move prototype to mpfr-test.h. ------------------------------------------------------------------------ r2099 | ryde | 2002-11-29 22:42:19 +0000 (Fri, 29 Nov 2002) | 2 lines Changed paths: M /trunk/tests/Makefile.am (libfrtests_a_SOURCES): Add rnd_mode.c. ------------------------------------------------------------------------ r2098 | ryde | 2002-11-29 22:41:57 +0000 (Fri, 29 Nov 2002) | 2 lines Changed paths: M /trunk/Makefile.am (libmpfr_a_SOURCES): Remove rnd_mode.c. ------------------------------------------------------------------------ r2097 | ryde | 2002-11-29 22:40:40 +0000 (Fri, 29 Nov 2002) | 2 lines Changed paths: D /trunk/rnd_mode.c Remove file, moved to tests directory. ------------------------------------------------------------------------ r2096 | ryde | 2002-11-29 22:40:01 +0000 (Fri, 29 Nov 2002) | 2 lines Changed paths: A /trunk/tests/rnd_mode.c New file, moved from top-level directory. ------------------------------------------------------------------------ r2095 | ryde | 2002-11-29 22:22:40 +0000 (Fri, 29 Nov 2002) | 2 lines Changed paths: M /trunk/mpfr.texi (Rounding Modes): Remove mpfr_set_machine_rnd_mode. ------------------------------------------------------------------------ r2094 | ryde | 2002-11-29 21:42:11 +0000 (Fri, 29 Nov 2002) | 2 lines Changed paths: M /trunk/setmin.c Use GNU style code layout. ------------------------------------------------------------------------ r2093 | ryde | 2002-11-29 21:35:59 +0000 (Fri, 29 Nov 2002) | 2 lines Changed paths: M /trunk/setmax.c Use GNU style code layout. ------------------------------------------------------------------------ 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 redefined external symbols in the __gmpfr namespace ------------------------------------------------------------------------ r2091 | zimmerma | 2002-11-25 17:04:36 +0000 (Mon, 25 Nov 2002) | 2 lines Changed paths: M /trunk/tests/tout_str.c added one fprintf in case of error ------------------------------------------------------------------------ r2090 | vlefevre | 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_set_machine_rnd_mode fixed to compile on some architectures (e.g. ARM). Now returns an int. ------------------------------------------------------------------------ r2089 | vlefevre | 2002-11-25 15:30:56 +0000 (Mon, 25 Nov 2002) | 2 lines Changed paths: M /trunk/tests/tmul.c Bug fixed. ------------------------------------------------------------------------ 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 removed all tests that compare to libm ------------------------------------------------------------------------ r2087 | zimmerma | 2002-11-25 10:54:35 +0000 (Mon, 25 Nov 2002) | 2 lines Changed paths: M /trunk/tests/tdiv.c changed to distinguish mpfr failures from libm failures ------------------------------------------------------------------------ r2086 | zimmerma | 2002-11-25 10:37:43 +0000 (Mon, 25 Nov 2002) | 2 lines Changed paths: M /trunk/tests/tdiv.c added 3 tests that make libm fail under HP-PA ------------------------------------------------------------------------ r2085 | vlefevre | 2002-11-23 23:47:18 +0000 (Sat, 23 Nov 2002) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r2084 | zimmerma | 2002-11-22 10:40:05 +0000 (Fri, 22 Nov 2002) | 2 lines Changed paths: M /trunk/ui_pow.c forgot to remove debug statement ------------------------------------------------------------------------ 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 fixed bug (infinite loop) for exact powers ------------------------------------------------------------------------ r2082 | ryde | 2002-11-21 22:28:44 +0000 (Thu, 21 Nov 2002) | 3 lines Changed paths: M /trunk/TODO More on tuned thresholds, more on config.h etc, new section on mpf/mpfr integration. ------------------------------------------------------------------------ r2081 | vlefevre | 2002-11-20 14:34:08 +0000 (Wed, 20 Nov 2002) | 2 lines Changed paths: M /trunk/get_str.c Code clean-up. ------------------------------------------------------------------------ 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 fixed some problems found by insure ------------------------------------------------------------------------ r2079 | zimmerma | 2002-11-20 11:03:21 +0000 (Wed, 20 Nov 2002) | 2 lines Changed paths: M /trunk/tests/tout_str.c forgotten fclose() call ------------------------------------------------------------------------ r2078 | zimmerma | 2002-11-20 10:13:01 +0000 (Wed, 20 Nov 2002) | 2 lines Changed paths: M /trunk/tests/tget_str.c fixed array bound write ------------------------------------------------------------------------ r2077 | zimmerma | 2002-11-19 16:46:45 +0000 (Tue, 19 Nov 2002) | 2 lines Changed paths: M /trunk/get_str.c fixed non-ansi features ------------------------------------------------------------------------ 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 added explicit cast ------------------------------------------------------------------------ r2075 | zimmerma | 2002-10-24 12:04:59 +0000 (Thu, 24 Oct 2002) | 2 lines Changed paths: M /trunk/mpfr.texi added mpfr_cbrt ------------------------------------------------------------------------ r2074 | vlefevre | 2002-10-20 09:46:03 +0000 (Sun, 20 Oct 2002) | 2 lines Changed paths: M /trunk/BUGS Update. ------------------------------------------------------------------------ r2073 | zimmerma | 2002-10-20 07:43:07 +0000 (Sun, 20 Oct 2002) | 2 lines Changed paths: M /trunk/sin.c fixed bug with wrong sign detection ------------------------------------------------------------------------ r2072 | vlefevre | 2002-10-19 10:25:49 +0000 (Sat, 19 Oct 2002) | 2 lines Changed paths: M /trunk/hypot.c Some fixes to avoid overflows. ------------------------------------------------------------------------ r2071 | zimmerma | 2002-10-19 08:08:47 +0000 (Sat, 19 Oct 2002) | 2 lines Changed paths: M /trunk/hypot.c fixed bug for large arguments ------------------------------------------------------------------------ r2070 | zimmerma | 2002-10-19 08:08:15 +0000 (Sat, 19 Oct 2002) | 2 lines Changed paths: M /trunk/cbrt.c improved code for rounding to nearest ------------------------------------------------------------------------ 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 fixed bug for EXP(x) > EMAX/2 ------------------------------------------------------------------------ r2068 | zimmerma | 2002-10-19 08:04:51 +0000 (Sat, 19 Oct 2002) | 2 lines Changed paths: M /trunk/algorithms.tex modified description of hypot and cbrt ------------------------------------------------------------------------ r2067 | vlefevre | 2002-10-18 14:57:01 +0000 (Fri, 18 Oct 2002) | 2 lines Changed paths: M /trunk/BUGS Update. ------------------------------------------------------------------------ r2066 | vlefevre | 2002-10-18 14:53:53 +0000 (Fri, 18 Oct 2002) | 2 lines Changed paths: M /trunk/tests/tsin.c Added test showing bug in sign detection. ------------------------------------------------------------------------ r2065 | vlefevre | 2002-10-18 13:45:02 +0000 (Fri, 18 Oct 2002) | 2 lines Changed paths: M /trunk/tests/thypot.c Added newline. ------------------------------------------------------------------------ r2064 | vlefevre | 2002-10-18 12:39:07 +0000 (Fri, 18 Oct 2002) | 2 lines Changed paths: M /trunk/BUGS Bug in mpfr_hypot. ------------------------------------------------------------------------ r2063 | vlefevre | 2002-10-18 12:26:16 +0000 (Fri, 18 Oct 2002) | 2 lines Changed paths: M /trunk/tests/thypot.c Added test that makes mpfr_hypot fail. ------------------------------------------------------------------------ r2062 | vlefevre | 2002-10-18 12:06:17 +0000 (Fri, 18 Oct 2002) | 2 lines Changed paths: M /trunk/hypot.c Precision Nt: int -> mp_prec_t. ------------------------------------------------------------------------ r2061 | vlefevre | 2002-10-18 10:21:31 +0000 (Fri, 18 Oct 2002) | 2 lines Changed paths: M /trunk/tests/tcbrt.c Added some tests. ------------------------------------------------------------------------ r2060 | vlefevre | 2002-10-18 09:58:41 +0000 (Fri, 18 Oct 2002) | 2 lines Changed paths: M /trunk/tests/tcbrt.c main () -> main (void). ------------------------------------------------------------------------ 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 added tcbrt.c, test file for mpfr_cbrt ------------------------------------------------------------------------ r2058 | zimmerma | 2002-10-18 06:58:51 +0000 (Fri, 18 Oct 2002) | 2 lines Changed paths: M /trunk/hypot.c fixed overflow problem ------------------------------------------------------------------------ r2057 | zimmerma | 2002-10-18 06:58:08 +0000 (Fri, 18 Oct 2002) | 2 lines Changed paths: M /trunk/cbrt.c completely rewritten using mpz_root ------------------------------------------------------------------------ r2056 | zimmerma | 2002-10-18 06:57:14 +0000 (Fri, 18 Oct 2002) | 2 lines Changed paths: M /trunk/Makefile.am added cbrt ------------------------------------------------------------------------ r2055 | vlefevre | 2002-10-17 16:48:10 +0000 (Thu, 17 Oct 2002) | 2 lines Changed paths: M /trunk/mpfr.texi C9X -> ISO/IEC 9899:1999 (ISO C99). ------------------------------------------------------------------------ r2054 | vlefevre | 2002-10-17 16:03:57 +0000 (Thu, 17 Oct 2002) | 2 lines Changed paths: M /trunk/set_ld.c Cases NaN and -0.0 taken into account. ------------------------------------------------------------------------ r2053 | zimmerma | 2002-10-17 15:37:00 +0000 (Thu, 17 Oct 2002) | 2 lines Changed paths: M /trunk/tests/tset_ld.c added check for +0 and -0 ------------------------------------------------------------------------ r2052 | zimmerma | 2002-10-17 15:13:09 +0000 (Thu, 17 Oct 2002) | 2 lines Changed paths: M /trunk/tests/tset_ld.c added one test (2^1024) ------------------------------------------------------------------------ r2051 | zimmerma | 2002-10-17 15:11:54 +0000 (Thu, 17 Oct 2002) | 2 lines Changed paths: M /trunk/set_ld.c fixed bug when overflow for double type ------------------------------------------------------------------------ r2050 | zimmerma | 2002-10-17 12:56:49 +0000 (Thu, 17 Oct 2002) | 2 lines Changed paths: M /trunk/mpfr.texi added mpfr_set_ld and mpfr_get_ld ------------------------------------------------------------------------ r2049 | vlefevre | 2002-10-16 18:37:48 +0000 (Wed, 16 Oct 2002) | 2 lines Changed paths: M /trunk/get_ld.c Fix for -0.0. ------------------------------------------------------------------------ r2048 | zimmerma | 2002-10-16 18:21:54 +0000 (Wed, 16 Oct 2002) | 2 lines Changed paths: A /trunk/log_b2.h constants for mpfr_get_str and mpfr_set_str ------------------------------------------------------------------------ r2047 | vlefevre | 2002-10-16 16:25:56 +0000 (Wed, 16 Oct 2002) | 2 lines Changed paths: M /trunk/tests/tset_ld.c Obsolete comment removed. ------------------------------------------------------------------------ r2046 | vlefevre | 2002-10-16 16:23:35 +0000 (Wed, 16 Oct 2002) | 2 lines Changed paths: M /trunk/Makefile.am Removed log_b2.h as it doesn't seem to be necessary. ------------------------------------------------------------------------ r2045 | zimmerma | 2002-10-16 15:41:24 +0000 (Wed, 16 Oct 2002) | 2 lines Changed paths: M /trunk/mpfr.h added prototype for mpfr_get_ld ------------------------------------------------------------------------ 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 added mpfr_get_ld and tests for set_ld/get_ld ------------------------------------------------------------------------ r2043 | zimmerma | 2002-10-16 15:38:46 +0000 (Wed, 16 Oct 2002) | 2 lines Changed paths: M /trunk/set_ld.c added cast to long double ------------------------------------------------------------------------ r2042 | vlefevre | 2002-10-16 10:08:09 +0000 (Wed, 16 Oct 2002) | 2 lines Changed paths: M /trunk/TODO Update (tset_ld). ------------------------------------------------------------------------ r2041 | vlefevre | 2002-10-16 08:13:25 +0000 (Wed, 16 Oct 2002) | 4 lines Changed paths: M /trunk/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. ------------------------------------------------------------------------ r2040 | vlefevre | 2002-10-16 07:38:15 +0000 (Wed, 16 Oct 2002) | 2 lines Changed paths: M /trunk/set_ld.c DBL_MANT_DIG and LDBL_MANT_DIG are normally defined by . ------------------------------------------------------------------------ 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 added mpfr_set_ld and test file ------------------------------------------------------------------------ r2038 | vlefevre | 2002-10-13 14:12:46 +0000 (Sun, 13 Oct 2002) | 2 lines Changed paths: M /trunk/BUGS Bug in mpfr_sin (and perhaps other functions): error analysis. ------------------------------------------------------------------------ r2037 | vlefevre | 2002-10-13 13:54:45 +0000 (Sun, 13 Oct 2002) | 2 lines Changed paths: M /trunk/atan.c Bug fixed (found by Dmitrii Baksheyev): atan(1) cannot be exact. ------------------------------------------------------------------------ r2036 | ryde | 2002-10-08 01:41:21 +0000 (Tue, 08 Oct 2002) | 5 lines Changed paths: M /trunk/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. ------------------------------------------------------------------------ r2035 | ryde | 2002-10-08 01:38:34 +0000 (Tue, 08 Oct 2002) | 2 lines Changed paths: M /trunk/acinclude.m4 (AC_MY_LIBS): Show the filename in the error message. ------------------------------------------------------------------------ r2034 | zimmerma | 2002-10-04 14:32:53 +0000 (Fri, 04 Oct 2002) | 2 lines Changed paths: M /trunk/mpf2mpfr.h mpfr_get_default_prec was missing (thanks to F. Morain) ------------------------------------------------------------------------ r2033 | vlefevre | 2002-09-30 12:22:28 +0000 (Mon, 30 Sep 2002) | 3 lines Changed paths: M /trunk/BUGS Removed get_str.c bug, as the mpfr_get_str function has completely been rewritten. ------------------------------------------------------------------------ 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) ------------------------------------------------------------------------ r2031 | zimmerma | 2002-09-26 08:00:09 +0000 (Thu, 26 Sep 2002) | 2 lines Changed paths: M /trunk/tests/tsub.c added test for inexact flag (bug found by Andreas Enge) ------------------------------------------------------------------------ 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 (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 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 added more tests for mpfr_urandomb, and for small precision ------------------------------------------------------------------------ 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 fixed bugs in mpfr_random2 (wrong exponent, invalid numbers) ------------------------------------------------------------------------ r2026 | zimmerma | 2002-09-23 08:42:28 +0000 (Mon, 23 Sep 2002) | 2 lines Changed paths: M /trunk/tests/trandom.c added checks for mpfr_random2 ------------------------------------------------------------------------ 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 cmp_abs -> cmpabs (for compatibility with mpz) ------------------------------------------------------------------------ r2024 | ryde | 2002-09-21 22:57:26 +0000 (Sat, 21 Sep 2002) | 3 lines Changed paths: M /trunk/mpfr.texi (Converting Floats): Don't refer to the internal _mp_free_func with mpfr_get_str. ------------------------------------------------------------------------ r2023 | ryde | 2002-09-21 22:51:58 +0000 (Sat, 21 Sep 2002) | 2 lines Changed paths: M /trunk/mpfr.texi (Special Functions, Internals): Make these into nodes. ------------------------------------------------------------------------ r2022 | zimmerma | 2002-09-20 16:11:47 +0000 (Fri, 20 Sep 2002) | 2 lines Changed paths: M /trunk/set_str.c now accept uppercase letters too ------------------------------------------------------------------------ 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 | vlefevre | 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 | vlefevre | 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 ------------------------------------------------------------------------ r2016 | vlefevre | 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. ------------------------------------------------------------------------ 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. ------------------------------------------------------------------------ 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-07-26 17:53:53 +0000 (Fri, 26 Jul 2002) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r2003 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-07-24 15:05:51 +0000 (Wed, 24 Jul 2002) | 2 lines Changed paths: M /trunk/set.c Bug fixed (0 was forgotten). ------------------------------------------------------------------------ r1989 | vlefevre | 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! ------------------------------------------------------------------------ r1988 | vlefevre | 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. ------------------------------------------------------------------------ r1987 | vlefevre | 2002-07-24 09:59:01 +0000 (Wed, 24 Jul 2002) | 2 lines Changed paths: M /trunk/isnum.c Simpler test. ------------------------------------------------------------------------ r1986 | vlefevre | 2002-07-23 17:19:47 +0000 (Tue, 23 Jul 2002) | 2 lines Changed paths: A /trunk/mul.c Re-adding mul.c with fixed permissions. ------------------------------------------------------------------------ r1985 | vlefevre | 2002-07-23 17:18:56 +0000 (Tue, 23 Jul 2002) | 2 lines Changed paths: D /trunk/mul.c Temporarily removing mul.c in order to try to fix its permissions. ------------------------------------------------------------------------ r1984 | vlefevre | 2002-07-23 16:22:08 +0000 (Tue, 23 Jul 2002) | 2 lines Changed paths: M /trunk/mul.c Fixed permissions. ------------------------------------------------------------------------ r1983 | vlefevre | 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 Function mpfr_check_range improved in the underflow case. ------------------------------------------------------------------------ r1982 | vlefevre | 2002-07-22 15:52:33 +0000 (Mon, 22 Jul 2002) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r1981 | zimmerma | 2002-07-22 15:22:13 +0000 (Mon, 22 Jul 2002) | 2 lines Changed paths: M /trunk/dump.c now dump in base 2 ------------------------------------------------------------------------ r1980 | zimmerma | 2002-07-22 15:11:50 +0000 (Mon, 22 Jul 2002) | 2 lines Changed paths: M /trunk/tests/tget_str.c forgot one free() call ------------------------------------------------------------------------ r1979 | vlefevre | 2002-07-22 13:57:15 +0000 (Mon, 22 Jul 2002) | 2 lines Changed paths: M /trunk/BUGS mpfr_pow bug removed. ------------------------------------------------------------------------ r1978 | vlefevre | 2002-07-22 13:54:55 +0000 (Mon, 22 Jul 2002) | 2 lines Changed paths: M /trunk/pow.c Reindentation. ------------------------------------------------------------------------ r1977 | vlefevre | 2002-07-22 13:51:20 +0000 (Mon, 22 Jul 2002) | 3 lines Changed paths: M /trunk/pow.c M /trunk/tests/tpow.c pow.c: bug fixed (in the call to mpfr_can_round). tpow.c: mpfr_clear added. ------------------------------------------------------------------------ r1976 | vlefevre | 2002-07-22 13:26:54 +0000 (Mon, 22 Jul 2002) | 2 lines Changed paths: M /trunk/tests/tpow.c Modified the two tests to make the bug appear. ------------------------------------------------------------------------ r1975 | zimmerma | 2002-07-22 09:37:31 +0000 (Mon, 22 Jul 2002) | 2 lines Changed paths: M /trunk/tests/tpow.c added two tests ------------------------------------------------------------------------ r1974 | vlefevre | 2002-07-19 15:31:23 +0000 (Fri, 19 Jul 2002) | 2 lines Changed paths: M /trunk/README.dev Updated note concerning rcs2log. ------------------------------------------------------------------------ r1973 | vlefevre | 2002-07-19 11:31:30 +0000 (Fri, 19 Jul 2002) | 2 lines Changed paths: M /trunk/TODO Line mpfr_get_exp / mpfr_set_exp removed. ------------------------------------------------------------------------ r1972 | zimmerma | 2002-07-16 15:33:31 +0000 (Tue, 16 Jul 2002) | 2 lines Changed paths: M /trunk/tests/tget_str.c added function check_large ------------------------------------------------------------------------ r1971 | vlefevre | 2002-07-15 13:16:15 +0000 (Mon, 15 Jul 2002) | 2 lines Changed paths: M /trunk/config.guess M /trunk/config.sub Update from ftp://ftp.gnu.org/pub/gnu/config/ ------------------------------------------------------------------------ r1970 | vlefevre | 2002-07-14 23:44:41 +0000 (Sun, 14 Jul 2002) | 2 lines Changed paths: M /trunk/mpfr-math.h Add __sparc__ (patch by Nix ). ------------------------------------------------------------------------ r1969 | vlefevre | 2002-07-14 23:39:13 +0000 (Sun, 14 Jul 2002) | 2 lines Changed paths: M /trunk/TODO Note about randomized tests. ------------------------------------------------------------------------ r1968 | vlefevre | 2002-07-04 15:09:17 +0000 (Thu, 04 Jul 2002) | 2 lines Changed paths: M /trunk/BUGS Bug concerning the rounding of pow(). ------------------------------------------------------------------------ r1967 | vlefevre | 2002-07-04 14:26:00 +0000 (Thu, 04 Jul 2002) | 2 lines Changed paths: M /trunk/pow.c mpfr_pow() didn't work when the exponent was a negative integer. ------------------------------------------------------------------------ r1966 | vlefevre | 2002-07-04 14:25:40 +0000 (Thu, 04 Jul 2002) | 2 lines Changed paths: M /trunk/get_z_exp.c mpfr_get_z_exp() didn't work when the MPFR number was negative. ------------------------------------------------------------------------ r1965 | vlefevre | 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 New functions mpfr_get_exp and mpfr_set_exp. ------------------------------------------------------------------------ r1964 | zimmerma | 2002-06-27 14:07:06 +0000 (Thu, 27 Jun 2002) | 2 lines Changed paths: M /trunk/TODO removed duplicated entry (thread-safe) ------------------------------------------------------------------------ r1963 | zimmerma | 2002-06-27 13:57:23 +0000 (Thu, 27 Jun 2002) | 2 lines Changed paths: M /trunk/TODO added new items ------------------------------------------------------------------------ r1962 | zimmerma | 2002-06-27 12:55:03 +0000 (Thu, 27 Jun 2002) | 2 lines Changed paths: M /trunk/tests/tpow.c added special cases ------------------------------------------------------------------------ r1961 | zimmerma | 2002-06-27 12:50:36 +0000 (Thu, 27 Jun 2002) | 2 lines Changed paths: M /trunk/algorithms.tex added one reference (nocite) ------------------------------------------------------------------------ r1960 | zimmerma | 2002-06-27 12:50:15 +0000 (Thu, 27 Jun 2002) | 2 lines Changed paths: M /trunk/algorithms.bib added one reference ------------------------------------------------------------------------ r1959 | zimmerma | 2002-06-27 12:49:01 +0000 (Thu, 27 Jun 2002) | 2 lines Changed paths: M /trunk/inp_str.c fixed bug in return value ------------------------------------------------------------------------ r1958 | zimmerma | 2002-06-27 12:30:03 +0000 (Thu, 27 Jun 2002) | 2 lines Changed paths: M /trunk/TODO new additions ------------------------------------------------------------------------ r1957 | zimmerma | 2002-06-27 09:31:01 +0000 (Thu, 27 Jun 2002) | 2 lines Changed paths: M /trunk/mpfr.texi added pointer to mpfr_inp_str in mpfr_set_str ------------------------------------------------------------------------ r1956 | vlefevre | 2002-06-26 23:55:24 +0000 (Wed, 26 Jun 2002) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r1955 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-06-12 22:30:26 +0000 (Wed, 12 Jun 2002) | 2 lines Changed paths: M /trunk/TODO Added modf (to implement). ------------------------------------------------------------------------ r1949 | vlefevre | 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 | vlefevre | 2002-06-08 22:45:57 +0000 (Sat, 08 Jun 2002) | 2 lines Changed paths: M /trunk/mpfr.texi Patch by Kevin Ryde. ------------------------------------------------------------------------ r1947 | vlefevre | 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 | vlefevre | 2002-06-08 02:25:49 +0000 (Sat, 08 Jun 2002) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r1945 | vlefevre | 2002-06-08 02:20:00 +0000 (Sat, 08 Jun 2002) | 2 lines Changed paths: M /trunk/README fdl.texi added. ------------------------------------------------------------------------ r1944 | vlefevre | 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 | vlefevre | 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 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-05-14 23:14:53 +0000 (Tue, 14 May 2002) | 2 lines Changed paths: M /trunk/TODO Ternary flag for mpfr_agm. ------------------------------------------------------------------------ r1930 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-04-27 23:13:33 +0000 (Sat, 27 Apr 2002) | 2 lines Changed paths: M /trunk/mpfr.texi not relevant -> undefined. ------------------------------------------------------------------------ r1921 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 mpfr_set_str doesn't require any more a final '\0' and return the number of characters read ------------------------------------------------------------------------ r1916 | zimmerma | 2002-04-25 09:02:31 +0000 (Thu, 25 Apr 2002) | 2 lines Changed paths: M /trunk/tests/tset_str.c modified tests for special values ------------------------------------------------------------------------ r1915 | vlefevre | 2002-04-24 10:25:02 +0000 (Wed, 24 Apr 2002) | 2 lines Changed paths: M /trunk/cmp_abs.c Description updated. ------------------------------------------------------------------------ r1914 | vlefevre | 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. ------------------------------------------------------------------------ r1913 | vlefevre | 2002-04-24 10:21:15 +0000 (Wed, 24 Apr 2002) | 2 lines Changed paths: M /trunk/cmp_abs.c mpfr_cmp_abs can now be called on zero numbers. ------------------------------------------------------------------------ r1912 | vlefevre | 2002-04-24 00:21:46 +0000 (Wed, 24 Apr 2002) | 2 lines Changed paths: M /trunk/mpfr-math.h Structures are used to get correct alignment. ------------------------------------------------------------------------ r1911 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-04-15 16:23:49 +0000 (Mon, 15 Apr 2002) | 2 lines Changed paths: M /trunk/README Typo: Gnu -> GNU. ------------------------------------------------------------------------ r1886 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-04-15 12:34:08 +0000 (Mon, 15 Apr 2002) | 2 lines Changed paths: M /trunk/BUGS Update. ------------------------------------------------------------------------ r1875 | vlefevre | 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 | vlefevre | 2002-04-14 22:55:55 +0000 (Sun, 14 Apr 2002) | 2 lines Changed paths: M /trunk/INSTALL Update. ------------------------------------------------------------------------ r1873 | vlefevre | 2002-04-14 15:53:55 +0000 (Sun, 14 Apr 2002) | 2 lines Changed paths: M /trunk/mpfr.texi Removed useless @iftex... ------------------------------------------------------------------------ r1872 | vlefevre | 2002-04-14 11:14:31 +0000 (Sun, 14 Apr 2002) | 2 lines Changed paths: M /trunk/TODO Update. ------------------------------------------------------------------------ r1871 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-04-13 01:40:03 +0000 (Sat, 13 Apr 2002) | 2 lines Changed paths: M /trunk/acinclude.m4 Bug fixed. ------------------------------------------------------------------------ r1867 | vlefevre | 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 | vlefevre | 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. ------------------------------------------------------------------------ r1865 | vlefevre | 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 Code clean-up. ------------------------------------------------------------------------ r1864 | vlefevre | 2002-04-12 14:51:26 +0000 (Fri, 12 Apr 2002) | 2 lines Changed paths: M /trunk/ChangeLog Update for the next pre-release. ------------------------------------------------------------------------ r1863 | vlefevre | 2002-04-12 14:29:58 +0000 (Fri, 12 Apr 2002) | 2 lines Changed paths: M /trunk/tests/tget_d.c New tests. ------------------------------------------------------------------------ r1862 | vlefevre | 2002-04-12 14:29:49 +0000 (Fri, 12 Apr 2002) | 2 lines Changed paths: M /trunk/BUGS M /trunk/get_d.c mpfr_get_d* fixed. ------------------------------------------------------------------------ r1861 | vlefevre | 2002-04-12 10:25:34 +0000 (Fri, 12 Apr 2002) | 2 lines Changed paths: M /trunk/INSTALL M /trunk/const_log2.c Types fixed in const_log2.c (this fixes the tconst_log2 crash). ------------------------------------------------------------------------ r1860 | vlefevre | 2002-04-12 09:58:11 +0000 (Fri, 12 Apr 2002) | 2 lines Changed paths: M /trunk/README.dev Added a note about the native SunOS 4 C compiler. ------------------------------------------------------------------------ r1859 | vlefevre | 2002-04-11 22:37:48 +0000 (Thu, 11 Apr 2002) | 2 lines Changed paths: M /trunk/tests/tconst_log2.c Type fixed. ------------------------------------------------------------------------ r1858 | vlefevre | 2002-04-11 16:42:20 +0000 (Thu, 11 Apr 2002) | 2 lines Changed paths: M /trunk/BUGS M /trunk/set_d.c mpfr_set_d bug fixed, but other bugs still remain... ------------------------------------------------------------------------ r1857 | vlefevre | 2002-04-11 16:21:50 +0000 (Thu, 11 Apr 2002) | 2 lines Changed paths: M /trunk/print_rnd_mode.c NULL was undeclared on some architectures (reported by Torbjorn Granlund). ------------------------------------------------------------------------ r1856 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-04-11 03:29:44 +0000 (Thu, 11 Apr 2002) | 2 lines Changed paths: M /trunk/tests/tget_d.c Subnormal test in different rounding modes + fix. ------------------------------------------------------------------------ r1852 | vlefevre | 2002-04-11 02:49:49 +0000 (Thu, 11 Apr 2002) | 2 lines Changed paths: M /trunk/acinclude.m4 M /trunk/configure.in Function MPFR_CONFIGS. ------------------------------------------------------------------------ r1851 | vlefevre | 2002-04-11 01:54:09 +0000 (Thu, 11 Apr 2002) | 2 lines Changed paths: M /trunk/tests/tget_d.c Tests added. ------------------------------------------------------------------------ r1850 | vlefevre | 2002-04-11 01:53:57 +0000 (Thu, 11 Apr 2002) | 2 lines Changed paths: M /trunk/BUGS M /trunk/get_d.c get_d.c partly rewritten (Paul Zimmermann). ------------------------------------------------------------------------ r1849 | vlefevre | 2002-04-11 01:36:49 +0000 (Thu, 11 Apr 2002) | 2 lines Changed paths: M /trunk/set_q.c #include ordering fixed. ------------------------------------------------------------------------ r1848 | vlefevre | 2002-04-11 01:24:20 +0000 (Thu, 11 Apr 2002) | 2 lines Changed paths: M /trunk/configure.in Check for gcc float-conversion bug. ------------------------------------------------------------------------ r1847 | vlefevre | 2002-04-10 23:21:41 +0000 (Wed, 10 Apr 2002) | 2 lines Changed paths: M /trunk/round_prec.c Added comment for mpfr_round_raw_generic (about using 1-bit precision). ------------------------------------------------------------------------ r1846 | vlefevre | 2002-04-10 14:05:52 +0000 (Wed, 10 Apr 2002) | 2 lines Changed paths: M /trunk/mpfr.texi Update (thanks to Nathalie Revol). ------------------------------------------------------------------------ r1845 | vlefevre | 2002-04-10 12:20:13 +0000 (Wed, 10 Apr 2002) | 2 lines Changed paths: M /trunk/ChangeLog Update for the next pre-release. ------------------------------------------------------------------------ r1844 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-04-09 12:49:54 +0000 (Tue, 09 Apr 2002) | 2 lines Changed paths: M /trunk/INSTALL "In case of problem" update. ------------------------------------------------------------------------ r1836 | vlefevre | 2002-04-09 12:40:11 +0000 (Tue, 09 Apr 2002) | 2 lines Changed paths: M /trunk/INSTALL Old URL removed. ------------------------------------------------------------------------ r1835 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-04-07 20:20:15 +0000 (Sun, 07 Apr 2002) | 2 lines Changed paths: M /trunk/BUGS Update. ------------------------------------------------------------------------ r1827 | vlefevre | 2002-04-07 20:10:31 +0000 (Sun, 07 Apr 2002) | 2 lines Changed paths: M /trunk/INSTALL Added note about IRIX. ------------------------------------------------------------------------ r1826 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-04-06 00:54:50 +0000 (Sat, 06 Apr 2002) | 2 lines Changed paths: M /trunk/INSTALL Update. ------------------------------------------------------------------------ r1822 | vlefevre | 2002-04-05 23:56:33 +0000 (Fri, 05 Apr 2002) | 2 lines Changed paths: M /trunk/INSTALL New file from Paul. ------------------------------------------------------------------------ r1821 | vlefevre | 2002-04-05 12:31:59 +0000 (Fri, 05 Apr 2002) | 2 lines Changed paths: M /trunk/Makefile.am COPYING.LIB removed. ------------------------------------------------------------------------ r1820 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-04-04 13:46:23 +0000 (Thu, 04 Apr 2002) | 2 lines Changed paths: M /trunk/configure.in Removed check for extended precision, as no longer used. ------------------------------------------------------------------------ r1808 | zimmerma | 2002-04-04 11:46:32 +0000 (Thu, 04 Apr 2002) | 2 lines Changed paths: M /trunk/tests/tget_d.c added check for denormalized numbers ------------------------------------------------------------------------ r1807 | zimmerma | 2002-04-04 10:19:32 +0000 (Thu, 04 Apr 2002) | 2 lines Changed paths: M /trunk/TODO added new functions to implement ------------------------------------------------------------------------ r1806 | vlefevre | 2002-04-03 16:28:40 +0000 (Wed, 03 Apr 2002) | 2 lines Changed paths: M /trunk/ChangeLog Update for the next pre-release. ------------------------------------------------------------------------ r1805 | vlefevre | 2002-04-03 13:52:42 +0000 (Wed, 03 Apr 2002) | 2 lines Changed paths: M /trunk/configure.in -ffloat-store is a gcc option. ------------------------------------------------------------------------ r1804 | vlefevre | 2002-04-03 13:40:49 +0000 (Wed, 03 Apr 2002) | 2 lines Changed paths: M /trunk/configure.in Added 4th argument to AC_TRY_RUN. ------------------------------------------------------------------------ r1803 | vlefevre | 2002-04-03 12:12:45 +0000 (Wed, 03 Apr 2002) | 2 lines Changed paths: M /trunk/configure.in Re-fix. ------------------------------------------------------------------------ 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 added check for fpu_control.h ------------------------------------------------------------------------ r1801 | zimmerma | 2002-04-03 10:02:27 +0000 (Wed, 03 Apr 2002) | 2 lines Changed paths: M /trunk/tests/tadd.c added missing cast to double ------------------------------------------------------------------------ r1800 | vlefevre | 2002-04-02 23:42:48 +0000 (Tue, 02 Apr 2002) | 2 lines Changed paths: M /trunk/configure.in [ ] used around error message. ------------------------------------------------------------------------ r1799 | vlefevre | 2002-04-02 15:44:50 +0000 (Tue, 02 Apr 2002) | 2 lines Changed paths: M /trunk/ChangeLog Update. ------------------------------------------------------------------------ r1798 | vlefevre | 2002-04-02 15:36:51 +0000 (Tue, 02 Apr 2002) | 2 lines Changed paths: M /trunk/configure.in Check BITS_PER_MP_LIMB and BYTES_PER_MP_LIMB. ------------------------------------------------------------------------ r1797 | vlefevre | 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 sqrtrem.c removed. ------------------------------------------------------------------------ r1796 | vlefevre | 2002-04-02 11:50:27 +0000 (Tue, 02 Apr 2002) | 2 lines Changed paths: M /trunk/ChangeLog New ChangeLog file (generated by rcs2log). ------------------------------------------------------------------------ r1795 | vlefevre | 2002-04-02 11:42:03 +0000 (Tue, 02 Apr 2002) | 2 lines Changed paths: M /trunk/configure.in Suppress PACKAGE and VERSION definitions for the compiler. ------------------------------------------------------------------------ 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 hardware 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 | vlefevre | 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 | vlefevre | 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 removed. Redefined macros ABS removed. ------------------------------------------------------------------------ r1773 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-03-17 22:13:03 +0000 (Sun, 17 Mar 2002) | 2 lines Changed paths: M /trunk/fma.c Some changes in the types. ------------------------------------------------------------------------ r1746 | zimmerma | 2002-03-17 22:13:02 +0000 (Sun, 17 Mar 2002) | 2 lines Changed paths: M /trunk/fma.c changed Nt variable to signed ------------------------------------------------------------------------ r1745 | vlefevre | 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 Bugs fixed. ------------------------------------------------------------------------ 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 added back mpfr_sin_cos ------------------------------------------------------------------------ r1743 | zimmerma | 2002-03-17 17:50:27 +0000 (Sun, 17 Mar 2002) | 2 lines Changed paths: A /trunk/sin_cos.c new version (adapted from sin.c) ------------------------------------------------------------------------ r1742 | zimmerma | 2002-03-17 17:49:08 +0000 (Sun, 17 Mar 2002) | 2 lines Changed paths: M /trunk/tests/ttan.c added tests for tan(3*Pi/4) and tan(7*Pi/4) ------------------------------------------------------------------------ r1741 | zimmerma | 2002-03-17 17:48:38 +0000 (Sun, 17 Mar 2002) | 2 lines Changed paths: M /trunk/tan.c fixed bug for tan(3*Pi/4) [wrong sign] ------------------------------------------------------------------------ r1740 | zimmerma | 2002-03-17 17:27:42 +0000 (Sun, 17 Mar 2002) | 2 lines Changed paths: M /trunk/tests/tlog10.c added test for log(10^n) ------------------------------------------------------------------------ r1739 | zimmerma | 2002-03-17 17:21:31 +0000 (Sun, 17 Mar 2002) | 2 lines Changed paths: M /trunk/log10.c fixed infinite loop problem for log(10^n) ------------------------------------------------------------------------ r1738 | vlefevre | 2002-03-13 01:16:23 +0000 (Wed, 13 Mar 2002) | 2 lines Changed paths: M /trunk/tests/reuse.c Fix (patch by Kevin Ryde). ------------------------------------------------------------------------ r1737 | vlefevre | 2002-03-13 00:44:20 +0000 (Wed, 13 Mar 2002) | 2 lines Changed paths: M /trunk/get_d.c Do not read the exponent if it has no meaning. ------------------------------------------------------------------------ r1736 | vlefevre | 2002-03-12 23:58:10 +0000 (Tue, 12 Mar 2002) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr_random update (patch by Kevin Ryde). ------------------------------------------------------------------------ r1735 | vlefevre | 2002-03-12 23:53:47 +0000 (Tue, 12 Mar 2002) | 2 lines Changed paths: M /trunk/BUGS 2 more known bugs. ------------------------------------------------------------------------ r1734 | vlefevre | 2002-03-12 23:48:06 +0000 (Tue, 12 Mar 2002) | 2 lines Changed paths: M /trunk/mpfr.texi mpfr_a{cos,sin,tan} documentation at a better place. ------------------------------------------------------------------------ r1733 | vlefevre | 2002-03-12 23:43:10 +0000 (Tue, 12 Mar 2002) | 2 lines Changed paths: M /trunk/acos.c Some mpfr_clear added (patch by Kevin Ryde). ------------------------------------------------------------------------ r1732 | vlefevre | 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 mpfr_get_d3 partially rewritten (to follow the new specifications). tget_d.c updated because of changes in get_d.c. ------------------------------------------------------------------------ r1731 | vlefevre | 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 Return a null pointer if rnd_mode is an invalid rounding mode. ------------------------------------------------------------------------ r1730 | zimmerma | 2002-03-11 13:43:18 +0000 (Mon, 11 Mar 2002) | 2 lines Changed paths: M /trunk/set_si.c set sign before calling mpfr_check_range ------------------------------------------------------------------------ r1729 | zimmerma | 2002-03-11 13:40:02 +0000 (Mon, 11 Mar 2002) | 2 lines Changed paths: M /trunk/tests/tset_si.c stupid typo in previous commit ------------------------------------------------------------------------ r1728 | zimmerma | 2002-03-11 13:36:40 +0000 (Mon, 11 Mar 2002) | 2 lines Changed paths: M /trunk/exp_2.c removed expx (not used) ------------------------------------------------------------------------ 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 fixed typo (ai [potentially unsigned] replaced by i) ------------------------------------------------------------------------ r1726 | vlefevre | 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 New mpfr_get_d, mpfr_get_d2, mpfr_get_d3. ------------------------------------------------------------------------ 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 | vlefevre | 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 | vlefevre | 2002-03-11 10:53:10 +0000 (Mon, 11 Mar 2002) | 2 lines Changed paths: M /trunk/BUGS Bug removed. ------------------------------------------------------------------------ r1721 | vlefevre | 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 | vlefevre | 2002-03-06 17:56:06 +0000 (Wed, 06 Mar 2002) | 2 lines Changed paths: M /trunk/BUGS M /trunk/TODO Update. ------------------------------------------------------------------------ r1717 | vlefevre | 2002-03-06 17:05:26 +0000 (Wed, 06 Mar 2002) | 2 lines Changed paths: M /trunk/BUGS Update. ------------------------------------------------------------------------ r1716 | vlefevre | 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 | vlefevre | 2002-03-05 00:13:20 +0000 (Tue, 05 Mar 2002) | 2 lines Changed paths: M /trunk/tests/reuse.c Casts fixed. ------------------------------------------------------------------------ r1714 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 dependencies. ------------------------------------------------------------------------ r1709 | vlefevre | 2002-02-28 00:19:56 +0000 (Thu, 28 Feb 2002) | 2 lines Changed paths: M /trunk/tests/tget_d.c Fixed. ------------------------------------------------------------------------ r1708 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-02-27 14:29:18 +0000 (Wed, 27 Feb 2002) | 2 lines Changed paths: M /trunk/TODO Update. ------------------------------------------------------------------------ r1705 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-02-27 13:57:51 +0000 (Wed, 27 Feb 2002) | 2 lines Changed paths: M /trunk/get_str.c Minor update. ------------------------------------------------------------------------ r1702 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-02-12 15:59:02 +0000 (Tue, 12 Feb 2002) | 2 lines Changed paths: M /trunk/BUGS Update. ------------------------------------------------------------------------ r1690 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-02-08 17:04:01 +0000 (Fri, 08 Feb 2002) | 2 lines Changed paths: M /trunk/mpfr.texi Typo. ------------------------------------------------------------------------ r1685 | vlefevre | 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 change 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 | vlefevre | 2002-02-06 02:57:55 +0000 (Wed, 06 Feb 2002) | 2 lines Changed paths: M /trunk/pow.c Some optimizations. ------------------------------------------------------------------------ r1681 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-01-30 14:57:31 +0000 (Wed, 30 Jan 2002) | 2 lines Changed paths: M /trunk/tests/trint.c Bux fixed. ------------------------------------------------------------------------ r1675 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-01-25 13:43:31 +0000 (Fri, 25 Jan 2002) | 2 lines Changed paths: M /trunk/sqrt.c Code reformatted. ------------------------------------------------------------------------ r1669 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-01-22 02:29:35 +0000 (Tue, 22 Jan 2002) | 2 lines Changed paths: M /trunk/mul_ui.c Fix (Kevin Ryde). ------------------------------------------------------------------------ r1666 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-01-18 15:40:30 +0000 (Fri, 18 Jan 2002) | 2 lines Changed paths: M /trunk/fma.c Cases 0 * 0 + 0. ------------------------------------------------------------------------ r1659 | vlefevre | 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 | vlefevre | 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 indentation + replace "" -> <> in header ------------------------------------------------------------------------ r1655 | vlefevre | 2002-01-17 21:45:41 +0000 (Thu, 17 Jan 2002) | 2 lines Changed paths: M /trunk/fma.c Particular cases rewritten. ------------------------------------------------------------------------ r1654 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2002-01-16 15:14:09 +0000 (Wed, 16 Jan 2002) | 2 lines Changed paths: M /trunk/div.c Comments were incorrect. ------------------------------------------------------------------------ r1651 | vlefevre | 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 | vlefevre | 2002-01-14 13:09:42 +0000 (Mon, 14 Jan 2002) | 2 lines Changed paths: M /trunk/div.c Special cases. ------------------------------------------------------------------------ r1649 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2001-12-06 12:37:05 +0000 (Thu, 06 Dec 2001) | 2 lines Changed paths: M /trunk/BUGS Removed 2 bugs. ------------------------------------------------------------------------ r1625 | vlefevre | 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 in check5, test NaNs before calling mpfr_cmp ------------------------------------------------------------------------ r1620 | zimmerma | 2001-12-05 16:26:56 +0000 (Wed, 05 Dec 2001) | 2 lines Changed paths: M /trunk/tests/reuse.c added acos ------------------------------------------------------------------------ r1619 | zimmerma | 2001-12-05 16:26:34 +0000 (Wed, 05 Dec 2001) | 2 lines Changed paths: M /trunk/Makefile.am added acos.c ------------------------------------------------------------------------ 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2001-11-30 14:29:38 +0000 (Fri, 30 Nov 2001) | 2 lines Changed paths: M /trunk/set_prec.c Misc fixes. ------------------------------------------------------------------------ r1607 | vlefevre | 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 | vlefevre | 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. ------------------------------------------------------------------------ r1593 | vlefevre | 2001-11-30 00:10:52 +0000 (Fri, 30 Nov 2001) | 2 lines Changed paths: M /trunk/set_z.c 0 -> set to +0. ------------------------------------------------------------------------ r1592 | vlefevre | 2001-11-30 00:07:36 +0000 (Fri, 30 Nov 2001) | 2 lines Changed paths: M /trunk/mul.c Better sign comparison. ------------------------------------------------------------------------ r1591 | vlefevre | 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 Use MPFR_SET_POS. ------------------------------------------------------------------------ r1590 | vlefevre | 2001-11-29 14:23:12 +0000 (Thu, 29 Nov 2001) | 2 lines Changed paths: M /trunk/trunc.c Bug fixed concerning integer overflows. ------------------------------------------------------------------------ r1589 | zimmerma | 2001-11-29 09:43:55 +0000 (Thu, 29 Nov 2001) | 2 lines Changed paths: M /trunk/init2.c added comment ------------------------------------------------------------------------ r1588 | zimmerma | 2001-11-29 09:43:35 +0000 (Thu, 29 Nov 2001) | 2 lines Changed paths: M /trunk/cos.c fixed bug for small precision, where r can be >= 1 ------------------------------------------------------------------------ r1587 | vlefevre | 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 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. ------------------------------------------------------------------------ r1586 | vlefevre | 2001-11-28 17:57:53 +0000 (Wed, 28 Nov 2001) | 2 lines Changed paths: M /trunk/minmax.c Particular cases (NaN and signed zeros). ------------------------------------------------------------------------ r1585 | vlefevre | 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 Init variables to NaN instead of 0. ------------------------------------------------------------------------ r1584 | vlefevre | 2001-11-28 17:09:37 +0000 (Wed, 28 Nov 2001) | 2 lines Changed paths: M /trunk/atan.c Possible integer overflow fixed. ------------------------------------------------------------------------ r1583 | vlefevre | 2001-11-28 16:54:20 +0000 (Wed, 28 Nov 2001) | 2 lines Changed paths: M /trunk/asin.c M /trunk/atan.c Particular cases fixed. ------------------------------------------------------------------------ r1582 | vlefevre | 2001-11-25 15:24:31 +0000 (Sun, 25 Nov 2001) | 2 lines Changed paths: M /trunk/trunc.c Overflow support. ------------------------------------------------------------------------ r1581 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2001-11-25 06:53:41 +0000 (Sun, 25 Nov 2001) | 2 lines Changed paths: M /trunk/mul_ui.c Overflow support. ------------------------------------------------------------------------ r1577 | vlefevre | 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 | vlefevre | 2001-11-23 16:39:25 +0000 (Fri, 23 Nov 2001) | 2 lines Changed paths: M /trunk/mul.c Minor change. ------------------------------------------------------------------------ r1575 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2001-11-22 15:32:44 +0000 (Thu, 22 Nov 2001) | 2 lines Changed paths: M /trunk/BUGS More bugs. ------------------------------------------------------------------------ r1572 | vlefevre | 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 | vlefevre | 2001-11-21 20:40:47 +0000 (Wed, 21 Nov 2001) | 2 lines Changed paths: M /trunk/exceptions.c Bug fixed. ------------------------------------------------------------------------ r1570 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2001-11-20 14:10:05 +0000 (Tue, 20 Nov 2001) | 2 lines Changed paths: M /trunk/tests/tround.c Test added. ------------------------------------------------------------------------ r1566 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2001-11-17 03:58:19 +0000 (Sat, 17 Nov 2001) | 2 lines Changed paths: M /trunk/sub1.c Some type changes. ------------------------------------------------------------------------ r1562 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 1 -> MP_LIMB_T_ONE ------------------------------------------------------------------------ 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 1 -> BITS_PER_MP_LIMB ------------------------------------------------------------------------ r1513 | zimmerma | 2001-11-16 10:10:48 +0000 (Fri, 16 Nov 2001) | 3 lines Changed paths: M /trunk/euler.c added static to local functions removed prototype already in mpfr.h ------------------------------------------------------------------------ r1512 | zimmerma | 2001-11-16 10:10:29 +0000 (Fri, 16 Nov 2001) | 2 lines Changed paths: M /trunk/exp2.c removed mpfr_exp2_si (not used) ------------------------------------------------------------------------ r1511 | zimmerma | 2001-11-16 10:10:07 +0000 (Fri, 16 Nov 2001) | 3 lines Changed paths: M /trunk/exp3.c added static to local functions translated french comments to english ------------------------------------------------------------------------ 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 translated french comments to english removed prototype already in mpfr.h ------------------------------------------------------------------------ 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 ------------------------------------------------------------------------ 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 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 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 does not include stdio.h any more ------------------------------------------------------------------------ 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 remove some name of variables ------------------------------------------------------------------------ r1479 | vlefevre | 2001-11-08 17:14:01 +0000 (Thu, 08 Nov 2001) | 2 lines Changed paths: M /trunk/cmp2.c D /trunk/pow2.c cmp2.c: Integer overflows checked. ------------------------------------------------------------------------ r1478 | vlefevre | 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 Update. ------------------------------------------------------------------------ r1477 | vlefevre | 2001-11-08 16:42:30 +0000 (Thu, 08 Nov 2001) | 2 lines Changed paths: M /trunk/mpfr.h Fix. ------------------------------------------------------------------------ r1476 | daney | 2001-11-08 16:37:47 +0000 (Thu, 08 Nov 2001) | 2 lines Changed paths: M /trunk/mpfr.h suppress variable name in dim min max ------------------------------------------------------------------------ r1475 | daney | 2001-11-08 16:23:29 +0000 (Thu, 08 Nov 2001) | 2 lines Changed paths: A /trunk/isinteger.c export isinteger in the file isinteger.c ------------------------------------------------------------------------ r1474 | daney | 2001-11-08 16:21:56 +0000 (Thu, 08 Nov 2001) | 2 lines Changed paths: A /trunk/pow_si.c exporte pow_si from pow2.c to pow_si.c ------------------------------------------------------------------------ r1473 | daney | 2001-11-08 16:21:06 +0000 (Thu, 08 Nov 2001) | 2 lines Changed paths: M /trunk/pow.c rename pow2.c in pow.c (source for mpfr_pow) ------------------------------------------------------------------------ r1472 | daney | 2001-11-08 16:19:49 +0000 (Thu, 08 Nov 2001) | 2 lines Changed paths: A /trunk/ui_pow_ui.c add ui_pow_ui.c (initially in pow.c) ------------------------------------------------------------------------ r1471 | daney | 2001-11-08 16:19:18 +0000 (Thu, 08 Nov 2001) | 2 lines Changed paths: A /trunk/pow_ui.c add pow_ui.c file (initially in pow.c) ------------------------------------------------------------------------ r1470 | vlefevre | 2001-11-08 15:56:09 +0000 (Thu, 08 Nov 2001) | 2 lines Changed paths: M /trunk/cmp2.c M /trunk/mpfr-impl.h mpfr_cmp2: return type changed to mp_prec_t. ------------------------------------------------------------------------ r1469 | daney | 2001-11-08 14:53:54 +0000 (Thu, 08 Nov 2001) | 2 lines Changed paths: M /trunk/tests/reuse.c add function test4 for 3 input test + fma tests ------------------------------------------------------------------------ r1468 | vlefevre | 2001-11-08 03:04:00 +0000 (Thu, 08 Nov 2001) | 2 lines Changed paths: M /trunk/mpfr.h Macros added. ------------------------------------------------------------------------ r1467 | vlefevre | 2001-11-08 02:15:36 +0000 (Thu, 08 Nov 2001) | 2 lines Changed paths: M /trunk/add.c MP_LIMB_T_MAX instead of (mp_limb_t) -1 (a little nicer...). ------------------------------------------------------------------------ r1466 | vlefevre | 2001-11-06 17:05:41 +0000 (Tue, 06 Nov 2001) | 2 lines Changed paths: M /trunk/round.c Code clean-up. ------------------------------------------------------------------------ r1465 | vlefevre | 2001-11-05 15:44:24 +0000 (Mon, 05 Nov 2001) | 2 lines Changed paths: M /trunk/exceptions.c Prototypes for K&R C. ------------------------------------------------------------------------ r1464 | vlefevre | 2001-11-05 09:58:14 +0000 (Mon, 05 Nov 2001) | 2 lines Changed paths: M /trunk/round.c mpfr_round_raw_generic prototype fixed. ------------------------------------------------------------------------ r1463 | daney | 2001-11-01 14:15:23 +0000 (Thu, 01 Nov 2001) | 2 lines Changed paths: M /trunk/asin.c clear xp for Nan Inf or 0 are returned ------------------------------------------------------------------------ r1462 | daney | 2001-11-01 14:11:48 +0000 (Thu, 01 Nov 2001) | 2 lines Changed paths: M /trunk/tests/thyperbolic.c clear variable if an error is return ------------------------------------------------------------------------ r1461 | daney | 2001-11-01 14:10:50 +0000 (Thu, 01 Nov 2001) | 2 lines Changed paths: M /trunk/atanh.c clear x for Nan inf 0 return ------------------------------------------------------------------------ r1460 | daney | 2001-11-01 14:10:10 +0000 (Thu, 01 Nov 2001) | 2 lines Changed paths: M /trunk/asinh.c clear x for Nan Inf 0 return ------------------------------------------------------------------------ r1459 | daney | 2001-11-01 14:05:15 +0000 (Thu, 01 Nov 2001) | 2 lines Changed paths: M /trunk/expm1.c clear te ------------------------------------------------------------------------ r1458 | vlefevre | 2001-11-01 12:20:32 +0000 (Thu, 01 Nov 2001) | 2 lines Changed paths: M /trunk/tests/tpow.c Added prototype. ------------------------------------------------------------------------ r1457 | vlefevre | 2001-11-01 11:53:58 +0000 (Thu, 01 Nov 2001) | 2 lines Changed paths: M /trunk/add.c Bug fixed. ------------------------------------------------------------------------ r1456 | zimmerma | 2001-11-01 10:05:27 +0000 (Thu, 01 Nov 2001) | 2 lines Changed paths: M /trunk/tests/tfma.c fixed MLK's ------------------------------------------------------------------------ r1455 | zimmerma | 2001-11-01 09:44:03 +0000 (Thu, 01 Nov 2001) | 2 lines Changed paths: M /trunk/pow2.c fixed MLK's in mpfr_isinteger ------------------------------------------------------------------------ r1454 | zimmerma | 2001-11-01 09:43:32 +0000 (Thu, 01 Nov 2001) | 2 lines Changed paths: M /trunk/tests/tpow3.c fixed MLK's ------------------------------------------------------------------------ r1453 | zimmerma | 2001-11-01 09:04:19 +0000 (Thu, 01 Nov 2001) | 2 lines Changed paths: M /trunk/tests/tui_pow.c fixed missing mpfr_clear's ------------------------------------------------------------------------ r1452 | zimmerma | 2001-11-01 08:02:00 +0000 (Thu, 01 Nov 2001) | 2 lines Changed paths: M /trunk/tests/tsin.c added missing mpfr_clear ------------------------------------------------------------------------ r1451 | zimmerma | 2001-11-01 07:20:30 +0000 (Thu, 01 Nov 2001) | 2 lines Changed paths: M /trunk/tests/tsub.c added clear's in bug_ddefour ------------------------------------------------------------------------ r1450 | zimmerma | 2001-11-01 00:42:47 +0000 (Thu, 01 Nov 2001) | 2 lines Changed paths: M /trunk/tests/tgeneric.c added mpfr_clear's ------------------------------------------------------------------------ r1449 | zimmerma | 2001-11-01 00:10:46 +0000 (Thu, 01 Nov 2001) | 2 lines Changed paths: M /trunk/tests/tdiv.c fixed MLK's ------------------------------------------------------------------------ r1448 | zimmerma | 2001-10-31 23:12:41 +0000 (Wed, 31 Oct 2001) | 2 lines Changed paths: M /trunk/set_str_raw.c fixed MLK for Inf or Nan ------------------------------------------------------------------------ r1447 | zimmerma | 2001-10-31 22:52:06 +0000 (Wed, 31 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tadd.c fixed MLK in check_case_2 ------------------------------------------------------------------------ r1446 | daney | 2001-10-31 10:16:21 +0000 (Wed, 31 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr.texi rename factorial -> fac_ui ------------------------------------------------------------------------ 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 Change mpfr__mpz to mpfr__z Change mpfr__mpq to mpfr__q where is mul,div,add,sub ------------------------------------------------------------------------ r1444 | daney | 2001-10-30 10:30:48 +0000 (Tue, 30 Oct 2001) | 2 lines Changed paths: M /trunk/factorial.c correct factorial -> fac_ui in comments ------------------------------------------------------------------------ r1443 | daney | 2001-10-30 10:24:08 +0000 (Tue, 30 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tfactorial.c rename tfactorial -> fac_ui ------------------------------------------------------------------------ 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 rename factorial -> fac_ui ------------------------------------------------------------------------ r1441 | vlefevre | 2001-10-27 11:16:02 +0000 (Sat, 27 Oct 2001) | 2 lines Changed paths: M /trunk/add.c Bug fixed. ------------------------------------------------------------------------ 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 drand -> drand48 ------------------------------------------------------------------------ r1439 | zimmerma | 2001-10-26 15:49:21 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tdiv.c put MAX_PREC back to 100 ------------------------------------------------------------------------ r1438 | zimmerma | 2001-10-26 15:46:37 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tpow.c added test for inexact flag ------------------------------------------------------------------------ r1437 | zimmerma | 2001-10-26 15:45:42 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/div_ui.c use MPFR_RET_NAN and MPFR_RET ------------------------------------------------------------------------ r1436 | zimmerma | 2001-10-26 15:42:23 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/div.c removed MPFR_DEBUG_LEVEL definition ------------------------------------------------------------------------ r1435 | zimmerma | 2001-10-26 15:39:21 +0000 (Fri, 26 Oct 2001) | 5 lines Changed paths: M /trunk/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 ------------------------------------------------------------------------ r1434 | zimmerma | 2001-10-26 15:32:23 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/pow.c implemented exact rounding (but no ternary flag) ------------------------------------------------------------------------ r1433 | daney | 2001-10-26 15:31:42 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/hypot.c add some flags ------------------------------------------------------------------------ r1432 | daney | 2001-10-26 15:29:28 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/fma.c mixed version between DD and Pau => (gestion des flag inexacte dirige) ------------------------------------------------------------------------ r1431 | daney | 2001-10-26 15:28:31 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tfma.c rien ------------------------------------------------------------------------ r1430 | zimmerma | 2001-10-26 13:48:33 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tdiv.c MAX_PREC included ------------------------------------------------------------------------ r1429 | zimmerma | 2001-10-26 13:31:55 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/set_q.c implemented inexact flag ------------------------------------------------------------------------ r1428 | hanrot | 2001-10-26 13:28:00 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/div.c Clearing high part of rem2. ------------------------------------------------------------------------ r1427 | rouillie | 2001-10-26 13:24:02 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/Makefile.am adds gmp_op.c ------------------------------------------------------------------------ r1426 | zimmerma | 2001-10-26 13:23:12 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr.h mpfr_set_q now returns an int ------------------------------------------------------------------------ r1425 | zimmerma | 2001-10-26 13:22:22 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tset_q.c added test for inexact flag ------------------------------------------------------------------------ r1424 | rouillie | 2001-10-26 13:19:40 +0000 (Fri, 26 Oct 2001) | 3 lines Changed paths: A /trunk/gmp_op.c Adds the file gmp_op.c containing the implementations of operations between mpfr and mpz/mpq data ------------------------------------------------------------------------ r1423 | daney | 2001-10-26 13:05:58 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/hypot.c err <0 => is now tester ------------------------------------------------------------------------ r1422 | hanrot | 2001-10-26 13:00:54 +0000 (Fri, 26 Oct 2001) | 3 lines Changed paths: M /trunk/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). ------------------------------------------------------------------------ r1421 | daney | 2001-10-26 12:46:30 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: A /trunk/copysign.c add copysign.c ------------------------------------------------------------------------ r1420 | zimmerma | 2001-10-26 12:41:45 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tdiv.c added one test ------------------------------------------------------------------------ r1419 | daney | 2001-10-26 12:37:43 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/dim.c simplify dim ------------------------------------------------------------------------ r1418 | daney | 2001-10-26 12:32:57 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/tests/thypot.c add exact flag ------------------------------------------------------------------------ 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 err => long int ------------------------------------------------------------------------ r1416 | zimmerma | 2001-10-26 12:22:28 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tset.c added one test ------------------------------------------------------------------------ r1415 | zimmerma | 2001-10-26 12:21:46 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/log1p.c cosmetic changes ------------------------------------------------------------------------ r1414 | zimmerma | 2001-10-26 12:21:08 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/round.c can_round return 0 for b=0 ------------------------------------------------------------------------ r1413 | daney | 2001-10-26 12:17:06 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/tests/Makefile.am add thypot ------------------------------------------------------------------------ r1412 | daney | 2001-10-26 11:51:19 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/Makefile.am add coopysign ------------------------------------------------------------------------ r1411 | daney | 2001-10-26 11:50:27 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr.h add copysign ------------------------------------------------------------------------ r1410 | daney | 2001-10-26 11:47:46 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/expm1.c correct mp_prec_t err => long int ------------------------------------------------------------------------ r1409 | daney | 2001-10-26 11:47:09 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/log1p.c correst mp_prec_t err => long int ------------------------------------------------------------------------ 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 Add multiplication/division/addition/subtraction by mpz and mpq ------------------------------------------------------------------------ r1407 | zimmerma | 2001-10-26 10:56:14 +0000 (Fri, 26 Oct 2001) | 3 lines Changed paths: M /trunk/tests/tadd.c added two tests fixed bug in generic tests (one more bit is needed to get an exact result) ------------------------------------------------------------------------ r1406 | zimmerma | 2001-10-26 10:55:36 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/add.c fixed pb with exact results not detected (ck was < 0) ------------------------------------------------------------------------ r1405 | hanrot | 2001-10-26 09:12:13 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tfma.c Rien. ------------------------------------------------------------------------ r1404 | hanrot | 2001-10-26 09:11:07 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/div.c Patch for the computation of the u_lo + r part of the remainder when u_lo = 0. ------------------------------------------------------------------------ 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 added test for inexact flag ------------------------------------------------------------------------ r1402 | zimmerma | 2001-10-26 08:41:29 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/sub.c fixed pbs with inexact flag ------------------------------------------------------------------------ r1401 | zimmerma | 2001-10-26 08:41:05 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr.texi now mpfr_div and mpfr_ui_div return an int ------------------------------------------------------------------------ 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 implemented ternary flag in mpfr_ui_div ------------------------------------------------------------------------ r1399 | zimmerma | 2001-10-26 08:39:28 +0000 (Fri, 26 Oct 2001) | 3 lines Changed paths: M /trunk/log_base_2.c removed unnecessary CLEAR_FLAGS used MPFR_RET_NAN ------------------------------------------------------------------------ r1398 | zimmerma | 2001-10-26 08:38:58 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tlog_base_2.c reduced number of tests ------------------------------------------------------------------------ r1397 | zimmerma | 2001-10-26 08:31:58 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/log_base_10.c removed unnecessary CLEAR_FLAGS ------------------------------------------------------------------------ r1396 | zimmerma | 2001-10-26 08:30:00 +0000 (Fri, 26 Oct 2001) | 3 lines Changed paths: M /trunk/tests/reuse.c improved mpfr_compare fixed wrong function name for mpfr_log2 ------------------------------------------------------------------------ r1395 | zimmerma | 2001-10-26 08:23:51 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/div_ui.c rewritten to implement ternary inexact flag ------------------------------------------------------------------------ r1394 | zimmerma | 2001-10-26 08:15:24 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tfma.c fixed generic test (pb with double rounding) ------------------------------------------------------------------------ r1393 | zimmerma | 2001-10-26 07:46:30 +0000 (Fri, 26 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tdiv.c increased MAX_PREC ------------------------------------------------------------------------ r1392 | hanrot | 2001-10-25 22:03:55 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/acosh.c Changed the type of err from mp_prec_t (unsigned) to int. ------------------------------------------------------------------------ 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 Added tests for inexact flag. ------------------------------------------------------------------------ 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 Patch for even rounding. ------------------------------------------------------------------------ r1389 | daney | 2001-10-25 17:12:26 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/log_base_2.c rien ------------------------------------------------------------------------ r1388 | daney | 2001-10-25 17:05:29 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/log_base_10.c rien ------------------------------------------------------------------------ r1387 | vlefevre | 2001-10-25 17:00:10 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/tests/reuse.c Warning avoided. ------------------------------------------------------------------------ r1386 | zimmerma | 2001-10-25 17:00:06 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/tests/Makefile.am added tfma ------------------------------------------------------------------------ r1385 | zimmerma | 2001-10-25 16:53:36 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tfma.c slong -> t ------------------------------------------------------------------------ r1384 | zimmerma | 2001-10-25 16:53:05 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/fma.c nouvelew version (without loop) ------------------------------------------------------------------------ r1383 | daney | 2001-10-25 16:51:56 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/pow2.c rien ------------------------------------------------------------------------ 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 rien ------------------------------------------------------------------------ r1381 | daney | 2001-10-25 16:45:27 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/tests/reuse.c change ------------------------------------------------------------------------ r1380 | vlefevre | 2001-10-25 16:45:20 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/add.c Bug fixed. ------------------------------------------------------------------------ r1379 | daney | 2001-10-25 16:34:55 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/pow2.c correct bugs with reuse ------------------------------------------------------------------------ r1378 | daney | 2001-10-25 16:34:05 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/tests/reuse.c test for log2 log10 pow ------------------------------------------------------------------------ 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 La division nouvelle est arrivee. ------------------------------------------------------------------------ r1376 | zimmerma | 2001-10-25 16:04:18 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tadd.c ajoute' nouveau test ------------------------------------------------------------------------ r1375 | vlefevre | 2001-10-25 15:34:17 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/add.c Bug fixed. ------------------------------------------------------------------------ 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 round_raw, round_raw2 -> round_raw_generic. Macros to simulate previous behaviour. Even rounding returns +- MPFR_EVEN_INEX. ------------------------------------------------------------------------ r1373 | zimmerma | 2001-10-25 15:24:11 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/log_base_10.c fixed pb with mpfr_log10(a, a) with a=-Inf ------------------------------------------------------------------------ r1372 | zimmerma | 2001-10-25 15:14:01 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tadd.c added two tests ------------------------------------------------------------------------ r1371 | zimmerma | 2001-10-25 15:06:12 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tcmp.c added one test ------------------------------------------------------------------------ r1370 | daney | 2001-10-25 15:03:13 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/tests/reuse.c add log2 and log10 ------------------------------------------------------------------------ r1369 | daney | 2001-10-25 15:02:59 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/log_base_10.c correction for reuse ------------------------------------------------------------------------ r1368 | daney | 2001-10-25 15:02:45 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/log_base_2.c coorection for reuse ------------------------------------------------------------------------ r1367 | zimmerma | 2001-10-25 14:53:19 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: A /trunk/tests/texceptions.c test file for testing exceptions ------------------------------------------------------------------------ r1366 | vlefevre | 2001-10-25 14:32:20 +0000 (Thu, 25 Oct 2001) | 3 lines Changed paths: M /trunk/add.c mpfr_add1 completely rewritten. Overflows are checked. The ternary value should now be supported (but it hasn't been tested yet). ------------------------------------------------------------------------ r1365 | daney | 2001-10-25 14:04:09 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/fma.c new version ------------------------------------------------------------------------ r1364 | zimmerma | 2001-10-25 13:54:46 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tmul_ui.c added one test ------------------------------------------------------------------------ r1363 | zimmerma | 2001-10-25 13:54:27 +0000 (Thu, 25 Oct 2001) | 3 lines Changed paths: M /trunk/tests/tgeneric.c add possibility to define a random function (default is mpfr_random) to get random variables in specific ranges ------------------------------------------------------------------------ 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 now use tgeneric.c ------------------------------------------------------------------------ r1361 | zimmerma | 2001-10-25 13:50:49 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/tests/Makefile.am added texceptions ------------------------------------------------------------------------ r1360 | zimmerma | 2001-10-25 13:49:56 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr.texi documented exception mechanism (with Vincent Lefe`vre) ------------------------------------------------------------------------ r1359 | zimmerma | 2001-10-25 13:48:28 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tfactorial.c changed stupid test (was computing only 200!) ------------------------------------------------------------------------ r1358 | zimmerma | 2001-10-25 13:47:27 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/factorial.c implemented inexact flag ------------------------------------------------------------------------ r1357 | zimmerma | 2001-10-25 13:45:42 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/exceptions.c 1999 -> 2001 ------------------------------------------------------------------------ r1356 | zimmerma | 2001-10-25 13:45:14 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/add.c check overflow ------------------------------------------------------------------------ r1355 | zimmerma | 2001-10-25 13:39:35 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tui_sub.c added two tests ------------------------------------------------------------------------ r1354 | zimmerma | 2001-10-25 13:37:24 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/sub.c implemented overflow/underflow ------------------------------------------------------------------------ r1353 | daney | 2001-10-25 13:36:56 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/atanh.c correct atanh(INF)=INF exact ------------------------------------------------------------------------ r1352 | daney | 2001-10-25 13:14:54 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/tests/thyperbolic.c correct test inf for atanh ------------------------------------------------------------------------ r1351 | zimmerma | 2001-10-25 12:52:08 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr.texi added warning for mpfr_set_d ------------------------------------------------------------------------ r1350 | daney | 2001-10-25 09:19:06 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/tests/thyperbolic.c correct bug in tests file (test of atanh for + or - Inf) ------------------------------------------------------------------------ r1349 | zimmerma | 2001-10-25 08:37:39 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/tests/Makefile.am added tadd_ui (forgotten?) ------------------------------------------------------------------------ r1348 | zimmerma | 2001-10-25 08:37:19 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tadd_ui.c added special test ------------------------------------------------------------------------ r1347 | zimmerma | 2001-10-25 08:36:55 +0000 (Thu, 25 Oct 2001) | 2 lines Changed paths: M /trunk/add.c fixed bug in rounding part when rounding towards 0 (infinite loop due to bn int). ------------------------------------------------------------------------ r1325 | vlefevre | 2001-10-19 20:47:39 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: M /trunk/Makefile.in M /trunk/tests/Makefile.in Update. ------------------------------------------------------------------------ r1324 | vlefevre | 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 Bugs fixed concerning the "inexact" ternary value. ------------------------------------------------------------------------ r1323 | daney | 2001-10-19 16:56:51 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: M /trunk/tests/Makefile.am suppress thypot tgeneric ------------------------------------------------------------------------ r1322 | daney | 2001-10-19 16:53:12 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: M /trunk/tests/Makefile.am suppress sample ------------------------------------------------------------------------ r1321 | zimmerma | 2001-10-19 16:26:47 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr.h void -> int as return value for mpfr_add_ui ------------------------------------------------------------------------ r1320 | zimmerma | 2001-10-19 16:26:19 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: M /trunk/add_ui.c added ternary flag ------------------------------------------------------------------------ r1319 | zimmerma | 2001-10-19 16:24:50 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr.texi void -> int for mpfr_add and mpfr_add_ui ------------------------------------------------------------------------ r1318 | daney | 2001-10-19 16:21:08 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: A /trunk/tests/thypot.c add test for hypot ------------------------------------------------------------------------ r1317 | daney | 2001-10-19 16:15:16 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: M /trunk/tests/Makefile.am add some test ------------------------------------------------------------------------ r1316 | daney | 2001-10-19 16:13:56 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: M /trunk/Makefile.am add some functions ------------------------------------------------------------------------ r1315 | daney | 2001-10-19 16:12:44 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr.h add some proto ------------------------------------------------------------------------ r1314 | daney | 2001-10-19 16:09:34 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: A /trunk/tests/tpow3.c add test file for pow ------------------------------------------------------------------------ r1313 | daney | 2001-10-19 16:09:01 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr.texi add the help for pow and pow_si ------------------------------------------------------------------------ r1312 | daney | 2001-10-19 16:08:29 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: A /trunk/pow2.c add the function pow and pow_si ------------------------------------------------------------------------ r1311 | zimmerma | 2001-10-19 16:02:34 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tsub.c added two tests for 0-c and c-0 with prec(c) > prec(a) ------------------------------------------------------------------------ r1310 | vlefevre | 2001-10-19 15:53:17 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: M /trunk/neg.c Removed #include , "return 0;" replaced by "MPFR_RET(0);". ------------------------------------------------------------------------ r1309 | vlefevre | 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 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). ------------------------------------------------------------------------ r1308 | vlefevre | 2001-10-19 14:49:44 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: M /trunk/Makefile.in Update. ------------------------------------------------------------------------ r1307 | vlefevre | 2001-10-19 14:13:10 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: M /trunk/set_si.c Underflow/overflow check. ------------------------------------------------------------------------ r1306 | vlefevre | 2001-10-19 14:02:01 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr-impl.h Documentation updated. ------------------------------------------------------------------------ r1305 | vlefevre | 2001-10-19 13:57:06 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: M /trunk/set_ui.c Comment added. ------------------------------------------------------------------------ r1304 | vlefevre | 2001-10-19 13:41:41 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: M /trunk/set.c MPFR_RET(0) replaced by MPFR_RET_NAN. ------------------------------------------------------------------------ r1303 | vlefevre | 2001-10-19 13:28:41 +0000 (Fri, 19 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr-impl.h Macro MPFR_RET_NAN. ------------------------------------------------------------------------ r1302 | vlefevre | 2001-10-18 17:29:45 +0000 (Thu, 18 Oct 2001) | 2 lines Changed paths: M /trunk/round.c Code clean-up in mpfr_round_raw (well... IMHO). ------------------------------------------------------------------------ r1301 | daney | 2001-10-18 15:30:04 +0000 (Thu, 18 Oct 2001) | 2 lines Changed paths: M /trunk/ui_pow.c take in account of CHAR_BIT in ui_pow ------------------------------------------------------------------------ r1300 | zimmerma | 2001-10-18 15:21:45 +0000 (Thu, 18 Oct 2001) | 2 lines Changed paths: M /trunk/sqrt.c cast to mp_limb_t was missing ------------------------------------------------------------------------ r1299 | vlefevre | 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 BITS_PER_CHAR replaced by the standard CHAR_BIT. ------------------------------------------------------------------------ r1298 | hanrot | 2001-10-18 14:58:14 +0000 (Thu, 18 Oct 2001) | 2 lines Changed paths: M /trunk/div.c *** empty log message *** ------------------------------------------------------------------------ r1297 | daney | 2001-10-18 13:55:26 +0000 (Thu, 18 Oct 2001) | 2 lines Changed paths: A /trunk/tests/tui_pow.c add test of ui_pow ------------------------------------------------------------------------ r1296 | daney | 2001-10-18 13:54:47 +0000 (Thu, 18 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr.texi add the help of ui_pow ------------------------------------------------------------------------ r1295 | daney | 2001-10-18 13:54:21 +0000 (Thu, 18 Oct 2001) | 2 lines Changed paths: A /trunk/ui_pow.c add the function pow(unsign long int, mpfr_t) ------------------------------------------------------------------------ r1294 | vlefevre | 2001-10-18 13:52:48 +0000 (Thu, 18 Oct 2001) | 3 lines Changed paths: M /trunk/configure M /trunk/configure.in Improved configure.in. configure generated by Autoconf 2.52. ------------------------------------------------------------------------ r1293 | daney | 2001-10-18 12:09:08 +0000 (Thu, 18 Oct 2001) | 2 lines Changed paths: M /trunk/exp2.c ajout du flag inexact ------------------------------------------------------------------------ r1292 | vlefevre | 2001-10-18 11:27:38 +0000 (Thu, 18 Oct 2001) | 3 lines Changed paths: M /trunk/configure fixed and improved check for gmp.h/gmp-impl.h/config.h/gmp-mparam.h/longlong.h and corresponding error message ------------------------------------------------------------------------ r1291 | daney | 2001-10-18 10:38:10 +0000 (Thu, 18 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr.texi add the help on log2 ------------------------------------------------------------------------ r1290 | daney | 2001-10-18 10:36:00 +0000 (Thu, 18 Oct 2001) | 2 lines Changed paths: A /trunk/tests/tlog_base_2.c add the test file of the log2 (log in base 2) ------------------------------------------------------------------------ r1289 | daney | 2001-10-18 10:35:11 +0000 (Thu, 18 Oct 2001) | 2 lines Changed paths: A /trunk/log_base_2.c ajout de log2 (log en base 2) ------------------------------------------------------------------------ r1288 | daney | 2001-10-18 10:24:43 +0000 (Thu, 18 Oct 2001) | 2 lines Changed paths: M /trunk/tanh.c correst tanh(0) ------------------------------------------------------------------------ r1287 | zimmerma | 2001-10-18 10:20:41 +0000 (Thu, 18 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tset_si.c added two more tests ------------------------------------------------------------------------ r1286 | zimmerma | 2001-10-18 10:20:09 +0000 (Thu, 18 Oct 2001) | 2 lines Changed paths: M /trunk/set_si.c wrong sign passed to mpfr_can_round (mp_limb_t may be unsigned) ------------------------------------------------------------------------ r1285 | daney | 2001-10-18 10:10:49 +0000 (Thu, 18 Oct 2001) | 2 lines Changed paths: M /trunk/sinh.c correct a bug for sinh(Inf) ------------------------------------------------------------------------ r1284 | daney | 2001-10-17 15:49:52 +0000 (Wed, 17 Oct 2001) | 2 lines Changed paths: M /trunk/tanh.c correct syntax of tanh.c ------------------------------------------------------------------------ r1283 | daney | 2001-10-17 15:47:03 +0000 (Wed, 17 Oct 2001) | 2 lines Changed paths: M /trunk/sinh.c correct an error ------------------------------------------------------------------------ r1282 | daney | 2001-10-17 15:42:10 +0000 (Wed, 17 Oct 2001) | 2 lines Changed paths: M /trunk/cosh.c correct few things ------------------------------------------------------------------------ r1281 | daney | 2001-10-17 15:29:50 +0000 (Wed, 17 Oct 2001) | 2 lines Changed paths: M /trunk/cosh.c little patch for cosh ------------------------------------------------------------------------ r1280 | daney | 2001-10-17 15:04:43 +0000 (Wed, 17 Oct 2001) | 2 lines Changed paths: A /trunk/tests/texpm1.c add the test function of expm1 ------------------------------------------------------------------------ r1279 | daney | 2001-10-17 15:04:06 +0000 (Wed, 17 Oct 2001) | 2 lines Changed paths: A /trunk/tests/tlog1p.c add the test of the function log1p ------------------------------------------------------------------------ r1278 | daney | 2001-10-17 15:03:04 +0000 (Wed, 17 Oct 2001) | 2 lines Changed paths: A /trunk/expm1.c add the function expm1 ------------------------------------------------------------------------ r1277 | daney | 2001-10-17 15:02:30 +0000 (Wed, 17 Oct 2001) | 2 lines Changed paths: A /trunk/log1p.c add the function log1p ------------------------------------------------------------------------ r1276 | daney | 2001-10-17 12:50:15 +0000 (Wed, 17 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr.texi add to mpfr.texi log1p and expm1 ------------------------------------------------------------------------ r1275 | daney | 2001-10-17 12:37:46 +0000 (Wed, 17 Oct 2001) | 2 lines Changed paths: M /trunk/exp2.c actualisation de exp2.c ------------------------------------------------------------------------ r1274 | daney | 2001-10-17 12:36:51 +0000 (Wed, 17 Oct 2001) | 2 lines Changed paths: M /trunk/exp2.c actualisation de exp2 ------------------------------------------------------------------------ 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 New tests in tdiv.c. ------------------------------------------------------------------------ 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 New division in div.c, old one renamed in mpfr_div2. Remains to implement exact/inexact flag. Should not be *that* hard. ------------------------------------------------------------------------ r1271 | daney | 2001-10-16 16:02:21 +0000 (Tue, 16 Oct 2001) | 2 lines Changed paths: M /trunk/algorithms.tex ajout de functions pow, fma, hypot etc etc ------------------------------------------------------------------------ r1270 | zimmerma | 2001-10-16 15:48:48 +0000 (Tue, 16 Oct 2001) | 2 lines Changed paths: M /trunk/Makefile.am added fma.c ------------------------------------------------------------------------ r1269 | zimmerma | 2001-10-16 15:48:34 +0000 (Tue, 16 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr.h added prototypes for mpfr_fma and mpfr_hypot ------------------------------------------------------------------------ r1268 | zimmerma | 2001-10-16 15:48:12 +0000 (Tue, 16 Oct 2001) | 2 lines Changed paths: M /trunk/hypot.c small changes for inexact flag ------------------------------------------------------------------------ r1267 | zimmerma | 2001-10-16 15:41:38 +0000 (Tue, 16 Oct 2001) | 3 lines Changed paths: M /trunk/fma.c added some cases for Inf implement (partly) inexact flag ------------------------------------------------------------------------ r1266 | daney | 2001-10-16 15:09:29 +0000 (Tue, 16 Oct 2001) | 2 lines Changed paths: A /trunk/hypot.c ajout hypot ------------------------------------------------------------------------ r1265 | daney | 2001-10-16 15:06:29 +0000 (Tue, 16 Oct 2001) | 2 lines Changed paths: A /trunk/fma.c ajout de fma ------------------------------------------------------------------------ r1264 | vlefevre | 2001-10-16 10:13:02 +0000 (Tue, 16 Oct 2001) | 2 lines Changed paths: M /trunk/sub.c Comment: // --> /* ... */ ------------------------------------------------------------------------ r1263 | zimmerma | 2001-10-15 14:19:10 +0000 (Mon, 15 Oct 2001) | 2 lines Changed paths: A /trunk/tests/tgeneric.c generic test file ------------------------------------------------------------------------ r1262 | zimmerma | 2001-10-15 14:16:50 +0000 (Mon, 15 Oct 2001) | 2 lines Changed paths: M /trunk/tests/reuse.c added cast to (void*) for new functions returning an int ------------------------------------------------------------------------ r1261 | zimmerma | 2001-10-15 14:16:25 +0000 (Mon, 15 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tabs.c added test for inexact flag ------------------------------------------------------------------------ r1260 | zimmerma | 2001-10-15 14:15:49 +0000 (Mon, 15 Oct 2001) | 3 lines Changed paths: M /trunk/tests/tcos.c now use tgeneric.c added more tests ------------------------------------------------------------------------ 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 now use tgeneric.c ------------------------------------------------------------------------ r1258 | zimmerma | 2001-10-15 14:14:38 +0000 (Mon, 15 Oct 2001) | 2 lines Changed paths: M /trunk/tests/thyperbolic.c fixed test of return values for infinities: foo(+/-Inf) is *exact* ------------------------------------------------------------------------ r1257 | zimmerma | 2001-10-15 14:13:33 +0000 (Mon, 15 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tset.c now also try with negative numbers ------------------------------------------------------------------------ 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 implement ternary inexact flag ------------------------------------------------------------------------ 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 implement inexact flag ------------------------------------------------------------------------ r1254 | zimmerma | 2001-10-15 14:06:46 +0000 (Mon, 15 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr.h return type is now int for mpfr_mul_2exp and mpfr_div_2exp ------------------------------------------------------------------------ r1253 | zimmerma | 2001-10-15 14:06:17 +0000 (Mon, 15 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr.texi return type is now int for more functions ------------------------------------------------------------------------ r1252 | zimmerma | 2001-10-15 14:05:10 +0000 (Mon, 15 Oct 2001) | 2 lines Changed paths: M /trunk/random.c sign was not set ------------------------------------------------------------------------ r1251 | zimmerma | 2001-10-15 14:04:24 +0000 (Mon, 15 Oct 2001) | 2 lines Changed paths: M /trunk/round.c rewritten completely mpfr_can_round_raw ------------------------------------------------------------------------ r1250 | zimmerma | 2001-10-15 14:02:37 +0000 (Mon, 15 Oct 2001) | 2 lines Changed paths: M /trunk/set.c documented mpfr_set4 ------------------------------------------------------------------------ r1249 | zimmerma | 2001-10-15 14:02:13 +0000 (Mon, 15 Oct 2001) | 2 lines Changed paths: M /trunk/set_prec.c return non-zero if malloc failed ------------------------------------------------------------------------ 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 cosmetic changes ------------------------------------------------------------------------ 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 implement ternary inexact flag ------------------------------------------------------------------------ r1246 | zimmerma | 2001-10-15 14:00:45 +0000 (Mon, 15 Oct 2001) | 2 lines Changed paths: M /trunk/sqrt_ui.c avoid one variable ------------------------------------------------------------------------ r1245 | daney | 2001-10-12 15:19:02 +0000 (Fri, 12 Oct 2001) | 2 lines Changed paths: M /trunk/algorithms.tex correction d'erreurs sur les notations + correction de la regle 9 ------------------------------------------------------------------------ r1244 | zimmerma | 2001-10-12 12:56:24 +0000 (Fri, 12 Oct 2001) | 3 lines Changed paths: M /trunk/mpfr-impl.h fixed MPFR_ASSERT documented MPFR_ASSERTN and MPFR_ASSERTD ------------------------------------------------------------------------ r1243 | zimmerma | 2001-10-12 12:24:18 +0000 (Fri, 12 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tset_f.c added test for mpfr_init_set_f prototype ------------------------------------------------------------------------ r1242 | zimmerma | 2001-10-12 12:23:50 +0000 (Fri, 12 Oct 2001) | 3 lines Changed paths: M /trunk/tests/tmul_ui.c added test for inexact flag corrected a wrong test ------------------------------------------------------------------------ r1241 | zimmerma | 2001-10-12 12:23:11 +0000 (Fri, 12 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tadd.c cosmetic change ------------------------------------------------------------------------ r1240 | zimmerma | 2001-10-12 12:22:36 +0000 (Fri, 12 Oct 2001) | 2 lines Changed paths: M /trunk/tests/Makefile.am added tsub_ui (did exist but forgotten in Makefile) and tset (new file) ------------------------------------------------------------------------ r1239 | zimmerma | 2001-10-12 12:21:40 +0000 (Fri, 12 Oct 2001) | 2 lines Changed paths: A /trunk/tests/tset.c test file for mpfr_set, initial version ------------------------------------------------------------------------ r1238 | zimmerma | 2001-10-12 12:20:53 +0000 (Fri, 12 Oct 2001) | 3 lines Changed paths: M /trunk/mpfr.texi void -> int as return value for several functions and explained the ternary return value ------------------------------------------------------------------------ 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 implemented inexact flag ------------------------------------------------------------------------ r1236 | zimmerma | 2001-10-12 12:18:46 +0000 (Fri, 12 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr.h void -> int as return value for new functions implementing inexact flag ------------------------------------------------------------------------ r1235 | zimmerma | 2001-10-12 12:18:10 +0000 (Fri, 12 Oct 2001) | 2 lines Changed paths: M /trunk/set_d.c implemented inexact flag in mpfr_set_d ------------------------------------------------------------------------ r1234 | zimmerma | 2001-10-12 12:17:24 +0000 (Fri, 12 Oct 2001) | 2 lines Changed paths: M /trunk/round.c implemented inexact flag in mpfr_round ------------------------------------------------------------------------ r1233 | zimmerma | 2001-10-12 12:16:13 +0000 (Fri, 12 Oct 2001) | 2 lines Changed paths: M /trunk/mul_ui.c completely rewritten ------------------------------------------------------------------------ r1232 | zimmerma | 2001-10-12 12:15:46 +0000 (Fri, 12 Oct 2001) | 2 lines Changed paths: M /trunk/mul.c computation of inexact flag now directly uses mpfr_round_raw ------------------------------------------------------------------------ r1231 | zimmerma | 2001-10-12 12:13:27 +0000 (Fri, 12 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr-impl.h added 'if' in MPFR_ASSERT to avoid compiler warning ------------------------------------------------------------------------ r1230 | zimmerma | 2001-10-12 12:12:07 +0000 (Fri, 12 Oct 2001) | 2 lines Changed paths: M /trunk/add.c put initial value in variables which may be used without being initialized ------------------------------------------------------------------------ r1229 | zimmerma | 2001-10-12 12:11:23 +0000 (Fri, 12 Oct 2001) | 2 lines Changed paths: M /trunk/TODO updated things done, added Rounding section ------------------------------------------------------------------------ r1228 | daney | 2001-10-11 16:47:30 +0000 (Thu, 11 Oct 2001) | 2 lines Changed paths: M /trunk/algorithms.tex ajout de log1p et expm1 ------------------------------------------------------------------------ r1227 | zimmerma | 2001-10-11 15:26:57 +0000 (Thu, 11 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tatan.c reduced number of random tests (took too much time) ------------------------------------------------------------------------ r1226 | zimmerma | 2001-10-11 15:19:04 +0000 (Thu, 11 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tsub.c added random tests for inexact flag ------------------------------------------------------------------------ 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 implemented inexact flag ------------------------------------------------------------------------ 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 added random tests for inexact flag ------------------------------------------------------------------------ r1223 | daney | 2001-10-11 14:51:03 +0000 (Thu, 11 Oct 2001) | 2 lines Changed paths: M /trunk/algorithms.tex ajout du log generic et de fma ------------------------------------------------------------------------ r1222 | zimmerma | 2001-10-11 12:33:08 +0000 (Thu, 11 Oct 2001) | 2 lines Changed paths: M /trunk/sqrt.c inexact flag was wrong in some cases ------------------------------------------------------------------------ r1221 | zimmerma | 2001-10-11 12:31:37 +0000 (Thu, 11 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tsqrt.c added random tests for inexact flag ------------------------------------------------------------------------ r1220 | zimmerma | 2001-10-11 12:28:53 +0000 (Thu, 11 Oct 2001) | 3 lines Changed paths: M /trunk/tests/tasin.c reduced number of loops per precision from 100 to 10 (test was too long) ------------------------------------------------------------------------ r1219 | zimmerma | 2001-10-11 08:25:55 +0000 (Thu, 11 Oct 2001) | 3 lines Changed paths: M /trunk/configure improved check for gmp-impl.h/config.h/gmp-mparam.h/longlong.h and corresponding error message ------------------------------------------------------------------------ r1218 | zimmerma | 2001-10-11 08:25:03 +0000 (Thu, 11 Oct 2001) | 2 lines Changed paths: M /trunk/INSTALL stack-alloc.h no longer needed (will be included in gmp-impl.h) ------------------------------------------------------------------------ r1217 | zimmerma | 2001-10-11 08:24:35 +0000 (Thu, 11 Oct 2001) | 2 lines Changed paths: M /trunk/mpfr.texi stack-alloc.h is no longer needed (will be included in gmp-impl.h) ------------------------------------------------------------------------ r1216 | zimmerma | 2001-10-09 13:25:20 +0000 (Tue, 09 Oct 2001) | 2 lines Changed paths: M /trunk/algorithms.tex added proof of rules ------------------------------------------------------------------------ r1215 | zimmerma | 2001-10-09 11:38:44 +0000 (Tue, 09 Oct 2001) | 2 lines Changed paths: M /trunk/tests/tadd.c fixed buggy test ------------------------------------------------------------------------ r1214 | zimmerma | 2001-10-05 07:35:10 +0000 (Fri, 05 Oct 2001) | 2 lines Changed paths: M /trunk/add.c fixed bug for b + d where b=2^900+2^500+2^110, d=2^900-2^500-2^110 ------------------------------------------------------------------------ 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 -> (ISO C). ------------------------------------------------------------------------ r1203 | vlefevre | 2001-09-13 13:12:21 +0000 (Thu, 13 Sep 2001) | 2 lines Changed paths: M /trunk/set_prc_raw.c #include added. ------------------------------------------------------------------------ r1202 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2001-09-12 13:50:42 +0000 (Wed, 12 Sep 2001) | 2 lines Changed paths: M /trunk/log2.c #include order fixed. ------------------------------------------------------------------------ r1198 | vlefevre | 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 | vlefevre | 2001-09-12 12:19:06 +0000 (Wed, 12 Sep 2001) | 2 lines Changed paths: M /trunk/set_si.c Bug fixed. ------------------------------------------------------------------------ r1196 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2001-09-11 13:55:08 +0000 (Tue, 11 Sep 2001) | 2 lines Changed paths: M /trunk/mpfr-impl.h Macro SAFE_ABS. ------------------------------------------------------------------------ r1193 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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. ------------------------------------------------------------------------ r1189 | hanrot | 2001-09-10 16:30:21 +0000 (Mon, 10 Sep 2001) | 2 lines Changed paths: M /trunk/set_d.c Zqwiuyt ------------------------------------------------------------------------ r1188 | hanrot | 2001-09-10 16:21:42 +0000 (Mon, 10 Sep 2001) | 2 lines Changed paths: M /trunk/set_d.c Zorgs. ------------------------------------------------------------------------ r1187 | hanrot | 2001-09-10 15:42:12 +0000 (Mon, 10 Sep 2001) | 2 lines Changed paths: M /trunk/set_d.c Gleurbs. ------------------------------------------------------------------------ r1186 | hanrot | 2001-09-10 15:40:57 +0000 (Mon, 10 Sep 2001) | 2 lines Changed paths: M /trunk/set_d.c Patch grotesque. ------------------------------------------------------------------------ r1185 | hanrot | 2001-09-10 15:20:08 +0000 (Mon, 10 Sep 2001) | 2 lines Changed paths: M /trunk/set_d.c Patch for the case SIZE(r) < MPFR_LIMBS_PER_DOUBLE. ------------------------------------------------------------------------ r1184 | zimmerma | 2001-09-10 07:47:29 +0000 (Mon, 10 Sep 2001) | 2 lines Changed paths: A /trunk/tests/ttan.c test file for mpfr_tan ------------------------------------------------------------------------ r1183 | zimmerma | 2001-09-10 07:47:15 +0000 (Mon, 10 Sep 2001) | 2 lines Changed paths: M /trunk/tests/tsin.c fixed a few typos ------------------------------------------------------------------------ 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 added mpfr_tan ------------------------------------------------------------------------ r1181 | zimmerma | 2001-09-10 07:46:37 +0000 (Mon, 10 Sep 2001) | 2 lines Changed paths: M /trunk/tests/Makefile.am added ttan ------------------------------------------------------------------------ r1180 | zimmerma | 2001-09-10 07:45:54 +0000 (Mon, 10 Sep 2001) | 2 lines Changed paths: M /trunk/algorithms.tex added the tangent ------------------------------------------------------------------------ r1179 | zimmerma | 2001-09-10 07:45:14 +0000 (Mon, 10 Sep 2001) | 2 lines Changed paths: M /trunk/Makefile.am added tan.c ------------------------------------------------------------------------ r1178 | zimmerma | 2001-09-10 07:44:05 +0000 (Mon, 10 Sep 2001) | 2 lines Changed paths: A /trunk/tan.c tangent function ------------------------------------------------------------------------ r1177 | zimmerma | 2001-09-07 12:46:54 +0000 (Fri, 07 Sep 2001) | 2 lines Changed paths: M /trunk/sin_cos.c removed mpfr_sin and mpfr_cos (now separate implementations) ------------------------------------------------------------------------ r1176 | zimmerma | 2001-09-07 12:45:52 +0000 (Fri, 07 Sep 2001) | 2 lines Changed paths: M /trunk/mpfr.h removed sin_cos ------------------------------------------------------------------------ r1175 | zimmerma | 2001-09-07 12:41:15 +0000 (Fri, 07 Sep 2001) | 2 lines Changed paths: M /trunk/algorithms.tex added sine and cosine ------------------------------------------------------------------------ r1174 | zimmerma | 2001-09-07 12:40:29 +0000 (Fri, 07 Sep 2001) | 2 lines Changed paths: M /trunk/Makefile.am removed sin_cos, added sin and cos ------------------------------------------------------------------------ r1173 | zimmerma | 2001-09-07 12:37:21 +0000 (Fri, 07 Sep 2001) | 2 lines Changed paths: M /trunk/mpfr.texi removed mpfr_sin_cos ------------------------------------------------------------------------ r1172 | zimmerma | 2001-09-07 12:32:28 +0000 (Fri, 07 Sep 2001) | 2 lines Changed paths: M /trunk/tests/reuse.c removed sin_cos, added sin and cos ------------------------------------------------------------------------ r1171 | zimmerma | 2001-09-07 12:32:07 +0000 (Fri, 07 Sep 2001) | 2 lines Changed paths: M /trunk/tests/Makefile.am removed tsin_cos, added tsin and tcos ------------------------------------------------------------------------ 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 test files for mpfr_cos and mpfr_sin ------------------------------------------------------------------------ r1169 | zimmerma | 2001-09-07 12:30:14 +0000 (Fri, 07 Sep 2001) | 2 lines Changed paths: A /trunk/sin.c new implementation of mpfr_sin, using mpfr_cos ------------------------------------------------------------------------ r1168 | zimmerma | 2001-09-07 12:29:52 +0000 (Fri, 07 Sep 2001) | 2 lines Changed paths: A /trunk/cos.c new (faster) implementation of mpfr_cos ------------------------------------------------------------------------ r1167 | vlefevre | 2001-09-06 15:59:15 +0000 (Thu, 06 Sep 2001) | 2 lines Changed paths: M /trunk/exceptions.c Fix: flags set in mpfr_set_{under,over}flow(). ------------------------------------------------------------------------ r1166 | vlefevre | 2001-09-06 12:49:53 +0000 (Thu, 06 Sep 2001) | 3 lines Changed paths: M /trunk/sub.c Cases where the result is 0 fixed. Integer overflow checked in mpfr_sub. ------------------------------------------------------------------------ r1165 | vlefevre | 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 In add.c: use mpfr_cmp_abs instead of mpfr_cmp3; x - x fixed for GMP_RNDD. ------------------------------------------------------------------------ r1164 | vlefevre | 2001-09-06 10:27:57 +0000 (Thu, 06 Sep 2001) | 2 lines Changed paths: A /trunk/cmp_abs.c Compare the absolute values of two nonzero FP numbers. ------------------------------------------------------------------------ r1163 | vlefevre | 2001-09-05 15:40:47 +0000 (Wed, 05 Sep 2001) | 2 lines Changed paths: M /trunk/cmp.c M /trunk/mpfr.h mpfr_cmp3 changed and integer overflows checked. ------------------------------------------------------------------------ r1162 | zimmerma | 2001-09-05 09:52:50 +0000 (Wed, 05 Sep 2001) | 2 lines Changed paths: M /trunk/TODO added efficiency item ------------------------------------------------------------------------ r1161 | vlefevre | 2001-09-03 14:52:45 +0000 (Mon, 03 Sep 2001) | 2 lines Changed paths: M /trunk/add.c Cases [+-]0 + [+-]0 fixed (depending on the rounding mode). ------------------------------------------------------------------------ r1160 | vlefevre | 2001-08-29 15:29:46 +0000 (Wed, 29 Aug 2001) | 2 lines Changed paths: M /trunk/set.c Optimization + overflow support. ------------------------------------------------------------------------ r1159 | vlefevre | 2001-08-29 14:10:30 +0000 (Wed, 29 Aug 2001) | 2 lines Changed paths: M /trunk/add.c M /trunk/mpfr-impl.h Case +0 + -0 fixed. ------------------------------------------------------------------------ r1158 | zimmerma | 2001-08-29 12:30:24 +0000 (Wed, 29 Aug 2001) | 2 lines Changed paths: M /trunk/tests/tadd.c added one test ------------------------------------------------------------------------ r1157 | zimmerma | 2001-08-29 09:24:30 +0000 (Wed, 29 Aug 2001) | 2 lines Changed paths: M /trunk/tests/tmul_ui.c another test from Norbert ------------------------------------------------------------------------ r1156 | zimmerma | 2001-08-29 09:24:10 +0000 (Wed, 29 Aug 2001) | 2 lines Changed paths: M /trunk/mul_ui.c another fix (final copy when xsize > ysize was wrong) ------------------------------------------------------------------------ r1155 | zimmerma | 2001-08-28 16:15:02 +0000 (Tue, 28 Aug 2001) | 2 lines Changed paths: M /trunk/tests/tadd.c added several tests for case (1b) ------------------------------------------------------------------------ r1154 | zimmerma | 2001-08-28 15:57:47 +0000 (Tue, 28 Aug 2001) | 2 lines Changed paths: M /trunk/mul_ui.c another fix (previous one was incomplete) ------------------------------------------------------------------------ r1153 | zimmerma | 2001-08-28 15:56:22 +0000 (Tue, 28 Aug 2001) | 2 lines Changed paths: M /trunk/tests/tmul_ui.c added one more test (from Norbert) ------------------------------------------------------------------------ r1152 | vlefevre | 2001-08-28 14:20:50 +0000 (Tue, 28 Aug 2001) | 2 lines Changed paths: M /trunk/add.c Bug fixed. ------------------------------------------------------------------------ r1151 | vlefevre | 2001-08-28 10:28:50 +0000 (Tue, 28 Aug 2001) | 2 lines Changed paths: M /trunk/add.c Bug fixed and update to check the exponents. ------------------------------------------------------------------------ r1150 | zimmerma | 2001-08-27 14:54:28 +0000 (Mon, 27 Aug 2001) | 2 lines Changed paths: M /trunk/tests/tdiv_ui.c added test for 53 <= xprec, yprec <= 128 ------------------------------------------------------------------------ r1149 | zimmerma | 2001-08-27 14:10:03 +0000 (Mon, 27 Aug 2001) | 2 lines Changed paths: M /trunk/tests/tmul_ui.c added multiple tests for 53 <= xprec, yprec <= 128 ------------------------------------------------------------------------ r1148 | zimmerma | 2001-08-27 14:09:13 +0000 (Mon, 27 Aug 2001) | 2 lines Changed paths: M /trunk/mul_ui.c was completely wrong for ysize > xsize ------------------------------------------------------------------------ r1147 | zimmerma | 2001-08-27 12:47:37 +0000 (Mon, 27 Aug 2001) | 2 lines Changed paths: M /trunk/algorithms.tex added faster formula in exp(-8*n) for Euler's constant ------------------------------------------------------------------------ r1146 | vlefevre | 2001-08-25 09:58:24 +0000 (Sat, 25 Aug 2001) | 2 lines Changed paths: M /trunk/mpfr-impl.h Assertion support with debug level. ------------------------------------------------------------------------ r1145 | vlefevre | 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 Some support for exponent change and exceptions. ------------------------------------------------------------------------ r1144 | zimmerma | 2001-08-23 14:57:09 +0000 (Thu, 23 Aug 2001) | 2 lines Changed paths: M /trunk/mpfr-impl.h added constant ALPHA (for mpfr_const_euler) ------------------------------------------------------------------------ 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 added euler/teuler ------------------------------------------------------------------------ r1142 | zimmerma | 2001-08-23 14:53:23 +0000 (Thu, 23 Aug 2001) | 2 lines Changed paths: M /trunk/tests/Makefile.am added teuler ------------------------------------------------------------------------ r1141 | zimmerma | 2001-08-23 14:47:41 +0000 (Thu, 23 Aug 2001) | 2 lines Changed paths: M /trunk/Makefile.am added euler.c ------------------------------------------------------------------------ r1140 | zimmerma | 2001-08-23 14:45:58 +0000 (Thu, 23 Aug 2001) | 2 lines Changed paths: M /trunk/add.c fixed pb with c2 = c2old << dif with dif negative ------------------------------------------------------------------------ r1139 | zimmerma | 2001-08-23 14:25:50 +0000 (Thu, 23 Aug 2001) | 2 lines Changed paths: M /trunk/sub.c fixed bug for (2^53+4) - 1 ------------------------------------------------------------------------ r1138 | zimmerma | 2001-08-23 13:51:31 +0000 (Thu, 23 Aug 2001) | 2 lines Changed paths: M /trunk/tests/tmul_ui.c added new test from Norbert Mueller ------------------------------------------------------------------------ r1137 | zimmerma | 2001-08-23 13:41:17 +0000 (Thu, 23 Aug 2001) | 2 lines Changed paths: M /trunk/mul_ui.c fixed pb: sh becomes "negative" ------------------------------------------------------------------------ r1136 | zimmerma | 2001-08-23 11:13:44 +0000 (Thu, 23 Aug 2001) | 2 lines Changed paths: M /trunk/algorithms.tex included Euler's constant ------------------------------------------------------------------------ r1135 | zimmerma | 2001-08-23 11:13:10 +0000 (Thu, 23 Aug 2001) | 2 lines Changed paths: A /trunk/algorithms.bib bibtex file for algorithms.tex ------------------------------------------------------------------------ r1134 | zimmerma | 2001-08-23 11:07:19 +0000 (Thu, 23 Aug 2001) | 2 lines Changed paths: A /trunk/tests/teuler.c test file for mpfr_const_euler ------------------------------------------------------------------------ r1133 | zimmerma | 2001-08-23 11:06:52 +0000 (Thu, 23 Aug 2001) | 2 lines Changed paths: A /trunk/euler.c computation of Euler's constant 0.577... ------------------------------------------------------------------------ r1132 | zimmerma | 2001-08-23 11:06:23 +0000 (Thu, 23 Aug 2001) | 2 lines Changed paths: M /trunk/tests/tsub.c added missing prototype ------------------------------------------------------------------------ r1131 | zimmerma | 2001-08-23 11:01:31 +0000 (Thu, 23 Aug 2001) | 2 lines Changed paths: M /trunk/mpfr.h mpfr_const_euler returns an int ------------------------------------------------------------------------ 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 added mpfr_const_euler ------------------------------------------------------------------------ r1129 | vlefevre | 2001-08-22 16:01:37 +0000 (Wed, 22 Aug 2001) | 2 lines Changed paths: M /trunk/tests/tadd.c Tests added. ------------------------------------------------------------------------ r1128 | vlefevre | 2001-08-22 16:01:28 +0000 (Wed, 22 Aug 2001) | 2 lines Changed paths: M /trunk/sub.c Bugs fixed (particular cases). ------------------------------------------------------------------------ r1127 | vlefevre | 2001-08-22 15:18:06 +0000 (Wed, 22 Aug 2001) | 2 lines Changed paths: M /trunk/add.c "mant(c) != 1/2" test was broken. ------------------------------------------------------------------------ r1126 | vlefevre | 2001-08-22 15:05:23 +0000 (Wed, 22 Aug 2001) | 2 lines Changed paths: M /trunk/tests/tadd.c check fixed. Check added: 2^53 + 1 --> 2^53. ------------------------------------------------------------------------ r1125 | vlefevre | 2001-08-22 14:24:02 +0000 (Wed, 22 Aug 2001) | 2 lines Changed paths: M /trunk/Makefile.in M /trunk/tests/Makefile.in Update. ------------------------------------------------------------------------ r1124 | zimmerma | 2001-08-21 15:02:19 +0000 (Tue, 21 Aug 2001) | 2 lines Changed paths: M /trunk/tests/tdiv_ui.c added one test ------------------------------------------------------------------------ r1123 | zimmerma | 2001-08-21 15:02:05 +0000 (Tue, 21 Aug 2001) | 2 lines Changed paths: M /trunk/div_ui.c fixed stupid bug when dif < 0 ------------------------------------------------------------------------ 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 added mpfr_asin ------------------------------------------------------------------------ r1121 | zimmerma | 2001-08-14 14:14:57 +0000 (Tue, 14 Aug 2001) | 2 lines Changed paths: M /trunk/tests/tget_str.c added missing cast ------------------------------------------------------------------------ r1120 | zimmerma | 2001-08-14 13:50:47 +0000 (Tue, 14 Aug 2001) | 2 lines Changed paths: A /trunk/tests/tasin.c test file for mpfr_asin ------------------------------------------------------------------------ r1119 | zimmerma | 2001-08-14 13:47:32 +0000 (Tue, 14 Aug 2001) | 2 lines Changed paths: A /trunk/asin.c arc-sine, contributed by Mathieu Dutour ------------------------------------------------------------------------ r1118 | zimmerma | 2001-08-14 13:37:06 +0000 (Tue, 14 Aug 2001) | 2 lines Changed paths: M /trunk/tests/reuse.c added mpfr_asin ------------------------------------------------------------------------ r1117 | zimmerma | 2001-08-14 13:36:50 +0000 (Tue, 14 Aug 2001) | 2 lines Changed paths: A /trunk/tests/tatan.c new name for file tarctan.c ------------------------------------------------------------------------ r1116 | zimmerma | 2001-08-14 13:36:37 +0000 (Tue, 14 Aug 2001) | 2 lines Changed paths: D /trunk/tests/tarctan.c renamed to tatan.c ------------------------------------------------------------------------ r1115 | zimmerma | 2001-08-14 13:36:10 +0000 (Tue, 14 Aug 2001) | 3 lines Changed paths: M /trunk/tests/Makefile.am renamed tarctan.c into tatan.c added tasin.c ------------------------------------------------------------------------ r1114 | zimmerma | 2001-08-14 13:32:47 +0000 (Tue, 14 Aug 2001) | 3 lines Changed paths: M /trunk/Makefile.am renamed arctan.c to atan.c added asin.c ------------------------------------------------------------------------ r1113 | zimmerma | 2001-08-14 13:32:20 +0000 (Tue, 14 Aug 2001) | 2 lines Changed paths: A /trunk/atan.c new name for file arctan.c ------------------------------------------------------------------------ r1112 | zimmerma | 2001-08-14 13:32:04 +0000 (Tue, 14 Aug 2001) | 2 lines Changed paths: D /trunk/arctan.c moved to atan.c ------------------------------------------------------------------------ r1111 | zimmerma | 2001-08-14 13:15:56 +0000 (Tue, 14 Aug 2001) | 2 lines Changed paths: M /trunk/add.c low significant bit is in ap[0] and not in ap[an-1] !!! ------------------------------------------------------------------------ r1110 | vlefevre | 2001-08-13 17:56:06 +0000 (Mon, 13 Aug 2001) | 2 lines Changed paths: M /trunk/mpfr-impl.h Cleaner MPFR_SET_SAME_SIGN. ------------------------------------------------------------------------ r1109 | vlefevre | 2001-08-13 04:48:05 +0000 (Mon, 13 Aug 2001) | 2 lines Changed paths: M /trunk/mpfr-impl.h Macros MPFR_SET_SAME_SIGN, MPFR_INIT and MPFR_INIT1 changed to expressions. ------------------------------------------------------------------------ r1108 | vlefevre | 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 Bugs fixed (wrong types). ------------------------------------------------------------------------ r1107 | vlefevre | 2001-08-10 12:35:30 +0000 (Fri, 10 Aug 2001) | 2 lines Changed paths: M /trunk/mpfr.h Macros mpfr_init_set_* changed to expressions. ------------------------------------------------------------------------ r1106 | vlefevre | 2001-08-10 12:04:17 +0000 (Fri, 10 Aug 2001) | 2 lines Changed paths: M /trunk/Makefile.in Makefile.in update. ------------------------------------------------------------------------ r1105 | zimmerma | 2001-07-06 14:02:40 +0000 (Fri, 06 Jul 2001) | 2 lines Changed paths: M /trunk/tests/tset_str.c edited wrt GNU style ------------------------------------------------------------------------ r1104 | zimmerma | 2001-07-06 13:56:34 +0000 (Fri, 06 Jul 2001) | 2 lines Changed paths: M /trunk/get_str.c fixed stupid bug: ceil(a/b) isn't (a+b-1)/a but simply a/b for a negative! ------------------------------------------------------------------------ r1103 | zimmerma | 2001-07-06 13:04:04 +0000 (Fri, 06 Jul 2001) | 2 lines Changed paths: M /trunk/sub.c fixed array bound write (bn < an + cancel1 + 1) ------------------------------------------------------------------------ r1102 | zimmerma | 2001-07-06 12:32:13 +0000 (Fri, 06 Jul 2001) | 2 lines Changed paths: M /trunk/mpfr-impl.h macros MPFR_NOTZERO and MPFR_ISZERO did not work properly with 64-bit words ------------------------------------------------------------------------ r1101 | zimmerma | 2001-06-29 16:21:05 +0000 (Fri, 29 Jun 2001) | 2 lines Changed paths: M /trunk/get_str.c fixed bug for output base 2^k ------------------------------------------------------------------------ r1100 | zimmerma | 2001-06-29 16:19:30 +0000 (Fri, 29 Jun 2001) | 2 lines Changed paths: M /trunk/tests/tget_str.c added one test ------------------------------------------------------------------------ r1099 | zimmerma | 2001-06-29 16:17:20 +0000 (Fri, 29 Jun 2001) | 2 lines Changed paths: M /trunk/algorithms.tex added a section for the exponential ------------------------------------------------------------------------ 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 fixed bug when dividend is 0 ------------------------------------------------------------------------ r1097 | zimmerma | 2001-06-28 12:45:27 +0000 (Thu, 28 Jun 2001) | 2 lines Changed paths: M /trunk/exp_2.c moved TMP_FREE ------------------------------------------------------------------------ r1096 | zimmerma | 2001-06-28 12:39:45 +0000 (Thu, 28 Jun 2001) | 2 lines Changed paths: M /trunk/TODO added 2 things ------------------------------------------------------------------------ r1095 | zimmerma | 2001-06-27 09:40:24 +0000 (Wed, 27 Jun 2001) | 2 lines Changed paths: M /trunk/Makefile.am added mpfr.info to files to remove for "make distclean" ------------------------------------------------------------------------ r1094 | vlefevre | 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 Non-existent C source references removed. ------------------------------------------------------------------------ r1093 | vlefevre | 2001-06-23 01:13:41 +0000 (Sat, 23 Jun 2001) | 2 lines Changed paths: M /trunk/mpfr-impl.h Macros MPFR_INIT and MPFR_INIT1 fixed. ------------------------------------------------------------------------ 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 nested double TMP_DECL's ------------------------------------------------------------------------ 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 A few patches. ------------------------------------------------------------------------ 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 added mpfr_sin and mpfr_cos corrected in the documentation some exact values ------------------------------------------------------------------------ r1089 | zimmerma | 2001-06-01 16:15:23 +0000 (Fri, 01 Jun 2001) | 2 lines Changed paths: M /trunk/mpfr.texi removed 2 tabs ------------------------------------------------------------------------ r1088 | zimmerma | 2001-06-01 16:03:15 +0000 (Fri, 01 Jun 2001) | 2 lines Changed paths: M /trunk/mpfr.texi added change explaining the LGPL with non-free programs ------------------------------------------------------------------------ r1087 | hanrot | 2001-05-31 16:56:11 +0000 (Thu, 31 May 2001) | 2 lines Changed paths: M /trunk/mul_ui.c Patch for the case b = 0 or c = 0. ------------------------------------------------------------------------ r1086 | hanrot | 2001-05-23 16:57:20 +0000 (Wed, 23 May 2001) | 2 lines Changed paths: M /trunk/tests/tsub.c Added DDefour's bug. ------------------------------------------------------------------------ r1085 | hanrot | 2001-05-22 10:29:32 +0000 (Tue, 22 May 2001) | 2 lines Changed paths: M /trunk/sub.c Patch in the case MPFR_PREC(b) > MPFR_PREC(a)+cancel. ------------------------------------------------------------------------ r1084 | vlefevre | 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 fixed bug in mpfr.texi ------------------------------------------------------------------------ r1083 | daney | 2001-05-10 09:19:25 +0000 (Thu, 10 May 2001) | 2 lines Changed paths: M /trunk/mpfr.texi correction du bug donne par vincent + ajout des aides des fonctions hyperbolic ------------------------------------------------------------------------ r1082 | daney | 2001-05-09 15:26:28 +0000 (Wed, 09 May 2001) | 2 lines Changed paths: M /trunk/mpfr.texi *** empty log message *** ------------------------------------------------------------------------ r1081 | zimmerma | 2001-04-20 08:49:45 +0000 (Fri, 20 Apr 2001) | 2 lines Changed paths: M /trunk/log.c log(0) now returns 0 (exact infinity) ------------------------------------------------------------------------ r1080 | zimmerma | 2001-04-18 16:05:20 +0000 (Wed, 18 Apr 2001) | 2 lines Changed paths: M /trunk/log.c fixed pbs with NaN/Inf ------------------------------------------------------------------------ r1079 | zimmerma | 2001-04-18 11:56:09 +0000 (Wed, 18 Apr 2001) | 2 lines Changed paths: M /trunk/sub.c fixed new bug found by Nathalie Revol (case when add_one_ulp produces a carry) ------------------------------------------------------------------------ r1078 | zimmerma | 2001-04-18 11:51:51 +0000 (Wed, 18 Apr 2001) | 2 lines Changed paths: M /trunk/tests/tsub.c added new bug found by Nathalie Revol ------------------------------------------------------------------------ r1077 | zimmerma | 2001-04-18 11:40:26 +0000 (Wed, 18 Apr 2001) | 2 lines Changed paths: M /trunk/sub.c fixed bug for 1.0000... - 0.000001 for rounding up or nearest ------------------------------------------------------------------------ r1076 | revol | 2001-04-17 18:23:18 +0000 (Tue, 17 Apr 2001) | 2 lines Changed paths: M /trunk/log.c Case where argument < 0 included, NR 17-04-2001 ------------------------------------------------------------------------ r1075 | zimmerma | 2001-04-12 21:38:29 +0000 (Thu, 12 Apr 2001) | 2 lines Changed paths: M /trunk/tests/tui_sub.c added new (special) tests ------------------------------------------------------------------------ r1074 | zimmerma | 2001-04-12 21:38:02 +0000 (Thu, 12 Apr 2001) | 2 lines Changed paths: A /trunk/tests/tsub.c test file for mpfr_sub ------------------------------------------------------------------------ r1073 | zimmerma | 2001-04-12 21:37:47 +0000 (Thu, 12 Apr 2001) | 2 lines Changed paths: M /trunk/tests/Makefile.am added tsub ------------------------------------------------------------------------ r1072 | daney | 2001-04-06 09:30:15 +0000 (Fri, 06 Apr 2001) | 2 lines Changed paths: M /trunk/exp.c change old exp2 (conflict with 2^x) to exp_2 ------------------------------------------------------------------------ r1071 | zimmerma | 2001-04-05 18:29:54 +0000 (Thu, 05 Apr 2001) | 2 lines Changed paths: M /trunk/tests/tcmp2.c 0 -> GMP_RNDN ------------------------------------------------------------------------ r1070 | zimmerma | 2001-04-05 18:29:03 +0000 (Thu, 05 Apr 2001) | 3 lines Changed paths: M /trunk/cmp2.c check apart the case c=0 (otherwise some low significant limbs may be non zero, which may produce a wrong result) ------------------------------------------------------------------------ r1069 | zimmerma | 2001-04-05 18:18:14 +0000 (Thu, 05 Apr 2001) | 2 lines Changed paths: M /trunk/exp.c mpfr_exp2 -> mpfr_exp_2 ------------------------------------------------------------------------ r1068 | zimmerma | 2001-04-05 17:52:36 +0000 (Thu, 05 Apr 2001) | 2 lines Changed paths: M /trunk/tests/texp.c mpfr_exp2 -> mpfr_exp_2 ------------------------------------------------------------------------ r1067 | daney | 2001-04-05 17:42:31 +0000 (Thu, 05 Apr 2001) | 2 lines Changed paths: M /trunk/mpfr.h reactualise .h ------------------------------------------------------------------------ r1066 | daney | 2001-04-05 17:42:09 +0000 (Thu, 05 Apr 2001) | 2 lines Changed paths: M /trunk/tests/thyperbolic.c change header ------------------------------------------------------------------------ r1065 | daney | 2001-04-05 17:39:30 +0000 (Thu, 05 Apr 2001) | 2 lines Changed paths: M /trunk/tests/reuse.c change reuse to suppress factorial ------------------------------------------------------------------------ r1064 | daney | 2001-04-05 17:33:16 +0000 (Thu, 05 Apr 2001) | 2 lines Changed paths: M /trunk/tests/Makefile.am suppress of timing in makefile ------------------------------------------------------------------------ r1063 | daney | 2001-04-05 17:22:23 +0000 (Thu, 05 Apr 2001) | 2 lines Changed paths: A /trunk/exp_2.c add the old exp2 function and file renamed by exp_2 ------------------------------------------------------------------------ r1062 | daney | 2001-04-05 17:20:11 +0000 (Thu, 05 Apr 2001) | 2 lines Changed paths: M /trunk/Makefile.am change makefile for new functions ------------------------------------------------------------------------ r1061 | daney | 2001-04-05 17:19:21 +0000 (Thu, 05 Apr 2001) | 2 lines Changed paths: M /trunk/tests/Makefile.am change make file test for hyperbolic function exp2 and factorial ------------------------------------------------------------------------ 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 add new test file for hyperbolic function ------------------------------------------------------------------------ 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 add test file for new function ------------------------------------------------------------------------ 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 add function ------------------------------------------------------------------------ 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 new file function ------------------------------------------------------------------------ r1056 | daney | 2001-04-05 17:13:11 +0000 (Thu, 05 Apr 2001) | 2 lines Changed paths: A /trunk/cosh.c new function file ------------------------------------------------------------------------ r1055 | zimmerma | 2001-04-05 17:07:35 +0000 (Thu, 05 Apr 2001) | 2 lines Changed paths: M /trunk/Makefile.in new version with cmp2.c ------------------------------------------------------------------------ r1054 | zimmerma | 2001-04-05 15:53:49 +0000 (Thu, 05 Apr 2001) | 2 lines Changed paths: M /trunk/mul.c fixed pb with inexact flag when 'int' and 'mp_limb_t' has different sizes ------------------------------------------------------------------------ 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 fixed bug for mpfr_cmp_ui (Inf, 0) ------------------------------------------------------------------------ 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 fixed bug for mpfr_set_ui (x, 0) [was giving -0] ------------------------------------------------------------------------ r1051 | zimmerma | 2001-04-03 17:36:03 +0000 (Tue, 03 Apr 2001) | 2 lines Changed paths: M /trunk/algorithms.tex added algorithm for mpfr_cmp2 ------------------------------------------------------------------------ r1050 | zimmerma | 2001-04-03 17:35:37 +0000 (Tue, 03 Apr 2001) | 2 lines Changed paths: M /trunk/Makefile.am added cmp2.c ------------------------------------------------------------------------ r1049 | zimmerma | 2001-04-03 17:35:03 +0000 (Tue, 03 Apr 2001) | 2 lines Changed paths: M /trunk/cmp2.c fixed bug when diff_exp >= BITS_PER_MP_LIMB ------------------------------------------------------------------------ r1048 | zimmerma | 2001-04-03 17:34:03 +0000 (Tue, 03 Apr 2001) | 2 lines Changed paths: M /trunk/tests/tcmp2.c added new test for worst cases: 1 - 1/2^i and (1 + 1/2^i) - 1/2^i ------------------------------------------------------------------------ r1047 | zimmerma | 2001-04-03 17:11:08 +0000 (Tue, 03 Apr 2001) | 2 lines Changed paths: M /trunk/mpfr-impl.h changed return value of mpfr_cmp2 ------------------------------------------------------------------------ r1046 | zimmerma | 2001-04-03 17:10:39 +0000 (Tue, 03 Apr 2001) | 2 lines Changed paths: A /trunk/cmp2.c new file for mpfr_cmp2 ------------------------------------------------------------------------ r1045 | zimmerma | 2001-04-03 17:10:23 +0000 (Tue, 03 Apr 2001) | 2 lines Changed paths: M /trunk/cmp.c moved mpfr_cmp2 to separate file cmp2.c ------------------------------------------------------------------------ r1044 | zimmerma | 2001-04-03 17:09:44 +0000 (Tue, 03 Apr 2001) | 2 lines Changed paths: M /trunk/tests/tcmp2.c added several tests, and a routine that generates worst cases ------------------------------------------------------------------------ r1043 | zimmerma | 2001-04-03 10:21:10 +0000 (Tue, 03 Apr 2001) | 2 lines Changed paths: M /trunk/trunc.c two changes suggested by Kevin Ryde ------------------------------------------------------------------------ r1042 | zimmerma | 2001-04-02 17:46:07 +0000 (Mon, 02 Apr 2001) | 2 lines Changed paths: M /trunk/Makefile.in new version from new Makefile.am ------------------------------------------------------------------------ r1041 | zimmerma | 2001-03-27 20:23:12 +0000 (Tue, 27 Mar 2001) | 2 lines Changed paths: M /trunk/tests/tadd.c added new test ------------------------------------------------------------------------ r1040 | zimmerma | 2001-03-27 20:22:57 +0000 (Tue, 27 Mar 2001) | 2 lines Changed paths: M /trunk/cmp.c fixed new bug in mpfr_cmp2 found by Fabrice ------------------------------------------------------------------------ r1039 | zimmerma | 2001-03-21 22:07:04 +0000 (Wed, 21 Mar 2001) | 2 lines Changed paths: M /trunk/tests/tcmp2.c added new test ------------------------------------------------------------------------ r1038 | zimmerma | 2001-03-21 22:05:54 +0000 (Wed, 21 Mar 2001) | 2 lines Changed paths: M /trunk/cmp.c fixed bug found by Nathalie Revol ------------------------------------------------------------------------ r1037 | zimmerma | 2001-03-20 14:32:26 +0000 (Tue, 20 Mar 2001) | 2 lines Changed paths: M /trunk/TODO added 2 items ------------------------------------------------------------------------ r1036 | zimmerma | 2001-03-20 10:03:08 +0000 (Tue, 20 Mar 2001) | 2 lines Changed paths: M /trunk/tests/tcmp_ui.c added test for mpfr_cmp_ui (-0, 0) ------------------------------------------------------------------------ r1035 | zimmerma | 2001-03-20 10:02:27 +0000 (Tue, 20 Mar 2001) | 2 lines Changed paths: M /trunk/out_str.c now prints -0 for -0 ------------------------------------------------------------------------ r1034 | revol | 2001-03-19 18:11:09 +0000 (Mon, 19 Mar 2001) | 2 lines Changed paths: M /trunk/cmp_ui.c Comparison between 0- and 0 now returns 0, NR 19-03-2001 ------------------------------------------------------------------------ r1033 | vlefevre | 2001-03-16 13:50:18 +0000 (Fri, 16 Mar 2001) | 2 lines Changed paths: M /trunk/tests/reuse.c added cast to avoid a warning ------------------------------------------------------------------------ r1032 | zimmerma | 2001-03-13 09:32:53 +0000 (Tue, 13 Mar 2001) | 2 lines Changed paths: M /trunk/tests/tmul.c added tests for inexact return value ------------------------------------------------------------------------ r1031 | zimmerma | 2001-03-13 09:32:28 +0000 (Tue, 13 Mar 2001) | 2 lines Changed paths: M /trunk/mul.c tiny bug in inexact value determination ------------------------------------------------------------------------ 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 mpfr_mul now returns an int ------------------------------------------------------------------------ r1029 | zimmerma | 2001-03-09 17:52:21 +0000 (Fri, 09 Mar 2001) | 2 lines Changed paths: A /trunk/algorithms.tex description of algorithms ------------------------------------------------------------------------ r1028 | zimmerma | 2001-03-09 17:14:53 +0000 (Fri, 09 Mar 2001) | 2 lines Changed paths: M /trunk/TODO reorganized ------------------------------------------------------------------------ r1027 | zimmerma | 2001-03-08 13:26:07 +0000 (Thu, 08 Mar 2001) | 2 lines Changed paths: M /trunk/TODO added few things ------------------------------------------------------------------------ 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 added arc-tangent ------------------------------------------------------------------------ r1025 | zimmerma | 2001-03-08 13:24:57 +0000 (Thu, 08 Mar 2001) | 2 lines Changed paths: M /trunk/tests/Makefile.am added tarctan ------------------------------------------------------------------------ r1024 | zimmerma | 2001-03-08 13:24:29 +0000 (Thu, 08 Mar 2001) | 2 lines Changed paths: M /trunk/tests/reuse.c added test to mpfr_arctan ------------------------------------------------------------------------ r1023 | zimmerma | 2001-03-08 13:23:34 +0000 (Thu, 08 Mar 2001) | 2 lines Changed paths: M /trunk/tests/tarctan.c added header ------------------------------------------------------------------------ r1022 | zimmerma | 2001-03-08 13:22:20 +0000 (Thu, 08 Mar 2001) | 2 lines Changed paths: A /trunk/tests/tarctan.c test file for mpfr_arctan ------------------------------------------------------------------------ r1021 | zimmerma | 2001-03-08 13:14:26 +0000 (Thu, 08 Mar 2001) | 2 lines Changed paths: M /trunk/arctan.c removed math.h ------------------------------------------------------------------------ r1020 | zimmerma | 2001-03-08 13:08:25 +0000 (Thu, 08 Mar 2001) | 2 lines Changed paths: A /trunk/arctan.c arctangent function (contributed by Mathieu Dutour, done slight changes) ------------------------------------------------------------------------ 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 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 changed _d to _p, added mpfr_number_p ------------------------------------------------------------------------ r995 | zimmerma | 2001-02-15 22:19:16 +0000 (Thu, 15 Feb 2001) | 2 lines Changed paths: M /trunk/round.c changed MPN_COPY into MPN_COPY_INCR/MPN_COPY_DECR in mpfr_round_raw ------------------------------------------------------------------------ r994 | zimmerma | 2001-02-15 22:18:55 +0000 (Thu, 15 Feb 2001) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c added tests for one of arguments NULL ------------------------------------------------------------------------ r993 | zimmerma | 2001-02-15 22:18:16 +0000 (Thu, 15 Feb 2001) | 2 lines Changed paths: M /trunk/mpfr-impl.h moved mpfr_sgn to mpfr.h (defined in manual) ------------------------------------------------------------------------ r992 | zimmerma | 2001-02-15 22:17:58 +0000 (Thu, 15 Feb 2001) | 2 lines Changed paths: M /trunk/mpz_set_fr.c use MPZ_REALLOC ------------------------------------------------------------------------ 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 added const to 2nd argument of mpfr_set_str ------------------------------------------------------------------------ r990 | zimmerma | 2001-02-15 22:17:10 +0000 (Thu, 15 Feb 2001) | 2 lines Changed paths: M /trunk/Makefile.am added set_ui.c ------------------------------------------------------------------------ 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 added cast to "unsigned long" for ai = ABS(i) moved mpfr_set_ui to separate file ------------------------------------------------------------------------ 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 now when str==NULL return a block which is exactly strlen(str)+1 bytes long ------------------------------------------------------------------------ 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 fixed problems with old K&R compilers (_PROTO missing) ------------------------------------------------------------------------ r986 | zimmerma | 2001-02-08 12:56:50 +0000 (Thu, 08 Feb 2001) | 2 lines Changed paths: M /trunk/TODO added more items ------------------------------------------------------------------------ r985 | zimmerma | 2001-01-23 16:11:30 +0000 (Tue, 23 Jan 2001) | 2 lines Changed paths: M /trunk/mpfr-test.h fixed ulp computation ------------------------------------------------------------------------ r984 | zimmerma | 2001-01-19 16:20:33 +0000 (Fri, 19 Jan 2001) | 2 lines Changed paths: M /trunk/tests/tlog.c changed behaviour for "tlog N": prints only differences with increasing ulps ------------------------------------------------------------------------ r983 | zimmerma | 2001-01-19 09:55:11 +0000 (Fri, 19 Jan 2001) | 4 lines Changed paths: M /trunk/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 ------------------------------------------------------------------------ r982 | zimmerma | 2001-01-18 16:08:34 +0000 (Thu, 18 Jan 2001) | 2 lines Changed paths: M /trunk/mpfr.h added guard to prevent multiple inclusion ------------------------------------------------------------------------ r981 | zimmerma | 2001-01-18 08:42:27 +0000 (Thu, 18 Jan 2001) | 2 lines Changed paths: M /trunk/cmp.c fixed bug in mpfr_cmp2 (found on the IA64) ------------------------------------------------------------------------ r980 | zimmerma | 2001-01-11 17:26:02 +0000 (Thu, 11 Jan 2001) | 2 lines Changed paths: M /trunk/tests/tset_str.c added tests for 0 in mpfr_set_str_raw ------------------------------------------------------------------------ r979 | zimmerma | 2001-01-11 17:25:28 +0000 (Thu, 11 Jan 2001) | 2 lines Changed paths: M /trunk/set_str_raw.c fixed bug for +0000E0 ------------------------------------------------------------------------ r978 | zimmerma | 2001-01-11 16:53:48 +0000 (Thu, 11 Jan 2001) | 2 lines Changed paths: M /trunk/sqrtrem.c incorporated changes from Kevin/Torbjorn for GMP 3.2 ------------------------------------------------------------------------ r977 | zimmerma | 2001-01-11 16:46:03 +0000 (Thu, 11 Jan 2001) | 2 lines Changed paths: M /trunk/sin_cos.c truncate the last uk (when the precision is not a power of 2) ------------------------------------------------------------------------ r976 | zimmerma | 2001-01-11 16:45:01 +0000 (Thu, 11 Jan 2001) | 2 lines Changed paths: M /trunk/set_str_raw.c _mp_allocate_func -> _gmp_allocate_func ------------------------------------------------------------------------ r975 | zimmerma | 2001-01-11 16:44:24 +0000 (Thu, 11 Jan 2001) | 2 lines Changed paths: M /trunk/set_prec.c _mp_reallocate_func -> _gmp_reallocate_func ------------------------------------------------------------------------ r974 | zimmerma | 2001-01-11 16:44:04 +0000 (Thu, 11 Jan 2001) | 2 lines Changed paths: M /trunk/set_dfl_prec.c __gmp_default_fp_bit_precision -> __mpfr_default_fp_bit_precision ------------------------------------------------------------------------ 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 _mp_xxx_func -> _gmp_xxx_func ------------------------------------------------------------------------ r972 | zimmerma | 2001-01-11 16:43:16 +0000 (Thu, 11 Jan 2001) | 2 lines Changed paths: M /trunk/random.c removed mpfr_srandom ------------------------------------------------------------------------ r971 | zimmerma | 2001-01-11 16:42:09 +0000 (Thu, 11 Jan 2001) | 3 lines Changed paths: M /trunk/out_str.c sprintf -> fprintf _mp_free_func -> _gmp_free_func ------------------------------------------------------------------------ r970 | zimmerma | 2001-01-11 16:41:33 +0000 (Thu, 11 Jan 2001) | 2 lines Changed paths: M /trunk/mpz_set_fr.c _mp_reallocate_func -> __gmp_reallocate_func ------------------------------------------------------------------------ r969 | zimmerma | 2001-01-11 16:41:09 +0000 (Thu, 11 Jan 2001) | 4 lines Changed paths: M /trunk/mpfr.texi added paragraph on NaN and infinities, docu on mpfr_nan_d and mpfr_inf_d removed mpfr_srandom some renamings ------------------------------------------------------------------------ r968 | zimmerma | 2001-01-11 16:39:50 +0000 (Thu, 11 Jan 2001) | 4 lines Changed paths: M /trunk/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 ------------------------------------------------------------------------ r967 | zimmerma | 2001-01-11 16:38:40 +0000 (Thu, 11 Jan 2001) | 2 lines Changed paths: M /trunk/log.c removed superfluous TMP_FREE(marker) ------------------------------------------------------------------------ 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 _mp_xxx_func -> _gmp_xxx_func ------------------------------------------------------------------------ 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 _mp_free_func -> _gmp_free_func ------------------------------------------------------------------------ r964 | zimmerma | 2001-01-11 16:21:43 +0000 (Thu, 11 Jan 2001) | 2 lines Changed paths: A /trunk/isnan.c functions to check for NaN and infinities ------------------------------------------------------------------------ r963 | zimmerma | 2001-01-11 16:21:14 +0000 (Thu, 11 Jan 2001) | 2 lines Changed paths: M /trunk/Makefile.am added isnan.c, removed srandom.h ------------------------------------------------------------------------ r962 | zimmerma | 2001-01-11 16:19:06 +0000 (Thu, 11 Jan 2001) | 2 lines Changed paths: M /trunk/TODO added two items from Kevin ------------------------------------------------------------------------ r961 | zimmerma | 2001-01-11 16:17:44 +0000 (Thu, 11 Jan 2001) | 2 lines Changed paths: M /trunk/TODO add 2 items ------------------------------------------------------------------------ r960 | zimmerma | 2001-01-11 16:17:31 +0000 (Thu, 11 Jan 2001) | 2 lines Changed paths: M /trunk/NEWS 0.4 -> 1.0 ------------------------------------------------------------------------ r959 | zimmerma | 2001-01-05 16:24:25 +0000 (Fri, 05 Jan 2001) | 2 lines Changed paths: M /trunk/tests/tlog.c added one test for large operands ------------------------------------------------------------------------ r958 | zimmerma | 2001-01-05 16:23:34 +0000 (Fri, 05 Jan 2001) | 2 lines Changed paths: M /trunk/agm.c fixed bug in _mpfr_ceil_exp2 (underflow when exp < -1022) ------------------------------------------------------------------------ r957 | zimmerma | 2000-12-22 16:49:12 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/TODO remove what was done ------------------------------------------------------------------------ r956 | zimmerma | 2000-12-22 16:48:24 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/README added mpfr-test.h ------------------------------------------------------------------------ r955 | zimmerma | 2000-12-22 16:44:51 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/AUTHORS added Vincent ------------------------------------------------------------------------ r954 | zimmerma | 2000-12-22 16:41:28 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/INSTALL M /trunk/NEWS 1.1 -> 2001 ------------------------------------------------------------------------ r953 | zimmerma | 2000-12-22 16:17:45 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/get_str.c cast for _mpfr_floor_log2 was on the wrong side ------------------------------------------------------------------------ r952 | zimmerma | 2000-12-22 16:17:09 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/tests/tpow.c added one test ------------------------------------------------------------------------ r951 | zimmerma | 2000-12-22 16:16:54 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/agm.c simplified _mpfr_floor_log2 ------------------------------------------------------------------------ r950 | zimmerma | 2000-12-22 16:16:35 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/pow.c code was wrong for infinity ------------------------------------------------------------------------ r949 | zimmerma | 2000-12-22 15:45:22 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/log.c only editing ------------------------------------------------------------------------ r948 | zimmerma | 2000-12-22 15:45:04 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/tests/tlog.c added special() cases ------------------------------------------------------------------------ r947 | zimmerma | 2000-12-22 15:42:49 +0000 (Fri, 22 Dec 2000) | 3 lines Changed paths: M /trunk/log2.c removed #if 0 (on Alpha with cc the enclosed code was still used since the # was not in the first column) ------------------------------------------------------------------------ r946 | zimmerma | 2000-12-22 14:55:42 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/INSTALL changes for version 1.1 ------------------------------------------------------------------------ r945 | zimmerma | 2000-12-22 14:52:02 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/tests/texp.c added one test (exp2 vs exp3) ------------------------------------------------------------------------ r944 | zimmerma | 2000-12-22 14:51:00 +0000 (Fri, 22 Dec 2000) | 3 lines Changed paths: M /trunk/exp2.c changed c from mp_limb_t into unsigned long in mpfr_exp2_aux2 (otherwise bugs on IRIX -n32) ------------------------------------------------------------------------ r943 | zimmerma | 2000-12-22 12:22:13 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/tests/tpow.c added one test ------------------------------------------------------------------------ r942 | zimmerma | 2000-12-22 12:21:56 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/pow.c fixed wrong combination of conditions for Infinity ------------------------------------------------------------------------ r941 | zimmerma | 2000-12-22 12:10:49 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/tests/tcmp2.c added mpfr-test.h for MIPS ------------------------------------------------------------------------ r940 | hanrot | 2000-12-22 10:47:43 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/tests/Makefile.in Modified macro calls ------------------------------------------------------------------------ r939 | zimmerma | 2000-12-22 09:29:05 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/tests/tset_str.c added cast (int) to random() to avoid warning on Solaris ------------------------------------------------------------------------ r938 | zimmerma | 2000-12-22 09:07:59 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/tests/tset_str.c added ------------------------------------------------------------------------ r937 | zimmerma | 2000-12-22 08:57:57 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/sqrtrem.c tiny change at the end of main routine (suggested by Guillaume) ------------------------------------------------------------------------ r936 | zimmerma | 2000-12-22 08:54:56 +0000 (Fri, 22 Dec 2000) | 2 lines Changed paths: M /trunk/tests/tcmp2.c 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 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 | vlefevre | 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 clear NaN/Inf flags in normal case ------------------------------------------------------------------------ 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 adapted to NaN/Inf ------------------------------------------------------------------------ r883 | zimmerma | 2000-12-15 16:55:19 +0000 (Fri, 15 Dec 2000) | 2 lines Changed paths: M /trunk/mpfr.h added prototype for mpfr_srandom ------------------------------------------------------------------------ r882 | zimmerma | 2000-12-15 16:54:50 +0000 (Fri, 15 Dec 2000) | 2 lines Changed paths: M /trunk/random.c now uses directly mpn_random, to avoid all problems with include files ------------------------------------------------------------------------ r881 | zimmerma | 2000-12-15 16:45:41 +0000 (Fri, 15 Dec 2000) | 2 lines Changed paths: M /trunk/tests/tsin_cos.c added 4 tests ------------------------------------------------------------------------ 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 _mp_d -> MPFR_MANT ------------------------------------------------------------------------ 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 added error message when memory allocation fails ------------------------------------------------------------------------ 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 added error message when memory allocation fails ------------------------------------------------------------------------ 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 _mp_d -> MPFR_MANT ------------------------------------------------------------------------ r876 | zimmerma | 2000-12-15 16:26:09 +0000 (Fri, 15 Dec 2000) | 2 lines Changed paths: M /trunk/init.c 0 -> NULL ------------------------------------------------------------------------ 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 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 | vlefevre | 2000-12-14 14:36:09 +0000 (Thu, 14 Dec 2000) | 2 lines Changed paths: M /trunk/random.c Use urandom(). ------------------------------------------------------------------------ r856 | vlefevre | 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 | vlefevre | 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: included set_d.c: (0./0.) instead of sqrt(-1) for NaN (doesn't need ) 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 ------------------------------------------------------------------------ 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 added an error message when the mantissa is larger than the precision (in mpfr_set_str_raw) ------------------------------------------------------------------------ r838 | zimmerma | 2000-12-07 11:23:24 +0000 (Thu, 07 Dec 2000) | 3 lines Changed paths: M /trunk/mpfr.h added macros to recognize doubles that are NaNs and infinities (isinf is not portable and requires math.h) ------------------------------------------------------------------------ r837 | zimmerma | 2000-12-07 11:22:04 +0000 (Thu, 07 Dec 2000) | 5 lines Changed paths: M /trunk/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 ------------------------------------------------------------------------ r836 | zimmerma | 2000-12-07 10:44:28 +0000 (Thu, 07 Dec 2000) | 2 lines Changed paths: M /trunk/add.c added 'return' after dealing with infinities ------------------------------------------------------------------------ r835 | zimmerma | 2000-12-07 10:37:08 +0000 (Thu, 07 Dec 2000) | 2 lines Changed paths: M /trunk/TODO added wish from JC Fauge`re ------------------------------------------------------------------------ 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 mpfr_init/mpfr_init2 initialize to 0 (compatibility with mpf) ------------------------------------------------------------------------ r833 | zimmerma | 2000-12-05 13:24:43 +0000 (Tue, 05 Dec 2000) | 2 lines Changed paths: M /trunk/cmp.c fixed bug in mpfr_cmp2 when return value is k*BITS_PER_MP_LIMB-1 ------------------------------------------------------------------------ r832 | zimmerma | 2000-12-05 13:23:58 +0000 (Tue, 05 Dec 2000) | 2 lines Changed paths: M /trunk/tests/tcmp.c added new test for mpfr_cmp2 ------------------------------------------------------------------------ r831 | zimmerma | 2000-12-05 12:37:14 +0000 (Tue, 05 Dec 2000) | 2 lines Changed paths: M /trunk/mpfr.h now ABSSIZE uses only 29 bits ------------------------------------------------------------------------ r830 | zimmerma | 2000-12-04 14:36:36 +0000 (Mon, 04 Dec 2000) | 2 lines Changed paths: M /trunk/mpfr.texi added some explanations how to free the memory space allocated by mpfr_get_str ------------------------------------------------------------------------ r829 | zimmerma | 2000-12-04 13:45:14 +0000 (Mon, 04 Dec 2000) | 2 lines Changed paths: M /trunk/sqrt.c fixed one bug found by N. Mueller (MPFR_ABSSIZE(u) was used instead of usize) ------------------------------------------------------------------------ r828 | zimmerma | 2000-12-04 13:44:24 +0000 (Mon, 04 Dec 2000) | 2 lines Changed paths: M /trunk/tests/tsqrt.c 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 ------------------------------------------------------------------------ r775 | zimmerma | 2000-09-29 16:06:55 +0000 (Fri, 29 Sep 2000) | 2 lines Changed paths: M /trunk/tests/texp.c added comparison between exp2 and exp3 ------------------------------------------------------------------------ r774 | zimmerma | 2000-09-29 16:04:47 +0000 (Fri, 29 Sep 2000) | 2 lines Changed paths: M /trunk/exp3.c take also the target precision into account for the guard bits ------------------------------------------------------------------------ r773 | zimmerma | 2000-09-29 16:04:19 +0000 (Fri, 29 Sep 2000) | 2 lines Changed paths: M /trunk/exp2.c new faster version with O(n^(1/3)*M(n)) algorithm ------------------------------------------------------------------------ r772 | zimmerma | 2000-09-29 16:03:51 +0000 (Fri, 29 Sep 2000) | 2 lines Changed paths: M /trunk/exp.c adjusted exp2-exp3 threshold for new faster version of mpfr_exp2 ------------------------------------------------------------------------ r771 | zimmerma | 2000-09-29 14:23:59 +0000 (Fri, 29 Sep 2000) | 2 lines Changed paths: M /trunk/Makefile.am added mpz_set_fr.c ------------------------------------------------------------------------ r770 | zimmerma | 2000-09-29 13:03:23 +0000 (Fri, 29 Sep 2000) | 2 lines Changed paths: M /trunk/tests/Makefile.am added tdump ------------------------------------------------------------------------ r769 | zimmerma | 2000-09-29 13:02:47 +0000 (Fri, 29 Sep 2000) | 2 lines Changed paths: M /trunk/get_str.c fixed pb for op=0 (added \0 at the end of string) ------------------------------------------------------------------------ r768 | zimmerma | 2000-09-29 13:02:01 +0000 (Fri, 29 Sep 2000) | 2 lines Changed paths: M /trunk/dump.c use strlen to determine memory to free ------------------------------------------------------------------------ r767 | zimmerma | 2000-09-29 13:01:17 +0000 (Fri, 29 Sep 2000) | 2 lines Changed paths: A /trunk/tests/tdump.c test file for mpfr_dump ------------------------------------------------------------------------ r766 | zimmerma | 2000-09-29 12:30:55 +0000 (Fri, 29 Sep 2000) | 2 lines Changed paths: M /trunk/Makefile.am removed karasqrt.c, added sqrtrem.c ------------------------------------------------------------------------ r765 | zimmerma | 2000-09-29 12:30:15 +0000 (Fri, 29 Sep 2000) | 2 lines Changed paths: M /trunk/mpfr.h kara_sqrtrem -> mpn_sqrtrem_new ------------------------------------------------------------------------ r764 | zimmerma | 2000-09-29 12:29:56 +0000 (Fri, 29 Sep 2000) | 2 lines Changed paths: D /trunk/karasqrt.c now replaced by new code in sqrtrem.c ------------------------------------------------------------------------ r763 | zimmerma | 2000-09-29 12:29:24 +0000 (Fri, 29 Sep 2000) | 2 lines Changed paths: M /trunk/sqrt.c now uses new code mpn_sqrtrem_new ------------------------------------------------------------------------ r762 | zimmerma | 2000-09-29 12:29:02 +0000 (Fri, 29 Sep 2000) | 3 lines Changed paths: A /trunk/sqrtrem.c new version of fast MPN square root (should be integrated in a future release of GNU MP) ------------------------------------------------------------------------ r761 | zimmerma | 2000-09-28 14:06:55 +0000 (Thu, 28 Sep 2000) | 2 lines Changed paths: M /trunk/tests/tadd.c added another example from N. Mueller ------------------------------------------------------------------------ r760 | zimmerma | 2000-09-28 14:03:44 +0000 (Thu, 28 Sep 2000) | 2 lines Changed paths: M /trunk/sub.c fixed another ABW bug ------------------------------------------------------------------------ r759 | zimmerma | 2000-09-28 09:37:20 +0000 (Thu, 28 Sep 2000) | 2 lines Changed paths: M /trunk/sub.c fixed two Array Bound Writes ------------------------------------------------------------------------ r758 | zimmerma | 2000-09-28 09:36:56 +0000 (Thu, 28 Sep 2000) | 2 lines Changed paths: M /trunk/add.c fixed one Array Bound Read (to_nearest, bp=cp and k>=cn) ------------------------------------------------------------------------ r757 | zimmerma | 2000-09-28 09:35:54 +0000 (Thu, 28 Sep 2000) | 2 lines Changed paths: M /trunk/tests/tadd.c added 2 new tests from Norbert Mueller ------------------------------------------------------------------------ r756 | zimmerma | 2000-09-27 13:10:43 +0000 (Wed, 27 Sep 2000) | 2 lines Changed paths: M /trunk/tests/tadd.c added new test ------------------------------------------------------------------------ r755 | zimmerma | 2000-09-27 13:06:39 +0000 (Wed, 27 Sep 2000) | 2 lines Changed paths: M /trunk/sub.c fixed Array Bound Write ------------------------------------------------------------------------ r754 | zimmerma | 2000-09-20 11:31:42 +0000 (Wed, 20 Sep 2000) | 2 lines Changed paths: M /trunk/mpfr.texi added some words about the inclusion of mpfr.h ------------------------------------------------------------------------ r753 | zimmerma | 2000-09-20 11:31:11 +0000 (Wed, 20 Sep 2000) | 2 lines Changed paths: M /trunk/TODO we need to better protect macros ------------------------------------------------------------------------ r752 | zimmerma | 2000-09-20 10:38:15 +0000 (Wed, 20 Sep 2000) | 2 lines Changed paths: M /trunk/Makefile.am removed MPFR_OBJECTS (does not work) ------------------------------------------------------------------------ r751 | zimmerma | 2000-09-20 10:33:16 +0000 (Wed, 20 Sep 2000) | 2 lines Changed paths: M /trunk/Makefile.am added $(MPFR_OBJECTS) in libmpfr_a_LIBADD ------------------------------------------------------------------------ r750 | zimmerma | 2000-09-20 10:28:29 +0000 (Wed, 20 Sep 2000) | 2 lines Changed paths: M /trunk/Makefile.in added $(MPFR_OBJECTS) in libmpfr_a_DEPENDENCIES ------------------------------------------------------------------------ r749 | zimmerma | 2000-09-20 10:08:07 +0000 (Wed, 20 Sep 2000) | 2 lines Changed paths: M /trunk/mpfr.texi added contributions from Emmanuel Jeandel and Thom Mulders ------------------------------------------------------------------------ r748 | zimmerma | 2000-09-20 10:03:32 +0000 (Wed, 20 Sep 2000) | 2 lines Changed paths: M /trunk/AUTHORS added Thom Mulders ------------------------------------------------------------------------ r747 | zimmerma | 2000-09-20 10:00:31 +0000 (Wed, 20 Sep 2000) | 3 lines Changed paths: A /trunk/shortmul.c routines for naive/fast short multiplication, contributed by Thom Mulders (ETH Zu"rich) ------------------------------------------------------------------------ r746 | zimmerma | 2000-09-19 14:06:06 +0000 (Tue, 19 Sep 2000) | 2 lines Changed paths: M /trunk/tests/tdiv_ui.c added new test for overlapping x, y ------------------------------------------------------------------------ r745 | zimmerma | 2000-09-19 14:05:37 +0000 (Tue, 19 Sep 2000) | 2 lines Changed paths: M /trunk/div_ui.c fixed problem when x=y ------------------------------------------------------------------------ r744 | zimmerma | 2000-09-14 12:35:42 +0000 (Thu, 14 Sep 2000) | 2 lines Changed paths: M /trunk/tests/tadd.c added pb from Norbert Muller ------------------------------------------------------------------------ r743 | zimmerma | 2000-09-14 12:35:16 +0000 (Thu, 14 Sep 2000) | 2 lines Changed paths: M /trunk/sub.c fixed SEGV (mpn_lshift doesn't seem to like src_size=0) ------------------------------------------------------------------------ r742 | zimmerma | 2000-09-14 12:32:38 +0000 (Thu, 14 Sep 2000) | 2 lines Changed paths: M /trunk/tests/Makefile.am now prints "failed" when test file doesn't return 0 ------------------------------------------------------------------------ r741 | zimmerma | 2000-08-29 18:14:19 +0000 (Tue, 29 Aug 2000) | 3 lines Changed paths: M /trunk/div.c replaced mpn_divrem by mpn_tdiv_qr for gmp 3 or later and avoid copy of one operand when possible ------------------------------------------------------------------------ r740 | zimmerma | 2000-08-29 12:38:57 +0000 (Tue, 29 Aug 2000) | 2 lines Changed paths: M /trunk/INSTALL updated (make check, make install) ------------------------------------------------------------------------ r739 | zimmerma | 2000-08-29 12:07:24 +0000 (Tue, 29 Aug 2000) | 2 lines Changed paths: M /trunk/README described each file ------------------------------------------------------------------------ r738 | zimmerma | 2000-08-29 11:53:09 +0000 (Tue, 29 Aug 2000) | 2 lines Changed paths: M /trunk/NEWS News for version 1.0 ------------------------------------------------------------------------ r737 | zimmerma | 2000-08-25 17:04:05 +0000 (Fri, 25 Aug 2000) | 2 lines Changed paths: M /trunk/get_str.c fixed bug for 0.9999999999... ------------------------------------------------------------------------ r736 | zimmerma | 2000-08-25 16:58:23 +0000 (Fri, 25 Aug 2000) | 2 lines Changed paths: M /trunk/tests/tout_str.c added test for 0.99999999999999999 ------------------------------------------------------------------------ r735 | zimmerma | 2000-08-24 16:46:56 +0000 (Thu, 24 Aug 2000) | 2 lines Changed paths: M /trunk/TODO added mpfr_swap ------------------------------------------------------------------------ r734 | zimmerma | 2000-08-24 09:13:21 +0000 (Thu, 24 Aug 2000) | 2 lines Changed paths: M /trunk/log2.c now store last computed value together with last rounding mode ------------------------------------------------------------------------ r733 | zimmerma | 2000-08-23 16:29:19 +0000 (Wed, 23 Aug 2000) | 2 lines Changed paths: M /trunk/mpfr.texi target ps -> mpfr.ps ------------------------------------------------------------------------ r732 | zimmerma | 2000-08-23 09:56:15 +0000 (Wed, 23 Aug 2000) | 2 lines Changed paths: M /trunk/Makefile.am added $(srcdir) to trunc.c for sub-directory compilation ------------------------------------------------------------------------ r731 | zimmerma | 2000-08-16 15:27:56 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: M /trunk/sin_cos.c removed some memory leaks ------------------------------------------------------------------------ r730 | zimmerma | 2000-08-16 14:50:40 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: M /trunk/generic.c solved memory leaks with T[i] and qtoj[i] ------------------------------------------------------------------------ r729 | zimmerma | 2000-08-16 14:47:22 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: M /trunk/TODO updated (done autoconf, faster mpfr_exp, sin/cos) ------------------------------------------------------------------------ r728 | zimmerma | 2000-08-16 14:37:43 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: M /trunk/INSTALL updated for version 1.0 ------------------------------------------------------------------------ r727 | zimmerma | 2000-08-16 14:21:30 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: M /trunk/mpfr.texi COPYING.LIB -> COPYING ------------------------------------------------------------------------ r726 | zimmerma | 2000-08-16 14:20:59 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: A /trunk/COPYING renamed back (wanted for "make dist") ------------------------------------------------------------------------ r725 | zimmerma | 2000-08-16 14:20:42 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: D /trunk/COPYING.LIB renamed back to COPYING (wanted for "make dist") ------------------------------------------------------------------------ r724 | zimmerma | 2000-08-16 14:18:57 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: A /trunk/COPYING.LIB GNU Library General Public License ------------------------------------------------------------------------ r723 | zimmerma | 2000-08-16 14:18:22 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: D /trunk/COPYING renamed to COPYING.LIB, according to mpfr.texi ------------------------------------------------------------------------ r722 | zimmerma | 2000-08-16 14:12:40 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: M /trunk/log2.c result was free'd twice when good=1 ------------------------------------------------------------------------ r721 | zimmerma | 2000-08-16 14:10:10 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: M /trunk/AUTHORS put information about authors ------------------------------------------------------------------------ r720 | zimmerma | 2000-08-16 13:50:37 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: M /trunk/configure PACKAGE and VERSION are not defined any more ------------------------------------------------------------------------ r719 | zimmerma | 2000-08-16 13:48:39 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: M /trunk/mpfr.texi gmp-mparam.h is required too ------------------------------------------------------------------------ r718 | zimmerma | 2000-08-16 13:33:49 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: M /trunk/Makefile.am IRIX make does not recognize $< (MISCFLAGS) ------------------------------------------------------------------------ r717 | zimmerma | 2000-08-16 13:00:20 +0000 (Wed, 16 Aug 2000) | 4 lines Changed paths: M /trunk/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] ------------------------------------------------------------------------ r716 | zimmerma | 2000-08-16 12:59:04 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: M /trunk/mpfr.texi updated for GMP 3.1 ------------------------------------------------------------------------ r715 | zimmerma | 2000-08-16 12:56:06 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: M /trunk/set_d.c MP_BASE_AS_DOUBLE already defined in gmp-impl.h ------------------------------------------------------------------------ r714 | zimmerma | 2000-08-16 11:26:15 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: M /trunk/exp3.c nb_terms[0] was not initialized ------------------------------------------------------------------------ r713 | zimmerma | 2000-08-16 10:55:11 +0000 (Wed, 16 Aug 2000) | 3 lines Changed paths: M /trunk/log2.c fixed some FNH (free not in heap) problems for binary splitting method (prec >= 30000) ------------------------------------------------------------------------ r712 | zimmerma | 2000-08-16 09:53:54 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: M /trunk/Makefile.in gmp.info -> mpfr.info ------------------------------------------------------------------------ r711 | zimmerma | 2000-08-16 09:46:59 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: M /trunk/Makefile.in set_dfl_rnd.* -> set_rnd.* (to avoid conflict with set_dfl_prec.* on DOS 8.3) ------------------------------------------------------------------------ r710 | zimmerma | 2000-08-16 09:42:43 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: D /trunk/tests/Makefile now automatically generated by configure ------------------------------------------------------------------------ r709 | zimmerma | 2000-08-16 09:40:47 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: M /trunk/div_ui.c added if (__GNU_MP_VERSION < 3) for mpn_divrem_1-bug patch ------------------------------------------------------------------------ r708 | zimmerma | 2000-08-16 09:26:18 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: M /trunk/Makefile.am set_dfl_rnd -> set_rnd ------------------------------------------------------------------------ r707 | zimmerma | 2000-08-16 09:24:15 +0000 (Wed, 16 Aug 2000) | 2 lines Changed paths: A /trunk/set_rnd.c new name of set_dfl_rnd.c (avoids clash with set_dfl_prec.c on DOS 8.3) ------------------------------------------------------------------------ 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 Timestamp ------------------------------------------------------------------------ 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 New release ------------------------------------------------------------------------ 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 Bugs fixed ------------------------------------------------------------------------ r682 | jeandel | 2000-07-13 09:39:27 +0000 (Thu, 13 Jul 2000) | 2 lines Changed paths: M /trunk/tests/Makefile.in Bug fixed ------------------------------------------------------------------------ r681 | jeandel | 2000-07-13 09:21:09 +0000 (Thu, 13 Jul 2000) | 2 lines Changed paths: M /trunk/mpfr.texi sin_cos added ------------------------------------------------------------------------ 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 New algorithm, new wrapper ------------------------------------------------------------------------ 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 Deps included ------------------------------------------------------------------------ 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 Bug Fixed ------------------------------------------------------------------------ r669 | jeandel | 2000-07-11 09:52:32 +0000 (Tue, 11 Jul 2000) | 2 lines Changed paths: M /trunk/tests/Makefile.in Bug fixed ------------------------------------------------------------------------ r668 | jeandel | 2000-07-11 09:52:17 +0000 (Tue, 11 Jul 2000) | 2 lines Changed paths: M /trunk/tests/Makefile.am Bug Fixed ------------------------------------------------------------------------ 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 First Release ------------------------------------------------------------------------ r666 | jeandel | 2000-07-11 09:42:34 +0000 (Tue, 11 Jul 2000) | 2 lines Changed paths: D /trunk/COPYING.LIB A /trunk/NEWS *** empty log message *** ------------------------------------------------------------------------ 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 First Release ------------------------------------------------------------------------ r664 | jeandel | 2000-07-11 09:40:32 +0000 (Tue, 11 Jul 2000) | 2 lines Changed paths: A /trunk/AUTHORS First release ------------------------------------------------------------------------ r663 | jeandel | 2000-07-11 09:37:43 +0000 (Tue, 11 Jul 2000) | 2 lines Changed paths: M /trunk/Configure Added sin_cos ------------------------------------------------------------------------ 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 First Release ------------------------------------------------------------------------ r661 | jeandel | 2000-06-29 14:35:36 +0000 (Thu, 29 Jun 2000) | 2 lines Changed paths: M /trunk/extract.c Memory problems fixed ------------------------------------------------------------------------ r660 | jeandel | 2000-06-29 14:35:19 +0000 (Thu, 29 Jun 2000) | 2 lines Changed paths: M /trunk/exp3.c Memory Leaks Fixed ------------------------------------------------------------------------ r659 | zimmerma | 2000-06-29 13:22:57 +0000 (Thu, 29 Jun 2000) | 2 lines Changed paths: M /trunk/mpfr.h added prototype for mpfr_sub_ui ------------------------------------------------------------------------ r658 | zimmerma | 2000-06-29 13:22:34 +0000 (Thu, 29 Jun 2000) | 2 lines Changed paths: M /trunk/init.c now use mpfr macros ------------------------------------------------------------------------ r657 | zimmerma | 2000-06-29 13:18:58 +0000 (Thu, 29 Jun 2000) | 2 lines Changed paths: M /trunk/sub.c be careful not to call mpn_sub_n/mpn_sub_1 with a size 0 ------------------------------------------------------------------------ r656 | zimmerma | 2000-06-29 13:16:45 +0000 (Thu, 29 Jun 2000) | 2 lines Changed paths: M /trunk/clear.c fixed to free an entire number of limbs ------------------------------------------------------------------------ r655 | zimmerma | 2000-06-29 13:14:38 +0000 (Thu, 29 Jun 2000) | 2 lines Changed paths: A /trunk/tests/tsub_ui.c test file for sub_ui ------------------------------------------------------------------------ r654 | jeandel | 2000-06-28 08:35:07 +0000 (Wed, 28 Jun 2000) | 2 lines Changed paths: M /trunk/Configure mpfr_exp3 and mpfr_extract added to Makefile ------------------------------------------------------------------------ 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 First Release ------------------------------------------------------------------------ r652 | zimmerma | 2000-06-21 15:56:25 +0000 (Wed, 21 Jun 2000) | 2 lines Changed paths: M /trunk/tests/tsqrt_ui.c distinguish between mpfr failure and difference with sqrt() ------------------------------------------------------------------------ r651 | zimmerma | 2000-06-21 15:55:35 +0000 (Wed, 21 Jun 2000) | 2 lines Changed paths: M /trunk/tests/tsqrt.c ensures random numbers given to sqrt() are positive ------------------------------------------------------------------------ r650 | zimmerma | 2000-06-21 15:52:43 +0000 (Wed, 21 Jun 2000) | 2 lines Changed paths: M /trunk/rnd_mode.c adapted for freebsd ------------------------------------------------------------------------ r649 | zimmerma | 2000-06-21 15:52:05 +0000 (Wed, 21 Jun 2000) | 2 lines Changed paths: M /trunk/mpfr-impl.h modified drand to avoid false NaNs (makes SEGV under FreeBSD) ------------------------------------------------------------------------ r648 | zimmerma | 2000-06-21 15:51:17 +0000 (Wed, 21 Jun 2000) | 2 lines Changed paths: M /trunk/Configure added entry for FreeBSD, removed -pedantic option ------------------------------------------------------------------------ r647 | zimmerma | 2000-06-21 14:54:08 +0000 (Wed, 21 Jun 2000) | 2 lines Changed paths: M /trunk/tests/tui_sub.c added one test ------------------------------------------------------------------------ r646 | zimmerma | 2000-06-21 14:47:02 +0000 (Wed, 21 Jun 2000) | 2 lines Changed paths: M /trunk/tests/tadd.c added new tests ------------------------------------------------------------------------ r645 | zimmerma | 2000-06-21 14:40:38 +0000 (Wed, 21 Jun 2000) | 2 lines Changed paths: M /trunk/mpfr.h added prototype for mpfr_set_prec_raw ------------------------------------------------------------------------ r644 | zimmerma | 2000-06-21 14:40:17 +0000 (Wed, 21 Jun 2000) | 2 lines Changed paths: M /trunk/TODO removed work done ------------------------------------------------------------------------ r643 | zimmerma | 2000-06-21 13:54:05 +0000 (Wed, 21 Jun 2000) | 2 lines Changed paths: M /trunk/sub.c fixed several bugs ------------------------------------------------------------------------ r642 | zimmerma | 2000-06-21 13:52:24 +0000 (Wed, 21 Jun 2000) | 2 lines Changed paths: M /trunk/add.c merged different roundings in case diff_exp (mp_limb_t) 1 [pb on 64-bit machines] reduced number of tests to 1000 ------------------------------------------------------------------------ r612 | hanrot | 2000-06-15 10:32:04 +0000 (Thu, 15 Jun 2000) | 3 lines Changed paths: M /trunk/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 ? ------------------------------------------------------------------------ r611 | hanrot | 2000-06-15 10:25:51 +0000 (Thu, 15 Jun 2000) | 2 lines Changed paths: M /trunk/Configure Added trandom, teq ------------------------------------------------------------------------ r610 | hanrot | 2000-06-15 10:25:20 +0000 (Thu, 15 Jun 2000) | 2 lines Changed paths: M /trunk/mpfr.h Added random2, urandomb ------------------------------------------------------------------------ r609 | hanrot | 2000-06-15 10:15:58 +0000 (Thu, 15 Jun 2000) | 2 lines Changed paths: M /trunk/tests/tmul_2exp.c Added div_2exp to the (very rough) test. ------------------------------------------------------------------------ r608 | hanrot | 2000-06-15 10:13:37 +0000 (Thu, 15 Jun 2000) | 2 lines Changed paths: A /trunk/tests/trandom.c Very basic statistical tests for random, random2, urandomb. ------------------------------------------------------------------------ r607 | hanrot | 2000-06-15 10:13:19 +0000 (Thu, 15 Jun 2000) | 2 lines Changed paths: M /trunk/random.c Patch for random (libc's random() is on 31 bits only) ------------------------------------------------------------------------ r606 | hanrot | 2000-06-15 08:12:10 +0000 (Thu, 15 Jun 2000) | 2 lines Changed paths: A /trunk/tests/teq.c Test for mpfr_eq. ------------------------------------------------------------------------ r605 | hanrot | 2000-06-15 08:11:54 +0000 (Thu, 15 Jun 2000) | 2 lines Changed paths: M /trunk/eq.c Patch a few incoherences of eq.c wrt the manual + adapt to mpfr usual semantics ------------------------------------------------------------------------ r604 | zimmerma | 2000-06-07 09:50:41 +0000 (Wed, 07 Jun 2000) | 2 lines Changed paths: A /trunk/cputime.h header file providing cputime() function ------------------------------------------------------------------------ r603 | zimmerma | 2000-06-07 09:45:23 +0000 (Wed, 07 Jun 2000) | 2 lines Changed paths: A /trunk/tests/texp2.c test file comparing mpfr_exp and mpfr_exp2 ------------------------------------------------------------------------ r602 | zimmerma | 2000-06-07 09:44:40 +0000 (Wed, 07 Jun 2000) | 4 lines Changed paths: A /trunk/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] ------------------------------------------------------------------------ r601 | zimmerma | 2000-05-29 15:37:53 +0000 (Mon, 29 May 2000) | 2 lines Changed paths: M /trunk/round.c fixed bug in mpfr_round (wrong sign) ------------------------------------------------------------------------ r600 | zimmerma | 2000-05-29 15:09:51 +0000 (Mon, 29 May 2000) | 2 lines Changed paths: M /trunk/round.c fixed bug in mpfr_round: did not check allocated space was large enough ------------------------------------------------------------------------ r599 | zimmerma | 2000-05-29 14:02:08 +0000 (Mon, 29 May 2000) | 2 lines Changed paths: M /trunk/tests/tcmp_ui.c main -> int main ------------------------------------------------------------------------ r598 | zimmerma | 2000-05-29 13:54:39 +0000 (Mon, 29 May 2000) | 3 lines Changed paths: M /trunk/rnd_mode.c added #ifdef TEST: if not defined (default), then function mpfr_set_machine_rnd_mode is not defined ------------------------------------------------------------------------ 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 added #ifdef TEST to disable comparison with machine arithmetic by default (i.e. calls to mpfr_set_machine_rnd_mode) ------------------------------------------------------------------------ r596 | zimmerma | 2000-05-29 13:46:24 +0000 (Mon, 29 May 2000) | 2 lines Changed paths: M /trunk/sqrt.c removed longlong.h (not needed) ------------------------------------------------------------------------ r595 | zimmerma | 2000-05-29 13:45:51 +0000 (Mon, 29 May 2000) | 2 lines Changed paths: M /trunk/set.c now deals with NaN ------------------------------------------------------------------------ r594 | zimmerma | 2000-05-29 13:45:17 +0000 (Mon, 29 May 2000) | 2 lines Changed paths: M /trunk/round.c RND_MODE -> rnd_mode ------------------------------------------------------------------------ r593 | zimmerma | 2000-05-29 13:44:13 +0000 (Mon, 29 May 2000) | 2 lines Changed paths: M /trunk/mpfr.h mpfr_init is now a function (no more a macro) ------------------------------------------------------------------------ r592 | zimmerma | 2000-05-29 13:43:39 +0000 (Mon, 29 May 2000) | 3 lines Changed paths: M /trunk/init.c printf -> fprintf added mpfr_init as function ------------------------------------------------------------------------ r591 | zimmerma | 2000-05-29 13:42:10 +0000 (Mon, 29 May 2000) | 3 lines Changed paths: M /trunk/mpf2mpfr.h changed (x) -> x fixed several typos ------------------------------------------------------------------------ r590 | zimmerma | 2000-05-29 11:28:48 +0000 (Mon, 29 May 2000) | 2 lines Changed paths: M /trunk/div.c removed printf ------------------------------------------------------------------------ r589 | zimmerma | 2000-05-26 16:38:44 +0000 (Fri, 26 May 2000) | 2 lines Changed paths: M /trunk/tests/tagm.c added ifdef TEST ------------------------------------------------------------------------ r588 | zimmerma | 2000-05-26 16:28:09 +0000 (Fri, 26 May 2000) | 2 lines Changed paths: M /trunk/tests/tsqrt.c removed debug line ------------------------------------------------------------------------ r587 | zimmerma | 2000-05-26 16:25:37 +0000 (Fri, 26 May 2000) | 2 lines Changed paths: M /trunk/tests/tui_sub.c added one test ------------------------------------------------------------------------ r586 | zimmerma | 2000-05-26 16:25:13 +0000 (Fri, 26 May 2000) | 2 lines Changed paths: M /trunk/tests/tadd.c added 2 new tests ------------------------------------------------------------------------ r585 | zimmerma | 2000-05-26 16:24:25 +0000 (Fri, 26 May 2000) | 2 lines Changed paths: M /trunk/add.c little change ------------------------------------------------------------------------ r584 | zimmerma | 2000-05-26 16:20:49 +0000 (Fri, 26 May 2000) | 2 lines Changed paths: M /trunk/sub.c more changes ------------------------------------------------------------------------ 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 added ifdef TEST ------------------------------------------------------------------------ r582 | zimmerma | 2000-05-26 15:43:31 +0000 (Fri, 26 May 2000) | 2 lines Changed paths: M /trunk/tests/tset_f.c does not use machine rounding mode any more ------------------------------------------------------------------------ r581 | zimmerma | 2000-05-26 15:24:40 +0000 (Fri, 26 May 2000) | 2 lines Changed paths: M /trunk/tests/tadd.c added 7 new tests ------------------------------------------------------------------------ r580 | zimmerma | 2000-05-26 15:24:16 +0000 (Fri, 26 May 2000) | 2 lines Changed paths: M /trunk/tests/tui_sub.c fixed typo in printf format ------------------------------------------------------------------------ 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 fixed several rounding problems ------------------------------------------------------------------------ r578 | zimmerma | 2000-05-26 12:52:45 +0000 (Fri, 26 May 2000) | 2 lines Changed paths: M /trunk/sub.c rewritten case dif<=0 and PREC(b)>PREC(a) (merged all roundings) ------------------------------------------------------------------------ r577 | zimmerma | 2000-05-26 10:11:04 +0000 (Fri, 26 May 2000) | 2 lines Changed paths: M /trunk/tests/tadd.c removed DEBUG, VERBOSE ifdef's ------------------------------------------------------------------------ r576 | zimmerma | 2000-05-26 10:07:43 +0000 (Fri, 26 May 2000) | 2 lines Changed paths: M /trunk/sub.c fixed (hopefully) the case dif<=0, PREC(b)>PREC(a), directed rounding ------------------------------------------------------------------------ r575 | zimmerma | 2000-05-26 08:59:28 +0000 (Fri, 26 May 2000) | 3 lines Changed paths: M /trunk/sub.c replaced (mp_limb_t)1 by macro ONE fixed bug for GMP_RNDN with overlap=1 ------------------------------------------------------------------------ r574 | zimmerma | 2000-05-26 08:58:32 +0000 (Fri, 26 May 2000) | 2 lines Changed paths: M /trunk/add.c removed misplaced comment ------------------------------------------------------------------------ r573 | zimmerma | 2000-05-26 08:20:16 +0000 (Fri, 26 May 2000) | 2 lines Changed paths: M /trunk/tests/tadd.c added one test ------------------------------------------------------------------------ r572 | zimmerma | 2000-05-26 08:16:19 +0000 (Fri, 26 May 2000) | 2 lines Changed paths: M /trunk/tests/tadd.c does not use rnd_mode.c by default ------------------------------------------------------------------------ r571 | zimmerma | 2000-05-26 07:41:46 +0000 (Fri, 26 May 2000) | 2 lines Changed paths: M /trunk/add.c removed unused label ------------------------------------------------------------------------ r570 | zimmerma | 2000-05-26 07:40:31 +0000 (Fri, 26 May 2000) | 2 lines Changed paths: M /trunk/add.c fixed more tiny bugs ------------------------------------------------------------------------ r569 | zimmerma | 2000-05-25 17:00:04 +0000 (Thu, 25 May 2000) | 2 lines Changed paths: M /trunk/tests/tsqrt_ui.c use mpfr_print_rnd_mode now ------------------------------------------------------------------------ r568 | zimmerma | 2000-05-25 16:59:43 +0000 (Thu, 25 May 2000) | 2 lines Changed paths: M /trunk/tests/tui_sub.c added one test ------------------------------------------------------------------------ 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 added more tests ------------------------------------------------------------------------ r566 | zimmerma | 2000-05-25 16:55:19 +0000 (Thu, 25 May 2000) | 2 lines Changed paths: M /trunk/add_ui.c removed TMP_ALLOC stuff ------------------------------------------------------------------------ r565 | zimmerma | 2000-05-25 16:54:29 +0000 (Thu, 25 May 2000) | 2 lines Changed paths: M /trunk/sub.c fixed new bug when a <- b - c with tiny c ------------------------------------------------------------------------ r564 | zimmerma | 2000-05-25 16:30:10 +0000 (Thu, 25 May 2000) | 2 lines Changed paths: M /trunk/sub.c fixed bug in a <- b-c when c very small but does not overlap with a ------------------------------------------------------------------------ r563 | zimmerma | 2000-05-25 15:45:33 +0000 (Thu, 25 May 2000) | 2 lines Changed paths: M /trunk/random2.c removed 'inline' (does not compile on Alpha with gcc 2.8.1) ------------------------------------------------------------------------ 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 added include file unistd.h ------------------------------------------------------------------------ r561 | zimmerma | 2000-05-25 15:35:08 +0000 (Thu, 25 May 2000) | 2 lines Changed paths: M /trunk/tests/tcmp_ui.c fixed warning with long arguments ------------------------------------------------------------------------ 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 initial version ------------------------------------------------------------------------ r559 | zimmerma | 2000-05-25 15:26:11 +0000 (Thu, 25 May 2000) | 2 lines Changed paths: M /trunk/tests/tset_str.c added tests for mpfr_set_str ------------------------------------------------------------------------ r558 | zimmerma | 2000-05-25 15:25:13 +0000 (Thu, 25 May 2000) | 2 lines Changed paths: M /trunk/tests/tcmp.c now returns 0 if all works ------------------------------------------------------------------------ r557 | zimmerma | 2000-05-25 15:24:42 +0000 (Thu, 25 May 2000) | 2 lines Changed paths: M /trunk/pow.c changed to return the error in ulps ------------------------------------------------------------------------ r556 | zimmerma | 2000-05-25 15:24:06 +0000 (Thu, 25 May 2000) | 2 lines Changed paths: M /trunk/mpfr.texi added new functions mpfr_set_str and mpfr_inp_str ------------------------------------------------------------------------ r555 | zimmerma | 2000-05-25 14:58:04 +0000 (Thu, 25 May 2000) | 3 lines Changed paths: M /trunk/mpfr.h added prototypes for set_str, inp_str changed return value for mpfr*pow* ------------------------------------------------------------------------ r554 | zimmerma | 2000-05-25 14:56:51 +0000 (Thu, 25 May 2000) | 2 lines Changed paths: M /trunk/mpf2mpfr.h separated functions with/without rounding argument ------------------------------------------------------------------------ r553 | zimmerma | 2000-05-25 14:56:19 +0000 (Thu, 25 May 2000) | 2 lines Changed paths: M /trunk/Configure added tabs ------------------------------------------------------------------------ r552 | zimmerma | 2000-05-25 14:22:08 +0000 (Thu, 25 May 2000) | 2 lines Changed paths: M /trunk/Configure added set_str.o and inp_str.o ------------------------------------------------------------------------ r551 | zimmerma | 2000-05-24 17:01:52 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: A /trunk/sub_ui.c initial version ------------------------------------------------------------------------ r550 | zimmerma | 2000-05-24 17:01:01 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: M /trunk/Configure added rule for sub_ui.o ------------------------------------------------------------------------ r549 | zimmerma | 2000-05-24 16:51:55 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: M /trunk/Configure use only one file (trunc.c) for ceil, floor, trunc ------------------------------------------------------------------------ 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 now use trunc.c for all 3 functions (ceil, floor, trunc) ------------------------------------------------------------------------ r547 | zimmerma | 2000-05-24 16:42:00 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: M /trunk/trunc.c added ifdef to avoid warning at compilation ------------------------------------------------------------------------ r546 | zimmerma | 2000-05-24 16:41:30 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: M /trunk/reldiff.c removed unused variable ------------------------------------------------------------------------ r545 | zimmerma | 2000-05-24 16:41:09 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: M /trunk/mpfr.h fixed output type for mpfr_ui_div ------------------------------------------------------------------------ r544 | zimmerma | 2000-05-24 16:37:13 +0000 (Wed, 24 May 2000) | 3 lines Changed paths: M /trunk/urandomb.c removed 3rd argument (use PREC(rop) instead) added include longlong.h ------------------------------------------------------------------------ r543 | zimmerma | 2000-05-24 16:35:23 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: M /trunk/set_prc_raw.c stupid typo: ABSSIZE -> ABSSIZE(x) ------------------------------------------------------------------------ r542 | zimmerma | 2000-05-24 16:32:06 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: M /trunk/tests/tdiv.c change due to new semantics of mpfr_init_set* macros ------------------------------------------------------------------------ r541 | zimmerma | 2000-05-24 16:31:18 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: M /trunk/set_prc_raw.c now makes an error when precision too large wrt allocated space ------------------------------------------------------------------------ r540 | zimmerma | 2000-05-24 16:28:41 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: M /trunk/mpfr.texi added new implemented functions ------------------------------------------------------------------------ r539 | zimmerma | 2000-05-24 16:26:30 +0000 (Wed, 24 May 2000) | 3 lines Changed paths: M /trunk/mpfr.h - added macro for mpfr_sgn - removed argument 'p' in mpfr_init_set* macros for compatibility with mpf ------------------------------------------------------------------------ r538 | zimmerma | 2000-05-24 16:25:20 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: M /trunk/mpf2mpfr.h updated wrt new functions ------------------------------------------------------------------------ r537 | zimmerma | 2000-05-24 16:24:57 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: M /trunk/Configure added sub_ui ------------------------------------------------------------------------ r536 | zimmerma | 2000-05-24 15:29:24 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: M /trunk/Configure added new test files ------------------------------------------------------------------------ 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 new test files ------------------------------------------------------------------------ r534 | zimmerma | 2000-05-24 15:24:28 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: M /trunk/tests/tadd.c added new tests ------------------------------------------------------------------------ r533 | zimmerma | 2000-05-24 15:23:54 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: M /trunk/tests/tabs.c improved tests ------------------------------------------------------------------------ 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 new functions (compatibility with mpf) ------------------------------------------------------------------------ r531 | zimmerma | 2000-05-24 15:20:16 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: M /trunk/set.c added 4th arg (was missing in non-stdc def) ------------------------------------------------------------------------ r530 | zimmerma | 2000-05-24 15:19:10 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: M /trunk/mpfr.texi added new functions (compatibility with mpf) ------------------------------------------------------------------------ r529 | zimmerma | 2000-05-24 15:18:37 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: M /trunk/mpfr.h added several prototypes ------------------------------------------------------------------------ r528 | zimmerma | 2000-05-24 15:18:04 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: M /trunk/add.c fixed remaining bug (case overlap=5, dif>0) ------------------------------------------------------------------------ r527 | zimmerma | 2000-05-24 15:16:52 +0000 (Wed, 24 May 2000) | 2 lines Changed paths: M /trunk/Configure added add_ui, sqrt_ui, ui_div, ui_sub, reldiff ------------------------------------------------------------------------ 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 Compatibility mpf/mpfr, second part. Ceil, floor, trunc. Yet untested. ------------------------------------------------------------------------ r525 | hanrot | 2000-05-21 16:38:07 +0000 (Sun, 21 May 2000) | 2 lines Changed paths: A /trunk/mpf2mpfr.h Include file for compatibility module mpf -> mpfr. ------------------------------------------------------------------------ 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 Compatibility with mpf. WARNING: THESE FUNCTIONS ARE UNTESTED IN THEIR PRESENT FORM. THEY *DO* COMPILE HOWEVER. ------------------------------------------------------------------------ r523 | zimmerma | 2000-05-18 13:41:24 +0000 (Thu, 18 May 2000) | 2 lines Changed paths: M /trunk/tests/tzeta.c removed unused variables ------------------------------------------------------------------------ r522 | zimmerma | 2000-05-18 13:38:53 +0000 (Thu, 18 May 2000) | 2 lines Changed paths: M /trunk/tests/tmul_2exp.c removed ';' ------------------------------------------------------------------------ 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 added return ------------------------------------------------------------------------ r520 | zimmerma | 2000-05-18 12:57:08 +0000 (Thu, 18 May 2000) | 2 lines Changed paths: M /trunk/tests/tset_f.c added calls to mpf[r]_clear, and rewrote to avoid memory leaks ------------------------------------------------------------------------ r519 | zimmerma | 2000-05-18 12:56:14 +0000 (Thu, 18 May 2000) | 2 lines Changed paths: M /trunk/tests/tget_str.c added calls to free ------------------------------------------------------------------------ r518 | zimmerma | 2000-05-18 12:55:17 +0000 (Thu, 18 May 2000) | 2 lines Changed paths: M /trunk/mpfr.h corrected comment about field mp_size ------------------------------------------------------------------------ r517 | zimmerma | 2000-05-12 08:07:56 +0000 (Fri, 12 May 2000) | 2 lines Changed paths: M /trunk/tests/tout_str.c added tests for negative numbers ------------------------------------------------------------------------ r516 | zimmerma | 2000-05-12 08:07:35 +0000 (Fri, 12 May 2000) | 2 lines Changed paths: M /trunk/tests/tget_str.c added one test ------------------------------------------------------------------------ r515 | zimmerma | 2000-05-12 08:07:02 +0000 (Fri, 12 May 2000) | 2 lines Changed paths: M /trunk/get_str.c fixed pb with rounding of negative numbers ------------------------------------------------------------------------ r514 | zimmerma | 2000-05-11 15:39:48 +0000 (Thu, 11 May 2000) | 2 lines Changed paths: M /trunk/mpfr.texi added mpfr_abs ------------------------------------------------------------------------ r513 | zimmerma | 2000-05-11 15:38:12 +0000 (Thu, 11 May 2000) | 2 lines Changed paths: A /trunk/tests/tabs.c test file for mpfr_abs ------------------------------------------------------------------------ r512 | zimmerma | 2000-05-11 15:37:48 +0000 (Thu, 11 May 2000) | 2 lines Changed paths: M /trunk/mpfr.h added mpfr_abs (macro using mpfr_set4) ------------------------------------------------------------------------ r511 | zimmerma | 2000-05-11 10:08:54 +0000 (Thu, 11 May 2000) | 2 lines Changed paths: M /trunk/TODO updated wrt done/new tasks ------------------------------------------------------------------------ r510 | zimmerma | 2000-05-05 13:59:56 +0000 (Fri, 05 May 2000) | 2 lines Changed paths: M /trunk/tests/tsqrt.c added two tests ------------------------------------------------------------------------ r509 | zimmerma | 2000-05-05 13:59:25 +0000 (Fri, 05 May 2000) | 2 lines Changed paths: M /trunk/tests/tset_d.c split mpfr_init2 into mpfr_init and mpfr_set_prec ------------------------------------------------------------------------ r508 | zimmerma | 2000-05-05 13:57:33 +0000 (Fri, 05 May 2000) | 2 lines Changed paths: M /trunk/Configure removed karadiv.o ------------------------------------------------------------------------ r507 | zimmerma | 2000-05-05 13:57:08 +0000 (Fri, 05 May 2000) | 2 lines Changed paths: M /trunk/karasqrt.c replaced mpn_divrem_n by mpn_divrem (efficient in GMP 3.0) ------------------------------------------------------------------------ r506 | zimmerma | 2000-05-05 13:55:49 +0000 (Fri, 05 May 2000) | 2 lines Changed paths: D /trunk/karadiv.c not needed any more with GMP 3.0 ------------------------------------------------------------------------ r505 | zimmerma | 2000-05-05 13:49:02 +0000 (Fri, 05 May 2000) | 2 lines Changed paths: M /trunk/div.c removed mpn_divrem_n stuff, now that Burnikel/Ziegler algorithm is in GMP 3.0 ------------------------------------------------------------------------ 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 added one test ------------------------------------------------------------------------ r503 | zimmerma | 2000-05-04 15:18:31 +0000 (Thu, 04 May 2000) | 2 lines Changed paths: M /trunk/get_str.c completely rewritten (changed semantics) ------------------------------------------------------------------------ r502 | zimmerma | 2000-05-04 15:17:07 +0000 (Thu, 04 May 2000) | 2 lines Changed paths: M /trunk/sub.c initialized variable bh to avoid warning at compilation ------------------------------------------------------------------------ r501 | zimmerma | 2000-05-04 15:16:11 +0000 (Thu, 04 May 2000) | 2 lines Changed paths: M /trunk/mpfr.h added prototype for mpfr_set_default_rounding_mode ------------------------------------------------------------------------ r500 | zimmerma | 2000-05-04 15:05:34 +0000 (Thu, 04 May 2000) | 2 lines Changed paths: M /trunk/cmp_ui.c fixed pb in mpfr_cmp_ui_2exp for i=0 ------------------------------------------------------------------------ r499 | zimmerma | 2000-05-04 13:40:09 +0000 (Thu, 04 May 2000) | 2 lines Changed paths: M /trunk/TODO updated according to meeting from May 4, 2000 ------------------------------------------------------------------------ r498 | zimmerma | 2000-05-04 12:24:56 +0000 (Thu, 04 May 2000) | 2 lines Changed paths: M /trunk/INSTALL updated for AIX ------------------------------------------------------------------------ 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 updated for AIX (thanks to Gerardo Ballabio) ------------------------------------------------------------------------ r496 | zimmerma | 2000-05-02 16:38:27 +0000 (Tue, 02 May 2000) | 2 lines Changed paths: M /trunk/tests/tcmp.c added one test ------------------------------------------------------------------------ r495 | zimmerma | 2000-05-02 16:37:52 +0000 (Tue, 02 May 2000) | 2 lines Changed paths: M /trunk/cmp.c fixed bug found by G. Ballabio for b=0 and 0 mpfr_const_pi ------------------------------------------------------------------------ r479 | zimmerma | 2000-02-11 17:23:36 +0000 (Fri, 11 Feb 2000) | 2 lines Changed paths: M /trunk/tests/tset_z.c added one test ------------------------------------------------------------------------ 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 mpfr_pi -> mpfr_const_pi ------------------------------------------------------------------------ r477 | zimmerma | 2000-02-11 17:22:34 +0000 (Fri, 11 Feb 2000) | 2 lines Changed paths: M /trunk/tests/tmul_ui.c use mpfr_cmp_ui instead of SIGN ------------------------------------------------------------------------ r476 | zimmerma | 2000-02-11 17:22:03 +0000 (Fri, 11 Feb 2000) | 2 lines Changed paths: M /trunk/tests/tlog2.c mpfr_log2 -> mpfr_const_log2 ------------------------------------------------------------------------ r475 | zimmerma | 2000-02-11 17:20:57 +0000 (Fri, 11 Feb 2000) | 3 lines Changed paths: M /trunk/Configure added -O2 compilation flag added set_q ------------------------------------------------------------------------ r474 | zimmerma | 2000-02-11 17:20:19 +0000 (Fri, 11 Feb 2000) | 2 lines Changed paths: A /trunk/set_q.c convert rational (mpz_q) to floating-point (mpfr_t) ------------------------------------------------------------------------ r473 | zimmerma | 2000-02-11 17:19:15 +0000 (Fri, 11 Feb 2000) | 2 lines Changed paths: M /trunk/TODO removed things which were done ------------------------------------------------------------------------ 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 unsigned char -> mp_rnd_t SIGN -> MPFR_SIGN ------------------------------------------------------------------------ r471 | zimmerma | 2000-02-11 17:17:47 +0000 (Fri, 11 Feb 2000) | 2 lines Changed paths: M /trunk/clear.c use PREC() macro instead of _mp_prec, and corrected size to free ------------------------------------------------------------------------ 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 SIGN -> MPFR_SIGN ------------------------------------------------------------------------ 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 SIGN -> MPFR_SIGN ------------------------------------------------------------------------ r459 | zimmerma | 2000-02-11 17:03:46 +0000 (Fri, 11 Feb 2000) | 2 lines Changed paths: M /trunk/random.c added non standard C header ------------------------------------------------------------------------ r458 | zimmerma | 2000-02-11 17:01:46 +0000 (Fri, 11 Feb 2000) | 4 lines Changed paths: M /trunk/round.c unsigned char -> mp_rnd_t SIGN -> MPFR_SIGN unsigned long int -> mp_prec_t ------------------------------------------------------------------------ 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 unsigned char -> mp_rnd_t SIGN -> MPFR_SIGN ------------------------------------------------------------------------ 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 unsigned long int -> mp_prec_t ------------------------------------------------------------------------ r455 | zimmerma | 2000-02-11 16:59:45 +0000 (Fri, 11 Feb 2000) | 2 lines Changed paths: M /trunk/set_dfl_rnd.c har -> mp_rnd_t ------------------------------------------------------------------------ r454 | zimmerma | 2000-02-11 16:55:07 +0000 (Fri, 11 Feb 2000) | 2 lines Changed paths: M /trunk/zeta.c changed rounding mode to mp_rnd_t ------------------------------------------------------------------------ r453 | zimmerma | 2000-02-04 17:04:06 +0000 (Fri, 04 Feb 2000) | 2 lines Changed paths: M /trunk/tests/tmul.c now distinguish between true mpfr errors and possible errors from libm.a ------------------------------------------------------------------------ r452 | zimmerma | 2000-02-04 17:03:21 +0000 (Fri, 04 Feb 2000) | 2 lines Changed paths: M /trunk/tests/texp.c now use print_rnd_mode ------------------------------------------------------------------------ r451 | zimmerma | 2000-02-04 17:02:42 +0000 (Fri, 04 Feb 2000) | 2 lines Changed paths: M /trunk/TODO added suggestion from JP Merlet ------------------------------------------------------------------------ r450 | zimmerma | 2000-02-04 17:02:15 +0000 (Fri, 04 Feb 2000) | 2 lines Changed paths: M /trunk/Configure added print_rnd_mode.c ------------------------------------------------------------------------ r449 | zimmerma | 2000-02-04 14:55:01 +0000 (Fri, 04 Feb 2000) | 2 lines Changed paths: M /trunk/tests/tset_f.c added more tests ------------------------------------------------------------------------ r448 | zimmerma | 2000-02-04 14:54:37 +0000 (Fri, 04 Feb 2000) | 2 lines Changed paths: M /trunk/set_f.c fixed bug(s) found by Jean-Pierre Merlet ------------------------------------------------------------------------ r447 | zimmerma | 2000-02-04 14:45:43 +0000 (Fri, 04 Feb 2000) | 2 lines Changed paths: M /trunk/mpfr.h changed prototype of mpfr_set_f (takes now only 3 arguments) ------------------------------------------------------------------------ r446 | zimmerma | 2000-02-03 08:59:19 +0000 (Thu, 03 Feb 2000) | 2 lines Changed paths: M /trunk/Configure added karasqrt.o ------------------------------------------------------------------------ r445 | zimmerma | 2000-02-03 08:58:49 +0000 (Thu, 03 Feb 2000) | 4 lines Changed paths: M /trunk/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) ------------------------------------------------------------------------ r444 | zimmerma | 2000-02-03 08:57:40 +0000 (Thu, 03 Feb 2000) | 2 lines Changed paths: M /trunk/karasqrt.c changed return type to mp_size_t and included mpfr.h ------------------------------------------------------------------------ r443 | zimmerma | 2000-02-03 08:56:58 +0000 (Thu, 03 Feb 2000) | 2 lines Changed paths: M /trunk/karadiv.c moved definition of KARATSUBA_MUL_THRESHOLD (if not defined) to mpfr.h ------------------------------------------------------------------------ r442 | zimmerma | 2000-02-03 08:48:45 +0000 (Thu, 03 Feb 2000) | 2 lines Changed paths: A /trunk/karasqrt.c implements Katatsuba square root ------------------------------------------------------------------------ r441 | zimmerma | 2000-02-03 08:45:55 +0000 (Thu, 03 Feb 2000) | 2 lines Changed paths: M /trunk/sqrt.c now use kara_sqrtrem instead of mpn_sqrtrem ------------------------------------------------------------------------ r440 | zimmerma | 2000-02-03 08:41:35 +0000 (Thu, 03 Feb 2000) | 2 lines Changed paths: M /trunk/div_ui.c fixed bug when high limb of quotient is zero ------------------------------------------------------------------------ r439 | zimmerma | 2000-02-02 18:17:30 +0000 (Wed, 02 Feb 2000) | 2 lines Changed paths: M /trunk/tests/tadd.c added one test [did fail on alpha] ------------------------------------------------------------------------ r438 | zimmerma | 2000-02-02 18:01:29 +0000 (Wed, 02 Feb 2000) | 2 lines Changed paths: M /trunk/sub.c added cast to mp_limb_t in front of 1< DEBUG ------------------------------------------------------------------------ r421 | zimmerma | 1999-12-16 10:58:21 +0000 (Thu, 16 Dec 1999) | 2 lines Changed paths: M /trunk/log.c added debug instructions ------------------------------------------------------------------------ r420 | zimmerma | 1999-12-16 10:57:44 +0000 (Thu, 16 Dec 1999) | 2 lines Changed paths: M /trunk/cmp.c fixed nasty bug in mpfr_cmp2 (case cc=1) ------------------------------------------------------------------------ r419 | zimmerma | 1999-12-16 10:54:57 +0000 (Thu, 16 Dec 1999) | 2 lines Changed paths: M /trunk/add.c replaced printf by fprintf for error ------------------------------------------------------------------------ r418 | zimmerma | 1999-12-10 20:32:36 +0000 (Fri, 10 Dec 1999) | 2 lines Changed paths: M /trunk/tests/tlog.c added new tests for large input ------------------------------------------------------------------------ r417 | zimmerma | 1999-12-10 20:32:07 +0000 (Fri, 10 Dec 1999) | 2 lines Changed paths: M /trunk/log.c fixed bug for large input ------------------------------------------------------------------------ r416 | zimmerma | 1999-12-10 13:29:54 +0000 (Fri, 10 Dec 1999) | 4 lines Changed paths: M /trunk/log.c rewritten the error analysis: - now analyzes the cancellation a posteriori - takes into account errors from rounding and initial approximation ------------------------------------------------------------------------ r415 | zimmerma | 1999-12-10 13:27:42 +0000 (Fri, 10 Dec 1999) | 2 lines Changed paths: M /trunk/tests/tlog.c added tests from Vincent Lefe`vre ------------------------------------------------------------------------ r414 | zimmerma | 1999-12-10 13:04:09 +0000 (Fri, 10 Dec 1999) | 2 lines Changed paths: M /trunk/set_str_raw.c no warning any more for negative exponent (thanks to V. Lefe`vre) ------------------------------------------------------------------------ r413 | zimmerma | 1999-12-08 12:12:07 +0000 (Wed, 08 Dec 1999) | 3 lines Changed paths: M /trunk/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) ------------------------------------------------------------------------ r412 | zimmerma | 1999-12-08 12:10:29 +0000 (Wed, 08 Dec 1999) | 2 lines Changed paths: M /trunk/tests/texp.c added new test (bug found by V. Lefe`vre) ------------------------------------------------------------------------ r411 | zimmerma | 1999-12-07 16:01:25 +0000 (Tue, 07 Dec 1999) | 2 lines Changed paths: M /trunk/TODO added suggestion from V. Lefe`vre ------------------------------------------------------------------------ r410 | zimmerma | 1999-12-07 10:31:45 +0000 (Tue, 07 Dec 1999) | 2 lines Changed paths: M /trunk/TODO added several remarks from Vincent Lefe`vre ------------------------------------------------------------------------ r409 | zimmerma | 1999-12-07 10:27:05 +0000 (Tue, 07 Dec 1999) | 2 lines Changed paths: M /trunk/mpfr.texi corrected many typos found by Vincent Lefe`vre ------------------------------------------------------------------------ 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 removed executable rights ------------------------------------------------------------------------ r407 | zimmerma | 1999-11-27 08:09:46 +0000 (Sat, 27 Nov 1999) | 3 lines Changed paths: M /trunk/INSTALL improved GMP link (thanks to Vincent Lefe`vre) added pointer to Alpha-Linux f-p problems ------------------------------------------------------------------------ r406 | zimmerma | 1999-11-27 08:08:35 +0000 (Sat, 27 Nov 1999) | 2 lines Changed paths: M /trunk/tests/tset_d.c removed executable right on file ------------------------------------------------------------------------ r405 | zimmerma | 1999-10-20 14:17:01 +0000 (Wed, 20 Oct 1999) | 2 lines Changed paths: M /trunk/tests/tcmp2.c put back test for x=y ------------------------------------------------------------------------ r404 | zimmerma | 1999-10-20 14:11:34 +0000 (Wed, 20 Oct 1999) | 2 lines Changed paths: M /trunk/tests/tcmp2.c modified to avoid y=-0.0 ------------------------------------------------------------------------ r403 | zimmerma | 1999-10-20 13:31:20 +0000 (Wed, 20 Oct 1999) | 2 lines Changed paths: M /trunk/tests/tcmp2.c modified test procedure to return 53 when x=y ------------------------------------------------------------------------ r402 | zimmerma | 1999-10-20 13:25:13 +0000 (Wed, 20 Oct 1999) | 2 lines Changed paths: M /trunk/cmp.c mpfr_cmp2(b,c) now returns PREC(b) if b=c, even if c=0 ------------------------------------------------------------------------ r401 | zimmerma | 1999-10-20 13:06:11 +0000 (Wed, 20 Oct 1999) | 2 lines Changed paths: M /trunk/tests/tsqrt.c added one test ------------------------------------------------------------------------ r400 | zimmerma | 1999-10-20 13:05:43 +0000 (Wed, 20 Oct 1999) | 2 lines Changed paths: M /trunk/INSTALL added test under Cygwin ------------------------------------------------------------------------ r399 | zimmerma | 1999-10-20 11:16:09 +0000 (Wed, 20 Oct 1999) | 2 lines Changed paths: M /trunk/Configure $make -> $MAKE ------------------------------------------------------------------------ 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 removed *rand48 prototypes (pb under Cygwin) ------------------------------------------------------------------------ r397 | zimmerma | 1999-10-20 10:20:37 +0000 (Wed, 20 Oct 1999) | 2 lines Changed paths: M /trunk/tests/tagm.c removed *rand48 prototypes ------------------------------------------------------------------------ r396 | zimmerma | 1999-10-20 10:20:12 +0000 (Wed, 20 Oct 1999) | 2 lines Changed paths: M /trunk/tests/tadd.c removed lrand48 prototype (pb under Cygwin) ------------------------------------------------------------------------ r395 | zimmerma | 1999-10-20 10:19:30 +0000 (Wed, 20 Oct 1999) | 2 lines Changed paths: M /trunk/rnd_mode.c added rounding instructions for Cygnus compiler under Windows ------------------------------------------------------------------------ r394 | zimmerma | 1999-10-20 10:18:14 +0000 (Wed, 20 Oct 1999) | 2 lines Changed paths: M /trunk/mpfr.h added dummy *rand48 functions for CYGWIN ------------------------------------------------------------------------ r393 | zimmerma | 1999-10-20 10:17:38 +0000 (Wed, 20 Oct 1999) | 2 lines Changed paths: M /trunk/INSTALL added info about gmp-mparam.h ------------------------------------------------------------------------ r392 | zimmerma | 1999-10-20 10:16:28 +0000 (Wed, 20 Oct 1999) | 2 lines Changed paths: M /trunk/Configure incorporated data for CYGWIN ------------------------------------------------------------------------ r391 | zimmerma | 1999-10-15 09:51:16 +0000 (Fri, 15 Oct 1999) | 2 lines Changed paths: M /trunk/tests/tsqrt.c added one test ------------------------------------------------------------------------ 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 added boundary cases from paper from Michael Parks ------------------------------------------------------------------------ r389 | zimmerma | 1999-10-14 13:32:09 +0000 (Thu, 14 Oct 1999) | 2 lines Changed paths: M /trunk/mul_ui.c now set sign correctly ------------------------------------------------------------------------ r388 | zimmerma | 1999-10-14 13:31:45 +0000 (Thu, 14 Oct 1999) | 2 lines Changed paths: M /trunk/tests/tmul_ui.c added test to check sign is correctly set ------------------------------------------------------------------------ r387 | zimmerma | 1999-10-14 13:31:15 +0000 (Thu, 14 Oct 1999) | 2 lines Changed paths: M /trunk/tests/texp.c added worst case for arg. reduction ------------------------------------------------------------------------ r386 | zimmerma | 1999-10-14 13:26:40 +0000 (Thu, 14 Oct 1999) | 2 lines Changed paths: M /trunk/exp.c fixed bug when initial approx. floor(x/log(2)) is too large ------------------------------------------------------------------------ r385 | zimmerma | 1999-10-08 15:25:42 +0000 (Fri, 08 Oct 1999) | 2 lines Changed paths: M /trunk/rnd_mode.c now use macros for Linux case, and added ifdef for _ISOC9X_SOURCE ------------------------------------------------------------------------ r384 | zimmerma | 1999-10-08 10:03:45 +0000 (Fri, 08 Oct 1999) | 2 lines Changed paths: M /trunk/Configure changed target dist to create archive in a directory ------------------------------------------------------------------------ r383 | zimmerma | 1999-10-07 15:12:09 +0000 (Thu, 07 Oct 1999) | 2 lines Changed paths: M /trunk/Configure added targets doc and dist ------------------------------------------------------------------------ r382 | zimmerma | 1999-10-07 15:11:43 +0000 (Thu, 07 Oct 1999) | 2 lines Changed paths: M /trunk/INSTALL added documentation and contact for problems ------------------------------------------------------------------------ r381 | zimmerma | 1999-10-07 14:54:54 +0000 (Thu, 07 Oct 1999) | 2 lines Changed paths: A /trunk/INSTALL file for installation of mpfr ------------------------------------------------------------------------ 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 added more tests ------------------------------------------------------------------------ r379 | zimmerma | 1999-10-07 14:06:17 +0000 (Thu, 07 Oct 1999) | 2 lines Changed paths: M /trunk/get_str.c now deal with 0 and fixed bug on 64-bit machine ------------------------------------------------------------------------ r378 | zimmerma | 1999-10-07 08:15:21 +0000 (Thu, 07 Oct 1999) | 2 lines Changed paths: D /trunk/sqrt3.c moved to sqrt.c ------------------------------------------------------------------------ r377 | zimmerma | 1999-10-07 08:14:56 +0000 (Thu, 07 Oct 1999) | 2 lines Changed paths: M /trunk/sqrt.c now use directly mpn_sqrtrem (previously sqrt3.c) ------------------------------------------------------------------------ r376 | zimmerma | 1999-10-07 08:14:13 +0000 (Thu, 07 Oct 1999) | 2 lines Changed paths: M /trunk/mpfr.texi updated prototypes of mpfr_div/mpfr_sqrt ------------------------------------------------------------------------ r375 | zimmerma | 1999-10-07 08:11:25 +0000 (Thu, 07 Oct 1999) | 2 lines Changed paths: M /trunk/Configure M /trunk/mpfr.h 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 sqrt3 now returns an exact/inexact flag. ------------------------------------------------------------------------ r353 | zimmerma | 1999-07-07 15:49:50 +0000 (Wed, 07 Jul 1999) | 2 lines Changed paths: M /trunk/set_str_raw.c fix UMR (missing 0 terminating string) ------------------------------------------------------------------------ r352 | zimmerma | 1999-07-07 15:26:07 +0000 (Wed, 07 Jul 1999) | 2 lines Changed paths: M /trunk/init.c put initialization of exponent back (avoids some UMRs) ------------------------------------------------------------------------ r351 | zimmerma | 1999-07-07 15:11:20 +0000 (Wed, 07 Jul 1999) | 2 lines Changed paths: M /trunk/get_str.c fixed array bound write bug ------------------------------------------------------------------------ r350 | zimmerma | 1999-07-07 13:12:18 +0000 (Wed, 07 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tsqrt.c added one test ------------------------------------------------------------------------ r349 | zimmerma | 1999-07-07 13:10:57 +0000 (Wed, 07 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tout_str.c added several tests, and does not print on stdout when no argument ------------------------------------------------------------------------ r348 | zimmerma | 1999-07-07 13:09:37 +0000 (Wed, 07 Jul 1999) | 2 lines Changed paths: M /trunk/get_str.c fixed several bugs ------------------------------------------------------------------------ r347 | hanrot | 1999-07-07 11:37:10 +0000 (Wed, 07 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tget_str.c Added an example which causes an ABW in mpz_get_str. ------------------------------------------------------------------------ r346 | zimmerma | 1999-07-07 11:35:17 +0000 (Wed, 07 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tout_str.c moved drand to mpfr-impl.h and added test in large precision ------------------------------------------------------------------------ r345 | zimmerma | 1999-07-07 11:24:34 +0000 (Wed, 07 Jul 1999) | 2 lines Changed paths: M /trunk/Configure added tout_str ------------------------------------------------------------------------ r344 | hanrot | 1999-07-07 10:12:23 +0000 (Wed, 07 Jul 1999) | 2 lines Changed paths: M /trunk/sqrt3.c Problem with the exponents in the destructive case. ------------------------------------------------------------------------ r343 | zimmerma | 1999-07-07 10:04:22 +0000 (Wed, 07 Jul 1999) | 2 lines Changed paths: M /trunk/div3.c more changes from G. Hanrot ------------------------------------------------------------------------ r342 | zimmerma | 1999-07-07 10:00:45 +0000 (Wed, 07 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tcmp2.c use now drand48 instead of drand ------------------------------------------------------------------------ r341 | zimmerma | 1999-07-07 09:49:04 +0000 (Wed, 07 Jul 1999) | 2 lines Changed paths: M /trunk/random.c simply set to zero the non-significant bits, don't call mpfr_round_raw ------------------------------------------------------------------------ r340 | zimmerma | 1999-07-07 09:44:15 +0000 (Wed, 07 Jul 1999) | 2 lines Changed paths: M /trunk/div3.c upgrade from bug fixes from Guillaume Hanrot ------------------------------------------------------------------------ r339 | zimmerma | 1999-07-07 09:38:44 +0000 (Wed, 07 Jul 1999) | 2 lines Changed paths: M /trunk/pi.c stores now last computed value together with its rounding mode ------------------------------------------------------------------------ r338 | zimmerma | 1999-07-07 09:23:24 +0000 (Wed, 07 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tsqrt.c checks now destructive version ------------------------------------------------------------------------ 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 changes on random ------------------------------------------------------------------------ r336 | boldo | 1999-07-07 08:00:29 +0000 (Wed, 07 Jul 1999) | 2 lines Changed paths: M /trunk/log.c using div3 ------------------------------------------------------------------------ r335 | boldo | 1999-07-07 08:00:09 +0000 (Wed, 07 Jul 1999) | 2 lines Changed paths: M /trunk/agm.c using sqrt3 ------------------------------------------------------------------------ r334 | hanrot | 1999-07-06 16:56:56 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/Configure HPUX support, 2nd try. ------------------------------------------------------------------------ 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 Patch for the (very seldom encountered) case of even rounding. ------------------------------------------------------------------------ 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 added def. for random/srandom, which do not exist under HPUX ------------------------------------------------------------------------ r331 | zimmerma | 1999-07-06 15:06:16 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/pi.c store now computed values ------------------------------------------------------------------------ r330 | zimmerma | 1999-07-06 15:05:42 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/log2.c _mpfr_log2_* -> __mpfr_log2_* ------------------------------------------------------------------------ r329 | zimmerma | 1999-07-06 14:48:33 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/rnd_mode.c merged machine rounding instructions for Sun and HP ------------------------------------------------------------------------ r328 | zimmerma | 1999-07-06 14:46:38 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/random.c patch for HPUX (no random function) ------------------------------------------------------------------------ r327 | zimmerma | 1999-07-06 14:44:30 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/Configure added print_rnd_mode ------------------------------------------------------------------------ r326 | zimmerma | 1999-07-06 14:41:38 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/mpfr.h fixed prototype of mpfr_print_rnd_mode ------------------------------------------------------------------------ r325 | zimmerma | 1999-07-06 14:40:54 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/mpfr-impl.h improved ulp to deal with case a=0.0 ------------------------------------------------------------------------ r324 | zimmerma | 1999-07-06 14:40:13 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tlog.c added return 0 to main ------------------------------------------------------------------------ r323 | hanrot | 1999-07-06 14:00:29 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/div3.c Forgotten casts. ------------------------------------------------------------------------ r322 | hanrot | 1999-07-06 12:55:14 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/Configure Added sqrt3 + tentative support for Alpha linux. ------------------------------------------------------------------------ r321 | hanrot | 1999-07-06 12:40:17 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/sqrt3.c The word added when the exponent is odd was sometimes uninitialized. ------------------------------------------------------------------------ r320 | hanrot | 1999-07-06 09:39:42 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: A /trunk/sqrt3.c Initial version. ------------------------------------------------------------------------ r319 | hanrot | 1999-07-06 09:39:20 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/mpfr.h Added mpfr_sqrt3. ------------------------------------------------------------------------ r318 | zimmerma | 1999-07-06 09:23:25 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/mpfr.texi added several functions, and updated others ------------------------------------------------------------------------ r317 | zimmerma | 1999-07-06 09:19:09 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/mpfr.h changed prototype of mpfr_log ------------------------------------------------------------------------ r316 | zimmerma | 1999-07-06 09:17:28 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/log.c returns now an int instead of void ------------------------------------------------------------------------ r315 | zimmerma | 1999-07-06 09:16:41 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/init.c removed initialization of exponent ------------------------------------------------------------------------ r314 | zimmerma | 1999-07-06 09:16:03 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/exp.c special case for exp(0) ------------------------------------------------------------------------ r313 | zimmerma | 1999-07-06 09:15:40 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/tests/texp.c added test for exp(0) ------------------------------------------------------------------------ r312 | hanrot | 1999-07-06 08:31:45 +0000 (Tue, 06 Jul 1999) | 2 lines Changed paths: M /trunk/Configure config.in -> ./config.in ------------------------------------------------------------------------ r311 | boldo | 1999-07-05 18:55:08 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/agm.c new, quick & clean ------------------------------------------------------------------------ r310 | zimmerma | 1999-07-05 16:35:27 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tlog.c added two tests and converted to double's ------------------------------------------------------------------------ r309 | boldo | 1999-07-05 16:27:31 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tlog.c more checking ways ------------------------------------------------------------------------ r308 | zimmerma | 1999-07-05 15:24:16 +0000 (Mon, 05 Jul 1999) | 3 lines Changed paths: M /trunk/tests/tsqrt.c distinguishes now between true errors and differences with libm.a (which may fail too) ------------------------------------------------------------------------ r307 | zimmerma | 1999-07-05 14:55:12 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tmul.c removed mpf stuff in check ------------------------------------------------------------------------ r306 | zimmerma | 1999-07-05 14:49:59 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tset_d.c added some mpfr_clear's ------------------------------------------------------------------------ r305 | zimmerma | 1999-07-05 14:45:58 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tset_si.c changed defs of random/srandom to work on Alpha ------------------------------------------------------------------------ r304 | zimmerma | 1999-07-05 14:45:12 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tadd.c mpfr_init2 -> mpfr_set_prec in check64 ------------------------------------------------------------------------ r303 | zimmerma | 1999-07-05 14:30:48 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/mpfr-impl.h added function dbl ------------------------------------------------------------------------ r302 | zimmerma | 1999-07-05 14:30:19 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/mpfr.h added prototypes for mpfr_cmp3 and mpfr_set4 ------------------------------------------------------------------------ r301 | zimmerma | 1999-07-05 14:06:18 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/neg.c use mpfr_set4 now (no modification of const parameters any more) ------------------------------------------------------------------------ r300 | zimmerma | 1999-07-05 14:05:33 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/round.c return 0 in mpfr_can_round_raw ------------------------------------------------------------------------ r299 | zimmerma | 1999-07-05 14:04:38 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/set.c introduced auxiliary function mpfr_set4 ------------------------------------------------------------------------ r298 | zimmerma | 1999-07-05 14:01:07 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/set_si.c fixed possible bug (testing sign of unsigned long) in mpfr_mul_ui ------------------------------------------------------------------------ r297 | zimmerma | 1999-07-05 14:00:11 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/div3.c replaced PREC(r) by prec (which was defined but not used) ------------------------------------------------------------------------ r296 | zimmerma | 1999-07-05 13:59:08 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tdiv_ui.c moved drand and ulp to mpfr-impl ------------------------------------------------------------------------ r295 | zimmerma | 1999-07-05 13:55:23 +0000 (Mon, 05 Jul 1999) | 3 lines Changed paths: M /trunk/tests/tlog.c moved ulp to mpfr-impl.h and used input routine 'dbl' in some tests ------------------------------------------------------------------------ r294 | zimmerma | 1999-07-05 13:32:55 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/tests/texp.c modified one test to avoid rounding from double input routines ------------------------------------------------------------------------ r293 | zimmerma | 1999-07-05 13:18:06 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/cmp.c introduced auxiliary function mpfr_cmp3(x,y,sign) to compare x and sign*y ------------------------------------------------------------------------ r292 | zimmerma | 1999-07-05 13:16:55 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tdiv.c moved drand and ulp to mpfr-impl.h ------------------------------------------------------------------------ r291 | zimmerma | 1999-07-05 13:15:48 +0000 (Mon, 05 Jul 1999) | 3 lines Changed paths: M /trunk/sub.c mpfr_sub now calls directly mpfr_add1/mpfr_sub1 (no modification of const parameters any more) ------------------------------------------------------------------------ r290 | zimmerma | 1999-07-05 13:14:13 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tcmp.c moved drand to mpfr-implh.h ------------------------------------------------------------------------ r289 | zimmerma | 1999-07-05 13:12:55 +0000 (Mon, 05 Jul 1999) | 3 lines Changed paths: M /trunk/add.c use mpfr_cmp3 instead of mpfr_cmp (avoids warning due to modification of const parameters) ------------------------------------------------------------------------ r288 | zimmerma | 1999-07-05 13:11:42 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tget_str.c moved drand to mpfr-impl.h and removed warnings ------------------------------------------------------------------------ r287 | zimmerma | 1999-07-05 12:34:27 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/zeta.c use the result of mpfr_can_round ------------------------------------------------------------------------ r286 | zimmerma | 1999-07-05 11:05:32 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tadd.c moved drand and ulp to mpfr-impl.h ------------------------------------------------------------------------ r285 | zimmerma | 1999-07-05 11:03:46 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tset_d.c moved drand to mpfr-impl.h ------------------------------------------------------------------------ r284 | zimmerma | 1999-07-05 10:56:30 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tmul.c moved drand to mpfr-impl and removed warnings ------------------------------------------------------------------------ r283 | zimmerma | 1999-07-05 10:55:30 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/mpfr-impl.h added include of math.h ------------------------------------------------------------------------ r282 | zimmerma | 1999-07-05 10:52:07 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tsqrt.c moved drand and ulp to mpfr-impl.h ------------------------------------------------------------------------ r281 | zimmerma | 1999-07-05 10:51:37 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: A /trunk/mpfr-impl.h include file for mpfr developers only ------------------------------------------------------------------------ r280 | zimmerma | 1999-07-05 10:45:52 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tcmp2.c long -> int in drand ------------------------------------------------------------------------ r279 | zimmerma | 1999-07-05 10:43:11 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tadd.c adapted drand to sizeof(long)=64 ------------------------------------------------------------------------ r278 | zimmerma | 1999-07-05 10:12:44 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/Configure config.in -> ./config.in (otherwise don't work under IRIX) ------------------------------------------------------------------------ r277 | zimmerma | 1999-07-05 09:42:53 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tdiv_ui.c removed warnings ------------------------------------------------------------------------ r276 | zimmerma | 1999-07-05 09:42:20 +0000 (Mon, 05 Jul 1999) | 2 lines Changed paths: M /trunk/div_ui.c patch for GMP bug when UDIV_NEEDS_NORMALIZATION=1 ------------------------------------------------------------------------ r275 | hanrot | 1999-07-02 17:51:54 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/div3.c Correction of a typo. ------------------------------------------------------------------------ r274 | zimmerma | 1999-07-02 16:13:14 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/div_ui.c fixed horrible hack yp[-1] ------------------------------------------------------------------------ r273 | hanrot | 1999-07-02 15:47:18 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/Configure Support of IRIX64 (n32/64 modes) plus cosmetic modifications. ------------------------------------------------------------------------ r272 | zimmerma | 1999-07-02 12:29:31 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tlog.c added one test, and adapted to ANSI C ------------------------------------------------------------------------ r271 | hanrot | 1999-07-02 12:28:06 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/Configure Yet Another Backslash Forgotten... ------------------------------------------------------------------------ r270 | hanrot | 1999-07-02 12:26:33 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/div3.c Bug le plus stupide de tous les temps corrige. Ca marchait sous Solaris... ------------------------------------------------------------------------ r269 | zimmerma | 1999-07-02 12:25:39 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tagm.c added one test and removed warnings ------------------------------------------------------------------------ r268 | hanrot | 1999-07-02 12:22:02 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/mpfr.h Added mpfr_div3. ------------------------------------------------------------------------ r267 | hanrot | 1999-07-02 12:21:42 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/Configure Added div3.c ------------------------------------------------------------------------ r266 | zimmerma | 1999-07-02 12:19:59 +0000 (Fri, 02 Jul 1999) | 3 lines Changed paths: M /trunk/add.c fixed bug when sizeof(long) <> sizeof(mp_limb_t) and removed DEBUG2 stuff ------------------------------------------------------------------------ r265 | zimmerma | 1999-07-02 12:19:03 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tadd.c added one test, and removed warnings ------------------------------------------------------------------------ r264 | hanrot | 1999-07-02 12:18:47 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: A /trunk/div3.c Added div3.c, initial release. ------------------------------------------------------------------------ r263 | hanrot | 1999-07-02 11:45:22 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/Configure Patch of the patch :) ------------------------------------------------------------------------ r262 | hanrot | 1999-07-02 11:27:38 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/Configure Pattern matching rules in tests Makefile for non-GNU make (eg Solaris) ------------------------------------------------------------------------ r261 | zimmerma | 1999-07-02 11:24:09 +0000 (Fri, 02 Jul 1999) | 3 lines Changed paths: M /trunk/tests/tdiv.c adapted to enable denormalized numbers on IRIX64, added one test and removed warnings ------------------------------------------------------------------------ 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 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) ------------------------------------------------------------------------ r259 | zimmerma | 1999-07-02 10:09:00 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tsqrt.c adapted to IRIX64 (enable denorm. numbers) and removed warnings ------------------------------------------------------------------------ r258 | zimmerma | 1999-07-02 10:06:05 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tcmp2.c adapted to IRIX64 (enable denormalized numbers) and removed warnings ------------------------------------------------------------------------ r257 | zimmerma | 1999-07-02 10:03:28 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tadd.c adapted to IRIX64 (no denormalized by default) and removed warnings ------------------------------------------------------------------------ r256 | zimmerma | 1999-07-02 09:55:41 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/set_si.c unsigned long -> mp_limb_t ------------------------------------------------------------------------ r255 | boldo | 1999-07-02 09:51:06 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tlog.c unused variables ------------------------------------------------------------------------ r254 | boldo | 1999-07-02 09:50:16 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/log.c unused variable ------------------------------------------------------------------------ r253 | zimmerma | 1999-07-02 09:43:38 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/set_d.c added ifdef to avoid warning "unused variable" on 64-bit machine ------------------------------------------------------------------------ r252 | zimmerma | 1999-07-02 09:42:58 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/rnd_mode.c added def. of swapRM to avoid warning on IRIX64 ------------------------------------------------------------------------ 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 1UL -> ((mp_limb_t) 1) ------------------------------------------------------------------------ r250 | zimmerma | 1999-07-02 09:32:47 +0000 (Fri, 02 Jul 1999) | 2 lines Changed paths: M /trunk/round.c changed type of mask to mp_limb_t in mpfr_round_raw2 ------------------------------------------------------------------------ r249 | zimmerma | 1999-07-02 09:26:13 +0000 (Fri, 02 Jul 1999) | 3 lines Changed paths: M /trunk/tests/tset_d.c adapted for denormalized on IRIX64 now test NaNs too ------------------------------------------------------------------------ r248 | hanrot | 1999-07-01 17:20:43 +0000 (Thu, 01 Jul 1999) | 2 lines Changed paths: M /trunk/cmp.c Due to the representation of 0 it might have happened that 0 != 0. ------------------------------------------------------------------------ r247 | hanrot | 1999-07-01 17:09:00 +0000 (Thu, 01 Jul 1999) | 2 lines Changed paths: M /trunk/sqrt.c Patch mpfr_set -> MPN_COPY ------------------------------------------------------------------------ r246 | hanrot | 1999-07-01 17:08:12 +0000 (Thu, 01 Jul 1999) | 2 lines Changed paths: M /trunk/div.c Patch when prec < 32. ------------------------------------------------------------------------ r245 | zimmerma | 1999-07-01 17:00:58 +0000 (Thu, 01 Jul 1999) | 2 lines Changed paths: M /trunk/set_d.c fixed bugs for 64-bit machines ------------------------------------------------------------------------ r244 | zimmerma | 1999-07-01 16:59:36 +0000 (Thu, 01 Jul 1999) | 2 lines Changed paths: M /trunk/round.c added casts to mp_limb_t ------------------------------------------------------------------------ r243 | zimmerma | 1999-07-01 16:54:40 +0000 (Thu, 01 Jul 1999) | 2 lines Changed paths: M /trunk/mul_ui.c added cast to mp_limb_t for shifts ------------------------------------------------------------------------ r242 | boldo | 1999-07-01 14:35:42 +0000 (Thu, 01 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tlog.c prints nothing is everything is allright ------------------------------------------------------------------------ r241 | boldo | 1999-07-01 14:20:32 +0000 (Thu, 01 Jul 1999) | 2 lines Changed paths: M /trunk/agm.c memory gestion ------------------------------------------------------------------------ r240 | boldo | 1999-07-01 14:19:36 +0000 (Thu, 01 Jul 1999) | 2 lines Changed paths: M /trunk/log.c one single bug ------------------------------------------------------------------------ r239 | boldo | 1999-07-01 14:19:12 +0000 (Thu, 01 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tlog.c more bad cases ------------------------------------------------------------------------ r238 | zimmerma | 1999-07-01 14:08:04 +0000 (Thu, 01 Jul 1999) | 2 lines Changed paths: M /trunk/tests/texp.c added some certified tests ------------------------------------------------------------------------ r237 | zimmerma | 1999-07-01 12:47:55 +0000 (Thu, 01 Jul 1999) | 2 lines Changed paths: M /trunk/tests/tmul_ui.c added one test to check that 1*y = y ------------------------------------------------------------------------ r236 | hanrot | 1999-07-01 12:19:09 +0000 (Thu, 01 Jul 1999) | 3 lines Changed paths: M /trunk/div.c Patch of an MLK due to multiple initialization of the same variables without freeing them in-between. ------------------------------------------------------------------------ r235 | hanrot | 1999-07-01 12:09:49 +0000 (Thu, 01 Jul 1999) | 2 lines Changed paths: M /trunk/div.c Same as in sqrt (allocation problem). ------------------------------------------------------------------------ r234 | zimmerma | 1999-07-01 11:58:48 +0000 (Thu, 01 Jul 1999) | 2 lines Changed paths: M /trunk/mul_ui.c fixed bug due to shift=0 in mpn_rshift ------------------------------------------------------------------------ r233 | hanrot | 1999-07-01 10:43:19 +0000 (Thu, 01 Jul 1999) | 2 lines Changed paths: M /trunk/sqrt.c (Temporary) patch for memory gestion in sqrt.c ------------------------------------------------------------------------ r232 | zimmerma | 1999-07-01 09:40:55 +0000 (Thu, 01 Jul 1999) | 2 lines Changed paths: M /trunk/sqrt.c mpfr_init -> mpfr_init2 ------------------------------------------------------------------------ r231 | zimmerma | 1999-07-01 09:39:56 +0000 (Thu, 01 Jul 1999) | 2 lines Changed paths: M /trunk/sqrt.c initialize temporary variables with current precision ------------------------------------------------------------------------ r230 | hanrot | 1999-06-30 15:47:13 +0000 (Wed, 30 Jun 1999) | 2 lines Changed paths: M /trunk/clear.c Unbelievably stupid bug fixed. ------------------------------------------------------------------------ r229 | hanrot | 1999-06-30 15:14:47 +0000 (Wed, 30 Jun 1999) | 3 lines Changed paths: M /trunk/round.c Two patches : one for an UMR which actually had no effect, one for an FNH in old code.. ------------------------------------------------------------------------ r228 | boldo | 1999-06-30 14:55:48 +0000 (Wed, 30 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tlog.c new bug ------------------------------------------------------------------------ r227 | boldo | 1999-06-30 13:30:46 +0000 (Wed, 30 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tagm.c there were some conflicts ------------------------------------------------------------------------ r226 | boldo | 1999-06-30 13:30:25 +0000 (Wed, 30 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tlog.c there were some conflicts ------------------------------------------------------------------------ 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 memory gestion ------------------------------------------------------------------------ r224 | zimmerma | 1999-06-29 17:53:45 +0000 (Tue, 29 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tzeta.c replaced outputs by direct comparison when no argument ------------------------------------------------------------------------ r223 | zimmerma | 1999-06-29 17:46:38 +0000 (Tue, 29 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tlog.c modified to do only certified test when no argument ------------------------------------------------------------------------ r222 | zimmerma | 1999-06-29 17:27:34 +0000 (Tue, 29 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tagm.c modified to do only tests with precomputed values when no argument ------------------------------------------------------------------------ r221 | zimmerma | 1999-06-29 16:13:33 +0000 (Tue, 29 Jun 1999) | 2 lines Changed paths: M /trunk/get_str.c does exact rounding only for n=0 ------------------------------------------------------------------------ r220 | remy | 1999-06-29 15:59:22 +0000 (Tue, 29 Jun 1999) | 2 lines Changed paths: M /trunk/Configure added zeta/tzeta ------------------------------------------------------------------------ r219 | remy | 1999-06-29 15:58:51 +0000 (Tue, 29 Jun 1999) | 2 lines Changed paths: M /trunk/mpfr.h added prototypes for mpfr_exp and mpfr_zeta ------------------------------------------------------------------------ r218 | remy | 1999-06-29 15:58:05 +0000 (Tue, 29 Jun 1999) | 3 lines Changed paths: A /trunk/zeta.c computes Riemann function Zeta(s) first version: only works for s=2 with PREC(result)=53 and rnd_mode=nearest ------------------------------------------------------------------------ r217 | remy | 1999-06-29 15:57:01 +0000 (Tue, 29 Jun 1999) | 2 lines Changed paths: A /trunk/tests/tzeta.c test file for mpfr_zeta ------------------------------------------------------------------------ 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 dépendance 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 ------------------------------------------------------------------------ r194 | hanrot | 1999-06-25 15:16:10 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tagm.c Correction d'un UMR en inversant le while (sans incidence tres probablement). ------------------------------------------------------------------------ r193 | zimmerma | 1999-06-25 15:12:04 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tadd.c added four tests ------------------------------------------------------------------------ r192 | zimmerma | 1999-06-25 15:07:31 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/set_d.c adapted mpfr_set_d to case where allocated limbs > significant limbs ------------------------------------------------------------------------ r191 | zimmerma | 1999-06-25 15:05:10 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/sub.c fixed bug for b=2^n and c very small ------------------------------------------------------------------------ r190 | hanrot | 1999-06-25 14:36:27 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/add.c Some limbs of the result where not set to zero as they should. ------------------------------------------------------------------------ r189 | zimmerma | 1999-06-25 13:32:39 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tset_si.c added prototypes, and errors to stderr ------------------------------------------------------------------------ r188 | zimmerma | 1999-06-25 13:17:23 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: D /trunk/tests/tset_i binary file -> remove it ------------------------------------------------------------------------ r187 | zimmerma | 1999-06-25 13:16:04 +0000 (Fri, 25 Jun 1999) | 3 lines Changed paths: M /trunk/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 ------------------------------------------------------------------------ r186 | zimmerma | 1999-06-25 13:05:45 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/round.c fixed pbs with ABSSIZE(x) wrt PREC(x) in mpfr_round ------------------------------------------------------------------------ r185 | zimmerma | 1999-06-25 13:01:20 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tget_str.c added pointer to exponent, removed test with sprintf ------------------------------------------------------------------------ r184 | zimmerma | 1999-06-25 13:00:05 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/get_str.c removed DEBUG stuff ------------------------------------------------------------------------ r183 | zimmerma | 1999-06-25 12:57:10 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/set_si.c use PREC(x) instead of ABSSIZE(x) to get the number of significant limbs ------------------------------------------------------------------------ r182 | zimmerma | 1999-06-25 12:56:22 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tset_si.c do 10^6 tests if no argument ------------------------------------------------------------------------ r181 | hanrot | 1999-06-25 12:30:43 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/Configure J'avais oublie -g... ------------------------------------------------------------------------ r180 | hanrot | 1999-06-25 12:23:51 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/Configure Ajoute des flags de paranoiaque schizophrene. ------------------------------------------------------------------------ r179 | zimmerma | 1999-06-25 11:43:25 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/tests/texp.c now prints nothing with no argument ------------------------------------------------------------------------ r178 | zimmerma | 1999-06-25 11:22:28 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/Configure added texp and tdiv_ui ------------------------------------------------------------------------ r177 | zimmerma | 1999-06-25 11:21:30 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: A /trunk/tests/tdiv_ui.c test file for div_ui, initial revision ------------------------------------------------------------------------ r176 | zimmerma | 1999-06-25 10:19:42 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/log.c commented out "avant arrondi..." ------------------------------------------------------------------------ r175 | zimmerma | 1999-06-25 10:17:40 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/agm.c clear res1/res2 ------------------------------------------------------------------------ r174 | hanrot | 1999-06-25 10:17:26 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/add.c Patches an ABR. ------------------------------------------------------------------------ r173 | hanrot | 1999-06-25 10:15:54 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/sub.c Patch of an ABR. ------------------------------------------------------------------------ r172 | hanrot | 1999-06-25 10:15:21 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/pow.c Patch in the case n = 0. ------------------------------------------------------------------------ r171 | hanrot | 1999-06-25 10:14:45 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/out_str.c Patch for a memory leak. ------------------------------------------------------------------------ r170 | zimmerma | 1999-06-25 10:13:14 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tsqrt.c added two tests for exact roots ------------------------------------------------------------------------ r169 | zimmerma | 1999-06-25 10:12:11 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/sqrt.c removed DEBUG stuff and fixed pb with exact root and GMP_RNDZ ------------------------------------------------------------------------ r168 | hanrot | 1999-06-25 09:42:53 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/cmp.c Correction d'un ABR. ------------------------------------------------------------------------ r167 | zimmerma | 1999-06-25 09:38:52 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tpi.c added test for prec=53 bits, removed output for argc==1 ------------------------------------------------------------------------ r166 | hanrot | 1999-06-25 09:28:43 +0000 (Fri, 25 Jun 1999) | 2 lines Changed paths: A /trunk/tests/tcan_round.c Initial revision. ------------------------------------------------------------------------ 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 Patched an Array Bound Read. ------------------------------------------------------------------------ r164 | hanrot | 1999-06-24 12:10:00 +0000 (Thu, 24 Jun 1999) | 2 lines Changed paths: M /trunk/round.c Corrected an Array Bound Read when all the bits are significative. ------------------------------------------------------------------------ r163 | zimmerma | 1999-06-24 12:00:31 +0000 (Thu, 24 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tcmp_ui.c i -> s in tests on mpfr_cmp_si ------------------------------------------------------------------------ r162 | zimmerma | 1999-06-24 11:59:05 +0000 (Thu, 24 Jun 1999) | 2 lines Changed paths: M /trunk/cmp_ui.c fixed pb in mpfr_cmp_si_2exp (case b=0 or i=0) ------------------------------------------------------------------------ r161 | zimmerma | 1999-06-24 11:55:25 +0000 (Thu, 24 Jun 1999) | 2 lines Changed paths: M /trunk/cmp.c & -> && ------------------------------------------------------------------------ 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 removed 3rd arg. of mpfr_set_prec ------------------------------------------------------------------------ r159 | zimmerma | 1999-06-24 11:37:54 +0000 (Thu, 24 Jun 1999) | 2 lines Changed paths: M /trunk/add.c treats case b=c in mpfr_sub(a,b,c) ------------------------------------------------------------------------ r158 | zimmerma | 1999-06-24 11:36:43 +0000 (Thu, 24 Jun 1999) | 3 lines Changed paths: M /trunk/set_prec.c removed 3rd argument in mpfr_set_prec reallocates only when more limbs are needed ------------------------------------------------------------------------ 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 removed 3rd arg. of mpfr_set_prec ------------------------------------------------------------------------ r156 | zimmerma | 1999-06-24 11:32:11 +0000 (Thu, 24 Jun 1999) | 2 lines Changed paths: M /trunk/div.c added some mpfr_clear's that were missing ------------------------------------------------------------------------ r155 | zimmerma | 1999-06-24 10:16:54 +0000 (Thu, 24 Jun 1999) | 2 lines Changed paths: M /trunk/div.c removed 3rd argument from mpfr_set_prec ------------------------------------------------------------------------ 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 removed 3rd argument of mpfr_set_prec ------------------------------------------------------------------------ r153 | zimmerma | 1999-06-24 10:09:40 +0000 (Thu, 24 Jun 1999) | 2 lines Changed paths: M /trunk/mpfr.h changed prototype of mpfr_set_prec (no rounding mode needed any more) ------------------------------------------------------------------------ r152 | zimmerma | 1999-06-24 07:57:30 +0000 (Thu, 24 Jun 1999) | 3 lines Changed paths: M /trunk/tests/tset_str.c added test for case of missing exponent and if one argument, print it as a double ------------------------------------------------------------------------ r151 | zimmerma | 1999-06-24 07:56:19 +0000 (Thu, 24 Jun 1999) | 3 lines Changed paths: M /trunk/set_str_raw.c fixed bug when exponent was missing (wrong result when part before binary point is not zero) ------------------------------------------------------------------------ r150 | zimmerma | 1999-06-24 07:47:59 +0000 (Thu, 24 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tlog.c added tests from JM Muller and V Lefevre ------------------------------------------------------------------------ r149 | zimmerma | 1999-06-23 16:37:03 +0000 (Wed, 23 Jun 1999) | 4 lines Changed paths: M /trunk/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) ------------------------------------------------------------------------ r148 | boldo | 1999-06-23 16:02:24 +0000 (Wed, 23 Jun 1999) | 2 lines Changed paths: M /trunk/log.c qq bugs d'arrondis ------------------------------------------------------------------------ r147 | zimmerma | 1999-06-23 15:57:14 +0000 (Wed, 23 Jun 1999) | 2 lines Changed paths: M /trunk/Configure added exp and div_ui ------------------------------------------------------------------------ r146 | zimmerma | 1999-06-23 15:56:35 +0000 (Wed, 23 Jun 1999) | 2 lines Changed paths: M /trunk/tests/texp.c added test of exp(Pi*sqrt(163)/3)-640320 [texp 0.0 prec] ------------------------------------------------------------------------ r145 | zimmerma | 1999-06-23 15:44:33 +0000 (Wed, 23 Jun 1999) | 2 lines Changed paths: A /trunk/tests/texp.c test file for mpfr_exp, initial revision ------------------------------------------------------------------------ r144 | zimmerma | 1999-06-23 13:02:11 +0000 (Wed, 23 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tmul.c added two tests ------------------------------------------------------------------------ r143 | zimmerma | 1999-06-23 12:57:56 +0000 (Wed, 23 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tset_str.c removed printf's and added one test for leading '+' ------------------------------------------------------------------------ r142 | zimmerma | 1999-06-23 12:56:26 +0000 (Wed, 23 Jun 1999) | 2 lines Changed paths: M /trunk/set_str_raw.c now allows leading '+' ------------------------------------------------------------------------ r141 | boldo | 1999-06-23 11:34:03 +0000 (Wed, 23 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tagm.c nettoye ------------------------------------------------------------------------ r140 | zimmerma | 1999-06-23 10:00:37 +0000 (Wed, 23 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tset_f.c removed printf ------------------------------------------------------------------------ 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 removed printf's ------------------------------------------------------------------------ r138 | zimmerma | 1999-06-23 09:59:31 +0000 (Wed, 23 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tlog.c added tests for large precision (tlog x prec rnd) ------------------------------------------------------------------------ r137 | zimmerma | 1999-06-23 09:58:29 +0000 (Wed, 23 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tdiv.c added test for exact division ------------------------------------------------------------------------ r136 | zimmerma | 1999-06-23 09:57:57 +0000 (Wed, 23 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tcmp2.c mpfr_cmp -> mpfr_cmp2 ------------------------------------------------------------------------ r135 | zimmerma | 1999-06-23 09:57:23 +0000 (Wed, 23 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tagm.c removed printf, added exit on error ------------------------------------------------------------------------ r134 | zimmerma | 1999-06-23 09:55:43 +0000 (Wed, 23 Jun 1999) | 2 lines Changed paths: A /trunk/exp.c initial revision ------------------------------------------------------------------------ r133 | zimmerma | 1999-06-23 09:50:41 +0000 (Wed, 23 Jun 1999) | 2 lines Changed paths: M /trunk/mul.c cleaned local variables ------------------------------------------------------------------------ r132 | zimmerma | 1999-06-23 09:49:07 +0000 (Wed, 23 Jun 1999) | 2 lines Changed paths: M /trunk/mpfr.h changed prototype of mpfr_div (now returns int) ------------------------------------------------------------------------ r131 | zimmerma | 1999-06-23 09:47:12 +0000 (Wed, 23 Jun 1999) | 4 lines Changed paths: M /trunk/div.c now deals correctly with exact division removed DEBUG stuff returns 0/1 according to exact division ------------------------------------------------------------------------ r130 | zimmerma | 1999-06-22 17:12:20 +0000 (Tue, 22 Jun 1999) | 2 lines Changed paths: M /trunk/mul.c fixed bug found by F. Rouillier: x * Z(2/x) -> 0 [carry from mpfr_round_raw] ------------------------------------------------------------------------ r129 | hanrot | 1999-06-22 13:33:35 +0000 (Tue, 22 Jun 1999) | 2 lines Changed paths: M /trunk/set_prec.c Fill with 0 the part added in case of a larger reallocation. ------------------------------------------------------------------------ r128 | hanrot | 1999-06-22 12:39:01 +0000 (Tue, 22 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tmul.c Rajoute le bug report de Fabrice. ------------------------------------------------------------------------ r127 | zimmerma | 1999-06-22 12:18:25 +0000 (Tue, 22 Jun 1999) | 2 lines Changed paths: M /trunk/round.c fixed bug in mpfr_can_round when prec or err are multiples of BITS_PER_MP_LIMB ------------------------------------------------------------------------ r126 | zimmerma | 1999-06-22 12:16:28 +0000 (Tue, 22 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tmul.c added test to check sign of result ------------------------------------------------------------------------ r125 | zimmerma | 1999-06-22 12:14:44 +0000 (Tue, 22 Jun 1999) | 2 lines Changed paths: M /trunk/mul.c fixed bug: wrong sign when SIGN(a)<0 at beginning ------------------------------------------------------------------------ r124 | boldo | 1999-06-22 09:51:16 +0000 (Tue, 22 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tlog.c avec plein de cas d'erreurs ------------------------------------------------------------------------ r123 | boldo | 1999-06-22 09:47:20 +0000 (Tue, 22 Jun 1999) | 2 lines Changed paths: M /trunk/log.c marche bien ------------------------------------------------------------------------ r122 | boldo | 1999-06-22 09:47:04 +0000 (Tue, 22 Jun 1999) | 2 lines Changed paths: M /trunk/agm.c Marche bien ------------------------------------------------------------------------ r121 | hanrot | 1999-06-21 16:00:30 +0000 (Mon, 21 Jun 1999) | 2 lines Changed paths: M /trunk/mpfr.h Corrected prototype of mpfr_can_round_raw. ------------------------------------------------------------------------ r120 | hanrot | 1999-06-21 16:00:11 +0000 (Mon, 21 Jun 1999) | 2 lines Changed paths: M /trunk/round.c Various patches. ------------------------------------------------------------------------ r119 | hanrot | 1999-06-21 15:39:24 +0000 (Mon, 21 Jun 1999) | 2 lines Changed paths: M /trunk/mpfr.h Added prototype for mpfr_can_round_raw ------------------------------------------------------------------------ r118 | hanrot | 1999-06-21 15:34:57 +0000 (Mon, 21 Jun 1999) | 2 lines Changed paths: M /trunk/round.c Added mpfr_can_round_raw ; mpfr_can_round just calls it. ------------------------------------------------------------------------ r117 | hanrot | 1999-06-21 15:26:56 +0000 (Mon, 21 Jun 1999) | 2 lines Changed paths: M /trunk/mpfr.h Declaration mpfr_print_rnd_mode.c ------------------------------------------------------------------------ r116 | hanrot | 1999-06-21 15:26:39 +0000 (Mon, 21 Jun 1999) | 2 lines Changed paths: M /trunk/print_rnd_mode.c print_rnd_mode.c -> mpfr_print_rnd_mode.c ------------------------------------------------------------------------ r115 | hanrot | 1999-06-21 15:07:36 +0000 (Mon, 21 Jun 1999) | 2 lines Changed paths: A /trunk/print_rnd_mode.c Print the rounding mode. ------------------------------------------------------------------------ r114 | hanrot | 1999-06-21 13:45:56 +0000 (Mon, 21 Jun 1999) | 2 lines Changed paths: M /trunk/set_prec.c Changement de semantique (plus d'arrondi) et alloc + free -> realloc. ------------------------------------------------------------------------ r113 | zimmerma | 1999-06-21 11:28:36 +0000 (Mon, 21 Jun 1999) | 2 lines Changed paths: A /trunk/div_ui.c initial revision ------------------------------------------------------------------------ r112 | zimmerma | 1999-06-21 11:27:29 +0000 (Mon, 21 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tmul_ui.c added one test ------------------------------------------------------------------------ r111 | zimmerma | 1999-06-21 11:24:33 +0000 (Mon, 21 Jun 1999) | 2 lines Changed paths: M /trunk/set.c now deal with carry from mpfr_round_raw ------------------------------------------------------------------------ r110 | zimmerma | 1999-06-21 11:17:13 +0000 (Mon, 21 Jun 1999) | 2 lines Changed paths: M /trunk/mul_ui.c fixed problem with count_leading_zeros undefined for 0 ------------------------------------------------------------------------ r109 | zimmerma | 1999-06-21 11:16:02 +0000 (Mon, 21 Jun 1999) | 2 lines Changed paths: M /trunk/log2.c store computed value and try to reuse it for next calls ------------------------------------------------------------------------ r108 | zimmerma | 1999-06-21 11:14:46 +0000 (Mon, 21 Jun 1999) | 2 lines Changed paths: M /trunk/cmp.c added test cn>= in mpfr_cmp2 ------------------------------------------------------------------------ r107 | zimmerma | 1999-06-21 11:12:33 +0000 (Mon, 21 Jun 1999) | 2 lines Changed paths: M /trunk/add_ulp.c added mpfr_sub_one_ulp ------------------------------------------------------------------------ r106 | boldo | 1999-06-18 11:53:03 +0000 (Fri, 18 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tagm.c tests par rapport aux doubles ------------------------------------------------------------------------ r105 | boldo | 1999-06-18 11:52:31 +0000 (Fri, 18 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tlog.c pour decouvrir les erreurs ------------------------------------------------------------------------ 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 version qui marche ------------------------------------------------------------------------ r103 | zimmerma | 1999-06-18 10:15:11 +0000 (Fri, 18 Jun 1999) | 2 lines Changed paths: M /trunk/mul.c special cases NaN and 0 ------------------------------------------------------------------------ r102 | zimmerma | 1999-06-18 09:56:15 +0000 (Fri, 18 Jun 1999) | 2 lines Changed paths: M /trunk/mpfr.texi fixed a few errors ------------------------------------------------------------------------ r101 | zimmerma | 1999-06-17 14:26:21 +0000 (Thu, 17 Jun 1999) | 2 lines Changed paths: M /trunk/div.c added tests for n=0 and d=0 ------------------------------------------------------------------------ r100 | zimmerma | 1999-06-17 14:25:49 +0000 (Thu, 17 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tdiv.c added test for 0.0/1.0 ------------------------------------------------------------------------ r99 | zimmerma | 1999-06-17 12:48:38 +0000 (Thu, 17 Jun 1999) | 2 lines Changed paths: M /trunk/div.c SET_NAN(q) -> SET_NAN(Q) ------------------------------------------------------------------------ r98 | zimmerma | 1999-06-17 12:48:05 +0000 (Thu, 17 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tsqrt.c added one exact root with rounding towards zero ------------------------------------------------------------------------ r97 | zimmerma | 1999-06-17 12:45:54 +0000 (Thu, 17 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tout_str.c added one test ------------------------------------------------------------------------ r96 | zimmerma | 1999-06-17 12:45:00 +0000 (Thu, 17 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tdiv.c added two tests ------------------------------------------------------------------------ r95 | zimmerma | 1999-06-17 12:36:52 +0000 (Thu, 17 Jun 1999) | 2 lines Changed paths: M /trunk/sqrt.c patch to detect exact roots (otherwise problem with rounding to zero) ------------------------------------------------------------------------ r94 | zimmerma | 1999-06-17 10:14:11 +0000 (Thu, 17 Jun 1999) | 2 lines Changed paths: M /trunk/mpfr.h changed way zero is represented : most sign. limb is zero ------------------------------------------------------------------------ r93 | zimmerma | 1999-06-17 09:56:49 +0000 (Thu, 17 Jun 1999) | 2 lines Changed paths: M /trunk/set_si.c added special case for zero ------------------------------------------------------------------------ r92 | zimmerma | 1999-06-17 09:56:06 +0000 (Thu, 17 Jun 1999) | 2 lines Changed paths: M /trunk/print_raw.c special case for zero ------------------------------------------------------------------------ r91 | zimmerma | 1999-06-17 09:55:24 +0000 (Thu, 17 Jun 1999) | 2 lines Changed paths: M /trunk/out_str.c special cases for NaN and zero ------------------------------------------------------------------------ r90 | zimmerma | 1999-06-17 09:54:47 +0000 (Thu, 17 Jun 1999) | 2 lines Changed paths: M /trunk/add.c special case when one of the arguments is zero ------------------------------------------------------------------------ r89 | zimmerma | 1999-06-17 09:25:41 +0000 (Thu, 17 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tsqrt.c added bug found by S. Boldo and fixed (pb in mpfr_round_raw2) ------------------------------------------------------------------------ r88 | zimmerma | 1999-06-17 09:24:51 +0000 (Thu, 17 Jun 1999) | 2 lines Changed paths: M /trunk/round.c fixed bug in mpfr_round_raw2 which was returning other values than 0 or 1 ------------------------------------------------------------------------ r87 | hanrot | 1999-06-17 09:07:25 +0000 (Thu, 17 Jun 1999) | 2 lines Changed paths: M /trunk/add.c Corrected a potential problem in add(a, a, a); ------------------------------------------------------------------------ r86 | hanrot | 1999-06-17 09:06:26 +0000 (Thu, 17 Jun 1999) | 2 lines Changed paths: M /trunk/sub.c Corrected a potential problem in sub(a, a, a); ------------------------------------------------------------------------ r85 | zimmerma | 1999-06-17 08:56:14 +0000 (Thu, 17 Jun 1999) | 2 lines Changed paths: M /trunk/sqrt.c SET_NAN(x) -> SET_NAN(X) ------------------------------------------------------------------------ r84 | hanrot | 1999-06-17 08:49:43 +0000 (Thu, 17 Jun 1999) | 2 lines Changed paths: M /trunk/cmp.c Patch in cmp2 for some dirty cases (2^a + 2^b <-> 2^a + z, z << 2^a, b << a) ------------------------------------------------------------------------ r83 | zimmerma | 1999-06-17 08:23:06 +0000 (Thu, 17 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tadd.c added test to check bug found by JL Remy ------------------------------------------------------------------------ r82 | zimmerma | 1999-06-17 08:22:11 +0000 (Thu, 17 Jun 1999) | 3 lines Changed paths: M /trunk/sub.c added TMP_DECL/TMP_MARK/TMP_FREE in mpfr_sub1 to deal with case where destination=source ------------------------------------------------------------------------ r81 | hanrot | 1999-06-16 18:07:21 +0000 (Wed, 16 Jun 1999) | 2 lines Changed paths: M /trunk/set_d.c Bug dans set_d(0) ; la mantisse n'est pas initialisee a 0 correctement. ------------------------------------------------------------------------ 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 Gere differemment les problemes d'egalite entre destinations et arguments. ------------------------------------------------------------------------ r79 | hanrot | 1999-06-16 11:42:18 +0000 (Wed, 16 Jun 1999) | 2 lines Changed paths: M /trunk/Configure Rajoute log.o et tlog ------------------------------------------------------------------------ r78 | hanrot | 1999-06-16 11:06:37 +0000 (Wed, 16 Jun 1999) | 2 lines Changed paths: D /trunk/tests/mon_fichier Vire fichier inutile. ------------------------------------------------------------------------ r77 | zimmerma | 1999-06-16 10:56:24 +0000 (Wed, 16 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tadd.c added new tests ------------------------------------------------------------------------ r76 | zimmerma | 1999-06-16 10:55:39 +0000 (Wed, 16 Jun 1999) | 2 lines Changed paths: M /trunk/sub.c fixed bug for overlap=k*mp_bits_per_limb, k>=1 ------------------------------------------------------------------------ r75 | hanrot | 1999-06-16 09:54:52 +0000 (Wed, 16 Jun 1999) | 2 lines Changed paths: D /trunk/tests/Makefile Vire Makefile de CVS. ------------------------------------------------------------------------ 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 Vire les Makefile de CVS. ------------------------------------------------------------------------ r73 | zimmerma | 1999-06-16 09:48:59 +0000 (Wed, 16 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tsqrt.c added one test and random init. ------------------------------------------------------------------------ r72 | zimmerma | 1999-06-16 09:48:17 +0000 (Wed, 16 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tdiv.c added one test ------------------------------------------------------------------------ r71 | zimmerma | 1999-06-16 09:47:18 +0000 (Wed, 16 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tadd.c added tests for cases where destination = source ------------------------------------------------------------------------ r70 | zimmerma | 1999-06-16 09:46:10 +0000 (Wed, 16 Jun 1999) | 2 lines Changed paths: M /trunk/sub.c cases NaN and destination=source ------------------------------------------------------------------------ r69 | zimmerma | 1999-06-16 09:45:22 +0000 (Wed, 16 Jun 1999) | 3 lines Changed paths: M /trunk/sqrt.c now iterates if one cannot round after 1st try, and deals with case destination = source ------------------------------------------------------------------------ r68 | zimmerma | 1999-06-16 09:43:32 +0000 (Wed, 16 Jun 1999) | 2 lines Changed paths: M /trunk/round.c mpfr_can_round again and again ------------------------------------------------------------------------ r67 | zimmerma | 1999-06-16 09:42:45 +0000 (Wed, 16 Jun 1999) | 2 lines Changed paths: M /trunk/print_raw.c added case of NaN ------------------------------------------------------------------------ r66 | zimmerma | 1999-06-16 09:41:54 +0000 (Wed, 16 Jun 1999) | 2 lines Changed paths: M /trunk/mpfr.h added macro SET_ZERO ------------------------------------------------------------------------ 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 now allows 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 Vire les tests de cvs. ------------------------------------------------------------------------ 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 printf -> fprintf ------------------------------------------------------------------------ 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 error message when destination equals source (case not yet treated) ------------------------------------------------------------------------ r61 | zimmerma | 1999-06-15 16:27:26 +0000 (Tue, 15 Jun 1999) | 2 lines Changed paths: M /trunk/get_str.c now uses the given rounding mode internally instead of always GMP_RNDZ ------------------------------------------------------------------------ r60 | zimmerma | 1999-06-15 16:26:06 +0000 (Tue, 15 Jun 1999) | 2 lines Changed paths: M /trunk/pi.c now rounding to nearest should be correct ------------------------------------------------------------------------ r59 | hanrot | 1999-06-15 16:19:56 +0000 (Tue, 15 Jun 1999) | 2 lines Changed paths: M /trunk/round.c Encore et toujours mpfr_can_round... ------------------------------------------------------------------------ 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 Nettoyage. ------------------------------------------------------------------------ r57 | hanrot | 1999-06-15 14:43:14 +0000 (Tue, 15 Jun 1999) | 2 lines Changed paths: M /trunk/round.c Patch pour mpfr_can_round. ------------------------------------------------------------------------ r56 | boldo | 1999-06-15 14:40:51 +0000 (Tue, 15 Jun 1999) | 2 lines Changed paths: M /trunk/agm.c sans instructions de debuggage ------------------------------------------------------------------------ r55 | boldo | 1999-06-15 13:53:11 +0000 (Tue, 15 Jun 1999) | 2 lines Changed paths: M /trunk/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 rajout de tlog ------------------------------------------------------------------------ r53 | boldo | 1999-06-15 13:41:24 +0000 (Tue, 15 Jun 1999) | 2 lines Changed paths: M /trunk/mpfr.h ajout du log ------------------------------------------------------------------------ r52 | boldo | 1999-06-15 13:24:51 +0000 (Tue, 15 Jun 1999) | 2 lines Changed paths: A /trunk/tests/tlog.c *** empty log message *** ------------------------------------------------------------------------ r51 | boldo | 1999-06-15 13:22:09 +0000 (Tue, 15 Jun 1999) | 2 lines Changed paths: A /trunk/log.c premiere version du log ------------------------------------------------------------------------ r50 | zimmerma | 1999-06-15 13:11:10 +0000 (Tue, 15 Jun 1999) | 2 lines Changed paths: M /trunk/div.c now recognizes division by exact power of 2 ------------------------------------------------------------------------ r49 | zimmerma | 1999-06-15 13:10:21 +0000 (Tue, 15 Jun 1999) | 2 lines Changed paths: M /trunk/cmp_ui.c added mpfr_cmp_[us]i_2exp ------------------------------------------------------------------------ r48 | zimmerma | 1999-06-15 12:53:07 +0000 (Tue, 15 Jun 1999) | 2 lines Changed paths: M /trunk/mpfr.h added mpfr_[us]i_2exp ------------------------------------------------------------------------ r47 | zimmerma | 1999-06-15 12:52:33 +0000 (Tue, 15 Jun 1999) | 2 lines Changed paths: M /trunk/mpfr.texi added mpfr_cmp_[us]i_2exp ------------------------------------------------------------------------ r46 | hanrot | 1999-06-15 12:06:32 +0000 (Tue, 15 Jun 1999) | 2 lines Changed paths: M /trunk/random.c Correction de bug (pas msb normalise). ------------------------------------------------------------------------ r45 | zimmerma | 1999-06-15 10:04:12 +0000 (Tue, 15 Jun 1999) | 2 lines Changed paths: M /trunk/pi.c fixed mistake in error analysis (does not change code) ------------------------------------------------------------------------ r44 | hanrot | 1999-06-15 09:26:56 +0000 (Tue, 15 Jun 1999) | 2 lines Changed paths: M /trunk/Configure Ajout de random.o dans les objets. ------------------------------------------------------------------------ r43 | hanrot | 1999-06-15 09:26:26 +0000 (Tue, 15 Jun 1999) | 3 lines Changed paths: A /trunk/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. ------------------------------------------------------------------------ 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 changed return value to void ------------------------------------------------------------------------ r41 | hanrot | 1999-06-14 16:35:25 +0000 (Mon, 14 Jun 1999) | 2 lines Changed paths: M /trunk/round.c Ajoute les modes d'arrondi RNDN et RNDD. ------------------------------------------------------------------------ r40 | hanrot | 1999-06-14 13:14:43 +0000 (Mon, 14 Jun 1999) | 2 lines Changed paths: M /trunk/mul_ui.c Correction du prototype de mpfr_mul_ui ------------------------------------------------------------------------ r39 | hanrot | 1999-06-14 11:11:55 +0000 (Mon, 14 Jun 1999) | 2 lines Changed paths: M /trunk/mpfr.h Correction du prototype de mpfr_mul_ui ------------------------------------------------------------------------ r38 | boldo | 1999-06-14 10:18:01 +0000 (Mon, 14 Jun 1999) | 2 lines Changed paths: M /trunk/mpfr.h *** empty log message *** ------------------------------------------------------------------------ r37 | zimmerma | 1999-06-14 07:51:59 +0000 (Mon, 14 Jun 1999) | 2 lines Changed paths: M /trunk/Configure added several files ------------------------------------------------------------------------ r36 | zimmerma | 1999-06-14 07:51:28 +0000 (Mon, 14 Jun 1999) | 2 lines Changed paths: M /trunk/mpfr.h added several prototypes ------------------------------------------------------------------------ r35 | zimmerma | 1999-06-14 07:50:36 +0000 (Mon, 14 Jun 1999) | 2 lines Changed paths: M /trunk/mpfr.texi added set_z, add_one_ulp ------------------------------------------------------------------------ r34 | zimmerma | 1999-06-14 07:49:06 +0000 (Mon, 14 Jun 1999) | 2 lines Changed paths: M /trunk/set_d.c added mpfr_get_d2 which only considers the mantissa ------------------------------------------------------------------------ r33 | zimmerma | 1999-06-14 07:48:10 +0000 (Mon, 14 Jun 1999) | 2 lines Changed paths: M /trunk/get_str.c now uses mpfr_get_d2 (no side effect on arguments) ------------------------------------------------------------------------ r32 | zimmerma | 1999-06-14 07:46:10 +0000 (Mon, 14 Jun 1999) | 2 lines Changed paths: A /trunk/tests/tlog2.c test file for mpfr_log2 ------------------------------------------------------------------------ r31 | zimmerma | 1999-06-14 07:45:27 +0000 (Mon, 14 Jun 1999) | 2 lines Changed paths: A /trunk/tests/tset_z.c test file for mpfr_set_z ------------------------------------------------------------------------ r30 | zimmerma | 1999-06-14 07:44:42 +0000 (Mon, 14 Jun 1999) | 2 lines Changed paths: A /trunk/tests/tpi.c test file for mpfr_pi ------------------------------------------------------------------------ r29 | zimmerma | 1999-06-14 07:43:57 +0000 (Mon, 14 Jun 1999) | 2 lines Changed paths: A /trunk/log2.c computes log(2) ------------------------------------------------------------------------ r28 | zimmerma | 1999-06-14 07:43:22 +0000 (Mon, 14 Jun 1999) | 2 lines Changed paths: A /trunk/add_ulp.c add one ulp ------------------------------------------------------------------------ r27 | zimmerma | 1999-06-14 07:42:12 +0000 (Mon, 14 Jun 1999) | 2 lines Changed paths: A /trunk/set_z.c set a mpfr from an integer ------------------------------------------------------------------------ r26 | zimmerma | 1999-06-14 07:41:33 +0000 (Mon, 14 Jun 1999) | 2 lines Changed paths: A /trunk/pi.c computes Pi to n bits ------------------------------------------------------------------------ r25 | boldo | 1999-06-14 07:41:29 +0000 (Mon, 14 Jun 1999) | 2 lines Changed paths: M /trunk/agm.c *** empty log message *** ------------------------------------------------------------------------ r24 | zimmerma | 1999-06-11 08:08:35 +0000 (Fri, 11 Jun 1999) | 2 lines Changed paths: A /trunk/mpfr.texi Initial revision of mpfr documentation ------------------------------------------------------------------------ r23 | hanrot | 1999-06-10 18:47:44 +0000 (Thu, 10 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tsqrt.c Patch d'un mpfr_set_d dans tsqrt.c ; GH, 100699 ------------------------------------------------------------------------ r22 | hanrot | 1999-06-10 18:47:09 +0000 (Thu, 10 Jun 1999) | 2 lines Changed paths: M /trunk/tests/tget_str.c Patch d'un mpfr_set_d dans get_str.c ; GH, 100699 ------------------------------------------------------------------------ r21 | hanrot | 1999-06-10 18:46:03 +0000 (Thu, 10 Jun 1999) | 2 lines Changed paths: A /trunk/Configure Tentative de configuration automatique, v. initiale. GH, 100699 ------------------------------------------------------------------------ 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 *** empty log message *** ------------------------------------------------------------------------ r19 | zimmerma | 1999-06-10 09:20:04 +0000 (Thu, 10 Jun 1999) | 2 lines Changed paths: M /trunk/Makefile added tout_str ------------------------------------------------------------------------ r18 | zimmerma | 1999-06-10 09:19:38 +0000 (Thu, 10 Jun 1999) | 2 lines Changed paths: A /trunk/tests/tout_str.c Initial revision. ------------------------------------------------------------------------ r17 | zimmerma | 1999-06-10 09:13:55 +0000 (Thu, 10 Jun 1999) | 2 lines Changed paths: M /trunk/Makefile added out_str.c and pow.c ------------------------------------------------------------------------ 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 (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. ------------------------------------------------------------------------