BigInteger.MaxMagnitude(BigInteger, BigInteger) 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 supérieur.
public:
static System::Numerics::BigInteger MaxMagnitude(System::Numerics::BigInteger x, System::Numerics::BigInteger y) = System::Numerics::INumberBase<System::Numerics::BigInteger>::MaxMagnitude;
public static System.Numerics.BigInteger MaxMagnitude (System.Numerics.BigInteger x, System.Numerics.BigInteger y);
static member MaxMagnitude : System.Numerics.BigInteger * System.Numerics.BigInteger -> System.Numerics.BigInteger
Public Shared Function MaxMagnitude (x As BigInteger, y As BigInteger) As BigInteger
Paramètres
Valeur à comparer à y
.
Valeur à comparer à x
.
Retours
x
s’il est supérieur à y
; sinon, y
.
Implémente
Remarques
Pour IFloatingPointIeee754<TSelf> cette méthode correspond à la fonction IEEE 754 :2019 maximumMagnitude
. Pour cela, les entrées NaN doivent être propagées à l’appelant et -0.0
traitées comme inférieures +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