XLPack 7.0
XLPack Numerical Library (C API) Reference Manual
Loading...
Searching...
No Matches

◆ tgamma1pm1()

double tgamma1pm1 ( double  x)

Gamma function Γ(1+x) - 1

Purpose
tgamma1pm1 computes the gamma function Γ(1+x) - 1 accurately in the sense of relative error when x is very small.
Returns
Gamma function Γ(1+x) - 1.
Parameters
[in]xArgument x. (x != negative integer)
Error handling
  • If x is an negative integer, domain error (EDOM) occurs.
  • Range error (ERANGE) may occur.
Reference
boost/math/special_functions