I saw a strange way to write the factorial function somewhere and after some integration by parts, it all sure enough worked out.
$$ n! = \int_0^\infty x^{n}e^{-x}dx $$ $$ =\left[-x^{n}e^{-x}\right]^{\infty}_{0}-\int_0^\infty -nx^{n-1}e^{-x}dx\, $$ $$ =-\infty^{n}e^{-\infty}-(-0^{n}e^{-0})-(-n)\int_0^\infty x^{n-1}e^{-x}dx $$ $$ =n\int_0^\infty x^{n-1}e^{-x}dx $$ $$ =n(n-1)! $$ I have seen non-integer factorials many times before in my programming experience because many pre-made factorial functions/methods can receive and return non-integers for some reason, but now I actually understand it. When trying to do 1.5! for myself, I quickly ran into problems because it just led to never-ending integration by parts. So I wrote a quick program to approximate with Simpson's rule and it gave results consistent with what the Google calculator gave. But anyway, (getting to the point finally), can these factorials be calculated without numerical integration like with Simpson's Rule? Are these results just irrational or also transcendental?
This is essentially the Gamma function ($\Gamma(n) = (n-1)!$ for $x=1,2,3,\ldots$).
Exact values of the Gamma function can be computed only for integral multiples of $\frac12$, and it becomes infinite at all nonpositive integers.
There are several tricks to compute $(-\frac12)! =\Gamma(\frac12)=\sqrt{\pi}$. You can repeatedly use the fact that $x\Gamma(x)=\Gamma(x+1)$ (this is a restatement of $n(n-1)!=n!$) to compute the value of the Gamma function at any half-integer by expressing it in terms of $\Gamma(\frac12)$.