Single.MaxNative(Single, Single) 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 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

Paramètres

x
Single

Valeur à comparer avec y.

y
Single

Valeur à comparer avec x.

Retours

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

Implémente

S’applique à