.ModelicaReference.Operators.'log()'

log()

Information

Natural (base e) logarithm

Syntax

log(u)

Description

Returns the base e logarithm of u, with u > 0. Argument u needs to be an Integer or Real expression.

The natural logarithm can also be accessed as Modelica.Math.log.

log

Examples

log(1)
 = 0

Generated at 2026-01-24T19:13:56Z by OpenModelicaOpenModelica 1.26.1 using GenerateDoc.mos