Udostępnij za pośrednictwem


IBinaryInteger<TSelf>.DivRem Metoda

Definicja

Przeciążenia

Nazwa Opis
DivRem(TSelf, TSelf)

Oblicza iloraz i pozostałą część dwóch wartości.

DivRem(TSelf, TSelf, DivisionRounding)

DivRem(TSelf, TSelf)

Źródło:
IBinaryInteger.cs
Źródło:
IBinaryInteger.cs
Źródło:
IBinaryInteger.cs
Źródło:
IBinaryInteger.cs
Źródło:
IBinaryInteger.cs

Oblicza iloraz i pozostałą część dwóch wartości.

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)

Parametry

left
TSelf

Wartość, która right dzieli.

right
TSelf

Wartość dzieląca leftelement .

Zwraca

ValueTuple<TSelf,TSelf>

Iloraz i pozostała część podzielona left przez right.

Wyjątki

right jest zero.

Dotyczy

DivRem(TSelf, TSelf, DivisionRounding)

Źródło:
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)

Parametry

left
TSelf
right
TSelf

Zwraca

ValueTuple<TSelf,TSelf>

Dotyczy