看板 Grad-ProbAsk 關於我們 聯絡資訊
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
gn00618777:我這樣算對嘛? 10/06 19:10
gn00618777:QQ 10/07 11:06
svanavs:問range最好寫成科學記號且normalized表示法 10/07 22:30