You are here : python_3cmathcmathlog

cmath.log() - cmath

Returns the logarithm of x to the given base. If the base is not
specified, returns the natural logarithm of x. There is one branch cut, from 0
along the negative real axis to -∞, continuous from above.


Syntax

cmath.log(x[, base])


Example


Output / Return Value


Limitations


Alternatives / See Also


Reference