-1.1001的补码是什么?? 怎么算的,谢谢

2024-12-31 17:29:53
推荐回答(1个)
回答1:

-1.1001=(-1) + (-0.1001)
(-1)补码=(1)反码+1=0+1=1
(-0.1001)补码=(0.1001)反码+0.0001=1.0110+0.0001=1.0111
(-1.1001)补码=(-1)补码+(-0.1001)补码=1+1.0111=10.0111