fork | group |
---|---|
Frontier |
Comparison & Bitwise Logic Operations |
Index 1 is top of the stack. See PUSH.
All values are treated as two’s complement signed 256-bit integers.
a
: left side signed integer.b
: right side signed integer.
a > b
: 1 if the left side is bigger, 0 otherwise.
* | Input | Output | * | * | Input | Output |
---|---|---|---|---|---|---|
1 |
0 |
1 |
* | 1 |
10 |
0 |
2 |
0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF |
* | 2 |
10 |
The state changes done by the current context are reverted in those cases:
- Not enough gas.
- Not enough values on the stack.