On this page
cmath.log10
Prev: cmath.log | Up: cmath | Next: cmath.phase
Rel: cmath.acos, cmath.acosh, cmath.asin, cmath.asinh
Ref: docs.python.org — cmath.log10
Tags: #public #python3 #stdlib #cmath
Import
import cmath
from cmath import log10
Signature & Overview
cmath.log10(z, /)
Return the base-10 logarithm of z.
Usage
import cmath
assert cmath.isclose(cmath.log10(1000), 3)
Gotchas
- Base-10 complex logarithm: More accurate than
cmath.log(z, 10).
REPL Inspect
from cmath import log10
help(log10)
Linked from
Related notes
- tuts/python3/stdlib_module/cmath/log Linked here; links to this page; shared tags: #cmath, #stdlib
- tuts/python3/stdlib_module/cmath/phase Linked here; links to this page; shared tags: #cmath, #stdlib
- tuts/python3/stdlib_module/cmath Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/cmath/acos Linked here; shared tags: #cmath, #stdlib
- tuts/python3/stdlib_module/cmath/acosh Linked here; shared tags: #cmath, #stdlib
- tuts/python3/stdlib_module/cmath/asin Linked here; shared tags: #cmath, #stdlib
- tuts/python3/stdlib_module/cmath/asinh Linked here; shared tags: #cmath, #stdlib
- tuts/python3/stdlib_module/cmath/atan shared tags: #cmath, #stdlib
- tuts/python3/stdlib_module/cmath/atanh shared tags: #cmath, #stdlib
- tuts/python3/stdlib_module/cmath/cos shared tags: #cmath, #stdlib