INumber<TSelf>.MaxNative(TSelf, TSelf) 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 using platform-specific behavior for NaN and NegativeZero.
public:
static override TSelf MaxNative(TSelf x, TSelf y);
public static virtual TSelf MaxNative(TSelf x, TSelf y);
static member MaxNative : 'Self * 'Self -> 'Self
Public Shared Overrides Function MaxNative (x As TSelf, y As TSelf) As TSelf
Parameters
- x
- TSelf
The value to compare with y.
- y
- TSelf
The value to compare with x.
Returns
x if it is greater than y; otherwise, y.