แก้ไข

แชร์ผ่าน


X86Base.X64.DivRem Method

Definition

Overloads

DivRem(UInt64, Int64, Int64)

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

DivRem(UInt64, UInt64, UInt64)

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

DivRem(UInt64, Int64, Int64)

Source:
X86Base.cs
Source:
X86Base.cs

Note

To use this preview API, you must enable preview features in your project by setting the EnablePreviewFeatures property to True in your project file. For more information, see https://aka.ms/dotnet-preview-features.

DivRem is in preview.

__int64 _div128(__int64 highdividend, __int64 lowdividend, __int64 divisor, __int64* remainder) 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.Diagnostics.CodeAnalysis.Experimental("SYSLIB5004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
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>
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
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)

Parameters

lower
UInt64
upper
Int64
divisor
Int64

Returns

Attributes

Applies to

DivRem(UInt64, UInt64, UInt64)

Source:
X86Base.cs
Source:
X86Base.cs

Note

To use this preview API, you must enable preview features in your project by setting the EnablePreviewFeatures property to True in your project file. For more information, see https://aka.ms/dotnet-preview-features.

DivRem is in preview.

unsigned __int64 _udiv128(unsigned __int64 highdividend, unsigned __int64 lowdividend, unsigned __int64 divisor, unsigned __int64* remainder) 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.Diagnostics.CodeAnalysis.Experimental("SYSLIB5004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
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>
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
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)

Parameters

lower
UInt64
upper
UInt64
divisor
UInt64

Returns

Attributes

Applies to