一补数 Ones' complement
将二进制数反转,得到的数即为原二进制的一补数(ones' complement)。若某一位为0,则使其变为1,反之亦然。
一个数的一补数在很多算术运算中的表现与这个数的相反数很相似,此特性可使加法电路同时可以运算减法。然而,由于一补数中存在多余的负零和其它问题,一补数并未像二补数一样被广泛应用。
单词 | Ones complement |
释义 |
Ones complement
中文百科
一补数 Ones' complement(重定向自Ones complement)
将二进制数反转,得到的数即为原二进制的一补数(ones' complement)。若某一位为0,则使其变为1,反之亦然。 一个数的一补数在很多算术运算中的表现与这个数的相反数很相似,此特性可使加法电路同时可以运算减法。然而,由于一补数中存在多余的负零和其它问题,一补数并未像二补数一样被广泛应用。
英语百科
Ones' complement 一补数(重定向自Ones complement)
The ones' complement of a binary number is defined as the value obtained by inverting all the bits in the binary representation of the number (swapping 0s for 1s and vice versa). The ones' complement of the number then behaves like the negative of the original number in some arithmetic operations. To within a constant (of −1), the ones' complement behaves like the negative of the original number with binary addition. However, unlike two's complement, these numbers have not seen widespread use because of issues such as the offset of −1, that negating zero results in a distinct negative zero bit pattern, less simplicity with arithmetic borrowing, etc. |
随便看 |
|
英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。