NFloat.MaxNative(NFloat, NFloat) Méthode

Définition

Compare deux valeurs au calcul qui est plus grande à l’aide d’un comportement spécifique à la plateforme pour NaN et 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

Paramètres

x
NFloat

Valeur à comparer avec y.

y
NFloat

Valeur à comparer avec x.

Retours

x s’il est supérieur yà ; sinon, y.

Implémente

S’applique à