共用方式為


X86Base.X64.DivRem 方法

定義

多載

DivRem(UInt64, Int64, Int64)

__int64 _div128 (__int64 highdividend, __int64 lowdividend, __int64 divisor, __int64* 餘數) DIV reg/m64

DivRem(UInt64, UInt64, UInt64)

unsigned __int64 _udiv128 (unsigned __int64 highdividend, unsigned __int64 lowdividend, unsigned __int64 divisor, unsigned __int64* 餘數) DIV reg/m64

DivRem(UInt64, Int64, Int64)

來源:
X86Base.cs
來源:
X86Base.cs

注意

您必須在專案檔中將 EnablePreviewFeatures 屬性設定為 True,並啟用專案中的預覽功能,才能使用此預覽 API。 如需詳細資訊,請參閱 https://aka.ms/dotnet-preview-features

DivRem is in preview.

__int64 _div128 (__int64 highdividend, __int64 lowdividend, __int64 divisor, __int64* 餘數) DIV reg/m64

public:
 static ValueTuple<long, long> DivRem(System::UInt64 lower, long upper, long divisor);
[System.Runtime.Versioning.RequiresPreviewFeatures("DivRem is in preview.")]
public static (long Quotient, long Remainder) DivRem (ulong lower, long upper, long divisor);
[<System.Runtime.Versioning.RequiresPreviewFeatures("DivRem is in preview.")>]
static member DivRem : uint64 * int64 * int64 -> ValueTuple<int64, int64>
Public Shared Function DivRem (lower As ULong, upper As Long, divisor As Long) As ValueTuple(Of Long, Long)

參數

lower
UInt64
upper
Int64
divisor
Int64

傳回

屬性

適用於

DivRem(UInt64, UInt64, UInt64)

來源:
X86Base.cs
來源:
X86Base.cs

注意

您必須在專案檔中將 EnablePreviewFeatures 屬性設定為 True,並啟用專案中的預覽功能,才能使用此預覽 API。 如需詳細資訊,請參閱 https://aka.ms/dotnet-preview-features

DivRem is in preview.

unsigned __int64 _udiv128 (unsigned __int64 highdividend, unsigned __int64 lowdividend, unsigned __int64 divisor, unsigned __int64* 餘數) DIV reg/m64

public:
 static ValueTuple<System::UInt64, System::UInt64> DivRem(System::UInt64 lower, System::UInt64 upper, System::UInt64 divisor);
[System.Runtime.Versioning.RequiresPreviewFeatures("DivRem is in preview.")]
public static (ulong Quotient, ulong Remainder) DivRem (ulong lower, ulong upper, ulong divisor);
[<System.Runtime.Versioning.RequiresPreviewFeatures("DivRem is in preview.")>]
static member DivRem : uint64 * uint64 * uint64 -> ValueTuple<uint64, uint64>
Public Shared Function DivRem (lower As ULong, upper As ULong, divisor As ULong) As ValueTuple(Of ULong, ULong)

參數

lower
UInt64
upper
UInt64
divisor
UInt64

傳回

屬性

適用於