แก้ไข

แชร์ผ่าน


Complex.INumberBase<Complex>.MaxMagnitudeNumber Method

Definition

Compares two values to compute which has the greater magnitude and returning the other value if an input is NaN.

 static System::Numerics::Complex System.Numerics.INumberBase<System.Numerics.Complex>.MaxMagnitudeNumber(System::Numerics::Complex x, System::Numerics::Complex y) = System::Numerics::INumberBase<System::Numerics::Complex>::MaxMagnitudeNumber;
static System.Numerics.Complex INumberBase<Complex>.MaxMagnitudeNumber (System.Numerics.Complex x, System.Numerics.Complex y);
static member System.Numerics.INumberBase<System.Numerics.Complex>.MaxMagnitudeNumber : System.Numerics.Complex * System.Numerics.Complex -> System.Numerics.Complex
 Shared Function MaxMagnitudeNumber (x As Complex, y As Complex) As Complex Implements INumberBase(Of Complex).MaxMagnitudeNumber

Parameters

x
Complex

The value to compare with y.

y
Complex

The value to compare with x.

Returns

x if it is greater than y; otherwise, y.

Implements

Applies to