C++ã§intãdoubleãªã©ã®æ°ãæååï¼charã®é åãããã¯std::stringï¼ã«ãããæããããã¯ãã®éã§æååãintãdoubleã«ãããæããããä¸è¬çã«ãã®ãããªå¦çã¯ãã¡ã¤ã«å ¥åºåãªã©ã¨åããã¦è¡ããããããããã»ã©é度ãæ°ã«ãããã¨ã¯ãªãããããå®å ¨ãªå¦çãé¸æãããã¨ãå¤ãã¨æãã ãããªããã§ãããã¾ã§ã¯C++ã®streamãboost::lexical_castã使ã£ã¦ããã®ã ããã©ããããã®æéããããå¦çããéãã§ãããsnprintfãatoi/strtolãstrtodãªã©ã¨ã©ãã»ã©å·®ãããã®ãã調ã¹ã¦ã¿ãã 以ä¸ããã£ã¨æ¸ããé度è¨æ¸¬çµæãå®è¡ã¯ä»®æ³ãã·ã³ï¼VMWareï¼ä¸ã®Ubuntu 11.10ã§è¡ã£ããä½åº¦ã測å®ããã¨ããç´°ãã誤差ã¯ãã£ãããããç¨åº¦ã®å¾åã¯è¦ããããã«æããåç´ã«intãã«ã¼ãå ã§ã¤ã³ã¯ãªã¡ã³ã¿ã«ããå¦çãæ¯è¼å¯¾è±¡ã¨ããã
{{#tags}}- {{label}}
{{/tags}}