Skip to content

Commit 7c4ca2a

Browse files
authored
Fix comments in gamma.jl
1 parent 28104da commit 7c4ca2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gamma.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ function loggamma(z::Complex{Float64})
715715
* floor(0.5*x+0.25)) -
716716
log(sinpi(z)) - loggamma(1-z)
717717
elseif abs(x - 1) + yabs < 0.1
718-
# taylor series around zero at z=1
718+
# taylor series at z=1
719719
# ... coefficients are [-eulergamma; [(-1)^k * zeta(k)/k for k in 2:15]]
720720
w = Complex(x - 1, y)
721721
return w * @evalpoly(w, -5.7721566490153286060651188e-01,8.2246703342411321823620794e-01,
@@ -727,7 +727,7 @@ function loggamma(z::Complex{Float64})
727727
-7.6932516411352191472827157e-02,7.1432946295361336059232779e-02,
728728
-6.6668705882420468032903454e-02)
729729
elseif abs(x - 2) + yabs < 0.1
730-
# taylor series around zero at z=2
730+
# taylor series at z=2
731731
# ... coefficients are [1-eulergamma; [(-1)^k * (zeta(k)-1)/k for k in 2:12]]
732732
w = Complex(x - 2, y)
733733
return w * @evalpoly(w, 4.2278433509846713939348812e-01,3.2246703342411321823620794e-01,

0 commit comments

Comments
 (0)