RosettaCodeData/Task/Arithmetic-Integer/Oforth/arithmetic-integer.oforth

9 lines
189 B
Text
Raw Permalink Normal View History

2018-06-22 20:57:24 +00:00
: integers (a b -- )
2016-12-05 23:44:36 +01:00
"a + b =" . a b + .cr
"a - b =" . a b - .cr
"a * b =" . a b * .cr
"a / b =" . a b / .cr
"a mod b =" . a b mod .cr
2018-06-22 20:57:24 +00:00
"a pow b =" . a b pow .cr
;