log

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

The function returns the logarithm of x. The branch cuts are along the negative real axis.