Compartilhar via


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

Definição

Calcula o quociente e o restante de dois 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

O valor que right divide.

right
TSelf

O valor que divide left.

Retornos

ValueTuple<TSelf,TSelf>

O quociente e o restante de left dividido por right.

Aplica-se a