sqrt

sqrt

> 機能

数値 number の平方根を計算します。

#### 設定

#### フィードバック

Python

Python では、math.sqrt()math モジュールの組み込み関数です。number < 0 の場合、LeekScript のように NaN を返すのではなく、ValueError(math domain error)を送出します。

sqrt(1) // 1 sqrt(2) // 1.41421356237 sqrt(4) // 2 sqrt(31329) // 177

こちらもご覧ください