summaryrefslogtreecommitdiff
path: root/Build/source/libs/mpfr/mpfr-src/src/gamma_inc.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/mpfr/mpfr-src/src/gamma_inc.c')
-rw-r--r--Build/source/libs/mpfr/mpfr-src/src/gamma_inc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Build/source/libs/mpfr/mpfr-src/src/gamma_inc.c b/Build/source/libs/mpfr/mpfr-src/src/gamma_inc.c
index 8822559350b..ec9bda4fdc3 100644
--- a/Build/source/libs/mpfr/mpfr-src/src/gamma_inc.c
+++ b/Build/source/libs/mpfr/mpfr-src/src/gamma_inc.c
@@ -1,6 +1,6 @@
/* mpfr_gamma_inc -- incomplete gamma function
-Copyright 2016-2019 Free Software Foundation, Inc.
+Copyright 2016-2020 Free Software Foundation, Inc.
Contributed by the AriC and Caramba projects, INRIA.
This file is part of the GNU MPFR Library.
@@ -103,10 +103,10 @@ mpfr_gamma_inc (mpfr_ptr y, mpfr_srcptr a, mpfr_srcptr x, mpfr_rnd_t rnd)
}
else /* a = -Inf */
{
- /* gamma_inc(-Inf, x) = NaN for x < 0
- +Inf for 0 <= x < 1
+ /* gamma_inc(-Inf, x) = NaN for x <= 0
+ +Inf for 0 < x < 1
+0 for 1 <= x */
- if (mpfr_cmp_ui (x, 0) < 0)
+ if (mpfr_cmp_ui (x, 0) <= 0)
{
MPFR_SET_NAN (y);
MPFR_RET_NAN;