Single.MinMagnitude(Single, Single) 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, ce qui est inférieur.
public:
static float MinMagnitude(float x, float y) = System::Numerics::INumberBase<float>::MinMagnitude;
public static float MinMagnitude (float x, float y);
static member MinMagnitude : single * single -> single
Public Shared Function MinMagnitude (x As Single, y As Single) As Single
Paramètres
- x
- Single
Valeur à comparer à y
.
- y
- Single
Valeur à comparer à x
.
Retours
x
s’il est inférieur à y
; sinon, y
.
Implémente
Remarques
Pour <cref="T:System.Numerics.IFloatingPointIeee7541> this method matches the IEEE 754:2019
minimumMagnitude-0.0function. This requires NaN inputs to not be propagated back to the caller and for
to be treated as less than
+0.0'.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour