[Newbies] What's wrong with this statement?

Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Thu Jul 31 21:03:37 UTC 2008




El 7/31/08 5:31 PM, "Timothy J Miller" <tmiller at mitre.org> escribió:

> 
> On Jul 31, 2008, at 2:54 PM, Edgar J. De Cleene wrote:
>> But (2 raisedTo: 128) atRandom could genetate
>> 49572205802560219958060582892667404289
>> 
>> and
>> 49572205802560219958060582892667404289 hex also is wrong print
>> '254B42724A9684000000000000000001'
> 
> Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26)
> 
>>>> hex(49572205802560219958060582892667404289)
> '0x254b42724a9684000000000000000001L'
> 
> Hmmm.  Clearly I'm missing something.
> 
> -- Tim

Sorry by not thinking.
Only see the 000000000000000001 end in your first and test 3.2 do same as
3.10
Once hex was removed from image ...
http://bugs.squeak.org/view.php?id=6441
Edgar




More information about the Beginners mailing list