{"id":477261,"date":"2023-08-09T09:09:43","date_gmt":"2023-08-09T09:09:43","guid":{"rendered":""},"modified":"2023-09-05T11:14:23","modified_gmt":"2023-09-05T11:14:23","slug":"floating-point-arithmetic","status":"publish","type":"wiki","link":"https:\/\/oneproxy.pro\/jp\/wiki\/floating-point-arithmetic\/","title":{"rendered":"\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97"},"content":{"rendered":"<p>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306f\u3001\u30d0\u30a4\u30ca\u30ea\u5f62\u5f0f\u306e\u5b9f\u6570\u306e\u8868\u73fe\u3068\u64cd\u4f5c\u3092\u6271\u3046\u30b3\u30f3\u30d4\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u4e16\u754c\u306e\u57fa\u672c\u7684\u306a\u6982\u5ff5\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u306f\u5c0f\u6570\u90e8\u5206\u3092\u542b\u3080\u5e45\u5e83\u3044\u5024\u306b\u5bfe\u3057\u3066\u6570\u5b66\u7684\u6f14\u7b97\u3092\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306e\u6b74\u53f2\u3001\u5185\u90e8\u69cb\u9020\u3001\u4e3b\u306a\u6a5f\u80fd\u3001\u7a2e\u985e\u3001\u304a\u3088\u3073\u5fdc\u7528\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<h2>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306e\u8d77\u6e90\u3068\u305d\u306e\u6700\u521d\u306e\u8a00\u53ca\u306e\u6b74\u53f2<\/h2>\n<p>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306e\u6982\u5ff5\u306f\u3001\u79d1\u5b66\u8005\u3084\u30a8\u30f3\u30b8\u30cb\u30a2\u304c\u6a5f\u68b0\u3092\u4f7f\u7528\u3057\u3066\u8907\u96d1\u306a\u8a08\u7b97\u3092\u5b9f\u884c\u3057\u3088\u3046\u3068\u3057\u305f\u30b3\u30f3\u30d4\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u521d\u671f\u306b\u9061\u308a\u307e\u3059\u3002\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306b\u3064\u3044\u3066\u6700\u521d\u306b\u8a00\u53ca\u3057\u305f\u306e\u306f\u30011930 \u5e74\u4ee3\u306b Z1 \u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u3092\u958b\u767a\u3057\u305f\u30c9\u30a4\u30c4\u306e\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u3042\u308b Konrad Zuse \u306e\u5148\u99c6\u7684\u306a\u696d\u7e3e\u306b\u8d77\u56e0\u3059\u308b\u3068\u8003\u3048\u3089\u308c\u307e\u3059\u3002 Z1 \u306f\u6d6e\u52d5\u5c0f\u6570\u70b9\u8868\u73fe\u5f62\u5f0f\u3092\u5229\u7528\u3057\u3066 10 \u9032\u6570\u3092\u6271\u3044\u3001\u6570\u5024\u8a08\u7b97\u3092\u5bb9\u6613\u306b\u3057\u307e\u3057\u305f\u3002<\/p>\n<h2>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306e\u8a73\u7d30\u60c5\u5831<\/h2>\n<p>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306f\u3001\u6570\u5024\u306e\u6574\u6570\u90e8\u3068\u5c0f\u6570\u90e8\u306e\u4e21\u65b9\u306b\u56fa\u5b9a\u6841\u6570\u3057\u304b\u8a31\u53ef\u3055\u308c\u306a\u3044\u56fa\u5b9a\u5c0f\u6570\u70b9\u6f14\u7b97\u306e\u5236\u9650\u3092\u62e1\u5f35\u3057\u305f\u3082\u306e\u3067\u3059\u3002\u5bfe\u7167\u7684\u306b\u3001\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u3067\u306f\u3001\u4eee\u6570\u90e8 (\u4eee\u6570\u90e8) \u3068\u6307\u6570\u90e8\u306e\u5f62\u5f0f\u3067\u6570\u5024\u3092\u8868\u73fe\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001\u52d5\u7684\u306a\u8868\u73fe\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002\u4eee\u6570\u90e8\u306f\u5b9f\u969b\u306e\u5024\u3092\u4fdd\u6301\u3057\u3001\u6307\u6570\u90e8\u306f\u5c0f\u6570\u70b9\u306e\u4f4d\u7f6e\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8868\u73fe\u306b\u3088\u308a\u3001\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u3067\u3088\u308a\u5e83\u3044\u7bc4\u56f2\u306e\u5927\u304d\u3055\u3068\u7cbe\u5ea6\u3092\u30ab\u30d0\u30fc\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u975e\u5e38\u306b\u5927\u304d\u306a\u5024\u307e\u305f\u306f\u975e\u5e38\u306b\u5c0f\u3055\u306a\u5024\u3092\u6271\u3046\u5834\u5408\u3001\u7cbe\u5ea6\u3084\u4e38\u3081\u8aa4\u5dee\u306b\u95a2\u9023\u3059\u308b\u56fa\u6709\u306e\u8ab2\u984c\u304c\u4f34\u3044\u307e\u3059\u3002<\/p>\n<h2>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306e\u5185\u90e8\u69cb\u9020: \u4ed5\u7d44\u307f<\/h2>\n<p>IEEE 754 \u6a19\u6e96\u306f\u3001\u73fe\u4ee3\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306e\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306b\u5e83\u304f\u63a1\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u5358\u7cbe\u5ea6 (32 \u30d3\u30c3\u30c8) \u3068\u500d\u7cbe\u5ea6 (64 \u30d3\u30c3\u30c8) \u306e\u5f62\u5f0f\u3001\u304a\u3088\u3073\u52a0\u7b97\u3001\u6e1b\u7b97\u3001\u4e57\u7b97\u3001\u9664\u7b97\u306a\u3069\u306e\u6f14\u7b97\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u306e\u5185\u90e8\u69cb\u9020\u306f\u6b21\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u69cb\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u7b26\u53f7\u30d3\u30c3\u30c8: \u6570\u5024\u306e\u6b63\u307e\u305f\u306f\u8ca0\u306e\u7b26\u53f7\u3092\u6c7a\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<li>\u6307\u6570: \u4eee\u6570\u90e8\u306b\u4e57\u7b97\u3059\u308b 2 \u306e\u7d2f\u4e57\u3092\u8868\u3057\u307e\u3059\u3002<\/li>\n<li>\u4eee\u6570\u90e8: \u4eee\u6570\u3068\u3082\u547c\u3070\u308c\u3001\u6570\u5024\u306e\u5c0f\u6570\u90e8\u5206\u3092\u4fdd\u6301\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u306e 2 \u9032\u8868\u73fe\u306f\u3001(-1)^s * m * 2^e \u306e\u3088\u3046\u306b\u8868\u73fe\u3067\u304d\u307e\u3059\u3002\u3053\u3053\u3067\u3001\u300cs\u300d\u306f\u7b26\u53f7\u30d3\u30c3\u30c8\u3001\u300cm\u300d\u306f\u4eee\u6570\u3001\u300ce\u300d\u306f\u6307\u6570\u3067\u3059\u3002 \u3002<\/p>\n<h2>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306e\u4e3b\u8981\u306a\u6a5f\u80fd\u306e\u5206\u6790<\/h2>\n<p>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306b\u306f\u3001\u3055\u307e\u3056\u307e\u306a\u8a08\u7b97\u30bf\u30b9\u30af\u306b\u4e0d\u53ef\u6b20\u3068\u306a\u308b\u3044\u304f\u3064\u304b\u306e\u91cd\u8981\u306a\u6a5f\u80fd\u304c\u5099\u308f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p>\u7cbe\u5ea6\u3068\u7bc4\u56f2: \u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u306f\u3001\u975e\u5e38\u306b\u5c0f\u3055\u306a\u5024\u304b\u3089\u975e\u5e38\u306b\u5927\u304d\u306a\u5024\u307e\u3067\u3001\u5e45\u5e83\u3044\u5927\u304d\u3055\u3092\u8868\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4e2d\u9593\u5024\u306e\u7cbe\u5ea6\u304c\u9ad8\u3044\u305f\u3081\u3001\u79d1\u5b66\u304a\u3088\u3073\u5de5\u5b66\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u9069\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p>\u79d1\u5b66\u7684\u8868\u8a18\u6cd5: \u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u3067\u79d1\u5b66\u7684\u8868\u8a18\u6cd5\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u5927\u304d\u306a\u6570\u5024\u307e\u305f\u306f\u5c0f\u3055\u306a\u6570\u5024\u3092\u542b\u3080\u8a08\u7b97\u304c\u7c21\u7d20\u5316\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p>\u79fb\u690d\u6027: IEEE 754 \u6a19\u6e96\u306f\u3001\u3055\u307e\u3056\u307e\u306a\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf \u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3\u9593\u3067\u4e00\u8cab\u3057\u305f\u52d5\u4f5c\u3092\u4fdd\u8a3c\u3057\u3001\u6570\u5024\u30c7\u30fc\u30bf\u306e\u79fb\u690d\u6027\u3068\u76f8\u4e92\u904b\u7528\u6027\u3092\u5f37\u5316\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p>\u52b9\u7387\u7684\u306a\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u5b9f\u88c5: \u6700\u65b0\u306e\u30d7\u30ed\u30bb\u30c3\u30b5\u306b\u306f\u3001\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u3092\u9ad8\u901f\u5316\u3057\u3001\u3088\u308a\u9ad8\u901f\u304b\u3064\u52b9\u7387\u7684\u306a\u6f14\u7b97\u3092\u884c\u3046\u305f\u3081\u306e\u7279\u6b8a\u306a\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u304c\u7d44\u307f\u8fbc\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p>\u73fe\u5b9f\u4e16\u754c\u306e\u8868\u73fe: \u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306f\u3001\u4eba\u9593\u304c\u73fe\u5b9f\u4e16\u754c\u306e\u6570\u5024\u3092\u8868\u73fe\u3059\u308b\u65b9\u6cd5\u3068\u5bc6\u63a5\u306b\u4e00\u81f4\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u76f4\u611f\u7684\u306a\u7406\u89e3\u3068\u4f7f\u7528\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306e\u7a2e\u985e<\/h2>\n<p>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306f\u3001\u5404\u6d6e\u52d5\u5c0f\u6570\u70b9\u5024\u3092\u8868\u3059\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u308b\u30d3\u30c3\u30c8\u6570\u306b\u57fa\u3065\u3044\u3066\u3001\u3055\u307e\u3056\u307e\u306a\u7cbe\u5ea6\u306b\u5206\u985e\u3055\u308c\u307e\u3059\u3002\u6700\u3082\u4e00\u822c\u7684\u306a\u30bf\u30a4\u30d7\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30bf\u30a4\u30d7<\/th>\n<th>\u30d3\u30c3\u30c8<\/th>\n<th>\u6307\u6570\u30d3\u30c3\u30c8<\/th>\n<th>\u4eee\u6570\u30d3\u30c3\u30c8<\/th>\n<th>\u7bc4\u56f2<\/th>\n<th>\u7cbe\u5ea6<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30b7\u30f3\u30b0\u30eb<\/td>\n<td>32<\/td>\n<td>8<\/td>\n<td>23<\/td>\n<td>\u00b13.4 x 10^-38 \uff5e \u00b13.4 x 10^38<\/td>\n<td>\u5c0f\u6570\u70b9\u4ee5\u4e0b\u6700\u5927 7 \u6841<\/td>\n<\/tr>\n<tr>\n<td>\u30c0\u30d6\u30eb<\/td>\n<td>64<\/td>\n<td>11<\/td>\n<td>52<\/td>\n<td>\u00b11.7 x 10^-308 \uff5e \u00b11.7 x 10^308<\/td>\n<td>\u5c0f\u6570\u70b9\u4ee5\u4e0b\u6700\u5927 15 \u6841<\/td>\n<\/tr>\n<tr>\n<td>\u62e1\u5f35\u3055\u308c\u305f<\/td>\n<td>\u4e0d\u5b9a<\/td>\n<td>\u4e0d\u5b9a<\/td>\n<td>\u4e0d\u5b9a<\/td>\n<td>\u4e0d\u5b9a<\/td>\n<td>\u4e0d\u5b9a<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306e\u4f7f\u7528\u65b9\u6cd5\u3001\u554f\u984c\u3068\u305d\u306e\u89e3\u6c7a\u7b56<\/h2>\n<p>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u3055\u307e\u3056\u307e\u306a\u5206\u91ce\u3067\u5e83\u304f\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p>\u79d1\u5b66\u30b3\u30f3\u30d4\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0: \u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3001\u30e2\u30c7\u30ea\u30f3\u30b0\u3001\u304a\u3088\u3073\u30c7\u30fc\u30bf\u5206\u6790\u306b\u306f\u5b9f\u6570\u3092\u4f7f\u7528\u3057\u305f\u8a08\u7b97\u304c\u542b\u307e\u308c\u308b\u3053\u3068\u304c\u591a\u304f\u3001\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u304c\u4e0d\u53ef\u6b20\u3067\u3059\u3002<\/p>\n<\/li>\n<li>\n<p>\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0: \u8907\u96d1\u306a\u30a8\u30f3\u30b8\u30cb\u30a2\u30ea\u30f3\u30b0 \u30b7\u30df\u30e5\u30ec\u30fc\u30b7\u30e7\u30f3\u3068\u8a2d\u8a08\u306b\u306f\u3001\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306b\u3088\u3063\u3066\u63d0\u4f9b\u3055\u308c\u308b\u6b63\u78ba\u306a\u6570\u5024\u8868\u73fe\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<\/li>\n<li>\n<p>\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf \u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9: \u30b0\u30e9\u30d5\u30a3\u30c3\u30af\u30b9\u51e6\u7406\u306f\u3001\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3068\u5909\u63db\u306b\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306b\u5927\u304d\u304f\u4f9d\u5b58\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<p>\u305f\u3060\u3057\u3001\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u3092\u6271\u3046\u3068\u3001\u4e38\u3081\u8aa4\u5dee\u3084\u7cbe\u5ea6\u306e\u5236\u9650\u306b\u3088\u308a\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u6b21\u306e\u3088\u3046\u306a\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li>\n<p><strong>\u7cbe\u5ea6\u306e\u4f4e\u4e0b<\/strong>: \u975e\u5e38\u306b\u5927\u304d\u306a\u5024\u307e\u305f\u306f\u975e\u5e38\u306b\u5c0f\u3055\u306a\u5024\u3092\u6271\u3046\u5834\u5408\u3001\u4e00\u90e8\u306e\u8a08\u7b97\u3067\u306f\u7cbe\u5ea6\u304c\u5931\u308f\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u6bd4\u8f03<\/strong>\u6ce8\uff1a\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u3092\u76f4\u63a5\u6bd4\u8f03\u3059\u308b\u3068\u3001\u4e38\u3081\u8aa4\u5dee\u306b\u3088\u308a\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u5c0f\u3055\u306a\u9055\u3044\u3092\u51e6\u7406\u3059\u308b\u306b\u306f\u3001\u30a4\u30d7\u30b7\u30ed\u30f3\u30d9\u30fc\u30b9\u306e\u6bd4\u8f03\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u7d50\u5408\u6027\u3068\u5206\u914d\u6027<\/strong>: \u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306e\u9806\u5e8f\u306f\u3001\u4e38\u3081\u8aa4\u5dee\u306b\u3088\u308a\u6700\u7d42\u7d50\u679c\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u554f\u984c\u3092\u8efd\u6e1b\u3059\u308b\u305f\u3081\u306b\u3001\u958b\u767a\u8005\u306f\u6b21\u306e\u89e3\u6c7a\u7b56\u306b\u5f93\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<ul>\n<li>\n<p><strong>\u6570\u5024\u89e3\u6790\u624b\u6cd5<\/strong>: \u6570\u5024\u89e3\u6790\u624b\u6cd5\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u4e38\u3081\u8aa4\u5dee\u306e\u5f71\u97ff\u3092\u6700\u5c0f\u9650\u306b\u6291\u3048\u3001\u5168\u4f53\u7684\u306a\u7cbe\u5ea6\u3092\u5411\u4e0a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u7cbe\u5ea6\u3092\u610f\u8b58\u3057\u305f\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0<\/strong>: \u7cbe\u5ea6\u8981\u4ef6\u306b\u654f\u611f\u306a\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u5b9f\u88c5\u3059\u308b\u3068\u3001\u6d6e\u52d5\u5c0f\u6570\u70b9\u8a08\u7b97\u306e\u4fe1\u983c\u6027\u3092\u9ad8\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ul>\n<h2>\u4e3b\u306a\u7279\u5fb4\u3068\u985e\u4f3c\u7528\u8a9e\u3068\u306e\u6bd4\u8f03<\/h2>\n<p>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u4ed6\u306e\u6570\u5024\u8868\u73fe\u3068\u3088\u304f\u6bd4\u8f03\u3055\u308c\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u6574\u6570\u6f14\u7b97<\/strong>: \u6d6e\u52d5\u5c0f\u6570\u70b9\u3068\u306f\u7570\u306a\u308a\u3001\u6574\u6570\u6f14\u7b97\u306f\u6574\u6570\u306e\u307f\u3092\u51e6\u7406\u3059\u308b\u305f\u3081\u3001\u305d\u306e\u7bc4\u56f2\u306f\u975e\u5c0f\u6570\u5024\u306b\u5236\u9650\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u56fa\u5b9a\u5c0f\u6570\u70b9\u6f14\u7b97<\/strong>: \u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u3068\u306f\u5bfe\u7167\u7684\u306b\u3001\u56fa\u5b9a\u5c0f\u6570\u70b9\u6f14\u7b97\u306b\u306f\u3059\u3079\u3066\u306e\u5024\u306b\u5bfe\u3057\u3066\u4e00\u5b9a\u6570\u306e\u5c0f\u6570\u30d3\u30c3\u30c8\u3068\u6574\u6570\u30d3\u30c3\u30c8\u304c\u3042\u308a\u3001\u305d\u306e\u7bc4\u56f2\u3068\u7cbe\u5ea6\u304c\u5236\u9650\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>10\u9032\u6570\u306e\u7b97\u8853\u6f14\u7b97<\/strong>: \u4efb\u610f\u7cbe\u5ea6\u6f14\u7b97\u3068\u3057\u3066\u3082\u77e5\u3089\u308c\u308b 10 \u9032\u6570\u6f14\u7b97\u306f\u3001\u4efb\u610f\u306e\u7cbe\u5ea6\u3067 10 \u9032\u6570\u3092\u51e6\u7406\u3067\u304d\u307e\u3059\u304c\u3001\u5927\u898f\u6a21\u306a\u8a08\u7b97\u3067\u306f\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u3088\u308a\u3082\u9045\u304f\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u6709\u7406\u6570\u6f14\u7b97<\/strong>: \u6709\u7406\u6570\u6f14\u7b97\u306f\u3001\u6570\u5024\u3092 2 \u3064\u306e\u6574\u6570\u306e\u5c0f\u6570\u3068\u3057\u3066\u8868\u3057\u3001\u6b63\u78ba\u306a\u5206\u6570\u306b\u3064\u3044\u3066\u306f\u6b63\u78ba\u306a\u7d50\u679c\u3092\u4fdd\u8a3c\u3057\u307e\u3059\u304c\u3001\u7121\u7406\u6570\u306b\u306f\u9069\u3057\u3066\u3044\u306a\u3044\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306b\u95a2\u3059\u308b\u5c06\u6765\u306e\u5c55\u671b\u3068\u6280\u8853<\/h2>\n<p>\u30b3\u30f3\u30d4\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u80fd\u529b\u304c\u9032\u5316\u3057\u7d9a\u3051\u308b\u306b\u3064\u308c\u3066\u3001\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306e\u5c06\u6765\u306e\u5c55\u671b\u306b\u306f\u6b21\u306e\u3082\u306e\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/p>\n<ol>\n<li>\n<p><strong>\u3088\u308a\u9ad8\u3044\u7cbe\u5ea6<\/strong>\uff1a\u3088\u308a\u6b63\u78ba\u306a\u8a08\u7b97\u306b\u5bfe\u3059\u308b\u9700\u8981\u306e\u9ad8\u307e\u308a\u306b\u3088\u308a\u3001\u7cbe\u5ea6\u306e\u62e1\u5f35\u3055\u308c\u305f\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3084\u7279\u6b8a\u306a\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u304c\u5fc5\u8981\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u91cf\u5b50\u30b3\u30f3\u30d4\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0<\/strong>\uff1a\u91cf\u5b50\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306f\u6570\u5024\u8a08\u7b97\u306b\u65b0\u3057\u3044\u6280\u8853\u3092\u5c0e\u5165\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u3001\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u6a5f\u68b0\u5b66\u7fd2<\/strong>: AI \u304a\u3088\u3073\u6a5f\u68b0\u5b66\u7fd2\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u3001\u8907\u96d1\u306a\u30e2\u30c7\u30eb\u3084\u30c7\u30fc\u30bf\u306b\u5bfe\u5fdc\u3059\u308b\u305f\u3081\u306b\u6570\u5024\u8a08\u7b97\u306e\u9032\u6b69\u3092\u4fc3\u9032\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<\/li>\n<\/ol>\n<h2>\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u3092\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3001\u307e\u305f\u306f\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306b\u95a2\u9023\u4ed8\u3051\u308b\u65b9\u6cd5<\/h2>\n<p>\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u4e3b\u306b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u901a\u4fe1\u306e\u4fc3\u9032\u306b\u91cd\u70b9\u3092\u7f6e\u3044\u3066\u3044\u307e\u3059\u304c\u3001\u4ea4\u63db\u3055\u308c\u308b\u30c7\u30fc\u30bf\u306b\u5b9f\u6570\u304c\u542b\u307e\u308c\u308b\u30b7\u30ca\u30ea\u30aa\u3067\u306f\u3001\u9593\u63a5\u7684\u306b\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306b\u95a2\u9023\u4ed8\u3051\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001\u79d1\u5b66\u30c7\u30fc\u30bf\u3001\u8ca1\u52d9\u60c5\u5831\u3001\u307e\u305f\u306f\u30e1\u30c7\u30a3\u30a2 \u30d5\u30a1\u30a4\u30eb\u306e\u8ee2\u9001\u306b\u95a2\u4e0e\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u3001\u3053\u308c\u3089\u306b\u306f\u3059\u3079\u3066\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u304c\u542b\u307e\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u8ee2\u9001\u4e2d\u306b\u3053\u308c\u3089\u306e\u6570\u5024\u306e\u7cbe\u5ea6\u3068\u7cbe\u5ea6\u3092\u78ba\u4fdd\u3059\u308b\u3053\u3068\u306f\u4e0d\u53ef\u6b20\u3067\u3042\u308a\u3001\u30c7\u30fc\u30bf\u306e\u6574\u5408\u6027\u3092\u7dad\u6301\u3059\u308b\u306b\u306f\u6d6e\u52d5\u5c0f\u6570\u70b9\u30c7\u30fc\u30bf\u3092\u9069\u5207\u306b\u51e6\u7406\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<h2>\u95a2\u9023\u30ea\u30f3\u30af<\/h2>\n<p>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97\u306e\u8a73\u7d30\u306b\u3064\u3044\u3066\u306f\u3001\u6b21\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<ul>\n<li><a href=\"https:\/\/standards.ieee.org\/standard\/754-2019.html\" target=\"_new\" rel=\"noopener nofollow\">IEEE 754\u898f\u683c<\/a><\/li>\n<li><a href=\"https:\/\/en.wikipedia.org\/wiki\/Floating-point_arithmetic\" target=\"_new\" rel=\"noopener nofollow\">\u6d6e\u52d5\u5c0f\u6570\u70b9\u6f14\u7b97 (Wikipedia)<\/a><\/li>\n<li><a href=\"https:\/\/docs.oracle.com\/cd\/E19957-01\/806-3568\/ncg_goldberg.html\" target=\"_new\" rel=\"noopener nofollow\">\u6d6e\u52d5\u5c0f\u6570\u70b9\u3092\u4f7f\u7528\u3057\u305f\u6570\u5024\u8a08\u7b97\u30ac\u30a4\u30c9<\/a><\/li>\n<\/ul>","protected":false},"featured_media":468423,"menu_order":0,"template":"","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"class_list":["post-477261","wiki","type-wiki","status-publish","has-post-thumbnail","hentry"],"acf":{"faq_title":"Frequently Asked Questions about <mark>Floating Point Arithmetic: Understanding the Precision of Numbers in Computing<\/mark>","faq_items":[{"question":"What is floating-point arithmetic?","answer":"<p>Floating-point arithmetic is a fundamental concept in computing that deals with the representation and manipulation of real numbers in a binary form. It allows computers to perform mathematical operations on a wide range of values, including those with fractional parts. The representation involves a significand (mantissa) and an exponent, providing a dynamic format to cover a broader range of magnitudes and precision.<\/p>"},{"question":"How did floating-point arithmetic originate?","answer":"<p>The concept of floating-point arithmetic can be traced back to the early days of computing. It was first mentioned in the pioneering work of Konrad Zuse, a German engineer who developed the Z1 computer in the 1930s. The Z1 utilized a form of floating-point representation to handle decimal numbers and facilitate numerical calculations.<\/p>"},{"question":"How does floating-point arithmetic work?","answer":"<p>Floating-point arithmetic uses the IEEE 754 standard, which specifies formats for single and double precision, as well as operations like addition, subtraction, multiplication, and division. The internal structure involves a sign bit, an exponent, and a significand. The binary representation of a floating-point number can be expressed as (-1)^s * m * 2^e, where 's' is the sign bit, 'm' is the significand, and 'e' is the exponent.<\/p>"},{"question":"What are the key features of floating-point arithmetic?","answer":"<p>Floating-point arithmetic offers several key features that make it essential for various computational tasks. It provides precision and a wide range of representable values, allowing for accurate calculations involving large or small numbers. It employs scientific notation, ensuring efficient handling of significant figures. Moreover, the IEEE 754 standard promotes portability and efficient hardware implementation.<\/p>"},{"question":"What types of floating-point arithmetic exist?","answer":"<p>Floating-point arithmetic is categorized into different precisions based on the number of bits used to represent each floating-point value. The most common types include single precision (32-bit), double precision (64-bit), and extended precision with varying bit sizes.<\/p>"},{"question":"How is floating-point arithmetic used, and what are the challenges?","answer":"<p>Floating-point arithmetic finds applications in scientific computing, engineering, and computer graphics. However, it comes with challenges such as loss of precision, difficulties in direct comparisons, and potential associativity and distributivity issues. To mitigate these problems, developers can use numerical analysis techniques and precision-aware algorithms.<\/p>"},{"question":"How does floating-point arithmetic compare with other numerical representations?","answer":"<p>Floating-point arithmetic is often compared with integer arithmetic, fixed-point arithmetic, decimal arithmetic, and rational arithmetic. Each representation has its advantages and limitations, making floating-point arithmetic suitable for a wide range of applications.<\/p>"},{"question":"What are the future perspectives of floating-point arithmetic?","answer":"<p>As computing power advances, future perspectives for floating-point arithmetic involve higher precision formats and potential impact from quantum computing and machine learning applications.<\/p>"},{"question":"How are proxy servers associated with floating-point arithmetic?","answer":"<p>While proxy servers primarily facilitate network communication, they can indirectly be associated with floating-point arithmetic when transferring data involving real numbers. Ensuring the accuracy and precision of floating-point data during transfer is crucial for maintaining data integrity.<\/p>"}]},"_links":{"self":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/477261","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki"}],"about":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/types\/wiki"}],"version-history":[{"count":0,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/477261\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media\/468423"}],"wp:attachment":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media?parent=477261"}],"curies":[{"name":"\u3046\u30fc\u3093","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}