Es6-math-property-sqrt1by2

提供:Dev Guides
2020年6月23日 (火) 08:04時点におけるMaintenance script (トーク | 投稿記録)による版 (Imported from text file)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

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