Condividi tramite


IBinaryInteger<TSelf>.DivRem Metodo

Definizione

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

ValueTuple<TSelf,TSelf>

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

Restituisce

ValueTuple<TSelf,TSelf>

Si applica a