summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merged changesets r12046-12048 from the trunk (bug fix and test).vlefevre2017-12-233-7/+31
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12049 280ebfd0-de03-0410-8827-d642c229c3f4
* Merged changesets r12026-12045 from the trunk (bug fixes and tests).vlefevre2017-12-237-8/+154
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12046 280ebfd0-de03-0410-8827-d642c229c3f4
* ChangeLog update with "LC_ALL=en_US.UTF8 TZ=UTC svn log -rHEAD:0 -v".vlefevre2017-12-201-1/+294
| | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/4.0@12027 280ebfd0-de03-0410-8827-d642c229c3f4
* Re-added changes specific to the old 4.0 branch:vlefevre2017-12-202-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@12026 280ebfd0-de03-0410-8827-d642c229c3f4
* Replaced the 4.0 branch by a copy of the trunk (in order to keep thevlefevre2017-12-2016-127/+391
|\ | | | | | | | | | | | | | | 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@12024 280ebfd0-de03-0410-8827-d642c229c3f4
| * Updated version to 4.0.0-rc2 for an attempt to replace the 4.0 branch.vlefevre2017-12-206-12/+12
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12023 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/fma.c] Minor improvements. Added an assert.vlefevre2017-12-201-8/+15
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12022 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/tanh.c] GNU coding style.vlefevre2017-12-201-39/+42
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12021 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/mul.c] Reindentation.vlefevre2017-12-201-1/+1
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12020 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/exp2.c] Replaced two MPFR_ASSERTN by MPFR_STAT_STATIC_ASSERT.vlefevre2017-12-201-2/+2
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12019 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/exp2.c] Fixed the double rounding problem in an underflow case,vlefevre2017-12-191-10/+20
| | | | | | | | | | | | triggered by the test added in r12017. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12018 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tests/texp2.c] Added test of underflow in MPFR_RNDN with exact valuevlefevre2017-12-191-2/+38
| | | | | | | | | | | | close to 2^(emin-2). Currently fails due to double rounding. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12017 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tests/tdiv.c] Added new non-regression test: the was the real cause ofvlefevre2017-12-191-0/+25
| | | | | | | | | | | | | | the ttanh failure in r11993 without the tanh.c fix in this same commit. But this mpfr_div was fixed in r12002. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12016 280ebfd0-de03-0410-8827-d642c229c3f4
| * [doc/mpfr.texi] Added a comment about a bug/limitation in makeinfo 5.2.vlefevre2017-12-191-0/+4
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12015 280ebfd0-de03-0410-8827-d642c229c3f4
| * [doc/mpfr.texi] Improved svar macro for nottex, in case it is usedvlefevre2017-12-191-1/+1
| | | | | | | | | | | | in the future. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12014 280ebfd0-de03-0410-8827-d642c229c3f4
| * [doc/mpfr.texi] Define svar even for nottex, though it is not usedvlefevre2017-12-191-0/+5
| | | | | | | | | | | | (attempt to avoid a failure with makeinfo 5.2). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12013 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/fma.c] fixed bug in mpfr_fmazimmerma2017-12-192-1/+48
| | | | | | | | | | | | | | [tests/tfma.c] added non-regression test git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12012 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/exp2.c] Update concerning the underflow/overflow cases.vlefevre2017-12-191-20/+22
| | | | | | | | | | | | Still incomplete. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12011 280ebfd0-de03-0410-8827-d642c229c3f4
| * [doc/mpfr.texi] Updated a comment.vlefevre2017-12-191-0/+2
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12010 280ebfd0-de03-0410-8827-d642c229c3f4
| * [doc]vlefevre2017-12-192-22/+23
| | | | | | | | | | | | | | | | | | | | | | | | * texinfo.tex: update to the latest version 2017-12-18.20, which reverts the change done in 2017-12-01.13 attempting to support @var with script font size (e.g. in exponent); but this change didn't work correctly. * mpfr.texi: introduced a @svar macro to handle this case. It currently disables the use of @var, the other workaround being worse. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12009 280ebfd0-de03-0410-8827-d642c229c3f4
| * Removed trailing whitespace.vlefevre2017-12-181-1/+1
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12008 280ebfd0-de03-0410-8827-d642c229c3f4
| * [doc/algorithms.tex,src/tanh.c] Fixed the bound, in particular fromvlefevre2017-12-182-3/+7
| | | | | | | | | | | | the recent improvements in the error analysis. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12007 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/mul.c] we should compare the smaller size and not the larger one tozimmerma2017-12-181-1/+1
| | | | | | | | | | | | | | MPFR_MUL_THRESHOLD or MPFR_SQR_THRESHOLD for Mulders' short product git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12006 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/mul.c] with Mulders', convert RNDF to RNDZzimmerma2017-12-182-14/+26
| | | | | | | | | | | | | | [tests/tmul_d.c] added a non-regression test git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12005 280ebfd0-de03-0410-8827-d642c229c3f4
| * [doc/algorithms.tex] mpfr_tanh: corrected bounds (thanks to Paul).vlefevre2017-12-181-5/+5
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12004 280ebfd0-de03-0410-8827-d642c229c3f4
| * [doc/algorithms.tex] mpfr_tanh: detailed some inequalities.vlefevre2017-12-181-5/+6
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12003 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/div.c] fixed bug in mpfr_div2_approx()zimmerma2017-12-183-1/+39
| | | | | | | | | | | | | | | | [tests/tdiv.c] added non-regression test [tests/ttan.c] added test triggering bug in mpfr_div2_approx() git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12002 280ebfd0-de03-0410-8827-d642c229c3f4
| * [doc/algorithms.tex] mpfr_tanh: resolved both FIXME's.vlefevre2017-12-181-18/+18
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12001 280ebfd0-de03-0410-8827-d642c229c3f4
| * [doc/algorithms.tex] mpfr_tanh: corrected a part of the error analysisvlefevre2017-12-181-2/+6
| | | | | | | | | | | | | | | | (2^k+4 ≤ |theta_4|^(−1/2) was not necessarily true, since theta_4 can be very small). As a consequence, the lemma can be simplified/improved (first FIXME). Added a second FIXME on a condition that is not checked. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@12000 280ebfd0-de03-0410-8827-d642c229c3f4
| * [doc/algorithms.tex] mpfr_tanh: missing absolute value; added a \cdot.vlefevre2017-12-181-2/+2
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11999 280ebfd0-de03-0410-8827-d642c229c3f4
| * Removed trailing whitespace.vlefevre2017-12-182-2/+2
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11998 280ebfd0-de03-0410-8827-d642c229c3f4
| * [doc/algorithms.tex] Added another \cdot for readability.vlefevre2017-12-181-1/+1
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11997 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/exp2.c] added FIXMEzimmerma2017-12-181-1/+3
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11996 280ebfd0-de03-0410-8827-d642c229c3f4
| * [doc/algorithms.tex] Minor corrections for hyperbolic tangent function:vlefevre2017-12-181-17/+17
| | | | | | | | | | | | | | | | | | | | | | * "e" had two different meanings (BTW, the constant e should actually be written \mathrm{e} everywhere in the document). * Use \left...\right instead of |...| when it contains an expression starting with \log (the latter was confusing pdflatex, which added a spurious space before \log). * Added some \cdot for better readability. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11995 280ebfd0-de03-0410-8827-d642c229c3f4
| * [src/exp2.c] fixed bug near underflowzimmerma2017-12-182-6/+38
| | | | | | | | | | | | | | [tests/texp2.c] added non-regression test git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11994 280ebfd0-de03-0410-8827-d642c229c3f4
| * [tests/ttanh.c] added test for bug in mpfr_tanhzimmerma2017-12-183-17/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | [doc/algorithms.tex] fixed error analysis for mpfr_tanh [src/tanh.c] fixed error analysis Note after r12016: Even though mpfr_tanh was incorrect, the failure of the test added in ttanh.c was actually *only* due to a bug in the mpfr_div code specific to the trunk (fixed in r12002), i.e. this was not a non-regression test for the mpfr_tanh bug itself (in particular, this test does not introduce a failure in the 3.1 branch, which still has the same incorrect mpfr_tanh code but a correct mpfr_div). git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11993 280ebfd0-de03-0410-8827-d642c229c3f4
| * Updated version to 4.1.0-dev again.vlefevre2017-12-186-12/+12
| | | | | | | | git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11991 280ebfd0-de03-0410-8827-d642c229c3f4
* | 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