BigInteger.DivMod Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Divides two big integers and saves the quotient and remainder.
Namespace: Microsoft.SolverFoundation.Common
Assembly: Microsoft.Solver.Foundation (in Microsoft.Solver.Foundation.dll)
Syntax
'Declaration
Public Shared Sub DivMod ( _
bnNum As BigInteger, _
bnDen As BigInteger, _
<OutAttribute> ByRef bnQuo As BigInteger, _
<OutAttribute> ByRef bnRem As BigInteger _
)
public static void DivMod(
BigInteger bnNum,
BigInteger bnDen,
out BigInteger bnQuo,
out BigInteger bnRem
)
public:
static void DivMod(
BigInteger bnNum,
BigInteger bnDen,
[OutAttribute] BigInteger% bnQuo,
[OutAttribute] BigInteger% bnRem
)
static member DivMod :
bnNum:BigInteger *
bnDen:BigInteger *
bnQuo:BigInteger byref *
bnRem:BigInteger byref -> unit
public static function DivMod(
bnNum : BigInteger,
bnDen : BigInteger,
bnQuo : BigInteger,
bnRem : BigInteger
)
Parameters
- bnNum
Type: Microsoft.SolverFoundation.Common.BigInteger
The number to divide.
- bnDen
Type: Microsoft.SolverFoundation.Common.BigInteger
The number to divide by.
- bnQuo
Type: Microsoft.SolverFoundation.Common.BigInteger%
The quotient after division.
- bnRem
Type: Microsoft.SolverFoundation.Common.BigInteger%
The remainder after division.
.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.