RosettaCodeData/Task/Gamma-function/EasyLang/gamma-function.easy

13 lines
202 B
Text
Raw Permalink Normal View History

2024-04-19 16:56:29 -07:00
e = 2.718281828459
func stirling x .
return sqrt (2 * pi / x) * pow (x / e) x
.
print " X Stirling"
for i to 20
d = i / 10
2025-06-11 20:16:52 -04:00
numfmt 4 2
2024-04-19 16:56:29 -07:00
write d & " "
2025-06-11 20:16:52 -04:00
numfmt 4 3
2024-04-19 16:56:29 -07:00
print stirling d
.