Rediģēt

Kopīgot, izmantojot


IBinaryInteger<TSelf>.DivRem Method

Definition

Overloads

Name Description
DivRem(TSelf, TSelf)

Computes the quotient and remainder of two values.

DivRem(TSelf, TSelf, DivisionRounding)

DivRem(TSelf, TSelf)

Source:
IBinaryInteger.cs
Source:
IBinaryInteger.cs
Source:
IBinaryInteger.cs
Source:
IBinaryInteger.cs

Computes the quotient and remainder of two values.

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)

Parameters

left
TSelf

The value that right divides.

right
TSelf

The value that divides left.

Returns

ValueTuple<TSelf,TSelf>

The quotient and remainder of left divided by right.

Applies to

DivRem(TSelf, TSelf, DivisionRounding)

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)

Parameters

left
TSelf
right
TSelf

Returns

ValueTuple<TSelf,TSelf>

Applies to