On Fri, Aug 23, 2013 at 12:24 PM, F=F6ldes L=E1szl=F3 <lists / ruby-forum.com=
>wrote:

>
> My problem is that if calculation continues with so many digits, it will
> be horribly slow. If I repeat the #power method with the long result,
> after ten iteration it yields 5.000 digits, I assume a few ten thousand
> iteration will result in an OutOfMemory error.


Then there's probably no way around invoking #round when appropriate.
 Btw., what kind of calculations do you do?

Cheers

robert

--=20
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/