IBinaryInteger<TSelf>.DivRem Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| Nome | Descrizione |
|---|---|
| DivRem(TSelf, TSelf) |
Calcola il quoziente e il resto di due valori. |
| DivRem(TSelf, TSelf, DivisionRounding) |
DivRem(TSelf, TSelf)
- Origine:
- IBinaryInteger.cs
- Origine:
- IBinaryInteger.cs
- Origine:
- IBinaryInteger.cs
- Origine:
- IBinaryInteger.cs
- Origine:
- IBinaryInteger.cs
Calcola il quoziente e il resto di due valori.
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)
Parametri
- left
- TSelf
Valore che right divide.
- right
- TSelf
Valore che divide left.
Restituisce
Quoziente e resto di left diviso per right.
Eccezioni
right è zero.
Si applica a
DivRem(TSelf, TSelf, DivisionRounding)
- Origine:
- 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)
Parametri
- left
- TSelf
- right
- TSelf
- mode
- DivisionRounding