Explore BrainMass
Share

Two's Complement Binary to Decimal conversion

This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

I need assistance in answering the following question:

What is the decimal value of "01111111111111111101111111111102" (in two's complement)?

© BrainMass Inc. brainmass.com March 22, 2019, 12:52 am ad1c9bdddf
https://brainmass.com/computer-science/algorithms/twos-complement-binary-decimal-conversion-515811

Solution Preview

Consider a binary number consisting of N+1 bits, specified as below:
bN ... b2 b1 b0

It's decimal equivalent (considering it in two's complement representation) would be computed as shown ...

Solution Summary

Solution first considers a binary number consisting of N+1 bits, bN ... b2 b1 b0, and shows how its equivalent decimal value can be computed.

$2.19