BigInteger.Factorial Method

Gets the factorial of a number.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static BigInteger Factorial(
	int value
)

Parameters

value  Int32
An integer.

Return Value

BigInteger
The product of all numbers from 1 up to and including value.

Exceptions

ArgumentOutOfRangeExceptionvalue is less than zero.

See Also