(map: &mut HashMap<&'static str, StandardFunction>)
| 21 | |
| 22 | #[inline(always)] |
| 23 | pub fn register_std_number_functions(map: &mut HashMap<&'static str, StandardFunction>) { |
| 24 | map.insert("abs", numeric_abs); |
| 25 | map.insert("pi", numeric_pi); |
| 26 | map.insert("floor", numeric_floor); |
| 27 | map.insert("round", numeric_round); |
| 28 | map.insert("square", numeric_square); |
| 29 | map.insert("sin", numeric_sin); |
| 30 | map.insert("asin", numeric_asin); |
| 31 | map.insert("cos", numeric_cos); |
| 32 | map.insert("acos", numeric_acos); |
| 33 | map.insert("tan", numeric_tan); |
| 34 | map.insert("atan", numeric_atan); |
| 35 | map.insert("atn2", numeric_atn2); |
| 36 | map.insert("sign", numeric_sign); |
| 37 | map.insert("mod", numeric_mod); |
| 38 | map.insert("rand", numeric_rand); |
| 39 | } |
| 40 | |
| 41 | #[inline(always)] |
| 42 | pub fn register_std_number_function_signatures(map: &mut HashMap<&'static str, Signature>) { |
no outgoing calls
no test coverage detected
searching dependent graphs…