æè¿é«éåã«èå³æ´¥ã ã§ãããããªä¸ãMathã¯ã©ã¹é ããããé ãã?ãã£ã¦ãã¨ã§ãé«éã¨ã³ã¸ã³æ¸ãã¨ãã«ãã使ãæé©åã®ä¸é¨ï¼Mathã¯ã©ã¹ä¸å¿ï¼ãåå¿é²çã«ãã¡ããã£ã¨ã ãæ¤è¨¼ããã¾ããã å 容çã«ã¯æ¢ã«æ¢åºã®ãã®ã°ããã§ãããåå¿é²ã¨ãããã¨ã§ã æ¤è¨¼æ¹æ³ã§ãããåç´ãªå¼ã1,000,000åç¹°ãè¿ãããã®ã¿ã¤ã ã10åè¨æ¸¬ã å¹³åå¤ããã¨ã«ããã§ã¼ãã³ã¹ãæéãã¼ã¹ã§è©ä¾¡ãã¦ãã¾ãã Math.max var k:Number = Math.max( a, b ); var k:Number = ( a > b )? a : b; // 46.4ms -> 3.5ms Math.min var k:Number = Math.min( a, b ); var k:Number = ( a 3.5ms Math.round var k:Number = Math.round( a
{{#tags}}- {{label}}
{{/tags}}