Sdílet prostřednictvím


IBinaryInteger<TSelf>.DivRem Metoda

Definice

Přetížení

Name Description
DivRem(TSelf, TSelf)

Vypočítá podíl a zbytek dvou hodnot.

DivRem(TSelf, TSelf, DivisionRounding)

DivRem(TSelf, TSelf)

Zdroj:
IBinaryInteger.cs
Zdroj:
IBinaryInteger.cs
Zdroj:
IBinaryInteger.cs
Zdroj:
IBinaryInteger.cs
Zdroj:
IBinaryInteger.cs

Vypočítá podíl a zbytek dvou hodnot.

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

Hodnota, která right se rozdělí.

right
TSelf

Hodnota, která rozdělí left.

Návraty

ValueTuple<TSelf,TSelf>

Podíl a zbytek děleného leftright.

Výjimky

right je nula.

Platí pro

DivRem(TSelf, TSelf, DivisionRounding)

Zdroj:
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

Návraty

ValueTuple<TSelf,TSelf>

Platí pro