IBinaryInteger<TSelf>.DivRem Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
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
- mode
- DivisionRounding