摘要
对于计算机中的编码问题,教材和参考资料都是利用定义求机器数,这种方法稍不注意就容易出错,这是因为正数与负数机器数的定义完全不同。该文给出利用公式直接求机器数的方法,这种方法简单、可靠,不易出现错误。
It seeks a machine number to make use of the definition in a textbook and reference book, it's very easy to go wrong for
making use of the way, because the definition is different for machine number of a negative number and plus number. It gives a way to seek machine number for making use of the formula, the way is simple and dependable, it isnot easy to go wrong
关键词
机器数
原码
反码
补码
计算机
编码
machine number, true form, one's complement, two's complement