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

Function acos

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

domFunction · 0.70
containsMethod · 0.45

Tested by

no test coverage detected