BigInteger.MinMagnitude(BigInteger, BigInteger) Metoda

Definice

Porovná dvě hodnoty s výpočtem, který je menší.

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

Parametry

x
BigInteger

Hodnota, která se má porovnat s y.

y
BigInteger

Hodnota, která se má porovnat s x.

Návraty

x pokud je menší než y, jinak hodnota y.

Implementuje

Poznámky

Pro IFloatingPointIeee754<TSelf> tuto metodu odpovídá funkci IEEE 754:2019 minimumMagnitude . To vyžaduje, aby se vstupy NaN šířily zpět do volajícího a aby byly považovány za -0.0 menší než +0.0.

Platí pro