log

Determines the natural base logarithm.

  template<class T> 
  complex<T> log (const complex<T>&);
  
Remarks

Returns the natural base logarithm of the complex class argument, in the range of a strip mathematically unbounded along the real axis and in the interval of [i*pi, i*pi] along the imaginary axis. The argument is a negative real number, imag(log(cpx)), is pi.