[理工] [計組]-浮點數

看板Grad-ProbAsk作者 (123)時間14年前 (2009/10/06 16:30), 編輯推噓1(102)
留言3則, 2人參與, 最新討論串2/3 (看更多)
95政大資科 Consider a shorten version of the IEEE standard floating with only 12 bits: one sign bit,5 bits for exponent,and 6bits for the significand (1) Represent 1.5 and -0.75 with this format (2) What is the rang of numbers it could represent ?(excluding denormalized numbers.) (1) Excess-15 1.5= 1.1*2^0 -0.75= -1.1*2^-1 EXP=0+15=15 EXP=15+(-1)=14 0 011111 100000 1 01110 100000 (2) 最大正數: 0 11110 111111 最小正數: 0 00001 000000 最大負數: 1 00001 000000 最小負數: 1 11110 111111 手邊沒解答,我也不知道對不對,能否大大幫忙? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.138.100.194

10/06 19:10, , 1F
我這樣算對嘛?
10/06 19:10, 1F

10/07 11:06, , 2F
QQ
10/07 11:06, 2F

10/07 22:30, , 3F
問range最好寫成科學記號且normalized表示法
10/07 22:30, 3F
文章代碼(AID): #1Aom0oz0 (Grad-ProbAsk)
文章代碼(AID): #1Aom0oz0 (Grad-ProbAsk)