Optional argument `prec' to BigDecimal#power does not alter result precision:
#2 Updated by mrkn (Kenta Murata) over 3 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r43796.
David, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
ext/bigdecimal/bigdecimal.c (BigDecimal_power): Round the result value.
test/bigdecimal/test_bigdecimal.rb: Add a test for the above fix.