128 or 96 bit integer types?

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Fri Jul 27 19:02:29 CEST 2007

On Fri, 27 Jul 2007 16:45:05 +0000, Robert Dailey wrote:

> Is there build-in or third party support for large integer types, such
> as 96 or 128 bits in size?

Yes there is, just use integer values.  If it don't fit into an `int` it
gets promoted to a `long`.  Python `long`\s are only bounded by available

In [59]: 2**128
Out[59]: 340282366920938463463374607431768211456L

	Marc 'BlackJack' Rintsch

More information about the Python-list mailing list