{"id":7569,"date":"2024-12-07T11:01:12","date_gmt":"2024-12-07T02:01:12","guid":{"rendered":"https:\/\/www.chihayafuru.jp\/tech\/?p=7569"},"modified":"2024-12-17T07:19:20","modified_gmt":"2024-12-16T22:19:20","slug":"%e6%b5%ae%e5%8b%95%e5%b0%8f%e6%95%b0%e7%82%b9%e6%95%b0","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/7569","title":{"rendered":"\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570"},"content":{"rendered":"<p>Floating-point number<\/p>\n<h3>IEEE-754 \u5f62\u5f0f<\/h3>\n<table>\n<tbody>\n<tr>\n<th style=\"width: 20%;\">&nbsp;<\/th>\n<th style=\"width: 20%; text-align:center;\" >\u7b26\u53f7\u90e8<br \/>sign<\/th>\n<th style=\"width: 20%; text-align:center;\">\u6307\u6570\u90e8<br \/>exponent<\/th>\n<th style=\"width: 20%; text-align:center;\">\u4eee\u6570\u90e8<br \/>fraction<\/th>\n<th style=\"width: 20%; text-align:center;\">\u5b89\u5168\u6709\u52b9\u6841\u6570<br \/>(10\u9032\u6570)<\/th>\n<\/tr>\n<tr>\n<th style=\"text-align:end; text-transform: none;\">\u5358\u7cbe\u5ea6 32bit<\/th>\n<td style=\"text-align:center;\">1 bit<\/td>\n<td style=\"text-align:center;\">8 bit<\/td>\n<td style=\"text-align:center;\">23 bit<\/td>\n<td style=\"text-align:center;\">6 \u6841<\/td>\n<\/tr>\n<tr>\n<th style=\"text-align:end; text-transform: none;\">\u500d\u7cbe\u5ea6 64bit<\/th>\n<td style=\"text-align:center;\"> 1 bit<\/td>\n<td style=\"text-align:center;\">11 bit<\/td>\n<td style=\"text-align:center;\">52 bit<\/td>\n<td style=\"text-align:center;\">14 \u6841<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><!--more--><\/p>\n<h3>\u30a8\u30af\u30bb\u30b9\u8868\u73fe<\/h3>\n<p>\u30a4\u30af\u30bb\u30b9\u8868\u73fe\u3002\u3052\u305f\u5c65\u304d\u8868\u73fe\u3002excess notation\u3002excess representation\u3002<\/p>\n<p>\u30a8\u30af\u30bb\u30b9\uff08\u3052\u305f\u5c65\u304d\uff09\u304c 127 \u306e\u5834\u5408\u3001-1 \u3092 126\u3002 0 \u3092 127\u3002 1 \u3092128\u3002\u2026\u3068\u8868\u73fe\u3059\u308b\u3002\u4e2d\u9593\u5024\u306b\u3052\u305f\u5c65\u304d\u3055\u305b\u308b\u3053\u3068\u3067\uff08\u6307\u6570\u90e8\u306e\uff09\u5927\u5c0f\u6bd4\u8f03\u3092\u7c21\u6613\u306b\u5b9f\u73fe\u3067\u304d\u308b\u3002\u3061\u306a\u307f\u306bIEEE-754\u3067\u306f\u6307\u6570\u90e8\u306b 0xFE \u3092\u30bb\u30c3\u30c8\u3057\u305f\u3068\u304d\u306f +127\u3002\u305d\u3057\u3066 0xFF \u3092\u30bb\u30c3\u30c8\u3057\u305f\u3068\u304d\u306f \u7121\u9650\u5927 \u3068\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u3002<\/p>\n<p><\/p>\n<h3>\u5916\u90e8\u30ea\u30f3\u30af<\/h3>\n<ul>\n<li><a href=\"https:\/\/ja.wikipedia.org\/wiki\/%E6%B5%AE%E5%8B%95%E5%B0%8F%E6%95%B0%E7%82%B9%E6%95%B0\">Wikipedia : \u6d6e\u52d5\u5c0f\u6570\u70b9\u6570<\/a><\/li>\n<li><a href=\"https:\/\/ja.wikipedia.org\/wiki\/IEEE_754\">Wikipedia : IEEE-754<\/a><\/li>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/cpp\/c-language\/type-float\">Microsoft : Type float<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Floating-point number IEEE-754 \u5f62\u5f0f &nbsp; \u7b26\u53f7\u90e8sign \u6307\u6570\u90e8exponent \u4eee\u6570\u90e8fraction \u5b89\u5168\u6709\u52b9\u6841\u6570(10\u9032\u6570) \u5358\u7cbe\u5ea6 32bit 1 bit 8 bit 23 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-7569","post","type-post","status-publish","format-standard","hentry","category-memo"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/7569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=7569"}],"version-history":[{"count":38,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/7569\/revisions"}],"predecessor-version":[{"id":7635,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/7569\/revisions\/7635"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=7569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=7569"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=7569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}