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!