計算機組織與結構›Ch2 計算機算術(Arithmetic)
第 2 題/共 26 題
◀ CC 2/26
2. IEEE 754、Floating Point
#CC-02-002中IEEE 754Floating Point

考慮IEEE 754-1985定義的浮點數。一個浮點數X表示如下:

X=(−1)Sign×(1+Fraction)×2Exponent−Bias.X = (-1)^{Sign} \times (1+Fraction) \times 2^{Exponent-Bias}.

在single precision中,Exponent有8 bits,Fraction有23 bits,Bias為127;在double precision中,Exponent有11 bits,Fraction有52 bits,Bias為1023。在對應的binary string中,Sign在最左邊,Exponent在中間,Fraction在最右邊。記得Exponent為0000...00與1111...11是保留值,也就是說在single precision中Exponent的範圍是1到254,在double precision中是1到2046。

下列敘述何者正確?

📄 台大112
跳轉到第題
▤完整推導請見《WH 資工筆記 · 計算機組織與結構》Ch2 計算機算術(Arithmetic)
本章題號 · 1–20 / 26