We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d26d6e7 commit 2bd9abcCopy full SHA for 2bd9abc
1 file changed
omnimcode-core/src/interpreter.rs
@@ -2423,6 +2423,7 @@ impl Interpreter {
2423
// stdlib-friendly aliases
2424
| "math_log" | "math_sin" | "math_cos" | "math_tan" | "math_sqrt"
2425
| "math_floor" | "math_ceil" | "math_round" | "math_abs" | "math_pow"
2426
+ | "math_min" | "math_max"
2427
| "unix_time" | "unix_time_ms"
2428
| "str_lower" | "str_upper" | "str_find" | "str_rfind" | "str_strip"
2429
| "env_var" | "dict_delete" | "dict_remove"
@@ -4266,6 +4267,8 @@ impl Interpreter {
4266
4267
"math_round" => self.call_function("round", args),
4268
"math_abs" => self.call_function("abs", args),
4269
"math_pow" => self.call_function("pow", args),
4270
+ "math_min" => self.call_function("min", args),
4271
+ "math_max" => self.call_function("max", args),
4272
"unix_time" => self.call_function("now_unix", args),
4273
"unix_time_ms" => self.call_function("now_ms", args),
4274
"str_lower" => self.call_function("str_lowercase", args),
0 commit comments