BigInteger.TryFactorial Method
[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)
Syntax
'Declaration
Public Shared Function TryFactorial ( _
bn As BigInteger, _
<OutAttribute> ByRef bnRes As BigInteger _
) As Boolean
public static bool TryFactorial(
BigInteger bn,
out BigInteger bnRes
)
public:
static bool TryFactorial(
BigInteger bn,
[OutAttribute] BigInteger% bnRes
)
static member TryFactorial :
bn:BigInteger *
bnRes:BigInteger byref -> bool
public static function TryFactorial(
bn : BigInteger,
bnRes : BigInteger
) : boolean
Parameters
- bn
Type: Microsoft.SolverFoundation.Common.BigInteger
A BigInteger value.
- bnRes
Type: Microsoft.SolverFoundation.Common.BigInteger%
A BigInteger value.
Return Value
Type: System.Boolean
true if the factorial of bnBase computed and stored as a BigInteger value in the bnRes parameter; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.