Mirror of CollapseOS
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
456B

  1. Logic
  2. = n1 n2 -- f Push true if n1 == n2
  3. < n1 n2 -- f Push true if n1 < n2
  4. > n1 n2 -- f Push true if n1 > n2
  5. >< n l h -- f Push true if l < n < h
  6. =><= n l h -- f Push true if l <= n <= h
  7. CMP n1 n2 -- n Compare n1 and n2 and set n to -1, 0, or 1.
  8. n=0: a1=a2. n=1: a1>a2. n=-1: a1<a2.
  9. MIN a b -- n Returns the lowest of a and b
  10. MAX a b -- n Returns the highest of a and b
  11. NOT f -- f Push the logical opposite of f