home *** CD-ROM | disk | FTP | other *** search
/ C by Discovery (4th Edition) / C_By_Discovery_4th_Edition.tar / C_By_Discovery_4th_Edition / CH_03 / 130.jpg < prev    next >
Joint Photographic Experts Group Image  |  2013-12-21  |  591KB  |  2550x3300
Labels: book | collection | reckoner
OCR: 130 Chapter Basic Data Types 1.24 +0.23 1.22 121 1. .20 which equals 23 in decimal. One method of conversion from decimal to binary is to divide the decimal number by and keep the remainder as the bit (rightmost bit) of the binary number. Then the quotient is divided by again and the remainder becomes the second bit of the binary representation This process continues until the quotient is zero For example the process of converting the number 11 to binary shown in Figure 21 Figure 3-1 The conversion of a binary number to decimal proceeds by multiplying the leftmost bit by and adding in the next bit to the right Then the result multi- plied by and added to the next bit to the right. This process continues until the rightmost bit has been added to the result. For example the process of conver ...