-0.000 000 000 000 000 000 000 000 000 000 000 000 000 285 6 Converted to 32 Bit Single Precision IEEE 754 Binary Floating Point Representation Standard

Convert decimal -0.000 000 000 000 000 000 000 000 000 000 000 000 000 285 6(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
-0.000 000 000 000 000 000 000 000 000 000 000 000 000 285 6(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. Start with the positive version of the number:

|-0.000 000 000 000 000 000 000 000 000 000 000 000 000 285 6| = 0.000 000 000 000 000 000 000 000 000 000 000 000 000 285 6


2. First, convert to binary (in base 2) the integer part: 0.
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;
  • 0 ÷ 2 = 0 + 0;

3. Construct the base 2 representation of the integer part of the number.

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

0(10) =


0(2)


4. Convert to binary (base 2) the fractional part: 0.000 000 000 000 000 000 000 000 000 000 000 000 000 285 6.

Multiply it repeatedly by 2.


Keep track of each integer part of the results.


Stop when we get a fractional part that is equal to zero.


  • #) multiplying = integer + fractional part;
  • 1) 0.000 000 000 000 000 000 000 000 000 000 000 000 000 285 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 000 571 2;
  • 2) 0.000 000 000 000 000 000 000 000 000 000 000 000 000 571 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 001 142 4;
  • 3) 0.000 000 000 000 000 000 000 000 000 000 000 000 001 142 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 002 284 8;
  • 4) 0.000 000 000 000 000 000 000 000 000 000 000 000 002 284 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 004 569 6;
  • 5) 0.000 000 000 000 000 000 000 000 000 000 000 000 004 569 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 009 139 2;
  • 6) 0.000 000 000 000 000 000 000 000 000 000 000 000 009 139 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 018 278 4;
  • 7) 0.000 000 000 000 000 000 000 000 000 000 000 000 018 278 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 036 556 8;
  • 8) 0.000 000 000 000 000 000 000 000 000 000 000 000 036 556 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 073 113 6;
  • 9) 0.000 000 000 000 000 000 000 000 000 000 000 000 073 113 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 146 227 2;
  • 10) 0.000 000 000 000 000 000 000 000 000 000 000 000 146 227 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 292 454 4;
  • 11) 0.000 000 000 000 000 000 000 000 000 000 000 000 292 454 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 000 584 908 8;
  • 12) 0.000 000 000 000 000 000 000 000 000 000 000 000 584 908 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 001 169 817 6;
  • 13) 0.000 000 000 000 000 000 000 000 000 000 000 001 169 817 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 002 339 635 2;
  • 14) 0.000 000 000 000 000 000 000 000 000 000 000 002 339 635 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 004 679 270 4;
  • 15) 0.000 000 000 000 000 000 000 000 000 000 000 004 679 270 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 009 358 540 8;
  • 16) 0.000 000 000 000 000 000 000 000 000 000 000 009 358 540 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 018 717 081 6;
  • 17) 0.000 000 000 000 000 000 000 000 000 000 000 018 717 081 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 037 434 163 2;
  • 18) 0.000 000 000 000 000 000 000 000 000 000 000 037 434 163 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 074 868 326 4;
  • 19) 0.000 000 000 000 000 000 000 000 000 000 000 074 868 326 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 149 736 652 8;
  • 20) 0.000 000 000 000 000 000 000 000 000 000 000 149 736 652 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 299 473 305 6;
  • 21) 0.000 000 000 000 000 000 000 000 000 000 000 299 473 305 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 000 598 946 611 2;
  • 22) 0.000 000 000 000 000 000 000 000 000 000 000 598 946 611 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 001 197 893 222 4;
  • 23) 0.000 000 000 000 000 000 000 000 000 000 001 197 893 222 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 002 395 786 444 8;
  • 24) 0.000 000 000 000 000 000 000 000 000 000 002 395 786 444 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 004 791 572 889 6;
  • 25) 0.000 000 000 000 000 000 000 000 000 000 004 791 572 889 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 009 583 145 779 2;
  • 26) 0.000 000 000 000 000 000 000 000 000 000 009 583 145 779 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 019 166 291 558 4;
  • 27) 0.000 000 000 000 000 000 000 000 000 000 019 166 291 558 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 038 332 583 116 8;
  • 28) 0.000 000 000 000 000 000 000 000 000 000 038 332 583 116 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 076 665 166 233 6;
  • 29) 0.000 000 000 000 000 000 000 000 000 000 076 665 166 233 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 153 330 332 467 2;
  • 30) 0.000 000 000 000 000 000 000 000 000 000 153 330 332 467 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 306 660 664 934 4;
  • 31) 0.000 000 000 000 000 000 000 000 000 000 306 660 664 934 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 000 613 321 329 868 8;
  • 32) 0.000 000 000 000 000 000 000 000 000 000 613 321 329 868 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 001 226 642 659 737 6;
  • 33) 0.000 000 000 000 000 000 000 000 000 001 226 642 659 737 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 002 453 285 319 475 2;
  • 34) 0.000 000 000 000 000 000 000 000 000 002 453 285 319 475 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 004 906 570 638 950 4;
  • 35) 0.000 000 000 000 000 000 000 000 000 004 906 570 638 950 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 009 813 141 277 900 8;
  • 36) 0.000 000 000 000 000 000 000 000 000 009 813 141 277 900 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 019 626 282 555 801 6;
  • 37) 0.000 000 000 000 000 000 000 000 000 019 626 282 555 801 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 039 252 565 111 603 2;
  • 38) 0.000 000 000 000 000 000 000 000 000 039 252 565 111 603 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 078 505 130 223 206 4;
  • 39) 0.000 000 000 000 000 000 000 000 000 078 505 130 223 206 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 157 010 260 446 412 8;
  • 40) 0.000 000 000 000 000 000 000 000 000 157 010 260 446 412 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 314 020 520 892 825 6;
  • 41) 0.000 000 000 000 000 000 000 000 000 314 020 520 892 825 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 000 628 041 041 785 651 2;
  • 42) 0.000 000 000 000 000 000 000 000 000 628 041 041 785 651 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 001 256 082 083 571 302 4;
  • 43) 0.000 000 000 000 000 000 000 000 001 256 082 083 571 302 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 002 512 164 167 142 604 8;
  • 44) 0.000 000 000 000 000 000 000 000 002 512 164 167 142 604 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 005 024 328 334 285 209 6;
  • 45) 0.000 000 000 000 000 000 000 000 005 024 328 334 285 209 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 010 048 656 668 570 419 2;
  • 46) 0.000 000 000 000 000 000 000 000 010 048 656 668 570 419 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 020 097 313 337 140 838 4;
  • 47) 0.000 000 000 000 000 000 000 000 020 097 313 337 140 838 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 040 194 626 674 281 676 8;
  • 48) 0.000 000 000 000 000 000 000 000 040 194 626 674 281 676 8 × 2 = 0 + 0.000 000 000 000 000 000 000 000 080 389 253 348 563 353 6;
  • 49) 0.000 000 000 000 000 000 000 000 080 389 253 348 563 353 6 × 2 = 0 + 0.000 000 000 000 000 000 000 000 160 778 506 697 126 707 2;
  • 50) 0.000 000 000 000 000 000 000 000 160 778 506 697 126 707 2 × 2 = 0 + 0.000 000 000 000 000 000 000 000 321 557 013 394 253 414 4;
  • 51) 0.000 000 000 000 000 000 000 000 321 557 013 394 253 414 4 × 2 = 0 + 0.000 000 000 000 000 000 000 000 643 114 026 788 506 828 8;
  • 52) 0.000 000 000 000 000 000 000 000 643 114 026 788 506 828 8 × 2 = 0 + 0.000 000 000 000 000 000 000 001 286 228 053 577 013 657 6;
  • 53) 0.000 000 000 000 000 000 000 001 286 228 053 577 013 657 6 × 2 = 0 + 0.000 000 000 000 000 000 000 002 572 456 107 154 027 315 2;
  • 54) 0.000 000 000 000 000 000 000 002 572 456 107 154 027 315 2 × 2 = 0 + 0.000 000 000 000 000 000 000 005 144 912 214 308 054 630 4;
  • 55) 0.000 000 000 000 000 000 000 005 144 912 214 308 054 630 4 × 2 = 0 + 0.000 000 000 000 000 000 000 010 289 824 428 616 109 260 8;
  • 56) 0.000 000 000 000 000 000 000 010 289 824 428 616 109 260 8 × 2 = 0 + 0.000 000 000 000 000 000 000 020 579 648 857 232 218 521 6;
  • 57) 0.000 000 000 000 000 000 000 020 579 648 857 232 218 521 6 × 2 = 0 + 0.000 000 000 000 000 000 000 041 159 297 714 464 437 043 2;
  • 58) 0.000 000 000 000 000 000 000 041 159 297 714 464 437 043 2 × 2 = 0 + 0.000 000 000 000 000 000 000 082 318 595 428 928 874 086 4;
  • 59) 0.000 000 000 000 000 000 000 082 318 595 428 928 874 086 4 × 2 = 0 + 0.000 000 000 000 000 000 000 164 637 190 857 857 748 172 8;
  • 60) 0.000 000 000 000 000 000 000 164 637 190 857 857 748 172 8 × 2 = 0 + 0.000 000 000 000 000 000 000 329 274 381 715 715 496 345 6;
  • 61) 0.000 000 000 000 000 000 000 329 274 381 715 715 496 345 6 × 2 = 0 + 0.000 000 000 000 000 000 000 658 548 763 431 430 992 691 2;
  • 62) 0.000 000 000 000 000 000 000 658 548 763 431 430 992 691 2 × 2 = 0 + 0.000 000 000 000 000 000 001 317 097 526 862 861 985 382 4;
  • 63) 0.000 000 000 000 000 000 001 317 097 526 862 861 985 382 4 × 2 = 0 + 0.000 000 000 000 000 000 002 634 195 053 725 723 970 764 8;
  • 64) 0.000 000 000 000 000 000 002 634 195 053 725 723 970 764 8 × 2 = 0 + 0.000 000 000 000 000 000 005 268 390 107 451 447 941 529 6;
  • 65) 0.000 000 000 000 000 000 005 268 390 107 451 447 941 529 6 × 2 = 0 + 0.000 000 000 000 000 000 010 536 780 214 902 895 883 059 2;
  • 66) 0.000 000 000 000 000 000 010 536 780 214 902 895 883 059 2 × 2 = 0 + 0.000 000 000 000 000 000 021 073 560 429 805 791 766 118 4;
  • 67) 0.000 000 000 000 000 000 021 073 560 429 805 791 766 118 4 × 2 = 0 + 0.000 000 000 000 000 000 042 147 120 859 611 583 532 236 8;
  • 68) 0.000 000 000 000 000 000 042 147 120 859 611 583 532 236 8 × 2 = 0 + 0.000 000 000 000 000 000 084 294 241 719 223 167 064 473 6;
  • 69) 0.000 000 000 000 000 000 084 294 241 719 223 167 064 473 6 × 2 = 0 + 0.000 000 000 000 000 000 168 588 483 438 446 334 128 947 2;
  • 70) 0.000 000 000 000 000 000 168 588 483 438 446 334 128 947 2 × 2 = 0 + 0.000 000 000 000 000 000 337 176 966 876 892 668 257 894 4;
  • 71) 0.000 000 000 000 000 000 337 176 966 876 892 668 257 894 4 × 2 = 0 + 0.000 000 000 000 000 000 674 353 933 753 785 336 515 788 8;
  • 72) 0.000 000 000 000 000 000 674 353 933 753 785 336 515 788 8 × 2 = 0 + 0.000 000 000 000 000 001 348 707 867 507 570 673 031 577 6;
  • 73) 0.000 000 000 000 000 001 348 707 867 507 570 673 031 577 6 × 2 = 0 + 0.000 000 000 000 000 002 697 415 735 015 141 346 063 155 2;
  • 74) 0.000 000 000 000 000 002 697 415 735 015 141 346 063 155 2 × 2 = 0 + 0.000 000 000 000 000 005 394 831 470 030 282 692 126 310 4;
  • 75) 0.000 000 000 000 000 005 394 831 470 030 282 692 126 310 4 × 2 = 0 + 0.000 000 000 000 000 010 789 662 940 060 565 384 252 620 8;
  • 76) 0.000 000 000 000 000 010 789 662 940 060 565 384 252 620 8 × 2 = 0 + 0.000 000 000 000 000 021 579 325 880 121 130 768 505 241 6;
  • 77) 0.000 000 000 000 000 021 579 325 880 121 130 768 505 241 6 × 2 = 0 + 0.000 000 000 000 000 043 158 651 760 242 261 537 010 483 2;
  • 78) 0.000 000 000 000 000 043 158 651 760 242 261 537 010 483 2 × 2 = 0 + 0.000 000 000 000 000 086 317 303 520 484 523 074 020 966 4;
  • 79) 0.000 000 000 000 000 086 317 303 520 484 523 074 020 966 4 × 2 = 0 + 0.000 000 000 000 000 172 634 607 040 969 046 148 041 932 8;
  • 80) 0.000 000 000 000 000 172 634 607 040 969 046 148 041 932 8 × 2 = 0 + 0.000 000 000 000 000 345 269 214 081 938 092 296 083 865 6;
  • 81) 0.000 000 000 000 000 345 269 214 081 938 092 296 083 865 6 × 2 = 0 + 0.000 000 000 000 000 690 538 428 163 876 184 592 167 731 2;
  • 82) 0.000 000 000 000 000 690 538 428 163 876 184 592 167 731 2 × 2 = 0 + 0.000 000 000 000 001 381 076 856 327 752 369 184 335 462 4;
  • 83) 0.000 000 000 000 001 381 076 856 327 752 369 184 335 462 4 × 2 = 0 + 0.000 000 000 000 002 762 153 712 655 504 738 368 670 924 8;
  • 84) 0.000 000 000 000 002 762 153 712 655 504 738 368 670 924 8 × 2 = 0 + 0.000 000 000 000 005 524 307 425 311 009 476 737 341 849 6;
  • 85) 0.000 000 000 000 005 524 307 425 311 009 476 737 341 849 6 × 2 = 0 + 0.000 000 000 000 011 048 614 850 622 018 953 474 683 699 2;
  • 86) 0.000 000 000 000 011 048 614 850 622 018 953 474 683 699 2 × 2 = 0 + 0.000 000 000 000 022 097 229 701 244 037 906 949 367 398 4;
  • 87) 0.000 000 000 000 022 097 229 701 244 037 906 949 367 398 4 × 2 = 0 + 0.000 000 000 000 044 194 459 402 488 075 813 898 734 796 8;
  • 88) 0.000 000 000 000 044 194 459 402 488 075 813 898 734 796 8 × 2 = 0 + 0.000 000 000 000 088 388 918 804 976 151 627 797 469 593 6;
  • 89) 0.000 000 000 000 088 388 918 804 976 151 627 797 469 593 6 × 2 = 0 + 0.000 000 000 000 176 777 837 609 952 303 255 594 939 187 2;
  • 90) 0.000 000 000 000 176 777 837 609 952 303 255 594 939 187 2 × 2 = 0 + 0.000 000 000 000 353 555 675 219 904 606 511 189 878 374 4;
  • 91) 0.000 000 000 000 353 555 675 219 904 606 511 189 878 374 4 × 2 = 0 + 0.000 000 000 000 707 111 350 439 809 213 022 379 756 748 8;
  • 92) 0.000 000 000 000 707 111 350 439 809 213 022 379 756 748 8 × 2 = 0 + 0.000 000 000 001 414 222 700 879 618 426 044 759 513 497 6;
  • 93) 0.000 000 000 001 414 222 700 879 618 426 044 759 513 497 6 × 2 = 0 + 0.000 000 000 002 828 445 401 759 236 852 089 519 026 995 2;
  • 94) 0.000 000 000 002 828 445 401 759 236 852 089 519 026 995 2 × 2 = 0 + 0.000 000 000 005 656 890 803 518 473 704 179 038 053 990 4;
  • 95) 0.000 000 000 005 656 890 803 518 473 704 179 038 053 990 4 × 2 = 0 + 0.000 000 000 011 313 781 607 036 947 408 358 076 107 980 8;
  • 96) 0.000 000 000 011 313 781 607 036 947 408 358 076 107 980 8 × 2 = 0 + 0.000 000 000 022 627 563 214 073 894 816 716 152 215 961 6;
  • 97) 0.000 000 000 022 627 563 214 073 894 816 716 152 215 961 6 × 2 = 0 + 0.000 000 000 045 255 126 428 147 789 633 432 304 431 923 2;
  • 98) 0.000 000 000 045 255 126 428 147 789 633 432 304 431 923 2 × 2 = 0 + 0.000 000 000 090 510 252 856 295 579 266 864 608 863 846 4;
  • 99) 0.000 000 000 090 510 252 856 295 579 266 864 608 863 846 4 × 2 = 0 + 0.000 000 000 181 020 505 712 591 158 533 729 217 727 692 8;
  • 100) 0.000 000 000 181 020 505 712 591 158 533 729 217 727 692 8 × 2 = 0 + 0.000 000 000 362 041 011 425 182 317 067 458 435 455 385 6;
  • 101) 0.000 000 000 362 041 011 425 182 317 067 458 435 455 385 6 × 2 = 0 + 0.000 000 000 724 082 022 850 364 634 134 916 870 910 771 2;
  • 102) 0.000 000 000 724 082 022 850 364 634 134 916 870 910 771 2 × 2 = 0 + 0.000 000 001 448 164 045 700 729 268 269 833 741 821 542 4;
  • 103) 0.000 000 001 448 164 045 700 729 268 269 833 741 821 542 4 × 2 = 0 + 0.000 000 002 896 328 091 401 458 536 539 667 483 643 084 8;
  • 104) 0.000 000 002 896 328 091 401 458 536 539 667 483 643 084 8 × 2 = 0 + 0.000 000 005 792 656 182 802 917 073 079 334 967 286 169 6;
  • 105) 0.000 000 005 792 656 182 802 917 073 079 334 967 286 169 6 × 2 = 0 + 0.000 000 011 585 312 365 605 834 146 158 669 934 572 339 2;
  • 106) 0.000 000 011 585 312 365 605 834 146 158 669 934 572 339 2 × 2 = 0 + 0.000 000 023 170 624 731 211 668 292 317 339 869 144 678 4;
  • 107) 0.000 000 023 170 624 731 211 668 292 317 339 869 144 678 4 × 2 = 0 + 0.000 000 046 341 249 462 423 336 584 634 679 738 289 356 8;
  • 108) 0.000 000 046 341 249 462 423 336 584 634 679 738 289 356 8 × 2 = 0 + 0.000 000 092 682 498 924 846 673 169 269 359 476 578 713 6;
  • 109) 0.000 000 092 682 498 924 846 673 169 269 359 476 578 713 6 × 2 = 0 + 0.000 000 185 364 997 849 693 346 338 538 718 953 157 427 2;
  • 110) 0.000 000 185 364 997 849 693 346 338 538 718 953 157 427 2 × 2 = 0 + 0.000 000 370 729 995 699 386 692 677 077 437 906 314 854 4;
  • 111) 0.000 000 370 729 995 699 386 692 677 077 437 906 314 854 4 × 2 = 0 + 0.000 000 741 459 991 398 773 385 354 154 875 812 629 708 8;
  • 112) 0.000 000 741 459 991 398 773 385 354 154 875 812 629 708 8 × 2 = 0 + 0.000 001 482 919 982 797 546 770 708 309 751 625 259 417 6;
  • 113) 0.000 001 482 919 982 797 546 770 708 309 751 625 259 417 6 × 2 = 0 + 0.000 002 965 839 965 595 093 541 416 619 503 250 518 835 2;
  • 114) 0.000 002 965 839 965 595 093 541 416 619 503 250 518 835 2 × 2 = 0 + 0.000 005 931 679 931 190 187 082 833 239 006 501 037 670 4;
  • 115) 0.000 005 931 679 931 190 187 082 833 239 006 501 037 670 4 × 2 = 0 + 0.000 011 863 359 862 380 374 165 666 478 013 002 075 340 8;
  • 116) 0.000 011 863 359 862 380 374 165 666 478 013 002 075 340 8 × 2 = 0 + 0.000 023 726 719 724 760 748 331 332 956 026 004 150 681 6;
  • 117) 0.000 023 726 719 724 760 748 331 332 956 026 004 150 681 6 × 2 = 0 + 0.000 047 453 439 449 521 496 662 665 912 052 008 301 363 2;
  • 118) 0.000 047 453 439 449 521 496 662 665 912 052 008 301 363 2 × 2 = 0 + 0.000 094 906 878 899 042 993 325 331 824 104 016 602 726 4;
  • 119) 0.000 094 906 878 899 042 993 325 331 824 104 016 602 726 4 × 2 = 0 + 0.000 189 813 757 798 085 986 650 663 648 208 033 205 452 8;
  • 120) 0.000 189 813 757 798 085 986 650 663 648 208 033 205 452 8 × 2 = 0 + 0.000 379 627 515 596 171 973 301 327 296 416 066 410 905 6;
  • 121) 0.000 379 627 515 596 171 973 301 327 296 416 066 410 905 6 × 2 = 0 + 0.000 759 255 031 192 343 946 602 654 592 832 132 821 811 2;
  • 122) 0.000 759 255 031 192 343 946 602 654 592 832 132 821 811 2 × 2 = 0 + 0.001 518 510 062 384 687 893 205 309 185 664 265 643 622 4;
  • 123) 0.001 518 510 062 384 687 893 205 309 185 664 265 643 622 4 × 2 = 0 + 0.003 037 020 124 769 375 786 410 618 371 328 531 287 244 8;
  • 124) 0.003 037 020 124 769 375 786 410 618 371 328 531 287 244 8 × 2 = 0 + 0.006 074 040 249 538 751 572 821 236 742 657 062 574 489 6;
  • 125) 0.006 074 040 249 538 751 572 821 236 742 657 062 574 489 6 × 2 = 0 + 0.012 148 080 499 077 503 145 642 473 485 314 125 148 979 2;
  • 126) 0.012 148 080 499 077 503 145 642 473 485 314 125 148 979 2 × 2 = 0 + 0.024 296 160 998 155 006 291 284 946 970 628 250 297 958 4;
  • 127) 0.024 296 160 998 155 006 291 284 946 970 628 250 297 958 4 × 2 = 0 + 0.048 592 321 996 310 012 582 569 893 941 256 500 595 916 8;
  • 128) 0.048 592 321 996 310 012 582 569 893 941 256 500 595 916 8 × 2 = 0 + 0.097 184 643 992 620 025 165 139 787 882 513 001 191 833 6;
  • 129) 0.097 184 643 992 620 025 165 139 787 882 513 001 191 833 6 × 2 = 0 + 0.194 369 287 985 240 050 330 279 575 765 026 002 383 667 2;
  • 130) 0.194 369 287 985 240 050 330 279 575 765 026 002 383 667 2 × 2 = 0 + 0.388 738 575 970 480 100 660 559 151 530 052 004 767 334 4;
  • 131) 0.388 738 575 970 480 100 660 559 151 530 052 004 767 334 4 × 2 = 0 + 0.777 477 151 940 960 201 321 118 303 060 104 009 534 668 8;
  • 132) 0.777 477 151 940 960 201 321 118 303 060 104 009 534 668 8 × 2 = 1 + 0.554 954 303 881 920 402 642 236 606 120 208 019 069 337 6;
  • 133) 0.554 954 303 881 920 402 642 236 606 120 208 019 069 337 6 × 2 = 1 + 0.109 908 607 763 840 805 284 473 212 240 416 038 138 675 2;
  • 134) 0.109 908 607 763 840 805 284 473 212 240 416 038 138 675 2 × 2 = 0 + 0.219 817 215 527 681 610 568 946 424 480 832 076 277 350 4;
  • 135) 0.219 817 215 527 681 610 568 946 424 480 832 076 277 350 4 × 2 = 0 + 0.439 634 431 055 363 221 137 892 848 961 664 152 554 700 8;
  • 136) 0.439 634 431 055 363 221 137 892 848 961 664 152 554 700 8 × 2 = 0 + 0.879 268 862 110 726 442 275 785 697 923 328 305 109 401 6;
  • 137) 0.879 268 862 110 726 442 275 785 697 923 328 305 109 401 6 × 2 = 1 + 0.758 537 724 221 452 884 551 571 395 846 656 610 218 803 2;
  • 138) 0.758 537 724 221 452 884 551 571 395 846 656 610 218 803 2 × 2 = 1 + 0.517 075 448 442 905 769 103 142 791 693 313 220 437 606 4;
  • 139) 0.517 075 448 442 905 769 103 142 791 693 313 220 437 606 4 × 2 = 1 + 0.034 150 896 885 811 538 206 285 583 386 626 440 875 212 8;
  • 140) 0.034 150 896 885 811 538 206 285 583 386 626 440 875 212 8 × 2 = 0 + 0.068 301 793 771 623 076 412 571 166 773 252 881 750 425 6;
  • 141) 0.068 301 793 771 623 076 412 571 166 773 252 881 750 425 6 × 2 = 0 + 0.136 603 587 543 246 152 825 142 333 546 505 763 500 851 2;
  • 142) 0.136 603 587 543 246 152 825 142 333 546 505 763 500 851 2 × 2 = 0 + 0.273 207 175 086 492 305 650 284 667 093 011 527 001 702 4;
  • 143) 0.273 207 175 086 492 305 650 284 667 093 011 527 001 702 4 × 2 = 0 + 0.546 414 350 172 984 611 300 569 334 186 023 054 003 404 8;
  • 144) 0.546 414 350 172 984 611 300 569 334 186 023 054 003 404 8 × 2 = 1 + 0.092 828 700 345 969 222 601 138 668 372 046 108 006 809 6;
  • 145) 0.092 828 700 345 969 222 601 138 668 372 046 108 006 809 6 × 2 = 0 + 0.185 657 400 691 938 445 202 277 336 744 092 216 013 619 2;
  • 146) 0.185 657 400 691 938 445 202 277 336 744 092 216 013 619 2 × 2 = 0 + 0.371 314 801 383 876 890 404 554 673 488 184 432 027 238 4;
  • 147) 0.371 314 801 383 876 890 404 554 673 488 184 432 027 238 4 × 2 = 0 + 0.742 629 602 767 753 780 809 109 346 976 368 864 054 476 8;
  • 148) 0.742 629 602 767 753 780 809 109 346 976 368 864 054 476 8 × 2 = 1 + 0.485 259 205 535 507 561 618 218 693 952 737 728 108 953 6;
  • 149) 0.485 259 205 535 507 561 618 218 693 952 737 728 108 953 6 × 2 = 0 + 0.970 518 411 071 015 123 236 437 387 905 475 456 217 907 2;
  • 150) 0.970 518 411 071 015 123 236 437 387 905 475 456 217 907 2 × 2 = 1 + 0.941 036 822 142 030 246 472 874 775 810 950 912 435 814 4;
  • 151) 0.941 036 822 142 030 246 472 874 775 810 950 912 435 814 4 × 2 = 1 + 0.882 073 644 284 060 492 945 749 551 621 901 824 871 628 8;
  • 152) 0.882 073 644 284 060 492 945 749 551 621 901 824 871 628 8 × 2 = 1 + 0.764 147 288 568 120 985 891 499 103 243 803 649 743 257 6;
  • 153) 0.764 147 288 568 120 985 891 499 103 243 803 649 743 257 6 × 2 = 1 + 0.528 294 577 136 241 971 782 998 206 487 607 299 486 515 2;
  • 154) 0.528 294 577 136 241 971 782 998 206 487 607 299 486 515 2 × 2 = 1 + 0.056 589 154 272 483 943 565 996 412 975 214 598 973 030 4;
  • 155) 0.056 589 154 272 483 943 565 996 412 975 214 598 973 030 4 × 2 = 0 + 0.113 178 308 544 967 887 131 992 825 950 429 197 946 060 8;

We didn't get any fractional part that was equal to zero. But we had enough iterations (over Mantissa limit) and at least one integer that was different from zero => FULL STOP (Losing precision - the converted number we get in the end will be just a very good approximation of the initial one).


5. Construct the base 2 representation of the fractional part of the number.

Take all the integer parts of the multiplying operations, starting from the top of the constructed list above:


0.000 000 000 000 000 000 000 000 000 000 000 000 000 285 6(10) =


0.0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0001 1000 1110 0001 0001 0111 110(2)

6. Positive number before normalization:

0.000 000 000 000 000 000 000 000 000 000 000 000 000 285 6(10) =


0.0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0001 1000 1110 0001 0001 0111 110(2)

7. Normalize the binary representation of the number.

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


0.000 000 000 000 000 000 000 000 000 000 000 000 000 285 6(10) =


0.0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0001 1000 1110 0001 0001 0111 110(2) =


0.0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0001 1000 1110 0001 0001 0111 110(2) × 20 =


1.1000 1110 0001 0001 0111 110(2) × 2-132


8. 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): -132


Mantissa (not normalized):
1.1000 1110 0001 0001 0111 110


9. Adjust the exponent.

Use the 8 bit excess/bias notation:


Exponent (adjusted) =


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


-132 + 2(8-1) - 1 =


(-132 + 127)(10) =


-5(10)


10. Negative exponent!

Your base ten decimal number is too close to ZERO to convert it otherwise to 32 bit single precision IEEE 754 binary floating point representation.

So it will be approximated and treated as ZERO.


11. IEEE 754, Special Case: ZERO

ZERO: Under the IEEE 754 standard, the reserved bitpattern of all the bits of the exponent and the mantissa set on 0 is being used.


-0 and +0 are distinct values, though they are equal.


12. 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) =
0000 0000


Mantissa (23 bits) =
000 0000 0000 0000 0000 0000


Decimal number -0.000 000 000 000 000 000 000 000 000 000 000 000 000 285 6 converted to 32 bit single precision IEEE 754 binary floating point representation:

1 - 0000 0000 - 000 0000 0000 0000 0000 0000


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