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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.