32bit IEEE 754: Decimal ↗ Single Precision Floating Point Binary: -15 512 Convert the Number to 32 Bit Single Precision IEEE 754 Binary Floating Point Representation Standard, From a Base 10 Decimal System Number

Number -15 512(10) converted and written in 32 bit single precision IEEE 754 binary floating point representation (1 bit for sign, 8 bits for exponent, 23 bits for mantissa)

1. Start with the positive version of the number:

|-15 512| = 15 512

2. Divide the number repeatedly by 2.

Keep track of each remainder.

We stop when we get a quotient that is equal to zero.


  • division = quotient + remainder;
  • 15 512 ÷ 2 = 7 756 + 0;
  • 7 756 ÷ 2 = 3 878 + 0;
  • 3 878 ÷ 2 = 1 939 + 0;
  • 1 939 ÷ 2 = 969 + 1;
  • 969 ÷ 2 = 484 + 1;
  • 484 ÷ 2 = 242 + 0;
  • 242 ÷ 2 = 121 + 0;
  • 121 ÷ 2 = 60 + 1;
  • 60 ÷ 2 = 30 + 0;
  • 30 ÷ 2 = 15 + 0;
  • 15 ÷ 2 = 7 + 1;
  • 7 ÷ 2 = 3 + 1;
  • 3 ÷ 2 = 1 + 1;
  • 1 ÷ 2 = 0 + 1;

3. Construct the base 2 representation of the positive number.

Take all the remainders starting from the bottom of the list constructed above.


15 512(10) =


11 1100 1001 1000(2)


4. Normalize the binary representation of the number.

Shift the decimal mark 13 positions to the left, so that only one non zero digit remains to the left of it:


15 512(10) =


11 1100 1001 1000(2) =


11 1100 1001 1000(2) × 20 =


1.1110 0100 1100 0(2) × 213


5. Up to this moment, there are the following elements that would feed into the 32 bit single precision IEEE 754 binary floating point representation:

Sign 1 (a negative number)


Exponent (unadjusted): 13


Mantissa (not normalized):
1.1110 0100 1100 0


6. Adjust the exponent.

Use the 8 bit excess/bias notation:


Exponent (adjusted) =


Exponent (unadjusted) + 2(8-1) - 1 =


13 + 2(8-1) - 1 =


(13 + 127)(10) =


140(10)


7. Convert the adjusted exponent from the decimal (base 10) to 8 bit binary.

Use the same technique of repeatedly dividing by 2:


  • division = quotient + remainder;
  • 140 ÷ 2 = 70 + 0;
  • 70 ÷ 2 = 35 + 0;
  • 35 ÷ 2 = 17 + 1;
  • 17 ÷ 2 = 8 + 1;
  • 8 ÷ 2 = 4 + 0;
  • 4 ÷ 2 = 2 + 0;
  • 2 ÷ 2 = 1 + 0;
  • 1 ÷ 2 = 0 + 1;

8. Construct the base 2 representation of the adjusted exponent.

Take all the remainders starting from the bottom of the list constructed above.


Exponent (adjusted) =


140(10) =


1000 1100(2)


9. Normalize the mantissa.

a) Remove the leading (the leftmost) bit, since it's allways 1, and the decimal point, if the case.


b) Adjust its length to 23 bits, by adding the necessary number of zeros to the right.


Mantissa (normalized) =


1. 1 1100 1001 1000 00 0000 0000 =


111 0010 0110 0000 0000 0000


10. The three elements that make up the number's 32 bit single precision IEEE 754 binary floating point representation:

Sign (1 bit) =
1 (a negative number)


Exponent (8 bits) =
1000 1100


Mantissa (23 bits) =
111 0010 0110 0000 0000 0000


The base ten decimal number -15 512 converted and written in 32 bit single precision IEEE 754 binary floating point representation:
1 - 1000 1100 - 111 0010 0110 0000 0000 0000

The latest decimal numbers converted from base ten to 32 bit single precision IEEE 754 floating point binary standard representation