BigInteger.MinMagnitude(BigInteger, BigInteger) Метод

Определение

Сравнивает два значения с вычислением, которое меньше.

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

Параметры

x
BigInteger

Значение, сравниваемое с y.

y
BigInteger

Значение, сравниваемое с x.

Возвращаемое значение

x Значение , если значение меньше y; в противном случае — yзначение .

Реализации

Комментарии

Для IFloatingPointIeee754<TSelf> этого метода соответствует функции IEEE 754:2019 minimumMagnitude . Для этого требуется, чтобы входные данные NaN распространялись обратно на вызывающий объект и для -0.0 обработки как меньше +0.0.

Применяется к