在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問(wèn)答/C  網(wǎng)絡(luò)安全/ 浮點(diǎn)數(shù)精度問(wèn)題

浮點(diǎn)數(shù)精度問(wèn)題

圖片描述

看到很多地方都說(shuō) 23 位尾數(shù)決定單精度浮點(diǎn)數(shù)十進(jìn)制精度為7位,有點(diǎn)疑惑。23位二進(jìn)制只能說(shuō)明二進(jìn)制尾數(shù)位 1.M 的 M 可表示 2^23 個(gè)數(shù),怎么能決定十進(jìn)制的小數(shù)點(diǎn)后可精確 7 位呢?請(qǐng)大神指點(diǎn)一下!

回答
編輯回答
傻丟丟

2^23=8388608 —— 共7位

2017年12月27日 03:53