Skip to content
kevinlawler edited this page Apr 1, 2011 · 2 revisions

a|b: Get maximum of two numeric values. For 1s and 0s, this has the same logical meaning as OR.

  1|3    / max of 1 and 3
3
  4|1
4
  1 0 0 1 | 0 1 1 0
1 1 1 1
  |/!10  / max of 0..9
9
  |/0 0 1 0 0 1 0    / max of values; also, are any non-0 (false)
1
  |/0 0 0 0
0
  |/1 1 1 1
1