We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The approximation for lngamma(9.0) is not 10.64917311666183
According to wolframalpha https://www.wolframalpha.com/input/?i=lngamma%289.0%29 the right approximation should be gammaln(9.0) = 10.60460290274525
This is due to a bug in this line:
GammaFn/Sources/GammaFn/Double+logForGamma.swift
Line 15 in 09d2a29
for i in (0..<Array.pLn.count - 1).reversed() {
should be
for i in (1..<Array.pLn.count ).reversed() {
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The approximation for lngamma(9.0) is not 10.64917311666183
According to wolframalpha
https://www.wolframalpha.com/input/?i=lngamma%289.0%29
the right approximation should be
gammaln(9.0) = 10.60460290274525
This is due to a bug in this line:
GammaFn/Sources/GammaFn/Double+logForGamma.swift
Line 15 in 09d2a29
should be
The text was updated successfully, but these errors were encountered: