Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dylan-sutton-chavez/edge-python
/ sqrt
Function
sqrt
std/math/src/main/float.rs:31–31 ·
view source on GitHub ↗
(x: f64)
Source
from the content-addressed store, hash-verified
29
30
#[plugin_fn]
31
fn sqrt(x: f64) -> Result<f64> { if x < 0.0 { return Err(dom()); } Ok(libm::sqrt(x)) }
32
33
#[plugin_fn]
34
fn cbrt(x: f64) -> f64 { libm::cbrt(x) }
Callers
2
hypot
Function · 0.85
dist
Function · 0.85
Calls
1
dom
Function · 0.70
Tested by
no test coverage detected