On Thu, Jun 11, 2009 at 1:37 AM, Yukihiro Matsumoto<matz / ruby-lang.org> wrote:
> Basically. A huge BigDecimal could occupies large amount of memory,
> and consumes a lot of computational time. It is fundamental, but
> bothering sometimes.

FWIW, the Java BigDecimal "to_f"/"to_i" behavior runs forever too, so
they've never opted to add a safeguard all these year.

JRuby may just defer to that behavior, but I did add an exponent check
in to_f for now.

- Charlie