|
|
◆ Gamma1pm1_sub()
| Sub Gamma1pm1_sub |
( |
Ret As |
Double, |
|
|
X As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Gamma function Γ(1+x) - 1 (Subroutine version)
- Purpose
- Computes the gamma function Γ(1+x) - 1 accurately in the sense of relative error when x is very small.
- Parameters
-
| [out] | Ret | Gamma function Γ(1+x) - 1. |
| [in] | X | Argument x. (X <> negative integer) |
| [out] | Info | = 0: Successful exit.
= -1: The argument X had an illegal value. (X is a negative integer)
= 1: Floating point range error. |
- Reference
- boost/math/special_functions
|