Talk:Float

From Valve Developer Community
Revision as of 10:23, 12 May 2015 by AVoX (talk | contribs)
Jump to navigation Jump to search

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)