X86Base.DivRem Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DivRem(UInt32, Int32, Int32) |
int _div64(__int64 dividend, int divisor, int* remainder) IDIV reg/m32 |
DivRem(UInt32, UInt32, UInt32) |
unsigned _udiv64(unsigned __int64 dividend, unsigned divisor, unsigned* remainder) 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
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.
int _div64(__int64 dividend, int divisor, int* remainder) 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.Diagnostics.CodeAnalysis.Experimental("SYSLIB5004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
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>
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
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)
Parameters
- lower
- UInt32
- upper
- Int32
- divisor
- Int32
Returns
- Attributes
Applies to
DivRem(UInt32, UInt32, UInt32)
- 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 _udiv64(unsigned __int64 dividend, unsigned divisor, unsigned* remainder) 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.Diagnostics.CodeAnalysis.Experimental("SYSLIB5004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
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>
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
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)
Parameters
- lower
- UInt32
- upper
- UInt32
- divisor
- UInt32
Returns
- Attributes
Applies to
DivRem(UIntPtr, IntPtr, IntPtr)
- 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.
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.Diagnostics.CodeAnalysis.Experimental("SYSLIB5004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
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>
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
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)
Parameters
- lower
-
UIntPtr
unativeint
- upper
-
IntPtr
nativeint
- divisor
-
IntPtr
nativeint
Returns
ValueTuple<nativeint,nativeint>
- Attributes
Applies to
DivRem(UIntPtr, UIntPtr, UIntPtr)
- 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.
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.Diagnostics.CodeAnalysis.Experimental("SYSLIB5004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
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>
[<System.Diagnostics.CodeAnalysis.Experimental("SYSLIB5004", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
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)
Parameters
- lower
-
UIntPtr
unativeint
- upper
-
UIntPtr
unativeint
- divisor
-
UIntPtr
unativeint
Returns
ValueTuple<unativeint,unativeint>
- Attributes