We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d1839b commit 8336ae1Copy full SHA for 8336ae1
test/specialfunctionstests.jl
@@ -2,6 +2,8 @@ using FastTransforms
2
using Compat.Test
3
import FastTransforms.pochhammer
4
5
+const sqrtpi = 1.772453850905516027298
6
+
7
@testset "Pochhammer" begin
8
@test pochhammer(2,3) == 24
9
@test pochhammer(0.5,3) == 0.5*1.5*2.5
@@ -10,5 +12,5 @@ import FastTransforms.pochhammer
10
12
@test pochhammer(-1,2) == 0
11
13
@test pochhammer(-5,3) == -60
14
@test pochhammer(-1,-0.5) == 0
- @test pochhammer(-0.5,-0.5) == Inf
15
+ @test 1.0/pochhammer(-0.5,-0.5) == 0
16
end
0 commit comments