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

Function asin

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

Source from the content-addressed store, hash-verified

88
89#[plugin_fn]
90fn asin(x: f64) -> Result<f64> { if !(-1.0..=1.0).contains(&x) { return Err(dom()); } Ok(libm::asin(x)) }
91
92#[plugin_fn]
93fn acos(x: f64) -> Result<f64> { if !(-1.0..=1.0).contains(&x) { return Err(dom()); } Ok(libm::acos(x)) }

Callers

nothing calls this directly

Calls 2

domFunction · 0.70
containsMethod · 0.45

Tested by

no test coverage detected