.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 2025-04-25T18:20:13Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos