るりまサーチ (Ruby 2.1.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.009秒)
トップページ > クエリ:pow[x] > バージョン:2.1.0[x] > ライブラリ:bigdecimal[x]

別のキーワード

  1. integer pow
  2. _builtin pow
  3. pow integer
  4. pow _builtin

クラス

検索結果

BigDecimal#power(n) -> BigDecimal (9307.0)

self の n 乗を計算します。

self の n 乗を計算します。

戻り値の有効桁数は self の有効桁数の n 倍以上になります。

@param n selfを other 乗する数を指定します。

@param prec 有効桁数を整数で指定します。

BigDecimal#power(n, prec) -> BigDecimal (9307.0)

self の n 乗を計算します。

self の n 乗を計算します。

戻り値の有効桁数は self の有効桁数の n 倍以上になります。

@param n selfを other 乗する数を指定します。

@param prec 有効桁数を整数で指定します。