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.
stirlings1
stirlings2
1 parent 11fd77b commit f04d493Copy full SHA for f04d493
test/numbers.jl
@@ -51,6 +51,7 @@
51
@test stirlings1(6, 6) == 1
52
@test stirlings1(6, 6, true) == 1
53
@test sum([abs(stirlings1(8, i, true)) for i = 0:8]) == factorial(8)
54
+ @test stirlings1(big"26", 10) == 196928100451110820242880
55
56
# stirlings2
57
@test_throws DomainError stirlings2(-1, 1)
@@ -65,6 +66,7 @@
65
66
@test stirlings2(6, 4) == 65
67
@test stirlings2(6, 5) == 15
68
@test stirlings2(6, 6) == 1
69
+ @test stirlings2(big"26", 10) == 13199555372846848005
70
71
# bell
72
@test bellnum.(0:10) == [
0 commit comments