MCPcopy Create free account
hub / github.com/AmrDeveloper/GQL / numeric_cos

Function numeric_cos

crates/gitql-std/src/number/mod.rs:217–222  ·  view source on GitHub ↗
(inputs: &[Box<dyn Value>])

Source from the content-addressed store, hash-verified

215}
216
217pub fn numeric_cos(inputs: &[Box<dyn Value>]) -> Box<dyn Value> {
218 let float_value = inputs[0].as_float().unwrap();
219 Box::new(FloatValue {
220 value: f64::cos(float_value),
221 })
222}
223
224pub fn numeric_acos(inputs: &[Box<dyn Value>]) -> Box<dyn Value> {
225 let float_value = inputs[0].as_float().unwrap();

Callers

nothing calls this directly

Calls 1

as_floatMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…