function template
<complex>

std::log10

template<class T> complex<T> log10 (const complex<T>& x);
Common logarithm of complex
Returns the common (base-10) logarithm of the complex number x using the principal branch, whose cuts are along the negative real axis, as if computed by

1
log(x)/log(10)

This is the complex version of the log10 function (defined in <cmath>).

参数

x
Complex value.

返回值

Common logarithm of x.

另见