Complex.INumberBase<Complex>.MaxMagnitudeNumber Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- x
- Complex
The value to compare with y
.
- y
- Complex
The value to compare with x
.
x
if it is greater than y
; otherwise, y
.
Product | Versions |
---|---|
.NET | 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: