Edit

Share via


NFloat.MaxNative(NFloat, NFloat) Method

Definition

Compares two values to compute which is greater using platform-specific behavior for NaN and NegativeZero.

public:
 static System::Runtime::InteropServices::NFloat MaxNative(System::Runtime::InteropServices::NFloat x, System::Runtime::InteropServices::NFloat y) = System::Numerics::INumber<System::Runtime::InteropServices::NFloat>::MaxNative;
public static System.Runtime.InteropServices.NFloat MaxNative(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y);
static member MaxNative : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function MaxNative (x As NFloat, y As NFloat) As NFloat

Parameters

x
NFloat

The value to compare with y.

y
NFloat

The value to compare with x.

Returns

x if it is greater than y; otherwise, y.

Implements

Applies to