Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 function t() {
2 var x = 0x123456789abcd;
3 x = x + x; // x = 640511947003802
4 x = x + x; // x = 1281023894007604
5 x = x + x; // x = 2562047788015208
6 x = x + x; // x = 5124095576030416
7 x = x + x; // x = 10248191152060832
8 assertEq(x+1 | 0, -248153696)
9 }
10 t()
12 function t2() {
13 var x = -0x123456789abcd;
14 x = x + x;
15 x = x + x;
16 x = x + x;
17 x = x + x;
18 x = x + x;
19 assertEq(x + 7 | 0, 248153704)
20 }
21 t2()
23 function t() {
24 var x = 4294967296+1;
25 assertEq(x|0, 1);
26 }