This function returns y = tanh(u), with -∞ < u < ∞:
function tanh extends Modelica.Math.Icons.AxisCenter; input Real u; output Real y; end tanh;