Bagikan melalui


IBinaryInteger<TSelf>.DivRem(TSelf, TSelf) Metode

Definisi

Menghitung quotient dan sisa dari dua nilai.

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)

Parameter

left
TSelf

Nilai yang right dibagi.

right
TSelf

Nilai yang membagi left.

Mengembalikan

ValueTuple<TSelf,TSelf>

Quotient dan sisa dibagi left dengan right.

Berlaku untuk