1件ヒット
[1-1件を表示]
(0.056秒)
検索結果
-
CMath
. # cbrt!(x) -> Float (54373.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