mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
doc: use shr instead div
This commit is contained in:
parent
37e18612c5
commit
12937666b8
@ -1343,7 +1343,7 @@ Complete ERC20 Example
|
||||
|
||||
/* ---------- calldata decoding functions ----------- */
|
||||
function selector() -> s {
|
||||
s := div(calldataload(0), 0x100000000000000000000000000000000000000000000000000000000)
|
||||
s := shr(224, calldataload(0))
|
||||
}
|
||||
|
||||
function decodeAsAddress(offset) -> v {
|
||||
|
Loading…
Reference in New Issue
Block a user