程式設計 浮點數的2進位表示 - 考試
By Genevieve
at 2013-03-29T10:41
at 2013-03-29T10:41
Table of Contents
求-12.625 的 IEEE754 格式
step
1.先求12.625的二進位表示:1100.101
2.正規化 : 1.100101*2^3
3.指數計算:
3+127 = 130 ????(Why)
130 = 10000010
IEEE 格式:
1 10000010 1001010.......0
sign exp(8-bits) Mantissa(23-bits)
指數 3+127 的原因聽老師說是為了表示是正3
但 IEEE754 的exp 僅只有 8-bits 應該只能
表達 -128 ~ +127 而已,由這個例子130不是
暴了嗎 ?
--
Tags:
考試
All Comments
By Quintina
at 2013-03-31T23:12
at 2013-03-31T23:12
By Una
at 2013-04-01T18:18
at 2013-04-01T18:18
By Una
at 2013-04-02T18:15
at 2013-04-02T18:15
By Kelly
at 2013-04-07T16:49
at 2013-04-07T16:49
By Vanessa
at 2013-04-12T09:04
at 2013-04-12T09:04
By Wallis
at 2013-04-16T14:27
at 2013-04-16T14:27
By Tom
at 2013-04-19T03:28
at 2013-04-19T03:28
By Skylar Davis
at 2013-04-19T21:10
at 2013-04-19T21:10
By Callum
at 2013-04-24T12:02
at 2013-04-24T12:02
Related Posts
選舉人資格
By Edith
at 2013-03-29T10:38
at 2013-03-29T10:38
基本電學 有關交流電功率問題
By Charlie
at 2013-03-29T02:32
at 2013-03-29T02:32
民法
By Elizabeth
at 2013-03-29T01:12
at 2013-03-29T01:12
中會-債券利息收入
By Hedwig
at 2013-03-28T23:57
at 2013-03-28T23:57
關於國文3
By Jacob
at 2013-03-28T23:27
at 2013-03-28T23:27