Function factorial
Returns the factorial of n
ulong factorial
(
ulong n
) nothrow @safe;
Example
assert(factorial(10) == 3_628_800);
int n = 5;
assert(n .factorial == 5 .factorial && 5 .factorial == 120);