[Tutor] OverFlowError

Ignacio Vazquez-Abrams ignacio@openservices.net
Wed, 5 Sep 2001 15:07:24 -0400 (EDT)


On Wed, 5 Sep 2001, Jerry Lake wrote:

> in my python2.1 install on win98
> I'm having a problem generating numbers
> past approx. 500,000,000,000
> I keep getting an OverFlowError, what if
> anything can I do to increase this value
> just in case I need to raise 9 to the 11th power ;)
>
> Regards,
>
> Jerry Lake
> Interface Engineering Technician

Use long integers like 2L or 516L or 28364543610936237528791274591817364136L.
I'd tell you what their maximum value is, but your hard drive would fill up,
your computer would melt, and your brain would explode ;)

-- 
Ignacio Vazquez-Abrams  <ignacio@openservices.net>