UNPKG

257 Btext/coffeescriptView Raw
1test_gamma = ->
2 run_test [
3 "Gamma(a)",
4 "Gamma(a)",
5
6 # "float(gamma(10))",
7 # "362880",
8
9 "Gamma(x+1)",
10 "x*Gamma(x)",
11
12 "Gamma(1/2)",
13 "pi^(1/2)",
14
15 "Gamma(x-1)-Gamma(x)/(-1+x)",
16 "0",
17
18 "Gamma(-x)",
19 "-pi/(x*Gamma(x)*sin(pi*x))",
20
21 ]