Sign in Join
FPDoc Onlineexperiment

ArCosH function

In unit Math

Return inverse hyperbolic cosine.

Declaration

pascal
function ArCosH(x: Float): Float

Description

Arcosh returns the inverse hyperbolic cosine of its argument x. The argument x should be larger than 1. The arccosh variant of this function is supplied for Delphi compatibility.

Errors

If the argument x is not in the allowed range, an EInvalidArgument exception is raised.

See also

Example: ex3

pascal
Program Example3;

{ Program to demonstrate the arcosh function. }

Uses math;

begin
  Writeln(arcosh(1));
  Writeln(arcosh(2));
end.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.