-010110补码
To determine the 2's complement of -0.10110, we need to follow these steps:
-
Convert the number to its positive binary representation. -0.10110 in binary: 1.10110
-
Invert all the bits (1s become 0s, and 0s become 1s). Inverted binary: 0.01001
-
Add 1 to the inverted binary representation. 0.01001 + 1 = 0.01010
Therefore, the 2's complement of -0.10110 is 0.01010.
原文地址: https://www.cveoy.top/t/topic/hyrR 著作权归作者所有。请勿转载和采集!