Click or drag to resize
AdvancedIntegerMathLogDoubleFactorial Method
Computes the natural logarithm of the double factorial of the given number.

Namespace:  Meta.Numerics.Functions
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 3.1.0.0 (3.1.0.0)
Syntax
public static double LogDoubleFactorial(
	int n
)

Parameters

n
Type: SystemInt32
The argument.

Return Value

Type: Double
The value of ln(n!!).
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionn is negative.
Remarks

This return value of this method will not overflow even for values of n for which n!! would overflow a Double.

See Also