1 // empty line needed here
2 __add32 = function(x,y) { return (x + y) | 0; };
3 __sub32 = function(x,y) { return (x - y) | 0; };
4 __mul32 = function(x,y) {
5 return (((x * (y >> 16)) << 16) + x * (y & 0xFFFF)) | 0;
6 };
7
8 __toInt16 = function(x) { return (x << 16) >> 16; };