add math::abs function
This commit is contained in:
parent
6d90b0a294
commit
bf716b2e87
@ -78,6 +78,8 @@ pub fn builtin_function(identifier: &str) -> Option<Function> {
|
||||
"math::cbrt" => simple_math!(cbrt),
|
||||
// Hypotenuse
|
||||
"math::hypot" => simple_math!(hypot, 2),
|
||||
// Absolute
|
||||
"math::abs" => simple_math!(abs),
|
||||
// Rounding
|
||||
"floor" => simple_math!(floor),
|
||||
"round" => simple_math!(round),
|
||||
|
Loading…
Reference in New Issue
Block a user