Transfer -1.5 from decimal in binary number system

  • Calculator for translating numbers between number systems online.
  • You can translate a number from one number system to any other.
  • The calculator will show the detailed progress of the solution.
  • Calculator
  • Instruction
  • Theory
  • History
  • Report a problem

Enter a number:
His number system:
Binary
Ternary
Octal
Decimal
Hexadecimal
Binary-decimal
Other
Additional
Signed
Direct
One complement
Two complement
Unsigned
1 byte
2 byte
4 bytes
8 bytes

Translate the number 1.510 в binary like this:

the Fractional part of the number is multiplied by the base of the new number system:

 Transferring numbers from one number system to another
0.5*2
1.0*2

the result of the conversion was:

1.510 = 1.12

You specified the size of your number 1 byte.

negative fractional numbers are not supported at this time. Therefore, only the integer part of the number is involved in the further translation.

Add a signed bit to the number like this:

12 = 100000012

Since the number you entered is negative, you need to translate it from the direct code to the additional one.

to do this, first perform the conversion from direct code to reverse by inverting all bits except the signed one, then get the direct code by adding 1 bit.

10000001  direct code
11111110 reverse code
+1 +1 bit
11111111 additional code
the Final answer: -1.510 = 111111112 (1 byte)
Permanent link to the result of this calculation
Your score?