最速Rubyリファレンスマニュアル検索!
すべて(12)
2.1.0(1)
2.2.0(1)
2.3.0(1)
2.4.0(1)
2.5.0(1)
2.6.0(1)
2.7.0(1)
3.0(1)
3.1(1)
3.2(1)
3.3(1)
3.4(1)
12件ヒット
[1-12件を表示]
(0.010秒)
トップページ
>
:
math
>
:
モジュール関数
>
:hypot
別のキーワード
math log
math sqrt
_builtin math
bigdecimal/math e
bigdecimal/math cos
ライブラリ
ビルトイン
(12)
モジュール
Math
(12)
検索結果
先頭1件
Math
.
#
hypot(x
,
y) -> Float
Math
.
#
hypot(x
,
y) -> Float
(27114.0)
2.1.0
2.2.0
2.3.0
2.4.0
2.5.0
2.6.0
2.7.0
3.0
3.1
3.2
3.3
3.4
モジュール関数
sqrt(x*x + y*y) を返します。
...
(
hypot
enuse)の長さです。
@param x 実数
@param y 実数
@raise TypeError 引数のどちらかに数値以外を指定した場合に発生します。
@raise RangeError 引数のどちらかに実数以外の数値を指定した場合に発生します。
//emlist[例][ruby]{
Math
.h
...
Math