emul/src/main/resources/org/apidesign/vm4brwsr/emul/java_lang_Number.js
brancharithmetic
changeset 440 aa50464da62d
parent 439 e4fb6c7ac42a
child 445 9e4f01dd6acb
     1.1 --- a/emul/src/main/resources/org/apidesign/vm4brwsr/emul/java_lang_Number.js	Mon Jan 14 09:17:18 2013 +0100
     1.2 +++ b/emul/src/main/resources/org/apidesign/vm4brwsr/emul/java_lang_Number.js	Mon Jan 14 09:47:38 2013 +0100
     1.3 @@ -5,4 +5,5 @@
     1.4      return (((x * (y >> 16)) << 16) + x * (y & 0xFFFF)) | 0;
     1.5  };
     1.6  
     1.7 +__toInt8 = function(x)  { return (x << 24) >> 24; };
     1.8  __toInt16 = function(x) { return (x << 16) >> 16; };
     1.9 \ No newline at end of file