atan function
Return the arc tangent of complex.
There are two branch cuts: One extends from 1i along
the imaginary axis to ∞i, continuous from the right.
The other extends from -1i along the imaginary axis to -∞i,
continuous from the left.
Implementation
Complex<num, num> atan(Complex complex) {
var val = ((Complex(0, 1) + complex) / log(Complex(0, 1) - complex));
return val * Complex(0, 1 / 2);
}