// #Power
 private static object Power(Complex64 x, Complex64 y)
 {
     if (x.IsZero && (y.Real < 0.0 || y.Imag != 0.0))
     {
         throw Ops.ZeroDivisionError("0.0 to a negative or complex power");
     }
     return(x.Power(y));
 }
Exemple #2
0
 public static Complex64 Pow(this Complex64 self, Complex64 power)
 {
     return(self.Power(power));
 }