From 0edd696eb77f0159978edc1a6f3e793d395e5bf0 Mon Sep 17 00:00:00 2001 From: krahets Date: Fri, 24 Feb 2023 11:43:41 +0800 Subject: [PATCH] deploy --- .../data_and_memory/index.html | 4 + chapter_graph/graph_traversal/index.html | 2 +- search/search_index.json | 2 +- sitemap.xml | 92 +++++++++--------- sitemap.xml.gz | Bin 610 -> 610 bytes 5 files changed, 52 insertions(+), 48 deletions(-) diff --git a/chapter_data_structure/data_and_memory/index.html b/chapter_data_structure/data_and_memory/index.html index d9dbdc8de..f09e41383 100644 --- a/chapter_data_structure/data_and_memory/index.html +++ b/chapter_data_structure/data_and_memory/index.html @@ -1720,6 +1720,10 @@

其它整数类型 byte, short, long 取值范围的计算方法与 int 类似,在此不再赘述。

浮点数表示方式 *

+
+

Note

+

在本书中,标题后的 * 符号代表选读章节,如果你觉得理解困难,建议先跳过,等学完必读章节后续再单独攻克。

+

细心的你可能会疑惑: int 和 float 长度相同,都是 4 bytes ,但为什么 float 的取值范围远大于 int ?按说 float 需要表示小数,取值范围应该变小才对。

其实,这是因为浮点数 float 采用了不同的表示方式。IEEE 754 标准规定,32-bit 长度的 float 由以下部分构成: