Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
What every coder should know about gamma (function)
2 points by lqdc13 on Sept 21, 2016 | hide | past | favorite
n! = gamma(n+1)

can be computed very quickly with Lanczos approximation: https://github.com/jcboyd/study-no-1/blob/master/lanczos.c



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: