Redigera

Dela via


NFloat.MinNative(NFloat, NFloat) Method

Definition

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

public:
 static System::Runtime::InteropServices::NFloat MinNative(System::Runtime::InteropServices::NFloat x, System::Runtime::InteropServices::NFloat y) = System::Numerics::INumber<System::Runtime::InteropServices::NFloat>::MinNative;
public static System.Runtime.InteropServices.NFloat MinNative(System.Runtime.InteropServices.NFloat x, System.Runtime.InteropServices.NFloat y);
static member MinNative : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function MinNative (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 lesser than y; otherwise, y.

Implements

Applies to