最速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.059秒)
トップページ
>
:
モジュール関数
>
:hypot
別のキーワード
math hypot
_builtin hypot
hypot math
hypot _builtin
ライブラリ
ビルトイン
(12)
モジュール
Math
(12)
検索結果
先頭1件
Math
.
#
hypot(x
,
y) -> Float
Math
.
#
hypot(x
,
y) -> Float
(18108.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) を返します。
...
sqrt(x*x + y*y) を返します。
この値は x, y を直交する 2 辺とする直角三角形の斜辺(
hypot
enuse)の長さです。
@param x 実数
@param y 実数
@raise TypeError 引数のどちらかに数値以外を指定した場合に発生します。
@raise RangeError 引数
...
Math