help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions] Reference for unit 'math' (#rtl)

artanh

Return inverse hyperbolic tangent

Declaration

Source position: math.pp line 291

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

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.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505