owa-rs/modules/core/math.owa
2026-05-06 12:21:06 +03:00

14 lines
No EOL
261 B
Text

(seq
(def + builtins.math.add)
(def - builtins.math.sub)
(def * builtins.math.mul)
(def / builtins.math.div)
(def % builtins.math.mod)
(def ** builtins.math.pow)
(fn ++ <Number>[<Number>x]
(+ x 1))
(fn -- <Number>[<Number>x]
(- x 1))
)