BigInteger.MaxMagnitude(BigInteger, BigInteger) Méthode
Définition
Important
Certaines informations concernent des produits en version préliminaire qui peuvent être considérablement modifiés avant leur sortie. Microsoft n’offre aucune 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.
Retourne
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à .