next up previous contents index
Next: Filepos Up: Functions and Procedures Previous: Exit

Exp

   

Declaration:

Function Exp (Var X : real) : Real;

Description:

Exp returns the exponent of X, i.e. the number e to the power X.

Errors:

None.

See also:

Ln, Power

Example
Program Example22;

{ Program to demonstrate the Exp function. }

begin
  Writeln (Exp(1):8:2); { Should print 2.72 }
end.



Michael Van Canneyt
Thu Sep 10 14:02:43 CEST 1998