1 / 7

# ??????????? - PowerPoint PPT Presentation

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

### 二进制数转换成十进制数

（1）整数部分的转换

25

26

24

23

22

21

20

(1 0 1 0 1 0 1)2

=1x26+0x25+1x24+0x23+1x22+0x21+1x20

=64+0+16+0+4+4+1

=(85)10

（1）小数部分的转换

2-1

2-2

2-3

( 0 . 1 0 1 )2

=1x2-1 +0x2-2 +1x2-3

=0.5+0+0.125

=(0.625)10

24

23

22

21

20

2-1

2-2

2-3

2-4

( 1 1 0 0 1 . 1 1 0 1)2

=1x24+1x23+0x22+0x21+1x20+1x2-1+1x2-2+0x2-3+1x2-4

=16+8+1+0.5+0.25+0.0625

=(25.8125)10

20=1 21=2 22=4 23=8

24=16 25=32 26=64 ……

2-1=0.5 2-2 =0.25 2-3 =0.125 2-4 =0.0625

2-5 =0.0125 ……

24

23

22

21

20

2-1

0.25

2-2

2-3

2-4

0.125

16

8

4

1

0.5

0.0625

2

(1 1 0 0 1 . 1 1 0 1)2

=16+8+1+0.5+0.25+0.0625

=(25.8125)10