IBinaryInteger<TSelf>.DivRem(TSelf, TSelf) Method

Definition

Computes the quotient and remainder of two values.

C#
public static virtual(TSelf Quotient, TSelf Remainder) DivRem(TSelf left, TSelf right);

Parameters

left
TSelf

The value which right divides.

right
TSelf

The value which divides left.

Returns

ValueTuple<TSelf,TSelf>

The quotient and remainder of left divided by right.

Applies to

Product Versions
.NET 7, 8, 9