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

Function numeric_sin

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

Source from the content-addressed store, hash-verified

201}
202
203pub fn numeric_sin(inputs: &[Box<dyn Value>]) -> Box<dyn Value> {
204 let float_value = inputs[0].as_float().unwrap();
205 Box::new(FloatValue {
206 value: f64::sin(float_value),
207 })
208}
209
210pub fn numeric_asin(inputs: &[Box<dyn Value>]) -> Box<dyn Value> {
211 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…