Big Integer.Div Rem Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
Overload List
Div | Computes the quotient and remainder of two values. |
Div | Computes the quotient and remainder of two BigInteger numbers. |
DivRem(BigInteger, BigInteger)
Computes the quotient and remainder of two values.
public static (BigInteger Quotient, BigInteger Remainder) DivRem(
BigInteger left,
BigInteger right
)
Parameters
- left BigInteger
- The value which right divides.
- right BigInteger
- The value which divides left.
Return Value
ValueTuple<BigInteger, BigInteger>The quotient and remainder of left divided by right.
Implements
IBinaryInteger<TSelf>.DivRem(TSelf, TSelf)DivRem(BigInteger, BigInteger, BigInteger)
Computes the quotient and remainder of two BigInteger numbers.
public static BigInteger DivRem(
BigInteger left,
BigInteger right,
out BigInteger r
)
Parameters
- left BigInteger
- The dividend.
- right BigInteger
- The divisor.
- r BigInteger
- On return, the remainder.
Return Value
BigIntegerThe quotient of left and right.