Compartir a través de


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

Definición

Calcula el cociente y el resto de dos valores.

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)

Parámetros

left
TSelf

Valor que right se divide.

right
TSelf

Valor que divide left.

Devoluciones

ValueTuple<TSelf,TSelf>

Cociente y resto de left divididos por right.

Se aplica a