IBinaryInteger<TSelf>.DivRem Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| DivRem(TSelf, TSelf) |
Calcule le quotient et le reste de deux valeurs. |
| DivRem(TSelf, TSelf, DivisionRounding) |
DivRem(TSelf, TSelf)
- Source:
- IBinaryInteger.cs
- Source:
- IBinaryInteger.cs
- Source:
- IBinaryInteger.cs
- Source:
- IBinaryInteger.cs
- Source:
- IBinaryInteger.cs
Calcule le quotient et le reste de deux valeurs.
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)
Paramètres
- left
- TSelf
Valeur qui right divise.
- right
- TSelf
Valeur qui divise left.
Retours
Le quotient et le reste de la left division par right.
Exceptions
right est égal à zéro.
S’applique à
DivRem(TSelf, TSelf, DivisionRounding)
- Source:
- 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)
Paramètres
- left
- TSelf
- right
- TSelf
- mode
- DivisionRounding