power(n) -> BigDecimal[permalink][rdoc][edit]power(n, prec) -> BigDecimalself ** n -> BigDecimal-
self の n 乗を計算します。
戻り値の有効桁数は self の有効桁数の n 倍以上になります。
- [PARAM] n:
- selfを other 乗する数を指定します。
- [PARAM] prec:
- 有効桁数を整数で指定します。
[SEE_ALSO] Integer#pow
power(n) -> BigDecimal[permalink][rdoc][edit]power(n, prec) -> BigDecimalself ** n -> BigDecimalself の n 乗を計算します。
戻り値の有効桁数は self の有効桁数の n 倍以上になります。
[SEE_ALSO] Integer#pow