IEuclidean Ring Operations<T>.Divide With Remainder Method
Returns the quotient and remainder when dividing one value by another.
Definition
Namespace: Extreme.Mathematics.Generic
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The quotient of a and b. The quotient is always rounded towards zero.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
T DivideWithRemainder(
T a,
T b,
out T c
)
Parameters
- a T
- The dividend.
- b T
- The divisor.
- c T
- On return, the remainder after dividing a by b. The remainder has the same sign as the dividend, a.
Return Value
TThe quotient of a and b. The quotient is always rounded towards zero.