IBinaryInteger<TSelf>.DivRem Metod

Definition

Överlagringar

Name Description
DivRem(TSelf, TSelf)

Beräknar kvoten och resten av två värden.

DivRem(TSelf, TSelf, DivisionRounding)

DivRem(TSelf, TSelf)

Källa:
IBinaryInteger.cs
Källa:
IBinaryInteger.cs
Källa:
IBinaryInteger.cs
Källa:
IBinaryInteger.cs
Källa:
IBinaryInteger.cs

Beräknar kvoten och resten av två värden.

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)

Parametrar

left
TSelf

Värdet som right delas.

right
TSelf

Värdet som delar left.

Returer

ValueTuple<TSelf,TSelf>

Kvoten och resten av left dividerat med right.

Undantag

right är noll.

Gäller för

DivRem(TSelf, TSelf, DivisionRounding)

Källa:
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)

Parametrar

left
TSelf
right
TSelf

Returer

ValueTuple<TSelf,TSelf>

Gäller för