IBinaryInteger<TSelf>.DivRem(TSelf, TSelf) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Computes the quotient and remainder of two values.
public:
static override ValueTuple<TSelf, TSelf> DivRem(TSelf left, TSelf right);
C#
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)
- left
- TSelf
The value which right
divides.
- right
- TSelf
The value which divides left
.
ValueTuple<TSelf,TSelf>
The quotient and remainder of left
divided by right
.
Product | Versions |
---|---|
.NET | 7, 8, 9 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: