diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-05-03 13:15:49 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2007-05-03 13:15:49 +0000 |
commit | 50496935b3189e310e676b4bb6287f874852a1d8 (patch) | |
tree | 82e06f2232ee9ebe02d8e68f95830053f8c3216a /mpfr.texi | |
parent | 273dbc77d3d971b52c4042a068f941003e3cf035 (diff) | |
download | mpfr-50496935b3189e310e676b4bb6287f874852a1d8.tar.gz |
mpfr.texi: added mpfr_lgamma.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@4432 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'mpfr.texi')
-rw-r--r-- | mpfr.texi | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -1464,10 +1464,17 @@ Set @var{rop} to the value of the logarithm of the Gamma function on @var{op}, rounded in the direction @var{rnd}. When @math{@minus{}2@var{k}@minus{}1 @le{} @var{x} @le{} @minus{}2@var{k}}, @var{k} being a non-negative integer, NaN is returned. -Note that on these negative values, this function is different from the -corresponding function defined in some languages, such as @code{lgamma} -in ISO C99; a new function @code{mpfr_lgamma} will be added in a future -MPFR version to match this alternative definition. +See also @code{mpfr_lgamma}. +@end deftypefun + +@deftypefun int mpfr_lgamma (mpfr_t @var{rop}, int *@var{signp}, mpfr_t @var{op}, mp_rnd_t @var{rnd}) +Set @var{rop} to the value of the logarithm of the absolute value of the +Gamma function on @var{op}, rounded in the direction @var{rnd}. The sign +(1 or @minus{}1) of Gamma(@var{op}) is returned in the object pointed to +by @var{signp}. When @var{op} is an infinity or a non-positive integer, ++Inf is returned. When @var{op} is NaN, @minus{}Inf or a negative integer, +*@var{signp} is undefined, and when @var{op} is @pom{}0, *@var{signp} is +the sign of the zero. @end deftypefun @deftypefun int mpfr_zeta (mpfr_t @var{rop}, mpfr_t @var{op}, mp_rnd_t @var{rnd}) |