11 100 000 001 099 999 999 999 999 999 601 Converted to 32 Bit Single Precision IEEE 754 Binary Floating Point Representation Standard

Convert decimal 11 100 000 001 099 999 999 999 999 999 601(10) to 32 bit single precision IEEE 754 binary floating point representation standard (1 bit for sign, 8 bits for exponent, 23 bits for mantissa)

What are the steps to convert decimal number
11 100 000 001 099 999 999 999 999 999 601(10) to 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;
  • 11 100 000 001 099 999 999 999 999 999 601 ÷ 2 = 5 550 000 000 549 999 999 999 999 999 800 + 1;
  • 5 550 000 000 549 999 999 999 999 999 800 ÷ 2 = 2 775 000 000 274 999 999 999 999 999 900 + 0;
  • 2 775 000 000 274 999 999 999 999 999 900 ÷ 2 = 1 387 500 000 137 499 999 999 999 999 950 + 0;
  • 1 387 500 000 137 499 999 999 999 999 950 ÷ 2 = 693 750 000 068 749 999 999 999 999 975 + 0;
  • 693 750 000 068 749 999 999 999 999 975 ÷ 2 = 346 875 000 034 374 999 999 999 999 987 + 1;
  • 346 875 000 034 374 999 999 999 999 987 ÷ 2 = 173 437 500 017 187 499 999 999 999 993 + 1;
  • 173 437 500 017 187 499 999 999 999 993 ÷ 2 = 86 718 750 008 593 749 999 999 999 996 + 1;
  • 86 718 750 008 593 749 999 999 999 996 ÷ 2 = 43 359 375 004 296 874 999 999 999 998 + 0;
  • 43 359 375 004 296 874 999 999 999 998 ÷ 2 = 21 679 687 502 148 437 499 999 999 999 + 0;
  • 21 679 687 502 148 437 499 999 999 999 ÷ 2 = 10 839 843 751 074 218 749 999 999 999 + 1;
  • 10 839 843 751 074 218 749 999 999 999 ÷ 2 = 5 419 921 875 537 109 374 999 999 999 + 1;
  • 5 419 921 875 537 109 374 999 999 999 ÷ 2 = 2 709 960 937 768 554 687 499 999 999 + 1;
  • 2 709 960 937 768 554 687 499 999 999 ÷ 2 = 1 354 980 468 884 277 343 749 999 999 + 1;
  • 1 354 980 468 884 277 343 749 999 999 ÷ 2 = 677 490 234 442 138 671 874 999 999 + 1;
  • 677 490 234 442 138 671 874 999 999 ÷ 2 = 338 745 117 221 069 335 937 499 999 + 1;
  • 338 745 117 221 069 335 937 499 999 ÷ 2 = 169 372 558 610 534 667 968 749 999 + 1;
  • 169 372 558 610 534 667 968 749 999 ÷ 2 = 84 686 279 305 267 333 984 374 999 + 1;
  • 84 686 279 305 267 333 984 374 999 ÷ 2 = 42 343 139 652 633 666 992 187 499 + 1;
  • 42 343 139 652 633 666 992 187 499 ÷ 2 = 21 171 569 826 316 833 496 093 749 + 1;
  • 21 171 569 826 316 833 496 093 749 ÷ 2 = 10 585 784 913 158 416 748 046 874 + 1;
  • 10 585 784 913 158 416 748 046 874 ÷ 2 = 5 292 892 456 579 208 374 023 437 + 0;
  • 5 292 892 456 579 208 374 023 437 ÷ 2 = 2 646 446 228 289 604 187 011 718 + 1;
  • 2 646 446 228 289 604 187 011 718 ÷ 2 = 1 323 223 114 144 802 093 505 859 + 0;
  • 1 323 223 114 144 802 093 505 859 ÷ 2 = 661 611 557 072 401 046 752 929 + 1;
  • 661 611 557 072 401 046 752 929 ÷ 2 = 330 805 778 536 200 523 376 464 + 1;
  • 330 805 778 536 200 523 376 464 ÷ 2 = 165 402 889 268 100 261 688 232 + 0;
  • 165 402 889 268 100 261 688 232 ÷ 2 = 82 701 444 634 050 130 844 116 + 0;
  • 82 701 444 634 050 130 844 116 ÷ 2 = 41 350 722 317 025 065 422 058 + 0;
  • 41 350 722 317 025 065 422 058 ÷ 2 = 20 675 361 158 512 532 711 029 + 0;
  • 20 675 361 158 512 532 711 029 ÷ 2 = 10 337 680 579 256 266 355 514 + 1;
  • 10 337 680 579 256 266 355 514 ÷ 2 = 5 168 840 289 628 133 177 757 + 0;
  • 5 168 840 289 628 133 177 757 ÷ 2 = 2 584 420 144 814 066 588 878 + 1;
  • 2 584 420 144 814 066 588 878 ÷ 2 = 1 292 210 072 407 033 294 439 + 0;
  • 1 292 210 072 407 033 294 439 ÷ 2 = 646 105 036 203 516 647 219 + 1;
  • 646 105 036 203 516 647 219 ÷ 2 = 323 052 518 101 758 323 609 + 1;
  • 323 052 518 101 758 323 609 ÷ 2 = 161 526 259 050 879 161 804 + 1;
  • 161 526 259 050 879 161 804 ÷ 2 = 80 763 129 525 439 580 902 + 0;
  • 80 763 129 525 439 580 902 ÷ 2 = 40 381 564 762 719 790 451 + 0;
  • 40 381 564 762 719 790 451 ÷ 2 = 20 190 782 381 359 895 225 + 1;
  • 20 190 782 381 359 895 225 ÷ 2 = 10 095 391 190 679 947 612 + 1;
  • 10 095 391 190 679 947 612 ÷ 2 = 5 047 695 595 339 973 806 + 0;
  • 5 047 695 595 339 973 806 ÷ 2 = 2 523 847 797 669 986 903 + 0;
  • 2 523 847 797 669 986 903 ÷ 2 = 1 261 923 898 834 993 451 + 1;
  • 1 261 923 898 834 993 451 ÷ 2 = 630 961 949 417 496 725 + 1;
  • 630 961 949 417 496 725 ÷ 2 = 315 480 974 708 748 362 + 1;
  • 315 480 974 708 748 362 ÷ 2 = 157 740 487 354 374 181 + 0;
  • 157 740 487 354 374 181 ÷ 2 = 78 870 243 677 187 090 + 1;
  • 78 870 243 677 187 090 ÷ 2 = 39 435 121 838 593 545 + 0;
  • 39 435 121 838 593 545 ÷ 2 = 19 717 560 919 296 772 + 1;
  • 19 717 560 919 296 772 ÷ 2 = 9 858 780 459 648 386 + 0;
  • 9 858 780 459 648 386 ÷ 2 = 4 929 390 229 824 193 + 0;
  • 4 929 390 229 824 193 ÷ 2 = 2 464 695 114 912 096 + 1;
  • 2 464 695 114 912 096 ÷ 2 = 1 232 347 557 456 048 + 0;
  • 1 232 347 557 456 048 ÷ 2 = 616 173 778 728 024 + 0;
  • 616 173 778 728 024 ÷ 2 = 308 086 889 364 012 + 0;
  • 308 086 889 364 012 ÷ 2 = 154 043 444 682 006 + 0;
  • 154 043 444 682 006 ÷ 2 = 77 021 722 341 003 + 0;
  • 77 021 722 341 003 ÷ 2 = 38 510 861 170 501 + 1;
  • 38 510 861 170 501 ÷ 2 = 19 255 430 585 250 + 1;
  • 19 255 430 585 250 ÷ 2 = 9 627 715 292 625 + 0;
  • 9 627 715 292 625 ÷ 2 = 4 813 857 646 312 + 1;
  • 4 813 857 646 312 ÷ 2 = 2 406 928 823 156 + 0;
  • 2 406 928 823 156 ÷ 2 = 1 203 464 411 578 + 0;
  • 1 203 464 411 578 ÷ 2 = 601 732 205 789 + 0;
  • 601 732 205 789 ÷ 2 = 300 866 102 894 + 1;
  • 300 866 102 894 ÷ 2 = 150 433 051 447 + 0;
  • 150 433 051 447 ÷ 2 = 75 216 525 723 + 1;
  • 75 216 525 723 ÷ 2 = 37 608 262 861 + 1;
  • 37 608 262 861 ÷ 2 = 18 804 131 430 + 1;
  • 18 804 131 430 ÷ 2 = 9 402 065 715 + 0;
  • 9 402 065 715 ÷ 2 = 4 701 032 857 + 1;
  • 4 701 032 857 ÷ 2 = 2 350 516 428 + 1;
  • 2 350 516 428 ÷ 2 = 1 175 258 214 + 0;
  • 1 175 258 214 ÷ 2 = 587 629 107 + 0;
  • 587 629 107 ÷ 2 = 293 814 553 + 1;
  • 293 814 553 ÷ 2 = 146 907 276 + 1;
  • 146 907 276 ÷ 2 = 73 453 638 + 0;
  • 73 453 638 ÷ 2 = 36 726 819 + 0;
  • 36 726 819 ÷ 2 = 18 363 409 + 1;
  • 18 363 409 ÷ 2 = 9 181 704 + 1;
  • 9 181 704 ÷ 2 = 4 590 852 + 0;
  • 4 590 852 ÷ 2 = 2 295 426 + 0;
  • 2 295 426 ÷ 2 = 1 147 713 + 0;
  • 1 147 713 ÷ 2 = 573 856 + 1;
  • 573 856 ÷ 2 = 286 928 + 0;
  • 286 928 ÷ 2 = 143 464 + 0;
  • 143 464 ÷ 2 = 71 732 + 0;
  • 71 732 ÷ 2 = 35 866 + 0;
  • 35 866 ÷ 2 = 17 933 + 0;
  • 17 933 ÷ 2 = 8 966 + 1;
  • 8 966 ÷ 2 = 4 483 + 0;
  • 4 483 ÷ 2 = 2 241 + 1;
  • 2 241 ÷ 2 = 1 120 + 1;
  • 1 120 ÷ 2 = 560 + 0;
  • 560 ÷ 2 = 280 + 0;
  • 280 ÷ 2 = 140 + 0;
  • 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;

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

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

11 100 000 001 099 999 999 999 999 999 601(10) =


1000 1100 0001 1010 0000 1000 1100 1100 1101 1101 0001 0110 0000 1001 0101 1100 1100 1110 1010 0001 1010 1111 1111 1110 0111 0001(2)


3. Normalize the binary representation of the number.

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


11 100 000 001 099 999 999 999 999 999 601(10) =


1000 1100 0001 1010 0000 1000 1100 1100 1101 1101 0001 0110 0000 1001 0101 1100 1100 1110 1010 0001 1010 1111 1111 1110 0111 0001(2) =


1000 1100 0001 1010 0000 1000 1100 1100 1101 1101 0001 0110 0000 1001 0101 1100 1100 1110 1010 0001 1010 1111 1111 1110 0111 0001(2) × 20 =


1.0001 1000 0011 0100 0001 0001 1001 1001 1011 1010 0010 1100 0001 0010 1011 1001 1001 1101 0100 0011 0101 1111 1111 1100 1110 001(2) × 2103


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): 103


Mantissa (not normalized):
1.0001 1000 0011 0100 0001 0001 1001 1001 1011 1010 0010 1100 0001 0010 1011 1001 1001 1101 0100 0011 0101 1111 1111 1100 1110 001


5. Adjust the exponent.

Use the 8 bit excess/bias notation:


Exponent (adjusted) =


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


103 + 2(8-1) - 1 =


(103 + 127)(10) =


230(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;
  • 230 ÷ 2 = 115 + 0;
  • 115 ÷ 2 = 57 + 1;
  • 57 ÷ 2 = 28 + 1;
  • 28 ÷ 2 = 14 + 0;
  • 14 ÷ 2 = 7 + 0;
  • 7 ÷ 2 = 3 + 1;
  • 3 ÷ 2 = 1 + 1;
  • 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) =


230(10) =


1110 0110(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 removing the excess bits, from the right (if any of the excess bits is set on 1, we are losing precision...).


Mantissa (normalized) =


1. 000 1100 0001 1010 0000 1000 1100 1100 1101 1101 0001 0110 0000 1001 0101 1100 1100 1110 1010 0001 1010 1111 1111 1110 0111 0001 =


000 1100 0001 1010 0000 1000


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) =
1110 0110


Mantissa (23 bits) =
000 1100 0001 1010 0000 1000


Decimal number 11 100 000 001 099 999 999 999 999 999 601 converted to 32 bit single precision IEEE 754 binary floating point representation:

0 - 1110 0110 - 000 1100 0001 1010 0000 1000


How to convert decimal numbers from base ten to 32 bit single precision IEEE 754 binary floating point standard

Follow the steps below to convert a base 10 decimal number to 32 bit single precision IEEE 754 binary floating point:

  • 1. If the number to be converted is negative, start with its the positive version.
  • 2. First convert the integer part. Divide repeatedly by 2 the base ten positive representation of the integer number that is to be converted to binary, until we get a quotient that is equal to zero, keeping track of each remainder.
  • 3. Construct the base 2 representation of the positive integer part of the number, by taking all the remainders of the previous dividing operations, starting from the bottom of the list constructed above. Thus, the last remainder of the divisions becomes the first symbol (the leftmost) of the base two number, while the first remainder becomes the last symbol (the rightmost).
  • 4. Then convert the fractional part. Multiply the number repeatedly by 2, until we get a fractional part that is equal to zero, keeping track of each integer part of the results.
  • 5. Construct the base 2 representation of the fractional part of the number by taking all the integer parts of the previous multiplying operations, starting from the top of the constructed list above (they should appear in the binary representation, from left to right, in the order they have been calculated).
  • 6. Normalize the binary representation of the number, by shifting the decimal point (or if you prefer, the decimal mark) "n" positions either to the left or to the right, so that only one non zero digit remains to the left of the decimal point.
  • 7. Adjust the exponent in 8 bit excess/bias notation and then convert it from decimal (base 10) to 8 bit binary, by using the same technique of repeatedly dividing by 2, as shown above:
    Exponent (adjusted) = Exponent (unadjusted) + 2(8-1) - 1
  • 8. Normalize mantissa, remove the leading (leftmost) bit, since it's allways '1' (and the decimal sign if the case) and adjust its length to 23 bits, either by removing the excess bits from the right (losing precision...) or by adding extra '0' bits to the right.
  • 9. Sign (it takes 1 bit) is either 1 for a negative or 0 for a positive number.

Example: convert the negative number -25.347 from decimal system (base ten) to 32 bit single precision IEEE 754 binary floating point:

  • 1. Start with the positive version of the number:

    |-25.347| = 25.347

  • 2. First convert the integer part, 25. Divide it repeatedly by 2, keeping track of each remainder, until we get a quotient that is equal to zero:
    • division = quotient + remainder;
    • 25 ÷ 2 = 12 + 1;
    • 12 ÷ 2 = 6 + 0;
    • 6 ÷ 2 = 3 + 0;
    • 3 ÷ 2 = 1 + 1;
    • 1 ÷ 2 = 0 + 1;
    • We have encountered a quotient that is ZERO => FULL STOP
  • 3. Construct the base 2 representation of the integer part of the number by taking all the remainders of the previous dividing operations, starting from the bottom of the list constructed above:

    25(10) = 1 1001(2)

  • 4. Then convert the fractional part, 0.347. Multiply repeatedly by 2, keeping track of each integer part of the results, until we get a fractional part that is equal to zero:
    • #) multiplying = integer + fractional part;
    • 1) 0.347 × 2 = 0 + 0.694;
    • 2) 0.694 × 2 = 1 + 0.388;
    • 3) 0.388 × 2 = 0 + 0.776;
    • 4) 0.776 × 2 = 1 + 0.552;
    • 5) 0.552 × 2 = 1 + 0.104;
    • 6) 0.104 × 2 = 0 + 0.208;
    • 7) 0.208 × 2 = 0 + 0.416;
    • 8) 0.416 × 2 = 0 + 0.832;
    • 9) 0.832 × 2 = 1 + 0.664;
    • 10) 0.664 × 2 = 1 + 0.328;
    • 11) 0.328 × 2 = 0 + 0.656;
    • 12) 0.656 × 2 = 1 + 0.312;
    • 13) 0.312 × 2 = 0 + 0.624;
    • 14) 0.624 × 2 = 1 + 0.248;
    • 15) 0.248 × 2 = 0 + 0.496;
    • 16) 0.496 × 2 = 0 + 0.992;
    • 17) 0.992 × 2 = 1 + 0.984;
    • 18) 0.984 × 2 = 1 + 0.968;
    • 19) 0.968 × 2 = 1 + 0.936;
    • 20) 0.936 × 2 = 1 + 0.872;
    • 21) 0.872 × 2 = 1 + 0.744;
    • 22) 0.744 × 2 = 1 + 0.488;
    • 23) 0.488 × 2 = 0 + 0.976;
    • 24) 0.976 × 2 = 1 + 0.952;
    • We didn't get any fractional part that was equal to zero. But we had enough iterations (over Mantissa limit = 23) and at least one integer part that was different from zero => FULL STOP (losing precision...).
  • 5. Construct the base 2 representation of the fractional part of the number, by taking all the integer parts of the previous multiplying operations, starting from the top of the constructed list above:

    0.347(10) = 0.0101 1000 1101 0100 1111 1101(2)

  • 6. Summarizing - the positive number before normalization:

    25.347(10) = 1 1001.0101 1000 1101 0100 1111 1101(2)

  • 7. Normalize the binary representation of the number, shifting the decimal point 4 positions to the left so that only one non-zero digit stays to the left of the decimal point:

    25.347(10) =
    1 1001.0101 1000 1101 0100 1111 1101(2) =
    1 1001.0101 1000 1101 0100 1111 1101(2) × 20 =
    1.1001 0101 1000 1101 0100 1111 1101(2) × 24

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

    Sign: 1 (a negative number)

    Exponent (unadjusted): 4

    Mantissa (not-normalized): 1.1001 0101 1000 1101 0100 1111 1101

  • 9. Adjust the exponent in 8 bit excess/bias notation and then convert it from decimal (base 10) to 8 bit binary (base 2), by using the same technique of repeatedly dividing it by 2, as already demonstrated above:

    Exponent (adjusted) = Exponent (unadjusted) + 2(8-1) - 1 = (4 + 127)(10) = 131(10) =
    1000 0011(2)

  • 10. Normalize the mantissa, remove the leading (leftmost) bit, since it's allways '1' (and the decimal point) and adjust its length to 23 bits, by removing the excess bits from the right (losing precision...):

    Mantissa (not-normalized): 1.1001 0101 1000 1101 0100 1111 1101

    Mantissa (normalized): 100 1010 1100 0110 1010 0111

  • Conclusion:

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

    Exponent (8 bits) = 1000 0011

    Mantissa (23 bits) = 100 1010 1100 0110 1010 0111

  • Number -25.347, converted from the decimal system (base 10) to 32 bit single precision IEEE 754 binary floating point =
    1 - 1000 0011 - 100 1010 1100 0110 1010 0111