MCPcopy Index your code
hub / github.com/RustPython/RustPython / log10

Function log10

crates/stdlib/src/cmath.rs:104–106  ·  view source on GitHub ↗
(z: ArgIntoComplex, vm: &VirtualMachine)

Source from the content-addressed store, hash-verified

102
103 #[pyfunction]
104 fn log10(z: ArgIntoComplex, vm: &VirtualMachine) -> PyResult<Complex64> {
105 pymath::cmath::log10(z.into_complex()).map_err(|err| pymath_exception(err, vm))
106 }
107
108 #[pyfunction]
109 fn acosh(z: ArgIntoComplex, vm: &VirtualMachine) -> PyResult<Complex64> {

Callers

nothing calls this directly

Calls 2

pymath_exceptionFunction · 0.85
into_complexMethod · 0.80

Tested by

no test coverage detected