Talk:Integer

From Valve Developer Community
Revision as of 20:50, 18 January 2010 by Quanta (talk | contribs) (Created page with '==Integer size vs. Range== In the article, it says that a long has twice the memory and range of a normal int, when the range is actually the square of the int's range (in binary…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Integer size vs. Range

In the article, it says that a long has twice the memory and range of a normal int, when the range is actually the square of the int's range (in binary, adding a bit doubles the range). Same for short; its range is the square root of the int's range