2**2**2**2**2 wrong? Bug?

Christian Tismer tismer at stackless.com
Tue Jul 10 07:45:43 EDT 2007


On 10.07.2007, at 07:21, Jim Langston wrote:

> In Python 2.5 on intel, the statement
> 2**2**2**2**2
> evaluates to
>>>> 2**2**2**2**2
> 2003529930406846464979072351560255750447825475569751419265016973710894 
> 0595563114
...
> 5337539755822087777506072339445587895905719156736L
>>>>

Yes, also on 2.4.4
What's wrong about it?

ciao - chris

--
Christian Tismer             :^)   <mailto:tismer at stackless.com>
tismerysoft GmbH             :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9A     :    *Starship* http://starship.python.net/
14109 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
work +49 30 802 86 56  mobile +49 173 24 18 776  fax +49 30 80 90 57 05
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
       whom do you want to sponsor today?   http://www.stackless.com/





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070710/3774e6c2/attachment.html>


More information about the Python-list mailing list