Half.MaxNative(Half, Half) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Compare deux valeurs au calcul qui est plus grande à l’aide d’un comportement spécifique à la plateforme pour NaN et NegativeZero.
public:
static Half MaxNative(Half x, Half y) = System::Numerics::INumber<Half>::MaxNative;
public static Half MaxNative(Half x, Half y);
static member MaxNative : Half * Half -> Half
Public Shared Function MaxNative (x As Half, y As Half) As Half
Paramètres
- x
- Half
Valeur à comparer avec y.
- y
- Half
Valeur à comparer avec x.
Retours
x s’il est supérieur yà ; sinon, y.