fork | group |
---|---|
Frontier |
Stop and Arithmetic Operations |
Index 1 is top of the stack. See PUSH.
a
: first integer value to multiply.b
: second integer value to multiply.
a * b
: integer result of the multiplication modulo 2256.
* | Input | Output |
---|---|---|
1 |
10 |
100 |
2 |
10 |
* | Input | Output |
---|---|---|
1 |
0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF |
0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE |
2 |
2 |
The state changes done by the current context are reverted in those cases:
- Not enough gas.
- Not enough values on the stack.