开发者

Converting decimal number into 2's complement using 16 bits

The 开发者_JAVA技巧problem:

What is the decimal number -234 in 2's complement using 16 bits?


Do I just have to convert 234 to binary?


Yes, converting it to binary is sufficient. The answer is 0xff16.

Also, you can try using WolframAlpha to verify your calculations.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜