.ModelicaReference.Operators.'tanh()'

tanh()

Information

Hyperbolic tangent function

Syntax

tanh(u)

Description

Returns the tanh of u, with -∞ < u < ∞. Argument u needs to be an Integer or Real expression.

The tanh function can also be accessed as Modelica.Math.tanh.

tanh

Examples

tanh(1)
  = 0.761594155955765

Generated at 2026-02-14T19:14:21Z by OpenModelicaOpenModelica 1.26.2 using GenerateDoc.mos