summaryrefslogtreecommitdiff
path: root/impl/systems/test.eqns
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au>2012-09-20 15:19:49 +1000
committerCarlo Zancanaro <carlo@pc-4w14-0.cs.usyd.edu.au>2012-09-20 15:19:49 +1000
commitbb9a899b7c45b830c6b70e2811130a41ebb31ee5 (patch)
tree070ca77682bf7e3b72a94e78fbe0fcf337bdd98a /impl/systems/test.eqns
parent3d206f03985b50beacae843d880bccdc91a9f424 (diff)
Remove exceptions and C++11 features for LLVM.
Diffstat (limited to 'impl/systems/test.eqns')
-rw-r--r--impl/systems/test.eqns4
1 files changed, 4 insertions, 0 deletions
diff --git a/impl/systems/test.eqns b/impl/systems/test.eqns
new file mode 100644
index 0000000..cc554d5
--- /dev/null
+++ b/impl/systems/test.eqns
@@ -0,0 +1,4 @@
+xup = max(0, min(xup + 1, 9 + 1))
+yup = max(0, min(xup + yup, 9 + yup))
+xlow = max(0, xlow-1)
+ylow = max(0, ylow + xlow)