Difference between revisions of "Bitwise Operators"
From WikiManual
Line 1: | Line 1: | ||
− | Numbers are constructed as a string of bits. In the stack, this string is 32 bits long. Numbers are represented using two's compliment. Bit operators interact with the bits directly, avoiding the issue of what the bits actually represent. | + | Numbers are constructed as a string of bits. In the stack, this string is 32 bits long. Numbers are represented using [http://en.wikipedia.org/wiki/Two%27s_compliment two's compliment]. Bit operators interact with the bits directly, avoiding the issue of what the bits actually represent. |
Latest revision as of 17:14, 3 October 2005
Numbers are constructed as a string of bits. In the stack, this string is 32 bits long. Numbers are represented using two's compliment. Bit operators interact with the bits directly, avoiding the issue of what the bits actually represent.