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

Number 346(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. 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;
  • 346 ÷ 2 = 173 + 0;
  • 173 ÷ 2 = 86 + 1;
  • 86 ÷ 2 = 43 + 0;
  • 43 ÷ 2 = 21 + 1;
  • 21 ÷ 2 = 10 + 1;
  • 10 ÷ 2 = 5 + 0;
  • 5 ÷ 2 = 2 + 1;
  • 2 ÷ 2 = 1 + 0;
  • 1 ÷ 2 = 0 + 1;

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

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


346(10) =


1 0101 1010(2)


3. Normalize the binary representation of the number.

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


346(10) =


1 0101 1010(2) =


1 0101 1010(2) × 20 =


1.0101 1010(2) × 28


4. 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 0 (a positive number)


Exponent (unadjusted): 8


Mantissa (not normalized):
1.0101 1010


5. Adjust the exponent.

Use the 8 bit excess/bias notation:


Exponent (adjusted) =


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


8 + 2(8-1) - 1 =


(8 + 127)(10) =


135(10)


6. 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;
  • 135 ÷ 2 = 67 + 1;
  • 67 ÷ 2 = 33 + 1;
  • 33 ÷ 2 = 16 + 1;
  • 16 ÷ 2 = 8 + 0;
  • 8 ÷ 2 = 4 + 0;
  • 4 ÷ 2 = 2 + 0;
  • 2 ÷ 2 = 1 + 0;
  • 1 ÷ 2 = 0 + 1;

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

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


Exponent (adjusted) =


135(10) =


1000 0111(2)


8. 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. 0101 1010 000 0000 0000 0000 =


010 1101 0000 0000 0000 0000


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

Sign (1 bit) =
0 (a positive number)


Exponent (8 bits) =
1000 0111


Mantissa (23 bits) =
010 1101 0000 0000 0000 0000


The base ten decimal number 346 converted and written in 32 bit single precision IEEE 754 binary floating point representation:
0 - 1000 0111 - 010 1101 0000 0000 0000 0000

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