Calculation of the double factorials, odd and even, for positive numbers