Difference between revisions of "Category talk:Variables"

11 bytes removed ,  15:49, 28 May 2008
remove Update tag
imported>DragoonWraith
(I'm putting the Update tag here)
imported>DragoonWraith
(remove Update tag)
Line 1: Line 1:
{{Update}}
I've noticed that arithmetic on Long values only appears to work in the range of -16777219 to 16777216, which is right about a range of 2^25 (with the positive half being exactly 2^24). You can still store values in the full range expected for a 32-bit var, but doing something like "Set counter To counter + 1" seems to stop working at the ends of this smaller 25-bit range. Has anyone else seen this? -- [[User:Nezroy|Nezroy]] 19:36, 12 May 2006 (EDT)
I've noticed that arithmetic on Long values only appears to work in the range of -16777219 to 16777216, which is right about a range of 2^25 (with the positive half being exactly 2^24). You can still store values in the full range expected for a 32-bit var, but doing something like "Set counter To counter + 1" seems to stop working at the ends of this smaller 25-bit range. Has anyone else seen this? -- [[User:Nezroy|Nezroy]] 19:36, 12 May 2006 (EDT)