Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dylan-sutton-chavez/edge-python
/ log2
Function
log2
std/math/src/main/float.rs:70–70 ·
view source on GitHub ↗
(x: f64)
Source
from the content-addressed store, hash-verified
68
69
#[plugin_fn]
70
fn log2(x: f64) -> Result<f64> { if x <= 0.0 { return Err(dom()); } Ok(libm::log2(x)) }
71
72
#[plugin_fn]
73
fn log10(x: f64) -> Result<f64> { if x <= 0.0 { return Err(dom()); } Ok(libm::log10(x)) }
Callers
nothing calls this directly
Calls
1
dom
Function · 0.70
Tested by
no test coverage detected