diff options
author | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-02-04 13:42:12 +0000 |
---|---|---|
committer | zimmerma <zimmerma@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-02-04 13:42:12 +0000 |
commit | 0ac1980fa9382a77286759c55240f48dff35a908 (patch) | |
tree | 0d2aba117fac9d73c168d909ca0022a6f9469d89 /src/gamma_inc.c | |
parent | dad39c39142510c48d6a68cf496d31b84d2a4894 (diff) | |
download | mpfr-0ac1980fa9382a77286759c55240f48dff35a908.tar.gz |
added comment about gamma_inc
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@9940 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/gamma_inc.c')
-rw-r--r-- | src/gamma_inc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gamma_inc.c b/src/gamma_inc.c index 9b0be22fe..8ef4794f2 100644 --- a/src/gamma_inc.c +++ b/src/gamma_inc.c @@ -35,7 +35,10 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., gamma(a,x) = x^a * sum((-x)^k/k!/(a+k), k=0..infinity) - gamma(a,x) = x^a * exp(-x) * sum(x^k/(a*(a+1)*...*(a+k)), k=0..infinity) */ + gamma(a,x) = x^a * exp(-x) * sum(x^k/(a*(a+1)*...*(a+k)), k=0..infinity) + + gamma_inc(a,x) is real only for x >= 0. +*/ int mpfr_gamma_inc (mpfr_ptr y, mpfr_srcptr a, mpfr_srcptr x, mpfr_rnd_t rnd) |