Code has been added to clipboard!
Solidity Standalone Assembly Example 3
Example
pragma solidity ^0.4.0;
contract Cont {
function func(uint a) returns (uint b) {
b = 1;
for (uint n = 0; n < a; n++)
b = 2 * b;
}
}
Code has been added to clipboard!
pragma solidity ^0.4.0;
contract Cont {
function func(uint a) returns (uint b) {
b = 1;
for (uint n = 0; n < a; n++)
b = 2 * b;
}
}