1s complement of the sum是啥意思?

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/29 18:16:49

1s complement of the sum是啥意思?
1s complement of the sum是啥意思?

1s complement of the sum是啥意思?
1的补码(相加和补取)
猜测是计算机相关语言.请参考这两段文字:
It is the 1’s complement of the 1’s complement sum of all the 16-bit words in the TCP header and data
这是关于TCP头部校验和字段(checksum field)的说明.句中的complement意思为“补码”.对于学习计算机科学的人来说,补码不算什么新鲜,现在新鲜的是这篇英语文章出现的是“1’s complement” ,翻译出来应该是“1的补码”,对于这个笔者以前也没有碰到过,到网上查吧!网上查询的结果,“1’s complement”关键字出现的不少,但都是英文关键字,没有对应的中文翻译与解释,所以先看英语的,最后自己做解释吧.
补码:补码是计算机中二进制数表达负数的办法,这样可以在计算机中把两个数的减法变成加法.补码形式有1的补码和2的补码,其中1的补码用在IP、TCP的校验和中;平时学生在计算机科学中学习的补码是2的补码(即正数的补码和原码相同,负数补码按原码相应的正数按位取反再加1).
只是平时中文教材及中文翻译的书中,对此并不多加解释,一律翻译作补码.比如《Computer Network》(Andrew S.Tanenbaum )在中国的翻译版《计算机网络》(清华大学出版社)对于TCP头部的校验和是这样翻译的:
(原文)The checksum algorithm is simply to add up all the 16-bit words in one's complement and then to take the one's complement of the sum.
(译文)校验和的算法是简单地将所有16位字以补码形式相加,然后再对相加和取补.
仔细对比一下本文最上部笔者所碰到的句子,和刚才这个句子意思是一样的.这个没有注明是1的补码,翻译时只是以“补码”说明,也许译者并不想在这里多费口舌,因为说明1的补码实在是一个比较麻烦的事情,笔者在这里翻译时还是把“1的补码”给翻译出来了,以让大家注意这个1的补码并不是平常学的那个2的补码.
笔者只是在此讨论翻译,不是在讨论补码.1的补码较复杂,如果有兴趣,可以上网查找 RFC1071 ,这是TCP校验和权威的官方说明.
求翻译:the 2-complement of the modulus (256) sum of all characters是什么意思?
模数(256)的所有字符的总和的2补
of the sum
【数】和[the S][(+of)]
complement
【数】余; 补; 补数; 补集

1s complement of the sum是啥意思? 帮我翻译:A complement means that part of the sentence complement the subject. these land transports are the complement of ships.3911 two's complement是什么意思 英语翻译Checksum is the 16-bit one's complement of the one's complement sum of a pseudo header of information from the IP header,the UDP header,and the data,padded with zero octets at the end (if necessary) to make a multiple of two octets.我自 nine's complement representation是什么意思 什么是二补数(2s-complement)? 英语翻译Combine the words and expressions into a complete sentence modeied after S+V.+Object+Complement.Example:on the shore,the man,swept up,of an island,found himself→ The man found himself swept up on the shore of an island.(1)examined him 求翻译:The origin of the complement system,one of the major systems of mammalian innate immunity, 英语翻译Two times the measure of the supplement of an angle is five times the measure of the complement of the angle.Find the measure of the angle. 2s-Complement Numbers什么意思 英语翻译ONE peculiarity of textile design in the 1980s was that,despite the boom in design of domestic products on the one hand and of the interior decoration market on the other,these two areas,which one would have expected to complement one ano 计算机术语one's complement、two's complement的中文翻译分别是什么? 二进制问题(英语)100分Give the binary and decimal representations of the number which has two representations in 2's complement form.(in 8 bits)Give the binary and decimal representations of the number which has two representations in sign 英语翻译object of the preposition/ prepositional objectssubject complement object complement这几个 要开始从头学英语了,唉...好难 后悔当初没好好学啊.还有 这个 possessive pronouns是所有代名词么?具体是意思啊 Which one of the following statements is TRUE?A.When using floating-point notation,we usually use a bit to store the radix point.B.When two’s complement notation is used to represent numeric values,a circuit for addition combined with a circuit for taught用法We plan to give a handful of modest homework assignments to complement and reinforce material taughtin the class.这个句子里面taught是动词吗? 英语翻译Architectural ConcretePoured in-place architectural concrete was considered uniquely suited to complement the plasticity of the building form and satisfy the technical resolution of the cantilevered volumes and long span of the canopy flo