Skip to content

TanH

Return hyperbolic tangent

Declaration

Source position: math.pp line 367

  function TanH(x: Float) : Float;

Description

Tanh returns the hyperbolic tangent of x.

Errors

None.

See also

Name Description
arccos Return inverse cosine
arcsin Return inverse sine
sincos Return sine and cosine of argument

Example

Program Example48;
{ Program to demonstrate the Tanh function. }
Uses math;
begin
  writeln(tanh(0));
  writeln(tanh(1));
  writeln(tanh(-1));
end.