summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Re-added changes specific to the old 4.0 branch:vlefevre2017-12-182-1/+2
| | | | | | | | * doc/FAQ.html: assume MPFR 4.0.0 has been released (since this is a file for the MPFR 4.0.0 release). * NEWS: added test coverage for MPFR 4.0.0. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@11992 280ebfd0-de03-0410-8827-d642c229c3f4
* Replaced the 4.0 branch by a copy of the trunk (in order to keep thevlefevre2017-12-1735-260/+579
|\ | | | | | | | | | | | | | | history of the latest changes of the trunk); this replacement is due to a limitation of Subversion where a merge is regarded as a single commit, and is OK here since the 4.0 branch is new. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@11990 280ebfd0-de03-0410-8827-d642c229c3f4
| * Updated version to 4.0.0-rc2 for an attempt to replace the 4.0 branch.vlefevre2017-12-176-12/+12
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11989 280ebfd0-de03-0410-8827-d642c229c3f4
| * ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v".vlefevre2017-12-171-0/+309
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11988 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/add1sp.c] fix bug in mpfr_add1sp3() in case d=GMP_NUMB_BITSzimmerma2017-12-171-1/+5
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11987 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tests/tadd1sp.c] added test for new bug (still to be fixed):zimmerma2017-12-171-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Seed GMP_CHECK_RANDOMIZE=1514385177 (include this in bug reports) add1 & add1sp return different values for MPFR_RNDN Prec_a = 137, Prec_b = 137, Prec_c = 137 B = 0.11111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000000E-66 C = 0.11111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000110000E-2 add1 : 0.10000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000001000E-1 add1sp: 0.11111111111111111111111111111111111111111111111111111111111111111000000000000000000000000000000000000000000000000000000000000000000010000E-2 Inexact sp = 0 | Inexact = 0 Flags sp = 8 | Flags = 8 add1sp.c:89: MPFR assertion failed: 0 git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11986 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/root.c] Minor comment correction.vlefevre2017-12-151-1/+1
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11981 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/root.c] Completed fix from r11978, as x=-1 was affected too. Alsovlefevre2017-12-152-6/+20
| | | | | | | | | | | | | | | | added comments explaining that mpfr_root_aux assumes |x| ≠ 1 and why. Hence the need of a filter on |x| = 1. [tests/troot.c] Added test for x = -1. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11980 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tests/troot.c] Replaced mpfr_root by TF (like in the other tests).vlefevre2017-12-151-1/+1
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11979 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/root.c] fixed bug when x=1zimmerma2017-12-142-0/+21
| | | | | | | | | | | | | | [tests/troot.c] added non-regression test git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11978 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tests/tsub1sp.c] Corrected a type. And mpfr_equal_p being a predicatevlefevre2017-12-141-2/+2
| | | | | | | | | | | | function, it's better to use Boolean operators on it. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11977 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tests/tsub1sp.c] added a generic test for bug20171213()zimmerma2017-12-141-0/+49
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11976 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/{mul.c,sqr.c}] Minor changes, making code similar to sub1sp.c.vlefevre2017-12-142-8/+8
| | | | | | | | | | | | | | | | | | | | | | Checked with grep -A 1 'sb *>>' src/*.c that the bug fixed in r11974 does not occur in other parts of the code. BTW, there is much duplicate code, as shown by the grep output, and using macros could have avoided that, making bugs easier to reproduce (since a same bug would be duplicate several times). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11975 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/sub1sp.c] fixed bug in mpfr_sub1sp2()zimmerma2017-12-132-0/+20
| | | | | | | | | | | | | | [tests/tsub1sp.c] added non-regression test git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11974 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/mpf2mpfr.h] Added a comment.vlefevre2017-12-131-0/+1
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11973 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/mpf2mpfr.h] missing mpf_inits/mpf_clearszimmerma2017-12-131-0/+5
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11972 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/mpfr-gmp.h] redefine __clz_tab also with gmp-buildzimmerma2017-12-131-5/+4
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11969 280ebfd0-de03-0410-8827-d642c229c3f4
| * [configure.ac] Improved error message.vlefevre2017-12-121-1/+1
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11968 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tests/talloc.c] Added a comment about why talloc requires ISO C99.vlefevre2017-12-121-0/+1
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11967 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/mpfr-cvers.h] Removed a useless test for __MPFR_STDC, as one justvlefevre2017-12-121-3/+1
| | | | | | | | | | | | | | | | needs to check whether we have a C99, C11, etc. implementation (if not done via a configure test). Particular incompatibilities with the C90 standard should always be checked via a configure test. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11966 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tests] Added *.exe to svn:ignore property (files from MinGW builds).vlefevre2017-12-120-0/+0
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11965 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tools/timings-mpfr.c] always use clock() [now very accurate under Linux]zimmerma2017-12-121-19/+0
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11964 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tools/timings-mpfr.c] Updated years in copyright notice.vlefevre2017-12-121-1/+1
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11963 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tools/timings-mpfr.c] Fixed prototypes.vlefevre2017-12-121-3/+3
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11962 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tools/timings-mpfr.c] Added a defined(_MSC_VER). But clock() isvlefevre2017-12-121-1/+5
| | | | | | | | | | | | standard, so why not always using it? git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11961 280ebfd0-de03-0410-8827-d642c229c3f4
| * [doc/README.dev] Correction.vlefevre2017-12-121-4/+4
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11960 280ebfd0-de03-0410-8827-d642c229c3f4
| * [doc/README.dev] Made formatting consistent (same as configure --help).vlefevre2017-12-121-11/+16
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11959 280ebfd0-de03-0410-8827-d642c229c3f4
| * Completed r11955: There were also DEBUG macros under the "tests"vlefevre2017-12-123-18/+16
| | | | | | | | | | | | | | | | | | directory. Since such macros can still be useful in case a test failure, replaced them by MPFR_DEBUG to avoid issues with CI builds that define the DEBUG macro. But an environment variable would be a better solution (see MPFR_DEBUG_BADCASES as an example). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11958 280ebfd0-de03-0410-8827-d642c229c3f4
| * [TODO] Removed item on the DEBUG macro (done in r11955).vlefevre2017-12-121-3/+0
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11957 280ebfd0-de03-0410-8827-d642c229c3f4
| * DEBUG_TGENERIC -> MPFR_DEBUG_TGENERICzimmerma2017-12-113-21/+19
| | | | | | | | | | | | | | XDEBUG -> MPFR_DISABLE_IEEE_FLOATS git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11956 280ebfd0-de03-0410-8827-d642c229c3f4
| * get rid of DEBUG macro (but keep corresponding commands in comment to helpzimmerma2017-12-118-126/+48
| | | | | | | | | | | | | | understanding of the code and debugging) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11955 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tests/tget_q.c] Removed trailing whitespace.vlefevre2017-12-111-1/+1
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11954 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tests/tget_q.c] replaced MPFR_ASSERTN(0) by exit(1)zimmerma2017-12-101-2/+2
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11953 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/get_q.c] Optimization of r11951 suggested by Trevor Spiteri:vlefevre2017-12-101-2/+3
| | | | | | | | | | | | https://sympa.inria.fr/sympa/arc/mpfr/2017-12/msg00040.html git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11952 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/get_q.c] make result of mpfr_get_q in canonical formzimmerma2017-12-092-0/+35
| | | | | | | | | | | | | | [tests/tget_q.c] added non-regression test git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11951 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/lngamma.c] replace call to __gmpfr_ceil_log2 by __gmpfr_int_ceil_log2zimmerma2017-12-091-2/+8
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11950 280ebfd0-de03-0410-8827-d642c229c3f4
| * [TODO] Rename the DEBUG macro to MPFR_DEBUG?vlefevre2017-12-091-0/+3
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11949 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/Makefile.am] Also distribute generic/coverage/mparam.hvlefevre2017-12-081-1/+1
| | | | | | | | | | | | (at least useful for testing the distributed tarballs). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11945 280ebfd0-de03-0410-8827-d642c229c3f4
| * [doc] Updated FAQ.html with update-faq.vlefevre2017-12-081-1/+2
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11942 280ebfd0-de03-0410-8827-d642c229c3f4
| * [doc] Updated FAQ.html with update-faq.vlefevre2017-12-081-1/+1
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11939 280ebfd0-de03-0410-8827-d642c229c3f4
| * [doc/README.dev] "To make a release":vlefevre2017-12-081-10/+12
| | | | | | | | | | | | | | | | | | * Note that this needs to be done in a branch. * Swapped (1) and (2), in particular because the coverage might be different in -dev versions and it is better to give results closer to the release. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11934 280ebfd0-de03-0410-8827-d642c229c3f4
| * Updated version to 4.1.0-dev.vlefevre2017-12-086-12/+12
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11933 280ebfd0-de03-0410-8827-d642c229c3f4
* | ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v".vlefevre2017-12-081-0/+14
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@11947 280ebfd0-de03-0410-8827-d642c229c3f4
* | [src/Makefile.am] Also distribute generic/coverage/mparam.hvlefevre2017-12-081-1/+1
| | | | | | | | | | | | (merged changeset r11945 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@11946 280ebfd0-de03-0410-8827-d642c229c3f4
* | ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v".vlefevre2017-12-081-0/+56
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@11944 280ebfd0-de03-0410-8827-d642c229c3f4
* | [doc] Updated FAQ.html with a merge of changeset r11942 from the trunk.vlefevre2017-12-081-1/+2
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@11943 280ebfd0-de03-0410-8827-d642c229c3f4
* | [doc] Updated FAQ.html with a merge of changeset r11939 from the trunkvlefevre2017-12-081-2/+2
| | | | | | | | | | | | | | and a replacement assuming MPFR 4.0.0 has been released (since this is a file for the MPFR 4.0.0 release). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@11940 280ebfd0-de03-0410-8827-d642c229c3f4
* | [NEWS] Added test coverage for MPFR 4.0.0.vlefevre2017-12-081-0/+1
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@11937 280ebfd0-de03-0410-8827-d642c229c3f4
* | Updated version to 4.0.0-rc1.vlefevre2017-12-085-5/+5
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@11936 280ebfd0-de03-0410-8827-d642c229c3f4
* | [doc/README.dev] "To make a release":vlefevre2017-12-081-10/+12
| | | | | | | | | | | | | | | | | | | | * Note that this needs to be done in a branch. * Swapped (1) and (2), in particular because the coverage might be different in -dev versions and it is better to give results closer to the release. (merged changeset r11934 from the trunk) git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@11935 280ebfd0-de03-0410-8827-d642c229c3f4