IEuclideanRingOperations<T>.IntegerDivide Method

Definition

Namespace: Extreme.Mathematics.Generic
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

IntegerDivide(T, T) Divides a value by another and discards the remainder.
IntegerDivide(T, T, RoundingMode) 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.
C#
T IntegerDivide(
	T a,
	T b
)

Parameters

a  T
The dividend.
b  T
The divisor.

Return Value

T
The 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.
C#
T IntegerDivide(
	T a,
	T b,
	RoundingMode roundingMode
)

Parameters

a  T
The dividend.
b  T
The divisor.
roundingMode  RoundingMode
The rounding mode.

Return Value

T
The quotient of a and b. The quotient is always rounded towards zero.

See Also