Integer, 64 Bit, signed and unsigned

Peter Otten __peter__ at web.de
Mon Mar 29 21:56:09 CEST 2004


Torsten Mohr wrote:

> Hi,
> 
> i'd like to use 64 Bit Integer values in Python,
> can anybody give me a hint on what are the limits
> in Python?
> 
> Can i use signed and unsigned 64 Bit Integers?
> 
> 
> Thanks for hints,
> Torsten.

>>> 10**100
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000L

As for signed integers, the sky's the limit :-)

Peter



More information about the Python-list mailing list