diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-02-21 10:20:45 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2017-02-21 10:20:45 +0000 |
commit | 10169c8962e5c465c1ea77b2a0a69ca68b78d6e1 (patch) | |
tree | 2a9088122b35117f0c1f078c25446bfeddc45607 | |
parent | a600dc4f98479e71d61b8ef6b0ad3b7b0d1cbc1d (diff) | |
download | mpfr-10169c8962e5c465c1ea77b2a0a69ca68b78d6e1.tar.gz |
[src/sum.c] Added a note about the "const" position in the prototypes.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/branches/3.1@11329 280ebfd0-de03-0410-8827-d642c229c3f4
-rw-r--r-- | src/sum.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -24,6 +24,14 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., summation with application to computational geometry, Numerical Algorithms, volume 37, number 1-4, pages 101--112, 2004. */ +/* Note about the 3.1 branch and earlier: the "const" in the prototypes of + mpfr_sum and related functions is in an incorrect position. This bug is + present in the source only (since r3642); the MPFR manual is correct. + This is fixed in the trunk for the future MPFR 4.0.0. Let's not change + the 3.1 branch as it may be seen as an ABI breakage and this bug does + not have any consequence for the API. +*/ + #define MPFR_NEED_LONGLONG_H #include "mpfr-impl.h" |