Content deleted Content added
Hairy Dude (talk | contribs) correct terminology: G → GiB Tags: Mobile edit Mobile web edit Advanced mobile edit |
m Reverted edit by 2402:4000:B151:1269:1851:5121:C0C8:2F12 (talk) to last version by 121.10.69.199 |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 6:
==Range for storing integers==
A 32-bit [[processor register|register]] can store 2<sup>32</sup> different values. The [[range (computer programming)|range]] of [[integer]] values that can be stored in 32 bits depends on the [[Integer (computer science)#Value and representation|integer representation]] used. With the two most common representations, the range is 0 through [[4,294,967,295]] (2<sup>32</sup> − 1) for representation as an ([[signedness|unsigned]]) [[binary number]], and −2,147,483,648 (−2<sup>31</sup>) through [[2,147,483,647]] (2<sup>31</sup> − 1) for representation as [[two's complement]].
One important consequence is that a processor with 32-bit [[memory address]]es can directly access at most 4 [[Gibibyte|GiB]] of [[Byte addressing|byte-addressable]] memory (though in practice the limit may be lower).
|