JavaScript/双精度浮点数:修订间差异

来自康健生活
Kangkk​(留言 | 贡献)
Kangkk​(留言 | 贡献)
第185行: 第185行:
M = 101100101
M = 101100101
\end{cases} \\
\end{cases} \\
V = (-1)^{1} \times ({\color{Red}1}.101100101)_{2} \times 2^4 \\
V = (-1)^S \times M \times 2^E \\
= (-1)^{1} \times ({\color{Red}1}.101100101)_{2} \times 2^4 \\
= -1 \times (11011.00101)_2 \\
= -1 \times (11011.00101)_2 \\
= -1 \times (27.15625)_{10} \\
= -1 \times (27.15625)_{10} \\