浮点数2.7/8的二进制表示
时间: 2024-05-04 17:17:07 浏览: 77
浮点数转化为二进制数
5星 · 资源好评率100%
首先将2.7和8转换成二进制格式:
2.7的二进制表示为:10.1011001100110011...
8的二进制表示为:1000
然后进行除法运算:
```
0.1011001100110011...
-----------------------
1000 | 10.1011001100110011...
8
---
2.1011001100110011...
2
---
0.0110011001100110...
0
---
0.1100110011001100...
0
---
0.1001100110011000...
```
所以,2.7/8的二进制表示为0.0100110011001100...
阅读全文