IBinaryInteger<TSelf>.DivRem(TSelf, TSelf) Méthode

Définition

Calcule le quotient et le reste de deux valeurs.

public:
 static override ValueTuple<TSelf, TSelf> DivRem(TSelf left, TSelf right);
public static virtual (TSelf Quotient, TSelf Remainder) DivRem (TSelf left, TSelf right);
static member DivRem : 'Self * 'Self -> ValueTuple<'Self, 'Self (requires 'Self :> System.Numerics.IBinaryInteger<'Self> and 'Self :> System.Numerics.IBinaryInteger<'Self>)>
Public Shared Overrides Function DivRem (left As TSelf, right As TSelf) As ValueTuple(Of TSelf, TSelf)

Paramètres

left
TSelf

Valeur qui right divise.

right
TSelf

Valeur qui divise left.

Retours

ValueTuple<TSelf,TSelf>

Quotient et reste de left divisé par right.

S’applique à