Reference
C Library
IOstream Library
Strings library
STL Containers
STL Algorithms
Miscellaneous
Miscellaneous
complex
exception
functional
iterator
limits
locale
memory
new
numeric
stdexcept
typeinfo
utility
valarray
complex
abs
arg
complex
conj
cos
cosh
exp
imag
log
log10
norm
polar
pow
real
sin
sinh
sqrt
tan
tanh


log10

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

Return 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:

 
log(x)/log(10)


This overloads cmath's log10 function.

Parameters

x
Complex value.

Return value

Common logarithm of x.

See also