diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-05-20 06:16:01 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-11-22 11:33:06 +0800 |
commit | 980ba42faf825a1e66fb4689fc1a7553e7b9ef87 (patch) | |
tree | ab7175d5886ddfed73ca73bb2a68c2e3b7ccece0 /docs | |
parent | 0e0de7b7fdd83c0a458e51a4bf12b6444025c0f8 (diff) | |
download | dexon-solidity-980ba42faf825a1e66fb4689fc1a7553e7b9ef87.tar.gz dexon-solidity-980ba42faf825a1e66fb4689fc1a7553e7b9ef87.tar.zst dexon-solidity-980ba42faf825a1e66fb4689fc1a7553e7b9ef87.zip |
Remove from examples
Diffstat (limited to 'docs')
-rw-r--r-- | docs/julia.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/julia.rst b/docs/julia.rst index f67b3384..f97fb4b0 100644 --- a/docs/julia.rst +++ b/docs/julia.rst @@ -33,13 +33,13 @@ and ``mod`` are available either natively or as functions and computes exponenti function power(base:u256, exponent:u256) -> result:u256 { switch exponent - case 0:u256: { result := 1:u256 } - case 1:u256: { result := base } + case 0:u256 { result := 1:u256 } + case 1:u256 { result := base } default: { result := power(mul(base, base), div(exponent, 2:u256)) switch mod(exponent, 2:u256) - case 1:u256: { result := mul(base, result) } + case 1:u256 { result := mul(base, result) } } } } |