public static int __hash__(Complex x) { if (x.Imaginary() == 0) { return(DoubleOps.__hash__(x.Real)); } return(x.GetHashCode()); }