Check out the Gamma function. A good source might be Eric's treasure trove: http://www.astro.virginia.edu/~eww6n/math/math.html Michael Xu Wang wrote: > does anyone know how the calculators calculate the factorial of a > floating number, like 2.1!=2.19762...?