I need a good algorithm that returns the gamma function. If someone could post it would be greatly appreciated.

Thanks