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...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Help with bigbnum
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password