log

log

> Funktionen

Berechnet den natürlichen Logarithmus der Zahl Zahl.

Einstellungen
Rückmeldung
Python

In Python ist math.log() die native Funktion des Moduls math: Wenn number <= 0 ist, löst sie einen ValueError (math domain error) aus, statt wie LeekScript NaN zurückzugeben.

Beispiele

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