Edit

Share via


Single.MinNative(Single, Single) Method

Definition

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

public:
 static float MinNative(float x, float y) = System::Numerics::INumber<float>::MinNative;
public static float MinNative(float x, float y);
static member MinNative : single * single -> single
Public Shared Function MinNative (x As Single, y As Single) As Single

Parameters

x
Single

The value to compare with y.

y
Single

The value to compare with x.

Returns

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

Implements

Applies to