<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://www.33dai.wiki/index.php?action=history&amp;feed=atom&amp;title=01-%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95%2F06-%E6%95%B4%E6%95%B0%E7%BC%96%E7%A0%81</id>
	<title>01-基础语法/06-整数编码 - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://www.33dai.wiki/index.php?action=history&amp;feed=atom&amp;title=01-%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95%2F06-%E6%95%B4%E6%95%B0%E7%BC%96%E7%A0%81"/>
	<link rel="alternate" type="text/html" href="https://www.33dai.wiki/index.php?title=01-%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95/06-%E6%95%B4%E6%95%B0%E7%BC%96%E7%A0%81&amp;action=history"/>
	<updated>2026-05-20T23:08:55Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://www.33dai.wiki/index.php?title=01-%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95/06-%E6%95%B4%E6%95%B0%E7%BC%96%E7%A0%81&amp;diff=299&amp;oldid=prev</id>
		<title>33DAI：​导入1个版本</title>
		<link rel="alternate" type="text/html" href="https://www.33dai.wiki/index.php?title=01-%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95/06-%E6%95%B4%E6%95%B0%E7%BC%96%E7%A0%81&amp;diff=299&amp;oldid=prev"/>
		<updated>2026-05-20T18:12:08Z</updated>

		<summary type="html">&lt;p&gt;导入1个版本&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2026年5月20日 (三) 18:12的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;zh-Hans-CN&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（没有差异）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>33DAI</name></author>
	</entry>
	<entry>
		<id>https://www.33dai.wiki/index.php?title=01-%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95/06-%E6%95%B4%E6%95%B0%E7%BC%96%E7%A0%81&amp;diff=298&amp;oldid=prev</id>
		<title>-&gt;Importer：​批量导入三三文档</title>
		<link rel="alternate" type="text/html" href="https://www.33dai.wiki/index.php?title=01-%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95/06-%E6%95%B4%E6%95%B0%E7%BC%96%E7%A0%81&amp;diff=298&amp;oldid=prev"/>
		<updated>2026-05-20T16:50:33Z</updated>

		<summary type="html">&lt;p&gt;批量导入三三文档&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2026年5月20日 (三) 16:50的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;zh-Hans-CN&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（没有差异）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>-&gt;Importer</name></author>
	</entry>
	<entry>
		<id>https://www.33dai.wiki/index.php?title=01-%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95/06-%E6%95%B4%E6%95%B0%E7%BC%96%E7%A0%81&amp;diff=199&amp;oldid=prev</id>
		<title>33DAI：​导入1个版本</title>
		<link rel="alternate" type="text/html" href="https://www.33dai.wiki/index.php?title=01-%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95/06-%E6%95%B4%E6%95%B0%E7%BC%96%E7%A0%81&amp;diff=199&amp;oldid=prev"/>
		<updated>2026-05-20T16:25:03Z</updated>

		<summary type="html">&lt;p&gt;导入1个版本&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;zh-Hans-CN&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;←上一版本&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2026年5月20日 (三) 16:25的版本&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;zh-Hans-CN&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;（没有差异）&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>33DAI</name></author>
	</entry>
	<entry>
		<id>https://www.33dai.wiki/index.php?title=01-%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95/06-%E6%95%B4%E6%95%B0%E7%BC%96%E7%A0%81&amp;diff=198&amp;oldid=prev</id>
		<title>-&gt;Importer：​批量导入三三文档</title>
		<link rel="alternate" type="text/html" href="https://www.33dai.wiki/index.php?title=01-%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95/06-%E6%95%B4%E6%95%B0%E7%BC%96%E7%A0%81&amp;diff=198&amp;oldid=prev"/>
		<updated>2026-05-20T16:22:29Z</updated>

		<summary type="html">&lt;p&gt;批量导入三三文档&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== 整数编码 ==&lt;br /&gt;
&lt;br /&gt;
=== 基础二进制 ===&lt;br /&gt;
&lt;br /&gt;
- 二进制即要求满二进一，因此每一位为 &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; 或 &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt;&lt;br /&gt;
- 二进制从最低位到最高位，数位的权值分别为：&amp;lt;math&amp;gt;2^0,2^1,2^2,2^3,\dots&amp;lt;/math&amp;gt;&lt;br /&gt;
- 即 &amp;lt;math&amp;gt;1,2,4,8,16,32,64,128,\dots&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;(101101)_2&amp;lt;/math&amp;gt; 转换成十进制结果如下：&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
原始数位： 1  0  1  1  0  1&lt;br /&gt;
对应权值：32 16  8  4  2  1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;32+8+4+1=45&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== 原码、反码、补码 ===&lt;br /&gt;
&lt;br /&gt;
- 原码&lt;br /&gt;
  - 最高位为符号位，正数为 &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt;，负数为 &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt;。&lt;br /&gt;
  - 剩下位置为原数绝对值的二进制。&lt;br /&gt;
- 反码&lt;br /&gt;
  - 正数反码与原码一致。&lt;br /&gt;
  - 负数反码除最高位之外，在原码基础上取反。&lt;br /&gt;
- 补码&lt;br /&gt;
  - 正数补码与原码一致。&lt;br /&gt;
  - 负数补码在反码基础上加 &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt;。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:基础语法]]&lt;br /&gt;
[[Category:三三文档]]&lt;/div&gt;</summary>
		<author><name>-&gt;Importer</name></author>
	</entry>
</feed>