[Tutor] ints, and long ints?

Thomi Richards thomi@thomi.imail.net.nz
Thu, 17 Oct 2002 00:24:22 +1300


> 
> Why would that be? If you have a variable that you expect will
> overflow, just bind it to a long when you assign it by appending an
> 'L' to it's initial value:

because:

the length of the numbers will depend on the users config settings. the
default maximum number will be somewhere in the 16'000's, which is quite
safe, however, users may want to use bigger numbers, in which case i
want python to handle this for me.

why not just use long ints?? basically, memory conservation, and for
speed of execution. 

-- 
Lord, what fools these mortals be!
 -- midsummer nights dream.
Thomi Richards,
thomi@imail.net.nz