るりまサーチ

最速Rubyリファレンスマニュアル検索!
6件ヒット [1-6件を表示] (0.130秒)
トップページ > クエリ:-[x] > クエリ:Float[x] > クエリ:r[x] > クエリ:cbrt![x]

別のキーワード

  1. _builtin float
  2. float to_d
  3. json float
  4. float rationalize
  5. fiddle type_float

ライブラリ

モジュール

検索結果

CMath.#cbrt!(x) -> Float (24407.0)

実数 x の立方根を返します。Math.#cbrt のエイリアスです。

...h.#cbrt のエイリアスです。

@param x 実数

@raise TypeError x に数値以外を指定した場合に発生します。

@raise RangeError x に実数以外の数値を指定した場合に発生します。

//emlist[例][ruby]{
r
equire "cmath"
CMath.cbrt!(8.0)# => 2.0
CMath.cbrt!(-8.0)...
...# => -2.0
//}

@see Math.#cbrt...