The question is simple. I would like to implement the Gamma function in my calculator written in C; however, I have not been able to find an easy way to programmatically compute an approximation to arbitrary precision.
Is there a good algorithm to compute approximations of the Gamma function?
Thanks!
Best Answer
Looks like the Lanczos approximation will suit my needs : http://en.wikipedia.org/wiki/Lanczos_approximation
Thanks for your help!