IBinaryInteger<TSelf>.DivRem Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Sobrecargas
| Name | Description |
|---|---|
| DivRem(TSelf, TSelf) |
Calcula o quociente e o resto 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 resto 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.
Devoluções
O quociente e o resto de left dividido 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