IntPtr.INumberBase<IntPtr>.MaxMagnitudeNumber(IntPtr, IntPtr) 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.
Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN
.
static IntPtr System.Numerics.INumberBase<nint>.MaxMagnitudeNumber(IntPtr x, IntPtr y) = System::Numerics::INumberBase<IntPtr>::MaxMagnitudeNumber;
static IntPtr INumberBase<IntPtr>.MaxMagnitudeNumber (IntPtr x, IntPtr y);
static member System.Numerics.INumberBase<nint>.MaxMagnitudeNumber : nativeint * nativeint -> nativeint
Shared Function MaxMagnitudeNumber (x As IntPtr, y As IntPtr) As IntPtr Implements INumberBase(Of IntPtr).MaxMagnitudeNumber
Parameters
- x
-
IntPtr
nativeint
The value to compare with y
.
- y
-
IntPtr
nativeint
The value to compare with x
.
Returns
IntPtr
nativeint
x
if it is greater than y
; otherwise, y
.
Implements
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.