log

log

> 機能

数値 number の自然対数を計算します。

#### 設定

#### フィードバック

Python

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

ログ(1) // 0 log(e) // 1 ログ(1000000) // 13.815510558