log10 function template — Computes common logarithm
template<typename T> complex<T> log10(const complex<T>& z)
The log10
function returns
the complex common (base 10) logarithm of z
. The branch cuts are along the negative
real axis, which means the imaginary part of the result is in the
range [-πi
, πi
].