BigInteger.MinMagnitude(BigInteger, BigInteger) Méthode

Définition

Compare deux valeurs au calcul, ce qui est inférieur.

public:
 static System::Numerics::BigInteger MinMagnitude(System::Numerics::BigInteger x, System::Numerics::BigInteger y) = System::Numerics::INumberBase<System::Numerics::BigInteger>::MinMagnitude;
public static System.Numerics.BigInteger MinMagnitude (System.Numerics.BigInteger x, System.Numerics.BigInteger y);
static member MinMagnitude : System.Numerics.BigInteger * System.Numerics.BigInteger -> System.Numerics.BigInteger
Public Shared Function MinMagnitude (x As BigInteger, y As BigInteger) As BigInteger

Paramètres

x
BigInteger

Valeur à comparer à y.

y
BigInteger

Valeur à comparer à x.

Retours

x s’il est inférieur à y; sinon, y.

Implémente

Remarques

Pour IFloatingPointIeee754<TSelf> cette méthode correspond à la fonction IEEE 754:2019 minimumMagnitude . 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 à