Single.MaxNative(Single, Single) Metoda

Definice

Porovná dvě hodnoty s výpočtem, což je větší pomocí chování specifického pro platformu a NaNNegativeZero.

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

Parametry

x
Single

Hodnota, která se má porovnat s y.

y
Single

Hodnota, která se má porovnat s x.

Návraty

x je-li větší než y; jinak , y.

Implementuje

Platí pro