-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
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
Cannot compute incomplete gamma function for some arguments #183
Comments
I can fix this myself but I need some guidance. |
Glad you are into this! The shadowing is unintended. I will change that. |
Great! Currently there's no implementation of |
Thank you. When using BigFloats inside DoubleFloats, do this:
|
gamma(Double64(z),x)
works fine whenx < 3
, but if I call for examplegamma(Double64(z),3)
it chokes. The reason is that it goes on to a different branch of the code that useslogabsgamma()
, which is not defined forDouble64
arguments. I cannot do the extension like you did usingQuadmath
as it does not implementlogabsgamma()
, so I think the simplest solution would be definingA bit unrelated, but I'm confused by what you are doing in the file
gamma_erf.jl
. Why do you writeinstead of
In this way you're not extending the function, but shadowing it, so it conflicts with the version from
SpecialFunctions
.The text was updated successfully, but these errors were encountered: