X86Base.DivRem 方法

定义

重载

DivRem(UInt32, Int32, Int32)

int _div64 (__int64 dividend, int 除数, int* 余数) IDIV reg/m32

DivRem(UInt32, UInt32, UInt32)

unsigned _udiv64 (unsigned __int64 dividend、unsigned divisor、unsigned* 余数) DIV reg/m32

DivRem(UIntPtr, IntPtr, IntPtr)

IDIV reg/m

DivRem(UIntPtr, UIntPtr, UIntPtr)

IDIV reg/m

DivRem(UInt32, Int32, Int32)

Source:
X86Base.cs
Source:
X86Base.cs

注意

若要使用此预览 API,必须通过在项目文件中将 EnablePreviewFeatures 属性设置为 True,在项目中启用预览功能。 有关详细信息,请参阅 https://aka.ms/dotnet-preview-features

DivRem is in preview.

int _div64 (__int64 dividend, int 除数, int* 余数) IDIV reg/m32

public:
 static ValueTuple<int, int> DivRem(System::UInt32 lower, int upper, int divisor);
[System.Runtime.Versioning.RequiresPreviewFeatures("DivRem is in preview.")]
public static (int Quotient, int Remainder) DivRem (uint lower, int upper, int divisor);
[<System.Runtime.Versioning.RequiresPreviewFeatures("DivRem is in preview.")>]
static member DivRem : uint32 * int * int -> ValueTuple<int, int>
Public Shared Function DivRem (lower As UInteger, upper As Integer, divisor As Integer) As ValueTuple(Of Integer, Integer)

参数

lower
UInt32
upper
Int32
divisor
Int32

返回

属性

适用于

DivRem(UInt32, UInt32, UInt32)

Source:
X86Base.cs
Source:
X86Base.cs

注意

若要使用此预览 API,必须通过在项目文件中将 EnablePreviewFeatures 属性设置为 True,在项目中启用预览功能。 有关详细信息,请参阅 https://aka.ms/dotnet-preview-features

DivRem is in preview.

unsigned _udiv64 (unsigned __int64 dividend、unsigned divisor、unsigned* 余数) DIV reg/m32

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

参数

lower
UInt32
upper
UInt32
divisor
UInt32

返回

属性

适用于

DivRem(UIntPtr, IntPtr, IntPtr)

Source:
X86Base.cs
Source:
X86Base.cs

注意

若要使用此预览 API,必须通过在项目文件中将 EnablePreviewFeatures 属性设置为 True,在项目中启用预览功能。 有关详细信息,请参阅 https://aka.ms/dotnet-preview-features

DivRem is in preview.

IDIV reg/m

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

参数

lower
UIntPtr

unativeint

upper
IntPtr

nativeint

divisor
IntPtr

nativeint

返回

ValueTuple<IntPtr,IntPtr>

ValueTuple<nativeint,nativeint>

属性

适用于

DivRem(UIntPtr, UIntPtr, UIntPtr)

Source:
X86Base.cs
Source:
X86Base.cs

注意

若要使用此预览 API,必须通过在项目文件中将 EnablePreviewFeatures 属性设置为 True,在项目中启用预览功能。 有关详细信息,请参阅 https://aka.ms/dotnet-preview-features

DivRem is in preview.

IDIV reg/m

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

参数

lower
UIntPtr

unativeint

upper
UIntPtr

unativeint

divisor
UIntPtr

unativeint

返回

ValueTuple<UIntPtr,UIntPtr>

ValueTuple<unativeint,unativeint>

属性

适用于