UInt32.INumberBase<UInt32>.MaxMagnitude(UInt32, UInt32) 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 is greater.
static System::UInt32 System.Numerics.INumberBase<System.UInt32>.MaxMagnitude(System::UInt32 x, System::UInt32 y) = System::Numerics::INumberBase<System::UInt32>::MaxMagnitude;
static uint INumberBase<uint>.MaxMagnitude (uint x, uint y);
static member System.Numerics.INumberBase<System.UInt32>.MaxMagnitude : uint32 * uint32 -> uint32
Shared Function MaxMagnitude (x As UInteger, y As UInteger) As UInteger Implements INumberBase(Of UInteger).MaxMagnitude
Parameters
- x
- UInt32
The value to compare with y
.
- y
- UInt32
The value to compare with x
.
Returns
x
if it is greater than y
; otherwise, y
.
Implements
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.