ManyFunctions performance test: replace xor with correct exp operator

This commit is contained in:
Paweł Bylica 2015-02-17 13:28:58 +01:00
parent fc4a548d6f
commit 20ed953910
3 changed files with 229 additions and 201 deletions

File diff suppressed because it is too large Load Diff

View File

@ -7,14 +7,14 @@ i = 1
template = """
function right{0}(uint seed) returns (uint) {{
var r = nextRand(seed);
if (r >= 2^{2})
if (r >= 2**{2})
return right{1}(r);
return left{1}(r);
}}
function left{0}(uint seed) returns (uint) {{
var r = nextRand(nextRand(seed));
if (r >= 2^{2})
if (r >= 2**{2})
return left{1}(r);
return right{1}(r);
}}

File diff suppressed because one or more lines are too long