diff options
author | chriseth <chris@ethereum.org> | 2018-10-11 18:03:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-11 18:03:07 +0800 |
commit | 51db4f5411d29f2c0569066ea792b752827f4aec (patch) | |
tree | 096319b6f5c73f50a17ee28c3b903ca68573daa0 | |
parent | 81a385eceec10e6e7455338370362079568d4b1d (diff) | |
parent | 6e61d9249507a280c83da95835b75f2c459f1b84 (diff) | |
download | dexon-solidity-51db4f5411d29f2c0569066ea792b752827f4aec.tar dexon-solidity-51db4f5411d29f2c0569066ea792b752827f4aec.tar.gz dexon-solidity-51db4f5411d29f2c0569066ea792b752827f4aec.tar.bz2 dexon-solidity-51db4f5411d29f2c0569066ea792b752827f4aec.tar.lz dexon-solidity-51db4f5411d29f2c0569066ea792b752827f4aec.tar.xz dexon-solidity-51db4f5411d29f2c0569066ea792b752827f4aec.tar.zst dexon-solidity-51db4f5411d29f2c0569066ea792b752827f4aec.zip |
Merge pull request #5196 from ethereum/chriseth-patch-2
Fix typo in yul example
-rw-r--r-- | docs/yul.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/yul.rst b/docs/yul.rst index a55445f3..9e9fac8e 100644 --- a/docs/yul.rst +++ b/docs/yul.rst @@ -44,7 +44,7 @@ and ``mod`` are available either natively or as functions and computes exponenti switch exponent case 0:u256 { result := 1:u256 } case 1:u256 { result := base } - default: + default { result := power(mul(base, base), div(exponent, 2:u256)) switch mod(exponent, 2:u256) |