This commit is contained in:
krahets
2023-02-26 01:51:51 +08:00
parent 50a38f59db
commit 8a4e511492
220 changed files with 785 additions and 749 deletions

View File

@ -1746,7 +1746,7 @@
(1 + \mathrm{N}) = & (1 + \sum_{i=1}^{23} b_{23-i} 2^{-i}) \subset [1, 2 - 2^{-23}]
\end{aligned}
\]</div>
<p><img alt="IEEE-754-float" src="../data_and_memory.assets/IEEE-754-float.png" /></p>
<p><img alt="ieee_754_float" src="../data_and_memory.assets/ieee_754_float.png" /></p>
<p>以上图为例,<span class="arithmatex">\(\mathrm{S} = 0\)</span> <span class="arithmatex">\(\mathrm{E} = 124\)</span> <span class="arithmatex">\(\mathrm{N} = 2^{-2} + 2^{-3} = 0.375\)</span> ,易得</p>
<div class="arithmatex">\[
\text { val } = (-1)^0 \times 2^{124 - 127} \times (1 + 0.375) = 0.171875