Difference between revisions of "Pipe"
From WikiManual
(New page: Picks two stack numbers and returns the OR comparison of their bytes. 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 i...) |
|||
Line 1: | Line 1: | ||
− | Picks two stack numbers and returns the OR comparison of their | + | Picks two stack numbers and returns the OR comparison of their bit. |
− | + | 0 0 | = 0 | |
− | -1 0 | = -1 | + | -1 0 | = -1 |
− | + | 0 1 | = 1 | |
− | + | 1 1 | = 1 | |
− | -1 1 | = -1 | + | -1 1 | = -1 |
− | + | 0 -1 | = -1 | |
− | -1 -1 | = -1 | + | -1 -1 | = -1 |
When one of the numbers is a power of 2, it adds both numbers. | When one of the numbers is a power of 2, it adds both numbers. |
Revision as of 11:31, 11 August 2007
Picks two stack numbers and returns the OR comparison of their bit.
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.