IEuclidean Ring Operations<T>.Integer Divide Method
Definition
Namespace: Extreme.Mathematics.Generic
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Integer | Divides a value by another and discards the remainder. |
Integer | Divides a value by another using the specified rounding mode and discards the remainder. |
IntegerDivide(T, T)
Divides a value by another and discards the remainder.
T IntegerDivide(
T a,
T b
)
Parameters
Return Value
TThe quotient of a and b. The quotient is always rounded towards zero.
IntegerDivide(T, T, RoundingMode)
Divides a value by another using the specified rounding mode and discards the remainder.
T IntegerDivide(
T a,
T b,
RoundingMode roundingMode
)
Parameters
- a T
- The dividend.
- b T
- The divisor.
- roundingMode RoundingMode
- The rounding mode.
Return Value
TThe quotient of a and b. The quotient is always rounded towards zero.