Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Math.SQRT1_2

概要

1/2 の平方根。つまり、1 割る 2 の平方根。約 0.707 です。

詳細

SQRT1_2 は、静的なプロパティなので、自ら生成した Math オブジェクトのプロパティとしてではなく、常に、Math.SQRT1_2 として使用するようにしてください。

例:SQRT1_2 の使用

以下の関数は、1 割る 2 の平方根の値を返します。:

function getRoot1_2() {
   return Math.SQRT1_2
}

ドキュメントのタグと貢献者

タグ: 
 このページの貢献者: teoli, ethertank, Potappo
 最終更新者: teoli,