BigInteger.TryFactorial Method

Solver Foundation 3.0

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Computes the factorial of a big integer. A return value indicates whether the computation succeeded.

Namespace:  Microsoft.SolverFoundation.Common
Assembly:  Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)

public static bool TryFactorial(
	BigInteger bn,
	out BigInteger bnRes

Return Value

Type: System.Boolean
true if the factorial of bnBase computed and stored as a BigInteger value in the bnRes parameter; otherwise, false.