feat: modulo operator

This commit is contained in:
Roman Godmaire 2024-05-14 14:20:27 -04:00
parent 25ea02d5e6
commit 06a2bc13d8

View file

@ -65,6 +65,7 @@ pub(super) fn core() -> HashMap<String, Value> {
("-", arithmetic!(-)), ("-", arithmetic!(-)),
("*", arithmetic!(*)), ("*", arithmetic!(*)),
("/", arithmetic!(/)), ("/", arithmetic!(/)),
("mod", arithmetic!(%)),
// Ordering // Ordering
("<", ordering!(<)), ("<", ordering!(<)),
(">", ordering!(>)), (">", ordering!(>)),