| changeset 207 | 04ce04a54936 |
| parent 206 | 3a896e9b57e2 |
| child 208 | 7c5be05296e3 |
1.1 --- a/tests/prototype/bitops.sp Sat Nov 17 20:11:05 2012 -0800 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,14 +0,0 @@ 1.4 -main() 1.5 -{ 1.6 - new result = 5192342; 1.7 - for (new i = 0; i < 100000; i = i + 1) { 1.8 - result = result | i; 1.9 - result = result & 9129345; 1.10 - result = result ^ (i * 73); 1.11 - 1.12 - new bit = result & 1; 1.13 - result = (result >>> 1) | (bit << 31); 1.14 - result = result | (i >> 6); 1.15 - } 1.16 - return result; 1.17 -}