1个回答
2016-12-23 · 知道合伙人教育行家
关注
展开全部
十进制数转换成二进制时,整数部分除 2 取余,小数部分乘 2 取整。
295÷2 = 147......................1
147÷2 = 73..........................1
73÷2 = 36.............................1
36÷2 = 18..............................0
18÷2 = 9.................................0
9÷2 = 4....................................1
4÷2 = 2.....................................0
2÷2 = 1.....................................0
1÷2 = 0......................................1
0.4145×2=0.829.....................0
0.829×2=1.658........................1
0.658×2=1.316.........................1
0.316×2=0.632.........................0
0.632×2=1.264..........................1
所以 295.4145D ≈ 100100111.01101B(注:取余时倒序)
同理,1101011.001B = 107.125D
295÷2 = 147......................1
147÷2 = 73..........................1
73÷2 = 36.............................1
36÷2 = 18..............................0
18÷2 = 9.................................0
9÷2 = 4....................................1
4÷2 = 2.....................................0
2÷2 = 1.....................................0
1÷2 = 0......................................1
0.4145×2=0.829.....................0
0.829×2=1.658........................1
0.658×2=1.316.........................1
0.316×2=0.632.........................0
0.632×2=1.264..........................1
所以 295.4145D ≈ 100100111.01101B(注:取余时倒序)
同理,1101011.001B = 107.125D
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询