Compartilhar via


IBinaryInteger<TSelf>.DivRem Método

Definição

Sobrecargas

Nome Description
DivRem(TSelf, TSelf)

Calcula o quociente e o restante de dois valores.

DivRem(TSelf, TSelf, DivisionRounding)

DivRem(TSelf, TSelf)

Origem:
IBinaryInteger.cs
Origem:
IBinaryInteger.cs
Origem:
IBinaryInteger.cs
Origem:
IBinaryInteger.cs
Origem:
IBinaryInteger.cs

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 se divide.

right
TSelf

O valor que divide left.

Retornos

ValueTuple<TSelf,TSelf>

O quociente e o restante dividido left por right.

Exceções

right é zero.

Aplica-se a

DivRem(TSelf, TSelf, DivisionRounding)

Origem:
IBinaryInteger.cs
public:
 static override ValueTuple<TSelf, TSelf> DivRem(TSelf left, TSelf right, System::Numerics::DivisionRounding mode);
public static virtual(TSelf Quotient, TSelf Remainder) DivRem(TSelf left, TSelf right, System.Numerics.DivisionRounding mode);
static member DivRem : 'Self * 'Self * System.Numerics.DivisionRounding -> 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, mode As DivisionRounding) As ValueTuple(Of TSelf, TSelf)

Parâmetros

left
TSelf
right
TSelf

Retornos

ValueTuple<TSelf,TSelf>

Aplica-se a