{"id":1575,"date":"2025-03-15T01:30:31","date_gmt":"2025-03-14T17:30:31","guid":{"rendered":"http:\/\/codermr.com\/?p=1575"},"modified":"2025-03-15T16:53:08","modified_gmt":"2025-03-15T08:53:08","slug":"%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/codermr.com\/index.php\/2025\/03\/15\/%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f\/","title":{"rendered":"\u6d6e\u70b9\u6570\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u7cbe\u786e\uff1f"},"content":{"rendered":"\n<p>\u672c\u6587\u4e0d\u662f\u8be6\u7ec6\u6559\u7a0b\u3001\u662f\u6211\u7684\u7b14\u8bb0\uff0c\u6211\u91cd\u65b0\u68b3\u7406\u4e86\u6d6e\u70b9\u6570\u76f8\u5173\u7684\u77e5\u8bc6\uff0c\u6240\u4ee5\u4e0d\u4f1a\u5199\u7684\u7279\u522b\u8be6\u7ec6\u3001\u4e0d\u4f1a\u8be6\u7ec6\u4ecb\u7ecd IEEE754 \u6d6e\u70b9\u6570\u6807\u51c6\u3002<\/p>\n\n\n\n<p>\u672c\u6587\u7528 B\uff08binary\uff09 \u4e0b\u6807\u8868\u793a\u4e8c\u8fdb\u5236\uff0c\u7528 D \uff08decimal\uff09\u8868\u793a 10 \u8fdb\u5236\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u5148\u8bf4\u51e0\u4e2a\u57fa\u7840\u77e5\u8bc6\uff1a<\/strong><\/h2>\n\n\n\n<ul>\n<li><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\"><strong>\u4e8c\u8fdb\u5236\u5c0f\u6570\u6bd4\u5982 0.125B * 2\u76841\u6b21\u65b9 = 1.25B\uff0c1.25B * 2\u7684 -1 \u6b21\u65b9 = 0.125B<br>\u4e5f\u5c31\u662f\u8bf4\uff1a\u4e8c\u8fdb\u5236\u6570\u5b57\uff0c\u4e58\u4ee5 2 \u7684 N \u6b21\u65b9\uff0c\u5219\u5c0f\u6570\u70b9\u5f80\u53f3\u8fb9\u79fb\u52a8 N \u4f4d\uff1b\u4e58\u4ee5 2 \u7684 -N \u6b21\u65b9\uff0c\u5219\u5c0f\u6570\u70b9\u5f80\u5de6\u8fb9\u79fb\u52a8 N \u4f4d\u3002<\/strong><\/mark><\/li>\n\n\n\n<li><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">\u5341\u8fdb\u5236\u5c0f\u6570\u8f6c\u6362\u6210\u7684\u4e8c\u8fdb\u5236\u5c0f\u6570\uff0c\u548c\u6d6e\u70b9\u6570\u5982\u4f55\u5728\u8ba1\u7b97\u673a\u4e2d\u5b58\u50a8\uff0c\u662f\u4e24\u4e2a\u95ee\u9898\uff01\uff01<\/mark><\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u5341\u8fdb\u5236\u7684\u6574\u6570\uff0c\u5728\u8ba1\u7b97\u673a\u4e2d\u662f\u600e\u4e48\u7528\u4e8c\u8fdb\u5236\u5b58\u50a8\u7684\uff1f\u8fd9\u4e2a\u7a0b\u5e8f\u5458\u57fa\u672c\u90fd\u77e5\u9053\uff0c\u5927\u6982\u8fc7\u7a0b\u5c31\u662f\u5c06\u5341\u8fdb\u5236\u8f6c\u6362\u6210\u4e8c\u8fdb\u5236\u7684 0 \u548c 1 \u7136\u540e\u5b58\u50a8\uff0c\u8fd9\u4e2a\u5f88\u5bb9\u6613\u7406\u89e3\u3002<\/p>\n\n\n\n<p>\u4e0d\u597d\u7406\u89e3\u7684\u662f\uff0c\u5341\u8fdb\u5236\u7684\u5c0f\u6570\uff0c\u6bd4\u5982 0.125 \u4ee5\u4ec0\u4e48\u6837\u7684\u4e8c\u8fdb\u5236\u5f62\u5f0f\u5b58\u50a8\u5728\u8ba1\u7b97\u673a\u4e2d\u5462\uff1f<\/p>\n\n\n\n<p>\u518d\u6b21\u63d2\u5165\u4e24\u4e2a\u57fa\u672c\u6982\u5ff5\uff1a\u5b9a\u70b9\u6570\u548c\u6d6e\u70b9\u6570\u3002<\/p>\n\n\n\n<p>\u201c\u5b9a\u70b9\u201d\u5b9a\u7684\u662f\u201c\u5c0f\u6570\u70b9\u201d\uff01\u6240\u4ee5\u5b9a\u70b9\u6570\u4e5f\u53ef\u4ee5\u8868\u793a\u6574\u6570\u548c\u5c0f\u6570\uff0c\u5b9a\u70b9\u6570\u5982\u679c\u8981\u8868\u793a\u6574\u6570\u6216\u5c0f\u6570\uff0c\u5206\u4e3a\u4ee5\u4e0b\u4e09\u79cd\u60c5\u51b5\uff1a<\/p>\n\n\n\n<ul>\n<li>1. \u7eaf\u6574\u6570\uff1a\u4f8b\u5982\u6574\u6570100\uff0c\u5c0f\u6570\u70b9\u5176\u5b9e\u5728\u6700\u540e\u4e00\u4f4d\uff0c\u6240\u4ee5\u5ffd\u7565\u4e0d\u5199<\/li>\n\n\n\n<li>2. \u7eaf\u5c0f\u6570\uff1a\u4f8b\u5982\uff1a0.123\uff0c\u5c0f\u6570\u70b9\u56fa\u5b9a\u5728\u6700\u9ad8\u4f4d<\/li>\n\n\n\n<li>3. \u6574\u6570+\u5c0f\u6570\uff1a\u4f8b\u59821.24\u300110.34\uff0c\u5c0f\u6570\u70b9\u5728\u6307\u5b9a\u67d0\u4e2a\u4f4d\u7f6e<\/li>\n<\/ul>\n\n\n\n<p>\u5bf9\u4e8e\u524d\u4e24\u79cd\u60c5\u51b5\uff0c\u7eaf\u6574\u6570\u548c\u7eaf\u5c0f\u6570\uff0c\u56e0\u4e3a\u5c0f\u6570\u70b9\u56fa\u5b9a\u5728\u6700\u4f4e\u4f4d\u548c\u6700\u9ad8\u4f4d\uff0c\u6240\u4ee5\u5b83\u4eec\u7528\u5b9a\u70b9\u6570\u8868\u793a\u65f6\uff0c\u539f\u7406\u662f\u76f8\u540c\u7684\uff0c\u53ea\u9700\u8981\u628a\u6574\u6570\u90e8\u5206\u3001\u5c0f\u6570\u90e8\u5206\uff0c\u6309\u7167<a href=\"https:\/\/zhida.zhihu.com\/search?content_id=163372161&amp;content_type=Article&amp;match_order=1&amp;q=%E5%8D%81%E8%BF%9B%E5%88%B6&amp;zhida_source=entity\" target=\"_blank\" rel=\"noreferrer noopener\">\u5341\u8fdb\u5236<\/a>\u8f6c\u4e8c\u8fdb\u5236\u7684\u89c4\u5219\uff0c\u5206\u522b\u8f6c\u6362\u5373\u53ef\u3002<\/p>\n\n\n\n<p><strong>\u800c\u5bf9\u4e8e\u6574\u6570 + \u5c0f\u6570\u7684\u60c5\u51b5\uff0c\u7528\u5b9a\u70b9\u8868\u793a\u65f6\uff0c\u9700\u8981\u7ea6\u5b9a\u5c0f\u6570\u70b9\u7684\u4f4d\u7f6e\uff0c\u624d\u80fd\u5728\u8ba1\u7b97\u673a\u4e2d\u8868\u793a\u3002<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u5b9a\u70b9\u6570\u8868\u793a\u6574\u6570+\u5c0f\u6570<\/strong><\/h2>\n\n\n\n<p>\u79cd\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u9700\u8981\u5148\u7ea6\u5b9a\u5c0f\u6570\u70b9\u7684\u4f4d\u7f6e\u3002<\/p>\n\n\n\n<p>\u4f9d\u65e7\u4ee5 1 \u4e2a\u5b57\u8282\uff088 bit\uff09\u4e3a\u4f8b\uff0c\u6211\u4eec\u53ef\u4ee5\u7ea6\u5b9a\u524d 5 \u4f4d\u8868\u793a\u6574\u6570\u90e8\u5206\uff0c\u540e 3 \u4f4d\u8868\u793a\u5c0f\u6570\u90e8\u5206\u3002<\/p>\n\n\n\n<p>\u5bf9\u4e8e\u6570\u5b57 1.5 \u7528\u5b9a\u70b9\u6570\u8868\u793a\u5c31\u662f\u8fd9\u6837\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>1.5(D) = 00001 100(B)<\/code><\/pre>\n\n\n\n<p>\u8fd9\u5c31\u662f\u7528\u5b9a\u70b9\u6570\u8868\u793a\u4e00\u4e2a\u5c0f\u6570\u7684\u65b9\u5f0f\u3002\u8fd9\u91cc\u518d\u603b\u7ed3\u4e00\u4e0b\u8fd9\u4e2a\u8fc7\u7a0b\uff1a<\/p>\n\n\n\n<ul>\n<li>1. \u5728\u6709\u9650\u7684 bit \u5bbd\u5ea6\u4e0b\uff0c\u5148\u7ea6\u5b9a\u5c0f\u6570\u70b9\u7684\u4f4d\u7f6e<\/li>\n\n\n\n<li>2. \u6574\u6570\u90e8\u5206\u548c\u5c0f\u6570\u90e8\u5206\uff0c\u5206\u522b\u8f6c\u6362\u4e3a\u4e8c\u8fdb\u5236\u8868\u793a<\/li>\n\n\n\n<li>3. \u4e24\u90e8\u5206\u4e8c\u8fdb\u5236\u7ec4\u5408\u8d77\u6765\uff0c\u5373\u662f\u7ed3\u679c<\/li>\n<\/ul>\n\n\n\n<p>\u4f46\u662f\u6709\u6ca1\u6709\u53d1\u73b0\u4e00\u4e2a\u95ee\u9898\uff0c\u6211\u4eec\u7ea6\u5b9a\u4e86\u524d 5 \u4f4d\u8868\u793a\u6574\u6570\u90e8\u5206\uff0c\u540e 3 \u4f4d\u8868\u793a\u5c0f\u6570\u90e8\u5206\uff0c\u6b64\u65f6\u8fd9\u4e2a\u6574\u6570\u90e8\u5206\u7684\u4e8c\u8fdb\u5236\u6700\u5927\u503c\u53ea\u80fd\u662f 11111\uff0c\u5373\u5341\u8fdb\u5236\u7684 31\uff0c\u5c0f\u6570\u90e8\u5206\u7684\u4e8c\u8fdb\u5236\u6700\u5927\u53ea\u80fd\u8868\u793a 0.111\uff0c\u5373\u5341\u8fdb\u5236\u7684 0.875\u3002<\/p>\n\n\n\n<p>\u5982\u679c\u6211\u4eec\u60f3\u8981\u8868\u793a\u66f4\u5927\u8303\u56f4\u7684\u503c\uff0c\u600e\u4e48\u529e\uff1f<\/p>\n\n\n\n<ul>\n<li>1.\u6269\u5927 bit \u7684\u5bbd\u5ea6\uff1a\u4f8b\u5982\u4f7f\u7528 2 \u4e2a\u5b57\u8282\u30014 \u4e2a\u5b57\u8282\uff0c\u8fd9\u6837\u6574\u6570\u90e8\u5206\u548c\u5c0f\u6570\u90e8\u5206\u5bbd\u5ea6\u589e\u52a0\uff0c\u8868\u793a\u8303\u56f4\u4e5f\u5c31\u53d8\u5927\u4e86\u3002<\/li>\n\n\n\n<li>2.\u6539\u53d8\u5c0f\u6570\u70b9\u7684\u4f4d\u7f6e\uff1a\u5c0f\u6570\u70b9\u5411\u540e\u79fb\u52a8\uff0c\u6574\u4e2a\u6570\u5b57\u8303\u56f4\u5c31\u4f1a\u6269\u5927\uff0c\u4f46\u662f\u5c0f\u6570\u90e8\u5206\u7684\u7cbe\u5ea6\u5c31\u4f1a\u8d8a\u6765\u8d8a\u4f4e\uff0c\u6ca1\u6709\u529e\u6cd5\u8868\u793a\u7c7b\u4f3c 0.00001 \u8fd9\u79cd\u9ad8\u7cbe\u5ea6\u7684\u503c\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u7531\u6b64\u6211\u4eec\u53d1\u73b0\uff0c\u4e0d\u7ba1\u5982\u4f55\u7ea6\u5b9a\u5c0f\u6570\u70b9\u7684\u4f4d\u7f6e\uff0c\u90fd\u4f1a\u5b58\u5728\u4ee5\u4e0b\u95ee\u9898:<\/p>\n\n\n\n<ul>\n<li><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u6570\u503c\u7684\u8868\u793a\u8303\u56f4\u6709\u9650\uff08\u5c0f\u6570\u70b9\u8d8a\u9760\u5de6\uff0c\u6574\u4e2a\u6570\u503c\u8303\u56f4\u8d8a\u5c0f\uff09<\/mark><\/strong><\/li>\n\n\n\n<li><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u6570\u503c\u7684\u7cbe\u5ea6\u8303\u56f4\u6709\u9650\uff08\u5c0f\u6570\u70b9\u8d8a\u9760\u53f3\uff0c\u6570\u503c\u7cbe\u5ea6\u8d8a\u4f4e\uff09<\/mark><\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u603b\u7684\u6765\u8bf4\uff0c\u5c31\u662f\u7528\u5b9a\u70b9\u6570\u8868\u793a\u7684\u5c0f\u6570\uff0c\u4e0d\u4ec5\u6570\u503c\u7684\u8303\u56f4\u8868\u793a\u6709\u9650\uff0c\u800c\u4e14\u5176\u7cbe\u5ea6\u4e5f\u5f88\u4f4e\u3002\u8981\u60f3\u89e3\u51b3\u8fd9 2 \u4e2a\u95ee\u9898\uff0c\u6240\u4ee5\u4eba\u4eec\u5c31\u63d0\u51fa\u4e86\u4f7f\u7528\u300c\u6d6e\u70b9\u6570\u300d\u7684\u65b9\u5f0f\u8868\u793a\u6570\u5b57\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u6d6e\u70b9\u6570<\/h2>\n\n\n\n<p>\u4f55\u4e3a\u201c\u6d6e\u70b9\u201d\uff1f\u5982\u4e0b\u56fe\uff0c\u540c\u4e00\u4e2a\u6570\uff0c\u5c0f\u6570\u70b9\u4f4d\u7f6e\u4e0d\u540c\uff0c\u4e58\u4ee5 10 \u7684 N \u6b21\u5e42\u7684 N \u503c\u5c31\u4e0d\u540c\u4e86\uff01<\/p>\n\n\n\n<p>8.345 = 8.345 * 10^0<br>8.345 = 83.45 * 10^-1<br>8.345 = 834.5 * 10^-2<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2025\/03\/image-18.png\"><img loading=\"lazy\" decoding=\"async\" width=\"838\" height=\"314\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2025\/03\/image-18.png\" alt=\"\" class=\"wp-image-1590\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2025\/03\/image-18.png 838w, http:\/\/codermr.com\/wp-content\/uploads\/2025\/03\/image-18-300x112.png 300w, http:\/\/codermr.com\/wp-content\/uploads\/2025\/03\/image-18-768x288.png 768w\" sizes=\"(max-width: 838px) 100vw, 838px\" \/><\/a><\/figure>\n\n\n\n<p>\u5982\u4e0a\uff0c<strong>float \u6d6e\u70b9\u6570\uff0c<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u7b2c\u4e00\u4f4d\u662f\u6807\u5fd7\u4f4d<\/mark>\uff08\u8868\u793a\u6b63\u8d1f\uff0c0\u8868\u793a\u6b63\uff0c1\u8868\u793a\u8d1f\uff09\uff0c<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u4e4b\u540e8\u4f4d\u8868\u793a\u201c\u5e42\uff08exponent\uff09\u201d<\/mark>\uff0c<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u518d\u4e4b\u540e23\u4f4d\u8868\u793a\u201c\u5c3e\u6570\uff08mantissa\uff09\u201d<\/mark><\/strong>\uff0c\u8fd9\u4e2a\u201c\u5c3e\u6570\u201d\u662f\u4e0d\u662f\u611f\u89c9\u6709\u70b9\u4e0d\u597d\u7406\u89e3\uff0c\u4f60\u53ef\u4ee5\u7406\u89e3\u4e3a \u201c83.45 * 10^-1\u201d \u4e2d\u7684 83.45 \u3002<\/p>\n\n\n\n<p>\u4e3e\u4f8b\uff1a\u5c06\u5341\u8fdb\u5236\u6570 <strong>25.125<\/strong> \u8f6c\u6362\u4e3a\u6d6e\u70b9\u6570<\/p>\n\n\n\n<p>\u6574\u6570\u90e8\u5206\uff1a25(D) = 11001(B)<br>\u5c0f\u6570\u90e8\u5206\uff1a0.125(D) = 0.001(B)<br>\u7528\u4e8c\u8fdb\u5236\u79d1\u5b66\u8ba1\u6570\u6cd5\u8868\u793a\uff1a25.125(D) = 11001.001(B) = 1.1001001 * 2^4(B)<\/p>\n\n\n\n<p>OK\uff0c\u5230\u8fd9\u91cc\uff0c\u201c\u5c3e\u6570\uff08mantissa\uff09\u201d\u5df2\u7ecf\u786e\u5b9a\u662f 1.1001001 \u4e86\uff0c\u800c\u201c\u5e42\uff08exponent\uff09\u201d\u662f 4 \uff0c\u5728\u4e8c\u8fdb\u5236\u4e2d\u201c\u5e95\u6570\u201d\u9ed8\u8ba4\u662f 2 \u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u8fd9\u91cc\u6709\u51e0\u4e2a\u5730\u65b9\u8981\u6ce8\u610f<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">\u5173\u4e8e\u201c\u5c3e\u6570\uff08mantissa\uff09\u201d\u6ce8\u610f\u4e8b\u9879<\/h3>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u201c\u5c3e\u6570\uff08mantissa\uff09\u201d\u6309\u89c4\u8303\uff0c\u5c0f\u6570\u70b9\u524d\u9762\u53ea\u6709\u4e00\u4f4d\u4e14\u5fc5\u987b\u662f1\uff08\u8fd9\u4e5f\u6ce8\u5b9a\u4e86\u201c\u5c3e\u6570\uff08mantissa\uff09\u201d\u7684\u503c\u8303\u56f4\uff1a 1 &lt;= M &lt; 2 \uff09\uff0c\u6240\u4ee5\u53ef\u4ee5\u7701\u7565\uff0c\u8fd9\u4e00\u4f4d\u53ef\u4ee5\u7701\u7565\u3002<\/mark><\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u5173\u4e8e\u201c\u5e42\uff08exponent\uff09\u201d\u6ce8\u610f\u4e8b\u9879<\/h3>\n\n\n\n<p>\u4e0a\u9762\u8bf4\u4e86\uff0c\u201c\u5e42\uff08exponent\uff09\u201d\u4e00\u51718\u4e2a\u6bd4\u7279\u4f4d\uff0c\u53ef\u8868\u793a\u7684\u503c\u8303\u56f4\u662f 0-255\uff0c\u4f46\u662f\u5462\uff0c\u201c\u5e42\uff08exponent\uff09\u201d\u53ef\u4ee5\u662f\u8d1f\u6570\u554a\uff0c\u4f46\u4e00\u51718\u4e2a\u6bd4\u7279\u4f4d\uff0c\u96be\u9053\u8fd8\u6709\u518d\u62ff\u51fa\u6765\u4e00\u4f4d\u8868\u793a\u6b63\u8d1f\uff1f\u592a\u6d6a\u8d39\u4e86\u5427\uff01<\/p>\n\n\n\n<p>IEEE \u89c4\u8303\u662f\u8fd9\u6837\u5904\u7406\u7684\uff1a\u4e00\u51718\u4e2a\u6bd4\u7279\u4f4d\u7684\u201c\u5e42\uff08exponent\uff09\u201d\u53ef\u8868\u793a\u7684\u8303\u56f4\u662f -127 \u5230 128\uff0c\u4f46\u662f\uff0c\u201c\u5e42\uff08exponent\uff09\u201d\u7684\u5b9e\u9645\u503c\uff0c\u52a0\u4e0a\u4e00\u4e2a\u4e2d\u95f4\u6570 127 \u540e\u7684\u503c\u5f53\u4f5c\u5b58\u5728\u8ba1\u7b97\u673a\u4e2d\u7684\u201c\u5e42\uff08exponent\uff09\u201d\uff0c\u6bd4\u5982 1.1001001 * 2^4(B) \u4e2d\u7684\u201c\u5e42\uff08exponent\uff09\u201d\u662f 4 \u4f46\u662f\u5b58\u7684\u662f\u65f6\u5019\u5b58 127+4=131 \uff0c\u5373\uff1a<strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">10000011<\/mark><\/strong> \u3002<\/p>\n\n\n\n<p>\u6240\u4ee5 25.125(D) = 11001.001(B) = 1.1001001 * 2^4(B) \u5728\u8ba1\u7b97\u673a\u4e2d\u662f\u8fd9\u6837\u5b58\u50a8\u7684\uff1a<\/p>\n\n\n\n<p>\u7136\u540e\u6211\u4eec\u518d\u770b\u770b\uff0c25.125(D) \u5728\u8ba1\u7b97\u673a\u4e2d\u5bf9\u5e94\u7684\u4e8c\u8fdb\u5236\u662f\u600e\u4e48\u5b58\u7684\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"http:\/\/codermr.com\/wp-content\/uploads\/2025\/03\/\u6d6e\u70b9\u65702_\u5206\u6790.png\"><img loading=\"lazy\" decoding=\"async\" width=\"535\" height=\"301\" src=\"http:\/\/codermr.com\/wp-content\/uploads\/2025\/03\/\u6d6e\u70b9\u65702_\u5206\u6790.png\" alt=\"\" class=\"wp-image-1595\" srcset=\"http:\/\/codermr.com\/wp-content\/uploads\/2025\/03\/\u6d6e\u70b9\u65702_\u5206\u6790.png 535w, http:\/\/codermr.com\/wp-content\/uploads\/2025\/03\/\u6d6e\u70b9\u65702_\u5206\u6790-300x169.png 300w\" sizes=\"(max-width: 535px) 100vw, 535px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u6d6e\u70b9\u6570\u4e3a\u4ec0\u4e48\u6709\u7cbe\u5ea6\u635f\u5931\uff1f<\/strong><\/h2>\n\n\n\n<p>\u5176\u5b9e\u6d6e\u70b9\u6570\u4e3a\u4ec0\u4e48\u4f1a\u6709\u7cbe\u5ea6\u635f\u5931\uff0c\u8ddf\u4e0a\u9762\u4ecb\u7ecd\u7684\u6d6e\u70b9\u6570\u7684\u50a8\u5b58\u5f62\u5f0f\uff0c\u6ca1\u6709\u7edd\u5bf9\u7684\u5173\u7cfb\u3002<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u5341\u8fdb\u5236\u5c0f\u6570\uff0c\u65e0\u6cd5\u5168\u90e8\u90fd\u7528\u4e8c\u8fdb\u5236\u5c0f\u6570\u8868\u793a\u3002<\/mark><\/strong><\/p>\n\n\n\n<p>\u8981\u7406\u89e3\u8fd9\u53e5\u8bdd\uff0c\u4f60\u53ef\u4ee5\u62ff\u8d77\u7eb8\u548c\u7b14\u8ba1\u7b97\u4e00\u4e0b\uff0c\u5c06 0.1D \u8f6c\u6362\u6210\u4e8c\u8fdb\u5236\u5c0f\u6570\uff0c\u4f60\u4f1a\u53d1\u73b0\u4f1a\u65e0\u9650\u5faa\u73af\u4e0b\u53bb\u3002\u8fd9\u5c31\u8bf4\u660e\u4e86\u201c\u5341\u8fdb\u5236\u5c0f\u6570\uff0c\u65e0\u6cd5\u5168\u90e8\u90fd\u7528\u4e8c\u8fdb\u5236\u5c0f\u6570\u8868\u793a\u3002\u201d\u3002\u8bf4\u660e\u4e86\uff0c\u5176\u5b9e\u8ddf float\u3001double \u5173\u7cfb\u4e0d\u5927\uff0c\u4e0d\u7ba1\u7528 float \u8fd8\u662f double \u90fd\u6ce8\u5b9a\u4e860.1D \u65e0\u6cd5\u7cbe\u786e\u8f6c\u6362\u6210\u4e8c\u8fdb\u5236\u5c0f\u6570\u3002<\/p>\n\n\n\n<p>\u6211\u518d\u4e3e\u4e2a\u4f8b\u5b50\uff0c\u8fd9\u662f\u6211\u81ea\u5df1\u60f3\u7684\uff0c\u6765\u5e2e\u52a9\u7406\u89e3\u201c\u5341\u8fdb\u5236\u5c0f\u6570\uff0c\u65e0\u6cd5\u5168\u90e8\u90fd\u7528\u4e8c\u8fdb\u5236\u5c0f\u6570\u8868\u793a\u3002\u201d\u8fd9\u53e5\u8bdd\uff0c\u5982\u4e0b\uff1a<\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u5bf9\u4e8e\u6b63\u6574\u6570\uff0c\u4e0d\u7ba1\u51e0\u8fdb\u5236\uff0c\u90fd\u53ef\u4ee5\u5b8c\u5168\u4e00\u5bf9\u4e00\u8f6c\u6362\uff0c\u56e0\u4e3a\u4e0d\u7ba1\u51e0\u8fdb\u5236\uff0c\u589e\u52a0\u6216\u51cf\u5c11\u7684\u5355\u4f4d\u90fd\u662f 1 \u3002<\/mark><\/strong><\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u4f46\u662f\u5c0f\u6570\uff0c\u662f\u201c\u5e73\u5206\u201d\u7684\u8fc7\u7a0b\uff0c\u5341\u8fdb\u5236\u5c0f\u6570\uff0c\u662f\u4ee5 10 \u4e3a\u5355\u4f4d\u53bb\u5e73\u5206\uff0c\u6bd4\u5982 0.1 \u662f\u5c061\u5206\u621010\u4efd\uff0c0.2 \u662f\u5c061\u5206\u621010\u4efd\u540e\u53d6\u5176\u4e2d\u4e24\u4efd\uff0c0.01\u662f\u5c06 1 \u5206\u6210 10*10 \u4efd\u3002\u4e0d\u540c\u8fdb\u5236\u4e4b\u95f4\uff0c\u5e73\u5206\u7684\u5355\u4f4d\u662f\u4e0d\u4e00\u6837\u7684\uff0c\u4e8c\u8fdb\u5236\u5c0f\u6570\uff0c\u662f\u4ee5 2 \u4e3a\u5355\u4f4d\u5e73\u5206\u3002\u8fd9\u5c31\u6ce8\u5b9a\u4e86\uff0c\u4e0d\u540c\u8fdb\u5236\u7684\u5c0f\u6570\uff0c\u65e0\u6cd5\u4e00\u4e00\u5bf9\u5e94\u3002<\/mark><\/strong><\/p>\n\n\n\n<p><strong>\u51e0\u4e4e\u6bcf\u7bc7\u4ecb\u7ecd\u6d6e\u70b9\u7c7b\u578b float \u7684\u65f6\u5019\u90fd\u4f1a\u8bf4\uff1a<\/strong><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><\/p>\n<cite>\u6d6e\u70b9\u6570\u00a0<code>float<\/code>\u00a0\u7684\u7cbe\u5ea6\u901a\u5e38\u88ab\u8ba4\u4e3a\u662f\u00a0<strong>6\u52307\u4f4d\u6709\u6548\u6570\u5b57<\/strong>\u3002<\/cite><\/blockquote>\n\n\n\n<p>\u90a3\u4e48\uff0c\u6d6e\u70b9\u6570 float \u7684\u7cbe\u5ea6\u901a\u5e38\u88ab\u8ba4\u4e3a\u662f6\u52307\u4f4d\u6709\u6548\u6570\u5b57\uff0c\u201c6\u52307\u4f4d\u6709\u6548\u6570\u201d\u5177\u4f53\u662f\u4ec0\u4e48\u610f\u601d\uff1f\u600e\u4e48\u7406\u89e3\u5462\uff1f<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1.&nbsp;<strong>\u4ec0\u4e48\u662f\u6709\u6548\u6570\u5b57\uff1f<\/strong><\/h3>\n\n\n\n<p>\u6709\u6548\u6570\u5b57\u662f\u6307\u4e00\u4e2a\u6570\u5b57\u4e2d\u4ece\u7b2c\u4e00\u4e2a\u975e\u96f6\u6570\u5b57\u5f00\u59cb\uff0c\u5230\u6700\u540e\u4e00\u4f4d\u6570\u5b57\u4e3a\u6b62\u7684\u6240\u6709\u6570\u5b57\u3002\u4f8b\u5982\uff1a<\/p>\n\n\n\n<ul>\n<li><code>123.456<\/code>\u00a0\u6709 6 \u4f4d\u6709\u6548\u6570\u5b57\u3002<\/li>\n\n\n\n<li><code>0.00123<\/code>\u00a0\u6709 3 \u4f4d\u6709\u6548\u6570\u5b57\uff08\u524d\u5bfc\u96f6\u4e0d\u7b97\uff09\u3002<strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u3010\u770b\u8fc7\u524d\u9762\u5bf9\u6d6e\u70b9\u6570\u5b58\u50a8\u7684\u8868\u8ff0\uff0c\u4f60\u5e94\u8be5\u80fd\u660e\u767d\u4e3a\u4ec0\u4e48\u524d\u5bfc0\u90fd\u4e0d\u7b97\u4e86\uff0c\u56e0\u4e3a\u5c3e\u6570\u7684\u9996\u4f4d\u9ed8\u8ba4\u90fd\u662f1\u3011<\/mark><\/strong><\/li>\n\n\n\n<li><code>1.2300<\/code>\u00a0\u6709 5 \u4f4d\u6709\u6548\u6570\u5b57\uff08\u672b\u5c3e\u7684\u96f6\u4e5f\u7b97\uff09\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">2.\u00a0<strong>\u4e3a\u4ec0\u4e48\u662f6\u52307\u4f4d\u6709\u6548\u6570\u5b57\uff1f<\/strong><\/h3>\n\n\n\n<ul>\n<li><strong>23 \u4f4d\u5c3e\u6570<\/strong>\u00a0\u53ef\u4ee5\u8868\u793a\u7684\u6700\u5927\u4e8c\u8fdb\u5236\u7cbe\u5ea6\u662f\u00a02\u768423\u6b21\u65b9 = 8,388,608223 = 8,388,608\uff0c\u8fd9\u5927\u7ea6\u76f8\u5f53\u4e8e\u00a0<strong>7 \u4f4d\u5341\u8fdb\u5236\u6570\u5b57<\/strong>\u3002\u3010<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u7ed3\u5408\u4e0b\u9762\u4f8b\u5b50\u7406\u89e3\uff0c\u6211\u8fd9\u91cc\u7b80\u5355\u8bf4\u4e0b\uff0c<strong>\u8fd9\u91cc\u7684\u201c\u7cbe\u5ea6\u201d\u6307\u7684\u662f\u201c\u5c3e\u6570\u201d\uff0cfloat\u4e2d\u5c3e\u6570\u536023\u4e2a\u6bd4\u7279\u4f4d\uff0c\u53ef\u4ee5\u8868\u793a6\u52307\u4f4d\u5341\u8fdb\u5236\u6570\u5b57\u3002<\/strong><\/mark>\u3011<\/li>\n\n\n\n<li>\u4f46\u7531\u4e8e\u6d6e\u70b9\u6570\u7684\u5b58\u50a8\u65b9\u5f0f\u548c\u820d\u5165\u8bef\u5dee\uff0c\u5b9e\u9645\u7cbe\u5ea6\u53ef\u80fd\u4f1a\u7a0d\u5fae\u964d\u4f4e\uff0c\u56e0\u6b64\u901a\u5e38\u8ba4\u4e3a\u00a0<code>float<\/code>\u00a0\u7684\u7cbe\u5ea6\u662f\u00a0<strong>6\u52307\u4f4d\u6709\u6548\u6570\u5b57<\/strong>\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u518d\u7ed3\u5408\u4e0b\u9762\u4f8b\u5b50\u7406\u89e3\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>float a = 123.456f; \/\/ 6\u4f4d\u6709\u6548\u6570\u5b57\nSystem.out.println(a); \/\/ \u8f93\u51fa 123.456<\/code><\/pre>\n\n\n\n<p>\u4e0a\u9762\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>123.456<\/code>\u00a0\u662f 6 \u4f4d\u6709\u6548\u6570\u5b57\uff0c<code>float<\/code>\u00a0\u53ef\u4ee5\u51c6\u786e\u8868\u793a\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>float b = 123.456789f; \/\/ 9\u4f4d\u6709\u6548\u6570\u5b57\nSystem.out.println(b); \/\/ \u8f93\u51fa 123.45679<\/code><\/pre>\n\n\n\n<p>\u4e0a\u9762\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c<code>123.456789<\/code>\u00a0\u662f 9 \u4f4d\u6709\u6548\u6570\u5b57\uff0c<code>float<\/code>\u00a0\u65e0\u6cd5\u51c6\u786e\u8868\u793a\uff0c\u6700\u540e\u51e0\u4f4d\u4f1a\u88ab\u820d\u5165\uff0c\u8f93\u51fa\u7ed3\u679c\u4e3a\u00a0<code>123.45679<\/code>\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>float c = 1234567f; \/\/ 7\u4f4d\u6709\u6548\u6570\u5b57\nSystem.out.println(c); \/\/ \u8f93\u51fa 1234567.0\n\nfloat d = 0.000001234567f; \/\/ 7\u4f4d\u6709\u6548\u6570\u5b57\nSystem.out.println(d); \/\/ \u8f93\u51fa 1.234567E-6<\/code><\/pre>\n\n\n\n<p>\u65e0\u8bba\u662f\u5927\u6570\u8fd8\u662f\u5c0f\u6570\uff0c<code>float<\/code>\u00a0\u7684\u7cbe\u5ea6\u90fd\u9650\u5236\u5728 6\u52307\u4f4d\u6709\u6548\u6570\u5b57\u3002<\/p>\n\n\n\n<p>OK\uff0c\u672c\u6587\u7ed3\u675f\uff0c<strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u91cd\u70b9\u662f\u8981\u7406\u89e3\uff0cfloat \u7684\u7cbe\u5ea6\/\u6709\u6548\u5c3e\u6570\u662f 6\u52307 \u4f4d\uff0c\u6307\u7684\u662f\u201c\u5c3e\u6570\u201d\u7684\u7cbe\u786e\u5ea6\uff01\uff01\uff01<\/mark><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u4e0d\u662f\u8be6\u7ec6\u6559\u7a0b\u3001\u662f\u6211\u7684\u7b14\u8bb0\uff0c\u6211\u91cd\u65b0\u68b3\u7406\u4e86\u6d6e\u70b9\u6570\u76f8\u5173\u7684\u77e5\u8bc6\uff0c\u6240\u4ee5\u4e0d\u4f1a\u5199\u7684\u7279\u522b\u8be6\u7ec6\u3001\u4e0d\u4f1a\u8be6\u7ec6\u4ecb\u7ecd IEEE754&#8230;<\/p>\n","protected":false},"author":1,"featured_media":1577,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u6d6e\u70b9\u6570\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u7cbe\u786e\uff1f - \u7801\u5148\u751f\u7684\u535a\u5ba2<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/codermr.com\/index.php\/2025\/03\/15\/\u5173\u4e8e\u6d6e\u70b9\u6570\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u7cbe\u786e\uff1f\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u6d6e\u70b9\u6570\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u7cbe\u786e\uff1f - \u7801\u5148\u751f\u7684\u535a\u5ba2\" \/>\n<meta property=\"og:description\" content=\"\u672c\u6587\u4e0d\u662f\u8be6\u7ec6\u6559\u7a0b\u3001\u662f\u6211\u7684\u7b14\u8bb0\uff0c\u6211\u91cd\u65b0\u68b3\u7406\u4e86\u6d6e\u70b9\u6570\u76f8\u5173\u7684\u77e5\u8bc6\uff0c\u6240\u4ee5\u4e0d\u4f1a\u5199\u7684\u7279\u522b\u8be6\u7ec6\u3001\u4e0d\u4f1a\u8be6\u7ec6\u4ecb\u7ecd IEEE754...\" \/>\n<meta property=\"og:url\" content=\"http:\/\/codermr.com\/index.php\/2025\/03\/15\/\u5173\u4e8e\u6d6e\u70b9\u6570\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u7cbe\u786e\uff1f\/\" \/>\n<meta property=\"og:site_name\" content=\"\u7801\u5148\u751f\u7684\u535a\u5ba2\" \/>\n<meta property=\"article:published_time\" content=\"2025-03-14T17:30:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-15T08:53:08+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/codermr.com\/wp-content\/uploads\/2025\/03\/\u6d6e\u70b9\u657000.png\" \/>\n\t<meta property=\"og:image:width\" content=\"922\" \/>\n\t<meta property=\"og:image:height\" content=\"825\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"\u7801\u5148\u751f\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/mrcode2021\" \/>\n<meta name=\"twitter:site\" content=\"@mrcode2021\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u7801\u5148\u751f\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/03\/15\/%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/03\/15\/%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f\/\"},\"author\":{\"name\":\"\u7801\u5148\u751f\",\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"headline\":\"\u6d6e\u70b9\u6570\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u7cbe\u786e\uff1f\",\"datePublished\":\"2025-03-14T17:30:31+00:00\",\"dateModified\":\"2025-03-15T08:53:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/03\/15\/%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f\/\"},\"wordCount\":68,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"articleSection\":[\"JAVA\"],\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/codermr.com\/index.php\/2025\/03\/15\/%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/03\/15\/%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f\/\",\"url\":\"http:\/\/codermr.com\/index.php\/2025\/03\/15\/%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f\/\",\"name\":\"\u6d6e\u70b9\u6570\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u7cbe\u786e\uff1f - \u7801\u5148\u751f\u7684\u535a\u5ba2\",\"isPartOf\":{\"@id\":\"http:\/\/codermr.com\/#website\"},\"datePublished\":\"2025-03-14T17:30:31+00:00\",\"dateModified\":\"2025-03-15T08:53:08+00:00\",\"breadcrumb\":{\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/03\/15\/%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/codermr.com\/index.php\/2025\/03\/15\/%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/codermr.com\/index.php\/2025\/03\/15\/%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"http:\/\/codermr.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u6d6e\u70b9\u6570\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u7cbe\u786e\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/codermr.com\/#website\",\"url\":\"http:\/\/codermr.com\/\",\"name\":\"\u7801\u5148\u751f\u7684\u535a\u5ba2\",\"description\":\"\u6b22 \u8fce \u4e0b \u8f7d \u6211 \u5f00 \u53d1 \u7684 \u5404 \u7aef \u8f6f \u4ef6 \u548c APP\",\"publisher\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/codermr.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf\",\"name\":\"\u7801\u5148\u751f\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg\",\"contentUrl\":\"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg\",\"width\":400,\"height\":400,\"caption\":\"\u7801\u5148\u751f\"},\"logo\":{\"@id\":\"http:\/\/codermr.com\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/codermr.com\",\"https:\/\/twitter.com\/https:\/\/twitter.com\/mrcode2021\"],\"url\":\"http:\/\/codermr.com\/index.php\/author\/coderma\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u6d6e\u70b9\u6570\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u7cbe\u786e\uff1f - \u7801\u5148\u751f\u7684\u535a\u5ba2","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/codermr.com\/index.php\/2025\/03\/15\/\u5173\u4e8e\u6d6e\u70b9\u6570\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u7cbe\u786e\uff1f\/","og_locale":"zh_CN","og_type":"article","og_title":"\u6d6e\u70b9\u6570\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u7cbe\u786e\uff1f - \u7801\u5148\u751f\u7684\u535a\u5ba2","og_description":"\u672c\u6587\u4e0d\u662f\u8be6\u7ec6\u6559\u7a0b\u3001\u662f\u6211\u7684\u7b14\u8bb0\uff0c\u6211\u91cd\u65b0\u68b3\u7406\u4e86\u6d6e\u70b9\u6570\u76f8\u5173\u7684\u77e5\u8bc6\uff0c\u6240\u4ee5\u4e0d\u4f1a\u5199\u7684\u7279\u522b\u8be6\u7ec6\u3001\u4e0d\u4f1a\u8be6\u7ec6\u4ecb\u7ecd IEEE754...","og_url":"http:\/\/codermr.com\/index.php\/2025\/03\/15\/\u5173\u4e8e\u6d6e\u70b9\u6570\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u7cbe\u786e\uff1f\/","og_site_name":"\u7801\u5148\u751f\u7684\u535a\u5ba2","article_published_time":"2025-03-14T17:30:31+00:00","article_modified_time":"2025-03-15T08:53:08+00:00","og_image":[{"width":922,"height":825,"url":"http:\/\/codermr.com\/wp-content\/uploads\/2025\/03\/\u6d6e\u70b9\u657000.png","type":"image\/png"}],"author":"\u7801\u5148\u751f","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/mrcode2021","twitter_site":"@mrcode2021","twitter_misc":{"\u4f5c\u8005":"\u7801\u5148\u751f","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"3 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/codermr.com\/index.php\/2025\/03\/15\/%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f\/#article","isPartOf":{"@id":"http:\/\/codermr.com\/index.php\/2025\/03\/15\/%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f\/"},"author":{"name":"\u7801\u5148\u751f","@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"headline":"\u6d6e\u70b9\u6570\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u7cbe\u786e\uff1f","datePublished":"2025-03-14T17:30:31+00:00","dateModified":"2025-03-15T08:53:08+00:00","mainEntityOfPage":{"@id":"http:\/\/codermr.com\/index.php\/2025\/03\/15\/%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f\/"},"wordCount":68,"commentCount":0,"publisher":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"articleSection":["JAVA"],"inLanguage":"zh-Hans","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/codermr.com\/index.php\/2025\/03\/15\/%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/codermr.com\/index.php\/2025\/03\/15\/%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f\/","url":"http:\/\/codermr.com\/index.php\/2025\/03\/15\/%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f\/","name":"\u6d6e\u70b9\u6570\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u7cbe\u786e\uff1f - \u7801\u5148\u751f\u7684\u535a\u5ba2","isPartOf":{"@id":"http:\/\/codermr.com\/#website"},"datePublished":"2025-03-14T17:30:31+00:00","dateModified":"2025-03-15T08:53:08+00:00","breadcrumb":{"@id":"http:\/\/codermr.com\/index.php\/2025\/03\/15\/%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["http:\/\/codermr.com\/index.php\/2025\/03\/15\/%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f\/"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/codermr.com\/index.php\/2025\/03\/15\/%e5%85%b3%e4%ba%8e%e6%b5%ae%e7%82%b9%e6%95%b0%ef%bc%8c%e4%b8%ba%e4%bb%80%e4%b9%88%e4%b8%8d%e7%b2%be%e7%a1%ae%ef%bc%9f\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"http:\/\/codermr.com\/"},{"@type":"ListItem","position":2,"name":"\u6d6e\u70b9\u6570\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u7cbe\u786e\uff1f"}]},{"@type":"WebSite","@id":"http:\/\/codermr.com\/#website","url":"http:\/\/codermr.com\/","name":"\u7801\u5148\u751f\u7684\u535a\u5ba2","description":"\u6b22 \u8fce \u4e0b \u8f7d \u6211 \u5f00 \u53d1 \u7684 \u5404 \u7aef \u8f6f \u4ef6 \u548c APP","publisher":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/codermr.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":["Person","Organization"],"@id":"http:\/\/codermr.com\/#\/schema\/person\/39016e15c79e4f02d1ed3a64688619bf","name":"\u7801\u5148\u751f","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"http:\/\/codermr.com\/#\/schema\/person\/image\/","url":"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg","contentUrl":"http:\/\/codermr.com\/wp-content\/uploads\/2023\/02\/wukong.jpg","width":400,"height":400,"caption":"\u7801\u5148\u751f"},"logo":{"@id":"http:\/\/codermr.com\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/codermr.com","https:\/\/twitter.com\/https:\/\/twitter.com\/mrcode2021"],"url":"http:\/\/codermr.com\/index.php\/author\/coderma\/"}]}},"_links":{"self":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1575"}],"collection":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/comments?post=1575"}],"version-history":[{"count":14,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1575\/revisions"}],"predecessor-version":[{"id":1603,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/posts\/1575\/revisions\/1603"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/media\/1577"}],"wp:attachment":[{"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/media?parent=1575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/categories?post=1575"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/codermr.com\/index.php\/wp-json\/wp\/v2\/tags?post=1575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}