有 符號 數 處理 :修 订间差 异
删除的 内容 添加 的 内容
( | |||
{{NoteTA
|G1 = IT
}}
==
<!-- This section is linked from [[IEEE 754]] -->
{|class="wikitable" style="float:right; width: 20em; margin-left: 1em; text-align:center"
|-
!
!
!无符
|-
| 00000000 ||
|-
| 00000001 ||
|-
|
|-
| 01111111 || 127
|-
| 10000000 || −0
|-
| 10000001 || −1
|-
|
|-
| 11111111 || −127 || 255
|-
|}
{{Main|
这种
{{Clear}}
==
{{Main|
{|class="wikitable" style="float:right; width: 20em; margin-left: 1em; text-align:center"
|+ 8
!无符
|-
| 00000000 ||
|-
| 00000001 ||
|-
|
|-
| 01111101 ||
|-
| 01111110 ||
|-
| 01111111 ||
|-
| 10000000 || −127 || 128
| 10000010 || −125 || 130
|-
|
|-
| 11111110 ||
|-
| 11111111 ||
|}
另一
对两个反码
-{}-
11111110 -1
+ 00000010 +2
............ ...
1 00000000 0 <-- 错误
1 +1 <--
............ ...
00000001 1 <--
关于[[
[[Internet]]协议[[IPv4]],[[互联网控
|url= http://tools.ietf.org/html/rfc1071
|title= Computing the Internet Checksum (RFC 1071)
|publisher= The Internet Engineering Task Force
|year= 1988
|archive-date= 2020-10-21
|archive-url= https://web.archive.org/web/20201021062735/https://tools.ietf.org/html/rfc1071
|dead-url= no
}}</ref>
|url= http://tools.ietf.org/html/rfc768
|title= User Datagram Protocol (RFC 768)
|accessdate= 2009-06-11
|first= J.
|year= 1980
|publisher= The Internet Engineering Task Force
|archive-date= 2012-07-22
|archive-url= https://archive.today/20120722/http://tools.ietf.org/html/rfc768
|dead-url= no
}}</ref> (
==补码==
!无符
|-
| 00000000 ||
|-
| 00000001 ||
|-
|
|-
| 01111110 ||
|-
| 01111111 ||
|-
| 10000000 || −128 || 128
| 10000010 || −126 || 130
|-
|
|-
| 11111110 ||
|-
| 11111111 ||
|}
{{
'''补码'''({{lang|en|two's complement}})
{|class="wikitable"
!
|align="center"| '''1010'''100
|}
{{Clear}}
==
{{Main|
标准
==
*
*
*
*
{| class="wikitable sortable"
|-
!
|-
| 0000 || 0 || 0 || 0 || 0
|-
| 0001 || 1 || 1 || 1 || 1
|-
| 0010 || 2 || 2 || 2 || 2
|-
| 0011 || 3 || 3 || 3 || 3
|-
| 0100 || 4 || 4 || 4 || 4
|-
| 0101 || 5 || 5 || 5 || 5
|-
| 0110 || 6 || 6 || 6 || 6
|-
| 0111 || 7 || 7 || 7 || 7
|-
| 1000 || 8 || -0 || -7 || -8
|-
| 1001 || 9 || -1 || -6 || -7
|-
| 1010 || 10 || -2 || -5 || -6
|-
| 1011 || 11 || -3 || -4 || -5
|-
| 1100 || 12 || -4 || -3 || -4
|-
| 1101 || 13 || -5 || -2 || -3
|-
| 1110 || 14 || -6 || -1 || -2
|-
| 1111 || 15 || -7 || -0 || -1
|}
==
* [[
* [[
* [[
==
{{reflist}}
{{DEFAULTSORT:Y}}
[[Category:
|