Real1 | → | Real2 |
Symbol1 | → | Expression2 |
Expression1 | → | Expression2 |
This function returns the factorial of its input parameter. For integer input values greater than or equal to 0, that means that x! is returned where x is the input value. However, FACT returns a value for all real values between -1 and 170, including non-integer values. It does so using the Gamma function. Assuming that the input value is x, the result then is Γ(x+1). For all other values, an infinite result error is returned.