deploy
|
Before Width: | Height: | Size: 92 KiB After Width: | Height: | Size: 89 KiB |
|
Before Width: | Height: | Size: 74 KiB After Width: | Height: | Size: 74 KiB |
|
Before Width: | Height: | Size: 212 KiB After Width: | Height: | Size: 213 KiB |
BIN
chapter_data_structure/data_and_memory.assets/ieee_754_float.png
Normal file
|
After Width: | Height: | Size: 72 KiB |
@@ -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
|
||||
|
||||