Difference between revisions of "Talk:Long Integer"

No change in size ,  23:19, 11 April 2007
m
no edit summary
imported>DragoonWraith
m (Talk:Variable types: longint moved to Talk:Long Integer)
imported>Kf8Etr
m
Line 1: Line 1:
[[User:DragoonWraith|<font face="Oblivion,Daedric Runes" size=3>D</font>ragoon <font face="Oblivion,Daedric" size=3>W</font>raith]] [[User_talk:DragoonWraith|<font face="Oblivion,Daedric" size=2>TALK</font>]] 12:45, 15 August 2006 (EDT): I'm having issues with longs that are above 10^8 (or less than -10^8). They '''are''' longs on an object, and so these numbers should work. My math looks something like this:
[[User:DragoonWraith|<font face="Oblivion,Daedric Runes" size=3>D</font>ragoon <font face="Oblivion,Daedric" size=3>W</font>raith]] [[User_talk:DragoonWraith|<font face="Oblivion,Daedric" size=2>TALK</font>]] 12:45, 15 August 2006 (EDT): I'm having issues with longs that are above 10^8 (or less than -10^8). They '''are''' longs on an object, and so these numbers should work. My math looks something like this:
<pre>        13
<pre>        13
+      2500
      2500
       2513
       2513
+    70000
      70000
       72513
       72513
17000000
  17000000
   17072513
   17072513
+1000000000
1000000000
  1017072517</pre>
  1017072517</pre>
As you can see, when I add the last number in, it changes the last digit for no apparent reason. It does not change it consistently, so I can't just account for the change. I assume this is due to memory issues, but the maximum number I reach is 1326262626 and the minimum is -1326262626, which is well within the limitations written on this page. What gives?
As you can see, when I add the last number in, it changes the last digit for no apparent reason. It does not change it consistently, so I can't just account for the change. I assume this is due to memory issues, but the maximum number I reach is 1326262626 and the minimum is -1326262626, which is well within the limitations written on this page. What gives?
Anonymous user