AngouriMath

Navigation

← Back to list of members

LogGammaRatio​(System.​Numerics.​Complex,​System.​Numerics.​Complex,​System.​Double)

 Method (no overloads)

Summary

ln Γ(k + a) - ln Γ(k + b) for a k of at least a million and an a and b at most half of it, by Stirling's series written as differences, so that nothing
near k ln k is subtracted: (a - b) ln k + (k + a - 1/2) ln(1 + a/k) - (k + b - 1/2) ln(1 + b/k)
- (a - b)
and the series' next two terms, whose remainder at k/2 is below 10^-30.

























Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 5629 pages online