Difference between revisions of "Pipe"

From WikiManual
Jump to: navigation, search
m
 
Line 1: Line 1:
Picks two stack numbers and returns the OR comparison of their bit.
+
Picks two stack numbers and returns the OR comparison of their bits.
  
 
   0  0 | =  0
 
   0  0 | =  0

Latest revision as of 12:31, 11 August 2007

Picks two stack numbers and returns the OR comparison of their bits.

 0  0 | =  0
-1  0 | = -1
 0  1 | =  1
 1  1 | =  1
-1  1 | = -1
 0 -1 | = -1
-1 -1 | = -1

When one of the numbers is a power of 2, it adds both numbers.