Factorial2 (!!)

WMA link


Factorial2[n]

n!!

computes the double factorial of n.

The double factorial or semifactorial of a number n, is the product of all the integers from 1 up to n that have the same parity (odd or even) as n.

Factorial2 accepts Integers, Rationals, Reals, or Complex Numbers:

Irrationals can be handled by using numeric approximation:

Factorial
Gamma