Talk:Float: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "Quote: ''A float requires significantly more memory to store'' Compared to 32 bit integers there is no difference in memory usage. A float usually consists of a mantissa (23 b...")
 
mNo edit summary
Line 1: Line 1:
Quote: ''A float requires significantly more memory to store''
Quote: ''A float requires significantly more memory to store''
Compared to 32 bit integers there is no difference in memory usage. A float usually consists of a mantissa (23 bits), an exponent (8 bits) and a sign bit, which results in 32 bits--just like the integer. Is there something I didn't consider or is this a mistake on the page? --[[User:AVoX|aVoX]] ([[User talk:AVoX|talk]]) 17:23, 12 May 2015 (UTC)
Compared to 32 bit integers there is no difference in memory usage. A float usually consists of a mantissa (23 bits), an exponent (8 bits) and a sign bit, which results in 32 bits--just like the integer. Is there something I didn't consider or is this a mistake on the page? --[[User:AVoX|aVoX]] ([[User talk:AVoX|talk]]) 17:23, 12 May 2015 (UTC)

Revision as of 10:23, 12 May 2015

Quote: A float requires significantly more memory to store

Compared to 32 bit integers there is no difference in memory usage. A float usually consists of a mantissa (23 bits), an exponent (8 bits) and a sign bit, which results in 32 bits--just like the integer. Is there something I didn't consider or is this a mistake on the page? --aVoX (talk) 17:23, 12 May 2015 (UTC)