Data update

This commit is contained in:
Ingy döt Net 2025-08-11 18:05:26 -07:00
parent 4d5544505c
commit 4924dd0264
3073 changed files with 55820 additions and 4408 deletions

View file

@ -0,0 +1,12 @@
local fmt = require "fmt"
require "math2"
local function stirling(x)
return math.sqrt(2 * math.pi / x) * ((x / math.e) ^ x)
end
print(" x\tStirling\t\tLanczos\n")
for i = 1, 20 do
local d = i / 10
fmt.print("%4.2f\t%0.14f\t%0.14f", d, stirling(d), math.gamma(d))
end