{"provider_name":"Hatena Blog","height":"190","provider_url":"https://hatena.blog","type":"rich","image_url":null,"width":"100%","blog_title":"\u30b2\u30fc\u30e0\u304c\u4f5c\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067\u304c\u3093\u3070\u308b\u65e5\u8a18","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoburau.hatenablog.jp%2Fentry%2F20120114%2F1326558361\" title=\"float\u306e\u7cbe\u5ea6 - \u30b2\u30fc\u30e0\u304c\u4f5c\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u307e\u3067\u304c\u3093\u3070\u308b\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_url":"https://toburau.hatenablog.jp/","author_url":"https://blog.hatena.ne.jp/toburau/","url":"https://toburau.hatenablog.jp/entry/20120114/1326558361","title":"float\u306e\u7cbe\u5ea6","version":"1.0","description":"\u30b2\u30fc\u30e0\u30d7\u30ed\u30b0\u30e9\u30de\u306b\u306a\u308b\u524d\u306b\u899a\u3048\u3066\u304a\u304d\u305f\u3044\u6280\u8853\u3067\u6b21\u306e\u3088\u3046\u306a\u6c17\u306b\u306a\u308b\u6587\u7ae0\u304c\u3002 float\u5909\u6570\u306b1\u30921\u5104\u56de\u8db3\u3057\u305f\u7b54\u3048\u306f1677\u4e07\u3060\u3002 float\u306e\u6f14\u7b97\u3067\u8a08\u7b97\u8aa4\u5dee\u304c\u51fa\u308b\u3053\u3068\u306f\u77e5\u3063\u3066\u3044\u305f\u3051\u3069\u3001\u305d\u3053\u307e\u3067\u7cbe\u5ea6\u304c\u7121\u3044\u3068\u306f\u3002 \u3068\u3044\u3046\u3053\u3068\u3067\u5b9f\u969b\u306b\u8a66\u3057\u3066\u307f\u305f\u3002 #include <iostream> using namespace std; int main() { float sum = 0.0f; for(int i=0; i<100000000; ++i) { sum += 1.0f; } cout.setf(ios::fixed); cout << sum; } \u5b9f\u884c\u7d50\u679c 16777216.000000 \u304a\u2026","categories":["\u96d1\u8a18"],"published":"2012-01-14 01:26:01","author_name":"toburau"}