{"provider_url":"https://hatena.blog","provider_name":"Hatena Blog","author_name":"espresso3389","type":"rich","width":"100%","height":"190","version":"1.0","title":" float -> int \u30ad\u30e3\u30b9\u30c8","categories":[],"url":"https://espresso3389.hatenablog.com/entry/20070519/1179578447","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fespresso3389.hatenablog.com%2Fentry%2F20070519%2F1179578447\" title=\" float -&gt; int \u30ad\u30e3\u30b9\u30c8 - espresso3389\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"espresso3389\u306e\u65e5\u8a18","blog_url":"https://espresso3389.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/espresso3389/","image_url":null,"published":"2007-05-19 21:40:47","description":"Visual C++\u3067\u306f\u4e00\u822c\u7684\u306b\u3001 int main(int argc, char* argv[]) { float f = atof(argv[1]); return (int)f; } \u3068\u3044\u3063\u305f\u985e\u306e\u547d\u4ee4\u306f\u9045\u3044\u3068\u3055\u308c\u3066\u3044\u308b\u304c\u3001\u5b9f\u306f\u3001VC8\u3067\u306f\u3001\u3053\u306e\u51e6\u7406\u304c\u9ad8\u901f\u5316\u3055\u308c\u305f\u3089\u3057\u3044\u3002 \u3068\u3044\u3046\u3053\u3068\u3067\u3001VC8\u3067\u3001/Ox\u3067\u30d3\u30eb\u30c9\u3057\u3066\u307f\u305f\u7d50\u679c\u306e\u30b3\u30fc\u30c9\u304c\u4ee5\u4e0b\u306e\u901a\u308a\u3002 mov eax, DWORD PTR _argv$[esp-4] mov ecx, DWORD PTR [eax+4] push ecx call _atof fstp DWORD PTR tv128[esp] fld DWORD PTR tv12\u2026"}