clog - complex log
val=complex clog(a)
number
result of complex log
Clog returns the principal value of log(a) for an arbitrary complex a. An equivalent formula is cmplx(log(cabs(a)),atan2(a.im,a.re)). The imaginary part is between -J and J.
Clog(0) returns the machine equivalent of minus infinity.
sepmath