るりまサーチ (Ruby 2.1.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.013秒)

別のキーワード

  1. _builtin typeerror
  2. sort typeerror
  3. dump typeerror
  4. typeerror _builtin
  5. $~ typeerror

ライブラリ

モジュール

検索結果

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

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

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

@param x 実数

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

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

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

@see Math.#cbrt