Partager via


IBinaryInteger<TSelf>.DivRem Méthode

Définition

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

ValueTuple<TSelf,TSelf>

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

Retours

ValueTuple<TSelf,TSelf>

S’applique à