diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-04-20 19:57:28 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-11-22 11:33:04 +0800 |
commit | e33a9b43ad1d11e7f6877d73032bf5f59ba1be95 (patch) | |
tree | 00904752555d0cf24463a6fb8a1b523298792266 | |
parent | aa6f33db2c20a55c72cbef834b255d029c7adc44 (diff) | |
download | dexon-solidity-e33a9b43ad1d11e7f6877d73032bf5f59ba1be95.tar dexon-solidity-e33a9b43ad1d11e7f6877d73032bf5f59ba1be95.tar.gz dexon-solidity-e33a9b43ad1d11e7f6877d73032bf5f59ba1be95.tar.bz2 dexon-solidity-e33a9b43ad1d11e7f6877d73032bf5f59ba1be95.tar.lz dexon-solidity-e33a9b43ad1d11e7f6877d73032bf5f59ba1be95.tar.xz dexon-solidity-e33a9b43ad1d11e7f6877d73032bf5f59ba1be95.tar.zst dexon-solidity-e33a9b43ad1d11e7f6877d73032bf5f59ba1be95.zip |
Include split/combine256
-rw-r--r-- | docs/julia.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/julia.rst b/docs/julia.rst index 98b19662..d9b92b24 100644 --- a/docs/julia.rst +++ b/docs/julia.rst @@ -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))) | +---------------------------------------------------------------------------------------------------------------+ |