Es6-math-property-sqrt1by2

提供:Dev Guides
移動先:案内検索

ES6-Math-SQRT1_2プロパティ

1/2の平方根。同様に、2の平方根に対して1、約0.707です。

構文

Math.SQRT1_2

console.log(Math.SQRT1_2) //the square root of 1/2: ~0.707

出力

0.7071067811865476