[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: Help with bigbnum

Todd

5/4/2007 9:03:00 PM


--- Victor Reyes <victor.reyes@gmail.com> wrote:

> For the record, I am running ruby 1.86 under AIX
> 5.3.
> If the answer is that it can be done on Ruby, that's
> an OK answer also. If
> this is the case, I start playing with Python, at
> least for this problem.
>
> Thanks
>
> Victor

p 2048 ** 31819 - 1024 ** 31819

or

a = 1
32582656.times { a *= 2 }
b = a
32582656.times { b *= 2 }
p b - a

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail...