BigInteger.MaxMagnitude(BigInteger, BigInteger) Méthode

Définition

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

x
BigInteger

Valeur à comparer avec y.

y
BigInteger

Valeur à comparer avec 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 . Cela nécessite que les entrées NaN soient propagées à l’appelant et -0.0 qu’elles soient traitées comme inférieures +0.0à .

S’applique à