The GAMMA function accepts any number less than or equal to 53.4, except 0 or a negative integer, and returns the value of the gamma function at that number. The GAMMA function is defined for positive numbers by the following integral:
GAMMA(x) = INTEGRAL((t**(x - 1)*e**(-t))dt) from 0 to infinity