fork | group |
---|---|
Frontier |
Comparison & Bitwise Logic Operations |
Index 1 is top of the stack. See PUSH.
a
: left side integer.b
: right side integer.
a == b
: 1 if the left side is equal to the right side, 0 otherwise.
* | Input | Output | * | * | Input | Output |
---|---|---|---|---|---|---|
1 |
10 |
1 |
* | 1 |
10 |
0 |
2 |
10 |
* | 2 |
5 |
The state changes done by the current context are reverted in those cases:
- Not enough gas.
- Not enough values on the stack.