AdvancedIntegerMathLogDoubleFactorial Method

Computes the natural logarithm of the double factorial of the given number.

Definition

Namespace: Meta.Numerics.Functions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static double LogDoubleFactorial(
	int n
)

Parameters

n  Int32
The argument.

Return Value

Double
The value of ln(n!!).

Remarks

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

Exceptions

See Also