Skip to content

ArTanH

Return inverse hyperbolic tangent.

Declaration

Source position: math.pp line 615

function ArTanH(x: Float) : Float;

Description

artanh returns the inverse hyperbolic tangent of its argument x, where x should lie in the interval [-1,1], borders included. The arctanh variant of this function is supplied for Delphi compatibility.

Errors

In case x is not in the interval [-1,1], an EInvalidArgument exception is raised.

See also

Name Description
arcosh Return inverse hyperbolic cosine.
arccos Return inverse cosine.
arcsin Return inverse sine.
artanh Return inverse hyperbolic tangent.

Example

Program Example5;

{ Program to demonstrate the artanh function. }

Uses math;

begin
  Writeln(artanh(0));
  Writeln(artanh(0.5));
end.