mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Include split/combine256
This commit is contained in:
parent
aa6f33db2c
commit
e33a9b43ad
@ -366,6 +366,12 @@ The following functions must be available:
|
||||
+---------------------------------------------------------------------------------------------------------------+
|
||||
| discardu256(unused:u256) | discard value |
|
||||
+---------------------------------------------------------------------------------------------------------------+
|
||||
| splitu256tou64(x:u256) -> (x1:u64, x2:u64, | split u256 to four u64's |
|
||||
| x3:u64, x4:u64) | |
|
||||
+---------------------------------------------------------------------------------------------------------------+
|
||||
| combineu64tou256(x1:u64, x2:u64, x3:u64, | combine four u64's into a single u256 |
|
||||
| x4:u64) -> (x:u256) | |
|
||||
+---------------------------------------------------------------------------------------------------------------+
|
||||
| sha3(p:u256, s:u256) -> v:u256 | keccak(mem[p...(p+s))) |
|
||||
+---------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user