diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-12-08 13:17:51 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-12-08 13:17:51 +0000 |
commit | 5cd1226c560b9d3ce05fbf9960f7657120000b8c (patch) | |
tree | 7d65268679d7082313d38a090775c9dee5f99ed8 /ChangeLog | |
parent | b6a75b10d88a893ea80385893455e22051d18783 (diff) | |
download | mpfr-5cd1226c560b9d3ce05fbf9960f7657120000b8c.tar.gz |
ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v".
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11931 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 20159 |
1 files changed, 20154 insertions, 5 deletions
@@ -1,4 +1,20153 @@ ------------------------------------------------------------------------ +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 <stdio.h> (<cstdio> 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 +<https://ftp.gnu.org/gnu/texinfo/>. +------------------------------------------------------------------------ +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 <https://sympa.inria.fr/sympa/arc/mpfr/2017-10/msg00007.html>. +------------------------------------------------------------------------ +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 + http://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 <errno.h>" 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 <errno.h> 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 <errno.h> 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 <errno.h> 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 <errno.h> 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 <errno.h> 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 <errno.h> 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 <signal.h> 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 <ctype.h> 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 <ctype.h>". +------------------------------------------------------------------------ +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 <stdarg.h> 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: http://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 <https://en.wikipedia.org/wiki/IEEE_floating_point>. 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 trigerred 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" <https://gcc.gnu.org/gcc-6/changes.html>. +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 <float.h> 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 <float.h>. +------------------------------------------------------------------------ +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 correcly 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 <sisyphus1@optusnet.com.au> + +------------------------------------------------------------------------ +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 <stdint.h> 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 http://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 <math.h>). +------------------------------------------------------------------------ +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: +<https://bugzilla.gnome.org/show_bug.cgi?id=756960>). +------------------------------------------------------------------------ +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 <gmp.h> 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 <mpfr.h> 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: + http://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 + http://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 <string.h> 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 <stdio.h> 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 <patchlevel> (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 + http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44786 (sanitizer) + http://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 + http://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 <https://sympa.inria.fr/sympa/arc/mpfr/2013-08/msg00008.html> +(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 @@ -3458,7 +23607,7 @@ Changed paths: M /trunk/tests/Makefile.am M /trunk/tune/Makefile.am -Updated autotool files to get rid of obsolete macros (thanks to +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 @@ -11333,7 +31482,7 @@ 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 mpfr_limb_t has 64 bits + 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 @@ -18209,8 +38358,8 @@ Changed paths: M /trunk/README Since COPYING.LESSER makes a reference to the GPLv3, updated COPYING -to the GPLv3. Autotool files are now distributed under the same licence -of MPFR (to avoid any reference to the GPLv2). +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: @@ -48851,7 +69000,7 @@ Changed paths: 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 reprensation (Must be 1 or -1). +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 |