Merge pull request #5196 from ethereum/chriseth-patch-2

Fix typo in yul example
This commit is contained in:
chriseth authored and GitHub committed 2018-10-11 12:03:07 +02:00
commit 51db4f5411
1 file changed
+1 -1
+1 -1
View File
@@ -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)