è¿½è¨ (2014/3/21) æè¿ã§ã¯Math.imulã¨ãããã®ãããã¾ãã Math.imul() - JavaScript | MDN signed int ã¸ã®å¤æ: x | 0 unsigned int ã¸ã®å¤æ: x >>> 0 ããã§å¤§æµã®å ´åã¯ãã¾ãããã IEEE64bitæµ®åå°æ°ç¹æ°ã§ã¯æ´æ°ã¯2ã®53ä¹ã¾ã§ããæ£ç¢ºã«è¡¨ç¾ã§ããªããï¼http://www.tokumaru.org/d/20070531.html) ãã®ããæãç®ã®çµæããããè¶ ããå ´åã¯çµæãåããªããã¨ããã ruby -e 'puts 123456789 * 123456789 & 0xffffffff' 2537071545 # æ£ããçµæ js -e 'print(123456789 * 123456789 >>> 0)' 2537071544 # ééã£ãçµæããããå ´åã¯æãç®ãèªåã§å®è£ ãã¦
{{#tags}}- {{label}}
{{/tags}}