Sign in Join
FPDoc Onlineexperiment

cosh function

In unit Math

Return hyperbolic cosine.

Declaration

pascal
function cosh(x: Single): Single

Description

Cosh returns the hyperbolic cosine of it's argument {x}.

Errors

None.

See also

Example: ex8

pascal
Program Example8;

{ Program to demonstrate the cosh function. }

Uses math;

begin
  Writeln(Cosh(0));
  Writeln(Cosh(1));
end.

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