共用方式為


X86Base.DivRem 方法

定義

多載

DivRem(UInt32, Int32, Int32)

int _div64 (__int64除數、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)

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

注意

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

DivRem is in preview.

int _div64 (__int64除數、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)

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

注意

您必須在專案檔中將 EnablePreviewFeatures 屬性設定為 True,並啟用專案中的預覽功能,才能使用此預覽 API。 如需詳細資訊,請參閱 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)

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

注意

您必須在專案檔中將 EnablePreviewFeatures 屬性設定為 True,並啟用專案中的預覽功能,才能使用此預覽 API。 如需詳細資訊,請參閱 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)

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

注意

您必須在專案檔中將 EnablePreviewFeatures 屬性設定為 True,並啟用專案中的預覽功能,才能使用此預覽 API。 如需詳細資訊,請參閱 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>

屬性

適用於