David Unric wrote in post #1119524:
> In the documentation to 'BigDecimal#power', the optional `prec' argument
> is not even mentioned.
> You can reduce the number of significant digits by class method limit:

I have downloaded the Ruby source code for offline documentation with
Yard and it is there.
Looking at here: http://rubydoc.info/stdlib/bigdecimal/BigDecimal:power

It even states that "Note that n must be an Integer." which is not true,
it can be Float, Rational, Bigdecimal. The C source might tell you more,
there are a bunch of type checks in there.

-- 
Posted via http://www.ruby-forum.com/.