Int64.DivRem(Int64, Int64) 方法

定义

计算两个值的商和余数。

public:
 static ValueTuple<long, long> DivRem(long left, long right) = System::Numerics::IBinaryInteger<long>::DivRem;
public static (long Quotient, long Remainder) DivRem (long left, long right);
static member DivRem : int64 * int64 -> ValueTuple<int64, int64>
Public Shared Function DivRem (left As Long, right As Long) As ValueTuple(Of Long, Long)

参数

left
Int64

除法 right 的值。

right
Int64

除以 的值 left

返回

除以 rightleft商和余数。

实现

适用于