Complex.opEquals

Compares two complex numbers for equality, with overloads for same type, different type, and scalar numeric types.

  1. bool opEquals(Complex rhs)
  2. bool opEquals(Complex!R rhs)
  3. bool opEquals(F rhs)
    struct Complex(T)
    scope const
    bool
    opEquals
    (
    F
    )
    (
    const F rhs
    )
    if (
    isNumeric!F
    )
    if (
    is(T == float) ||
    is(T == double)
    ||
    is(T == real)
    )