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)

Source:
X86Base.cs
Source:
X86Base.cs

注意

若要使用此预览 API,必须通过在项目文件中将 EnablePreviewFeatures 属性设置为 True,在项目中启用预览功能。 有关详细信息,请参阅 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)

Source:
X86Base.cs
Source:
X86Base.cs

注意

若要使用此预览 API,必须通过在项目文件中将 EnablePreviewFeatures 属性设置为 True,在项目中启用预览功能。 有关详细信息,请参阅 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

返回

属性

适用于