fn atan64(z: Complex(f64)) Complex(f64)
fn atan64(z: Complex(f64)) Complex(f64) { const x = z.re; const y = z.im; const x2 = x * x; var a = 1.0 - x2 - (y * y); var t = 0.5 * math.atan2(2.0 * x, a); const w = redupif64(t); t = y - 1.0; a = x2 + t * t; t = y + 1.0; a = (x2 + (t * t)) / a; return Complex(f64).init(w, 0.25 * @log(a)); }