summaryrefslogtreecommitdiff
path: root/Build/source/libs/mpfr/mpfr-src/src/sum.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/mpfr/mpfr-src/src/sum.c')
-rw-r--r--Build/source/libs/mpfr/mpfr-src/src/sum.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/Build/source/libs/mpfr/mpfr-src/src/sum.c b/Build/source/libs/mpfr/mpfr-src/src/sum.c
index 4cc0cc8ac63..425ce3d7512 100644
--- a/Build/source/libs/mpfr/mpfr-src/src/sum.c
+++ b/Build/source/libs/mpfr/mpfr-src/src/sum.c
@@ -1,6 +1,6 @@
/* Sum -- efficiently sum a list of floating-point numbers
-Copyright 2004-2016 Free Software Foundation, Inc.
+Copyright 2004-2017 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -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"