public static double DoubleFactorial(
int n
)
Public Shared Function DoubleFactorial (
n As Integer
) As Double
public:
static double DoubleFactorial(
int n
)
static member DoubleFactorial :
n : int -> float
The double factorial of an integer is the product all integers of the same parity, up to and including the integer. Thus 5! = 5 * 3 * 1 = 15 and 6! = 6 * 4 * 2 = 48.
ArgumentOutOfRangeException | n is negative. |