summaryrefslogtreecommitdiff
path: root/sterling_approx.txt
diff options
context:
space:
mode:
authorwukong <wukong@longaeva>2018-06-20 20:52:04 -0700
committerwukong <wukong@longaeva>2018-06-20 20:52:04 -0700
commite42cee748f5bc38d11742739b5e2cad4b6a07c43 (patch)
treed8158336637af6d2d02e6a766f4d4f57986cfadf /sterling_approx.txt
parentb65bcc4d948ef1cdabb4267dea6238da9c79042b (diff)
moved example data into data folder; added initial version of quad_reg.awk;
Diffstat (limited to 'sterling_approx.txt')
-rw-r--r--sterling_approx.txt10
1 files changed, 0 insertions, 10 deletions
diff --git a/sterling_approx.txt b/sterling_approx.txt
deleted file mode 100644
index 5cb3f6e..0000000
--- a/sterling_approx.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-
-# https://en.wikipedia.org/wiki/Sterling_Approximation
-# An alternative approximation for the Gamma function stated by Srinivasa
-# Ramanujan (Ramanujan 1988) is
-
- Gamma(1+x) ~= sqrt(pi)((x/e)^x)(8x^3 + 4x^2 + x + 1/30)^(1/6)
-
-# for x >= 0. The equivalent approximation for ln(n!) has an asymptotic error
-# of 1/(1400*n^3) ...
-