We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f60ab2 commit 4e0222dCopy full SHA for 4e0222d
1 file changed
src/core.jl
@@ -125,3 +125,6 @@ function gamma(n::Integer)
125
end
126
127
gamma_near_1(x) = evalpoly(x-one(x), (1.0, -0.5772156649015329, 0.9890559953279725, -0.23263776388631713))
128
+
129
+gamma(x::BigFloat) = exp(loggamma(x))
130
+gamma(x::Complex) = exp(loggamma(x))
0 commit comments