{"title":"2^x \u3068 log2(x) \u306e\u9ad8\u901f\u306a\u8fd1\u4f3c\u8a08\u7b97","description":"C\u8a00\u8a9e\u306efloat\u578b\u306e\u30d0\u30a4\u30ca\u30ea\u8868\u73fe\u5f62\u5f0f\u306b\u7740\u76ee\u3059\u308b\u3068\u30012^x \u3068 log2(x) \u306e\u8fd1\u4f3c\u5024\u3092\u9ad8\u901f\u306b\u8a08\u7b97\u3067\u304d\u307e\u3059\u3002 float\u578b\u306e\u30d0\u30a4\u30ca\u30ea\u8868\u73fe\u5f62\u5f0f float\u578b\u306f32\u30d3\u30c3\u30c8\u3067\u3001\u4eee\u6570\u90e8\u304c23\u30d3\u30c3\u30c8(\u30b1\u30c1\u8868\u73fe)\u3001\u6307\u6570\u90e8\u304c8\u30d3\u30c3\u30c8\u3001MSB\u304c\u7b26\u53f7\u30d3\u30c3\u30c8\u3067\u3059\u3002\u21d2 \u5358\u7cbe\u5ea6\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570 - Wikipedia\u3053\u306e\u3088\u3046\u306b\u4e0a\u4f4d\u30d3\u30c3\u30c8\u304c\u6307\u6570\u3092\u8868\u3057\u3066\u308b\u3053\u3068\u3092\u5229\u7528\u3057\u307e\u3059\u3002 2^x\u306e\u8a08\u7b97 \u5b9f\u8cea\u3001\u8db3\u3057\u7b971\u56de\u3067\u8a08\u7b97\u3067\u304d\u307e\u3059\u3002 (\u3053\u3053\u3067\u306f\u691c\u8a3c\u306e\u305f\u3081\u306b\u6d6e\u52d5\u5c0f\u6570\u70b9\u21d2\u56fa\u5b9a\u5c0f\u6570\u70b9\u306e\u63db\u7b97\u3092\u3057\u3066\u3044\u307e\u3059\u3002) // y = 2^x (x=-10\uff5e10) for (float x = -10.0; x <= 10.0; x += 0.25) { \u2026","blog_title":"\u6ef4\u4e86\u5eb5\u65e5\u9332","published":"2021-02-03 20:22:42","height":"190","author_url":"https://blog.hatena.ne.jp/licheng/","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Flipoyang.hatenablog.com%2Fentry%2F2021%2F02%2F03%2F202242\" title=\"2^x \u3068 log2(x) \u306e\u9ad8\u901f\u306a\u8fd1\u4f3c\u8a08\u7b97 - \u6ef4\u4e86\u5eb5\u65e5\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://lipoyang.hatenablog.com/entry/2021/02/03/202242","categories":["\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0"],"blog_url":"https://lipoyang.hatenablog.com/","width":"100%","provider_name":"Hatena Blog","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/l/licheng/20210203/20210203200620.png","author_name":"licheng","type":"rich","provider_url":"https://hatena.blog"}