作者VB2005 (DaiJouBu)
看板Grad-ProbAsk
標題[理工] [計組]浮點數
時間Fri Dec 21 23:27:58 2012
assume we are designing a 16bit mips cpu with 16 bit instruction words.
(1)assume the ieee-754 floating-point representation is also adjusted to
16bit long for this 16bit mips cpu. if the floating-point numbers are
required to represent the values within ±10^18 , what are the numbers
of bits of the feilds (a)(b)(c) in this 16 bit floating-point format?
please your reasons,(assume log 2 = 0.3 )
10
sign exponent mantissa
(a) (b) (c)
請問:
(b) 6bit (c) 9bit 怎麼來的。 謝謝…
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 111.252.158.162
→ BaaaSwin:表示範圍10^18內->2^60內->Exponent=6->mantissa=16-1-6 12/21 23:41
→ VB2005:2^60內->Exponent=6 可以再說明一下嗎? 12/21 23:44
→ Bearcome:2^6=64 你只需要60 12/21 23:58
→ VB2005:哦~~了解。謝謝 12/21 23:59
→ BaaaSwin:6個Exponent可以表達到2的-30~31次方! 12/22 00:37
→ Murasaki0110:請問, 可是題目要求不是要到2^60 12/22 12:11
→ BaaaSwin:不是表達的數要在2^60以內嗎@@?還是我誤會了 12/22 12:41
→ BaaaSwin:我想說如果7bit表達的數就超過2^60了 12/22 12:42