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
Tehke meiega GitHubis koostööd
Selle sisu allika leiate GitHubist, kus saate ka probleeme luua ja läbi vaadata ning päringuid teha. Lisateavet leiate meie kaasautorite juhendist.