aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lxiny-examples/arithmetic2.forth
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lxiny-examples/arithmetic2.forth')
-rw-r--r--tests/lxiny-examples/arithmetic2.forth10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/lxiny-examples/arithmetic2.forth b/tests/lxiny-examples/arithmetic2.forth
new file mode 100644
index 0000000..a2212d3
--- /dev/null
+++ b/tests/lxiny-examples/arithmetic2.forth
@@ -0,0 +1,10 @@
+INPUT
+99 negate .k
+-99 abs .
+52 23 max .
+52 23 min .
+OUTPUT
+-99
+99
+52
+23