From Valve Developer Community
Revision as of 07:25, 13 May 2015 by Solokiller (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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)

The page may be referring to doubles, rather than floats. Solokiller (talk) 07:25, 13 May 2015 (UTC)