Skip to content

Commit 4209b25

Browse files
committed
test: add more test for zeta(s)
1 parent f5adefc commit 4209b25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/gamma.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -418,14 +418,14 @@ Riemann zeta function
418418
419419
# Examples
420420
```jldoctest
421-
julia> zeta(-1)
421+
julia> zeta(-1) # -1/12
422422
-0.08333333333333338
423423
424424
julia> zeta(0)
425425
-0.5
426426
427-
julia> zeta(0.5)
428-
-1.4603545088095873
427+
julia> zeta(-10) # zeta(-2n) == 0
428+
-0.0
429429
430430
julia> zeta(1)
431431
NaN

0 commit comments

Comments
 (0)