At Wednesday 23/8/2006 18:53, KraftDiner wrote:
> |>> import sys
> |>> sys.maxint
> 2147483647
>
So what type / class should one use to represent a 16 bit integers
(signed or unsigned)?
Plain int.
If you need the overflow at 32K/64K, try: x & 0xFFFF
Gabriel Genellina
Softlab SRL
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya!
http://www.yahoo.com.ar/respuestas
--
http://mail.python.org/mailman/listinfo/python-list