MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / log10

Function log10

std/math/src/main/float.rs:73–73  ·  view source on GitHub ↗
(x: f64)

Source from the content-addressed store, hash-verified

71
72#[plugin_fn]
73fn log10(x: f64) -> Result<f64> { if x <= 0.0 { return Err(dom()); } Ok(libm::log10(x)) }
74
75#[plugin_fn]
76fn log1p(x: f64) -> Result<f64> { if x <= -1.0 { return Err(dom()); } Ok(libm::log1p(x)) }

Callers 1

flog10Function · 0.85

Calls 1

domFunction · 0.70

Tested by

no test coverage detected